CN105847090A - Service detection method and detection terminal - Google Patents
Service detection method and detection terminal Download PDFInfo
- Publication number
- CN105847090A CN105847090A CN201610352641.2A CN201610352641A CN105847090A CN 105847090 A CN105847090 A CN 105847090A CN 201610352641 A CN201610352641 A CN 201610352641A CN 105847090 A CN105847090 A CN 105847090A
- Authority
- CN
- China
- Prior art keywords
- detection
- business
- information
- detected
- state
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/16—Threshold monitoring
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/50—Testing arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/442—Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/442—Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
- H04N21/44204—Monitoring of content usage, e.g. the number of times a movie has been viewed, copied or the amount which has been watched
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Multimedia (AREA)
- Environmental & Geological Engineering (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the invention provides a service detection method and a detection terminal. The method comprises: a detection operation corresponding to a to-be-detected service is obtained, wherein the to-be-detected service is any service in a cloud server; an operation page corresponding to the detection operation is obtained in a detection terminal and the detection operation is executed on the to-be-detected service at the operation page, thereby obtaining detection information corresponding to the detection operation; and according to the detection information, the state of the to-be-detected service is determined. Therefore, the detection efficiency of the service in the cloud server is improved.
Description
Technical field
The present embodiments relate to TV technology, particularly relate to a kind of service testing method and detection is whole
End.
Background technology
Along with the development of TV tech, majority TVs can use the business that Cloud Server is provided,
The business that Cloud Server provides can include the download of video playback, video, application program download etc..
In actual application, in order to ensure that the business in Cloud Server is in normal condition, need reality
Time or periodically the state of each business in Cloud Server is detected and business to abnormality
Safeguard.In the prior art, generally periodically the business in Cloud Server is entered by staff
Row detection, to obtain the state of each business, but, when the business in Cloud Server is more, pass through
The mode of manual detection needs the longer time could obtain the state of each business, causes Cloud Server
The detection efficiency of middle business is low.
Summary of the invention
The embodiment of the present invention provides a kind of service testing method and detection terminal, for improving Cloud Server
The detection efficiency of middle business.
First aspect, the embodiment of the present invention provides a kind of service testing method, is applied to detect terminal, institute
The method of stating includes:
Obtaining the detection operation that described business to be detected is corresponding, described business to be detected is in Cloud Server
Any one business;
The operation pages that described detection operation is corresponding is obtained in described detection terminal, and at described operation page
Face performs described detection operation to described business to be detected, the detection corresponding to obtain described detection operation
Information;
According to described detection information, determine the state of described business to be detected.
In a kind of possible embodiment, in described operation pages, described business to be detected is performed institute
State detection operation, the detection information corresponding to obtain described detection operation, including:
The operating space that described detection operation is corresponding is determined in described operation pages;
In described operating space, execution action is preset in input, the detection letter corresponding to obtain described detection operation
Breath.
In alternatively possible embodiment, in described operating space, input presets execution action, to obtain
Take the detection information that described detection operation is corresponding, including:
According to the default execution action of input in described operating space, sending business to described Cloud Server please
Message, described business request information is asked to include mark and the mark of described detection operation of business to be detected;
Judge in preset duration, whether receive the service response message that described Cloud Server sends;
The most then generate the detection page according to described service response message, obtain described detection operation correspondence
Preset coordinate region, and by true for page info corresponding for preset coordinate region described in the described detection page
It is set to described detection information;
If it is not, then presupposed information to be defined as described detection information.
In alternatively possible embodiment, the number of the detection operation that described business to be detected is corresponding is
1, described determine the state of described business to be detected according to described detection information, including:
Obtain the state of described detection information;
If the state of described detection information is normal condition, the state of the most described business to be detected is normal shape
State;
If the state of described detection information is abnormality, the state of the most described business to be detected is abnormal shape
State.
In alternatively possible embodiment, the number of the detection operation that described business to be detected is corresponding is big
In 1, described determine the state of described business to be detected according to described detection information, including:
Obtain the state of each described detection information;
If the state of each described detection information is normal condition, the state of the most described business to be detected is just
Often state;
If described detection information existing the detection information of abnormality, the state of the most described business to be detected
For abnormality.
In alternatively possible embodiment, obtain the state of described detection information, including:
Judge whether described detection information is described presupposed information;
If, it is determined that the state of described detection information is abnormality;
If it is not, then obtain the standard information that described detection operation is corresponding, and by described detection information with described
Standard information is mated, to obtain described detection information and the matching degree of described standard information, it is judged that institute
State whether matching degree is more than predetermined threshold value, if, it is determined that the state of described detection information is normal condition,
If not, it is determined that the state of described detection information is abnormality.
In alternatively possible embodiment, after determining that described business to be detected is in abnormality,
Also include:
Sending abnormity prompt information to described Cloud Server, described abnormity prompt information includes described to be checked
The mark of survey business.
Second aspect, the embodiment of the present invention provides one detection terminal, including:
First acquisition module, for obtaining the detection operation that described business to be detected is corresponding, described to be detected
Business is any one business in Cloud Server;
Second acquisition module, for obtaining the operation page that described detection operation is corresponding in described detection terminal
Face;
Perform module, for described business to be detected being performed described detection operation in described operation pages,
The detection information corresponding to obtain described detection operation;
Determine module, for according to described detection information, determine the state of described business to be detected.
In a kind of possible embodiment, described execution module specifically for:
The operating space that described detection operation is corresponding is determined in described operation pages;
In described operating space, execution action is preset in input, the detection letter corresponding to obtain described detection operation
Breath.
In alternatively possible embodiment, described execution module include transmitting element, judging unit,
Signal generating unit and determine unit, wherein,
Described transmitting element is used for, according to the default execution action of input in described operating space, to described
Cloud Server send business request information, described business request information include business to be detected mark and
The mark of described detection operation;
Described judging unit is used for, it is judged that whether receive the industry that described Cloud Server sends in preset duration
Business response message;
Described signal generating unit is used for, and judges to receive described cloud service in preset duration at described judging unit
During the service response message that device sends, generate the detection page according to described service response message, and obtain institute
State the preset coordinate region that detection operation is corresponding, accordingly, described determine unit for, by described detection
Page info corresponding to preset coordinate region described in the page is defined as described detection information;
Described determine that unit is additionally operable to, judge in preset duration, do not receive described cloud at described judging unit
During the service response message that server sends, presupposed information is defined as described detection information.
In alternatively possible embodiment, the number of the detection operation that described business to be detected is corresponding is
1, described determine module specifically for:
Obtain the state of described detection information;
If the state of described detection information is normal condition, the state of the most described business to be detected is normal shape
State;
If the state of described detection information is abnormality, the state of the most described business to be detected is abnormal shape
State.
In alternatively possible embodiment, the number of the detection operation that described business to be detected is corresponding is big
In 1, described determine module specifically for:
Obtain the state of each described detection information;
If the state of each described detection information is normal condition, the state of the most described business to be detected is just
Often state;
If described detection information existing the detection information of abnormality, the state of the most described business to be detected
For abnormality.
In alternatively possible embodiment, described determine module specifically for:
Judge whether described detection information is described presupposed information;
If, it is determined that the state of described detection information is abnormality;
If it is not, then obtain the standard information that described detection operation is corresponding, and by described detection information with described
Standard information is mated, to obtain described detection information and the matching degree of described standard information, it is judged that institute
State whether matching degree is more than predetermined threshold value, if, it is determined that the state of described detection information is normal condition,
If not, it is determined that the state of described detection information is abnormality.
In alternatively possible embodiment, described detection terminal also includes sending module, described transmission
Module is used for, described determine that module determines that described business to be detected is in abnormality after, to described
Cloud Server sends abnormity prompt information, and described abnormity prompt information includes the mark of described business to be detected
Know.
The service testing method of embodiment of the present invention offer and detection terminal, when needing in Cloud Server
When business to be detected detects, detection terminal analog subscriber in detection terminal passes through TV to be detected
The operation that business performs, concrete, detection terminal first obtains the detection operation that business to be detected is corresponding,
Detection terminal obtains the operation pages that detection operation is corresponding, and in operation pages, business to be detected is held
Row this detection operation, the detection information corresponding to obtain detection operation, and determine according to this detection information and treat
The state of detection business, in above process, detection terminal is passed through by analog subscriber in detection terminal
The operation that business to be detected is performed by TV, can obtain the detection information that business to be detected is corresponding, detection
Terminal can determine the state of business to be detected according to this detection information, owing to this detection information can be true
Reflect business to be detected state so that detection terminal can obtain business to be detected state accurately,
Detection terminal, by performing such scheme, can obtain the state of business to be detected timely, and then improve
To the detection efficiency of business in Cloud Server.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to reality
Execute the required accompanying drawing used in example or description of the prior art to be briefly described, it should be apparent that under,
Accompanying drawing during face describes is some embodiments of the present invention, for those of ordinary skill in the art,
On the premise of not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
The application scenarios schematic diagram of the business detection that Fig. 1 provides for the present invention;
The schematic flow sheet of the service testing method that Fig. 2 provides for the present invention;
The schematic flow sheet obtaining detection information approach that Fig. 3 provides for the present invention;
Fig. 4 provides the schematic flow sheet of the status method of regular inspection measurement information really for the present invention;
The terminal interface schematic diagram that Fig. 5 provides for the present invention;
The structural representation one of the detection terminal that Fig. 6 provides for the present invention;
The structural representation two of the detection terminal that Fig. 7 provides for the present invention.
Detailed description of the invention
For making the purpose of the embodiment of the present invention, technical scheme and advantage clearer, below in conjunction with this
Accompanying drawing in bright embodiment, is clearly and completely described the technical scheme in the embodiment of the present invention,
Obviously, described embodiment is a part of embodiment of the present invention rather than whole embodiments.Based on
Embodiment in the present invention, those of ordinary skill in the art are obtained under not making creative work premise
The every other embodiment obtained, broadly falls into the scope of protection of the invention.
The application scenarios schematic diagram of the business detection that Fig. 1 provides for the present invention, refer to Fig. 1, including cloud
Server 101 and multiple detection terminal (102-1 to 102-M), be provided with many in Cloud Server 101
Individual business, this business can be video playback, video download, application program download etc., and user can be led to
Cross TV and use the business in Cloud Server 101;Multiple detection terminals all can pass through TV with analog subscriber
To the operation of business (such as to being application program be downloaded in Cloud Server 101), to realize
Business in Cloud Server 101 is detected, in this process, it is not necessary to manual operation, can realize
Business in Cloud Server is tested, and then improves the detection efficiency of business in Cloud Server.Under
Face, by specific embodiment, is described in detail to the technical scheme shown in the application.
It should be noted that these specific embodiments can be combined with each other, for identical or phase below
As concept or process may repeat no more in certain embodiments.
The schematic flow sheet of the service testing method that Fig. 2 provides for the present invention, the executive agent of the method is
Detection terminal, refer to Fig. 2, and the method may include that
S201, obtain business to be detected corresponding detection operation, business to be detected be in Cloud Server appoint
Anticipate a business;
S202, the operation pages that acquisition detection operation is corresponding in detection terminal, and right in operation pages
Business to be detected performs detection operation, the detection information corresponding to obtain detection operation;
S203, according to detection information, determine the state of business to be detected.
In embodiments of the present invention, in order to ensure that detecting terminal can pass through TV pair by analog subscriber accurately
The operation of business, this detection terminal possesses the conventional func of TV, can be with TV one in detection terminal
Sample uses the business in Cloud Server, such as, can enter the video in Cloud Server in detection terminal
Row broadcasting, download etc., the application program in Cloud Server can also be downloaded in detection terminal,
And use etc..
In embodiments of the present invention, Cloud Server is provided with polytype business, according to service class
The difference of type, the detection carrying out business operation is also different, such as, broadcasts for the video in Cloud Server
Put business, as long as video can be opened and play out, can illustrate that this video playback business is normal,
Accordingly, the detection operation that this video playback business is corresponding is for starting play operation, in Cloud Server
Application program downloading service, as long as application program can be downloaded successfully, this application program can be described
Downloading service is normal.
Owing to the detection process of business all in Cloud Server is similar to by detection terminal, below, to detect eventually
As a example by business to be detected in Cloud Server is detected by end, to detection terminal to the industry in Cloud Server
The process that business carries out detecting is described in detail.
In actual application, when detecting terminal and needing to detect business to be detected, detection is eventually
End obtains the detection operation that business to be detected is corresponding, optionally, can run detection in detection terminal
Script, detection terminal can be by performing this detection script, the detection behaviour corresponding to obtain business to be detected
Make.
After detection terminal acquires the detection operation that business to be detected is corresponding, obtain in detection terminal
Taking the operation pages that detection operation is corresponding, optionally, detection terminal can pass through the reality that the following two kinds is feasible
Existing mode obtains and detects the operation pages that operation is corresponding:
A kind of feasible implementation:
Detection operation and the corresponding relation of operation pages are set in detection terminal so that detection terminal is permissible
Obtaining, according to this corresponding relation, the operation pages that detection operation is corresponding, concrete, detection terminal can basis
This corresponding relation, directly invokes the operation pages that detection operation is corresponding in the backstage of detection terminal.
For example, it is assumed that detection operation is " downloading application program 1 ", the operation pages that detection operation is corresponding
For the download page of application program 1, then can this detection operation be set in detection terminal and " download application
Program 1 " and the corresponding relation downloading the page of application program 1, when needs obtain this detection operation correspondence
Operation pages time, detection terminal is according to this corresponding relation, and directly the backstage in detection terminal obtains application
The download page of program 1, and on the screen of detection terminal, show the download page of application program 1.
Another kind of feasible implementation:
The execution action that detection operation is corresponding is set in detection terminal so that detection terminal can be in detection
Terminal performs this execution action, the operation pages corresponding to obtain detection operation.
For example, it is assumed that detection operation " downloads application program 1 ", detection operates corresponding operation pages and is
The download page of application program 1, then can arrange detection operation in detection terminal and " download application program
1 " corresponding execution action, it is assumed that this execution action includes: execution action 1 and execution action 2, performs
Action 1 is: " entering the homepage icon of application program (homepage include) of detection terminal ",
Execution action 2 is: " on homepage, the icon of application program 1 being carried out clicking operation ", then when needing
When obtaining the operation pages of this detection operation correspondence, detection terminal performs above-mentioned execution in detection terminal
Action 1 and execution action 2, so that show the download page of application program 1 on the screen of detection terminal
Face.
After detection terminal acquires the operation pages that detection operation is corresponding, detection terminal is in this operation
Business to be detected is performed this detection operation by the page, the detection information corresponding to obtain detection operation, can
Choosing, the pre-set button relevant to business to be detected in operation pages can be carried out a little by detection terminal
Hit operation, to realize detection terminal by network to the business to be detected execution detection operation in Cloud Server,
After business to be detected being performed detection operation in detection terminal, can be according to be detected in detection terminal
The operation conditions of business obtains the detection information that this detection operation is corresponding.
After detection terminal acquires the detection information that detection operation is corresponding, detection terminal is according to this inspection
Measurement information determines the state of business to be detected, and optionally, whether detection terminal may determine that in detection information
Including preset critical information, if not including, it is determined that the state of detection business is abnormality, and to cloud
Server sends abnormity prompt information, and abnormity prompt information includes the mark of business to be detected, optionally,
Testing staff periodically can check abnormity prompt information in Cloud Server, and connects according to Cloud Server
Business to be detected is safeguarded by the abnormity prompt information received, optionally, Cloud Server receive different
Often after prompting message, can safeguard business to be detected in time for the ease of testing staff, cloud takes
Business device can be according to communication mode (such as, mailbox, wechat, telephone number default, testing staff
Deng), send this abnormity prompt information to the terminal unit (such as mobile phone, computer etc.) of testing staff,
So that business to be detected can be safeguarded according to this abnormity prompt information, enter by testing staff in time
And improve the maintenance efficiency to business to be detected.
It should be noted that business to be detected corresponding detection operation number may be multiple, work as detection
When the number of operation is multiple, between the plurality of detection operation, can possess preset order so that detection is eventually
Hold and obtain, according to preset order, the detection information that each detection operation is corresponding, and according to the plurality of detection letter
Breath determines the state of business to be detected.
The service testing method that the embodiment of the present invention provides, when needing the business to be detected in Cloud Server
When detecting, business to be detected is performed by detection terminal analog subscriber in detection terminal by TV
Operation, concrete, detection terminal first obtains the detection operation that business to be detected is corresponding, in detection terminal
Obtain the operation pages that detection operation is corresponding, and in operation pages, business to be detected is performed this detection behaviour
Make, the detection information corresponding to obtain detection operation, and determine business to be detected according to this detection information
State, in above process, detection terminal passes through TV to be checked by analog subscriber in detection terminal
The operation that survey business performs, can obtain the detection information that business to be detected is corresponding, and detection terminal can root
The state of business to be detected is determined, owing to this detection information can reflect to be checked really according to this detection information
The state of survey business so that detection terminal can obtain business to be detected state accurately, detection terminal is led to
Perform such scheme after in real time, the state of business to be detected can be obtained timely, and then improve cloud clothes
The detection efficiency of business in business device.
On the basis of embodiment illustrated in fig. 2, detection terminal can be existed by the most feasible implementation
Operation pages performs detection operation to business to be detected, the detection information (figure corresponding to obtain detection operation
S202 in 2 illustrated embodiments), concrete, shown in Figure 3 embodiment.
The schematic flow sheet obtaining detection information approach that Fig. 3 provides for the present invention, is implementing shown in Fig. 2
On the basis of example, referring to Fig. 3, the method may include that
S301, in operation pages, determine the operating space that detection operation is corresponding;
S302, the default execution action of input in operating space;
The default execution action of input in operating space of S303, basis, sends service request to Cloud Server
Message, business request information includes mark and the mark of detection operation of business to be detected;
S304, judge whether to receive in preset duration the service response message that Cloud Server sends;
The most then perform S305-S307;
If it is not, then perform S308;
S305, according to service response message generate detection the page;
S306, the preset coordinate region of acquisition detection operation correspondence;
S307, page info corresponding to preset coordinate region in the detection page is defined as detection operation correspondence
Detection information;
S308, presupposed information is defined as the detection information that detection operation is corresponding.
In the embodiment shown in fig. 3, during business to be detected is detected by detection terminal,
After detection terminal acquires operation pages, detection terminal can obtain and determine inspection in operation pages
Surveying operating space, optionally, include the operation button that detection operation is corresponding in this operating space, this operation is pressed
Button can be " download button ", " broadcast button " etc..
After detection terminal determines to obtain operating space, detection terminal can input to preset in operating space and hold
Action is made, and this default execution action can be the detection terminal clicking operation to pre-set button, detects terminal
According to the default execution action of input, send business request information, this business request information to Cloud Server
Include mark and the mark of detection operation of business to be detected, disappear to service request in cloud server
After breath, Cloud Server obtains the business datum that this business is corresponding, and whole to detection according to this business datum
End sends response message, if this business is in normal condition, then Cloud Server can send to detection terminal
Correct response message, if this business is in abnormality, then Cloud Server sends mistake to detection terminal
Response message or Cloud Server in preset duration cannot to detection terminal send any response message.
In detection terminal after Cloud Server sends business request information, detection terminal judges is when default
Whether receive in length Cloud Server send service response message:
If detection terminal receives the service response message that Cloud Server sends in preset duration, then detect
Going out terminal and generate the detection page according to the service response message received, then detection terminal obtains detection behaviour
Make corresponding preset coordinate region, and page info corresponding for preset coordinate region in the detection page is determined
For the detection information that detection operation is corresponding, optionally, the page info that predeterminable area is corresponding can be that this is pre-
If the picture that region is corresponding.
If detection terminal does not receives the service response message that Cloud Server sends in preset duration, then say
Bright business to be detected occurs abnormal in Cloud Server, at this point it is possible to presupposed information is defined as this detection
Information, optionally, this presupposed information can be white picture, black picture etc..
In above process, when detecting terminal and needing acquisition detection to operate corresponding detection information, detection
Terminal carries out the detection of reality in detection terminal and operates the business to be detected in Cloud Server, and according to
The feedback of Cloud Server determines the detection information that this detection operation is corresponding, reflecting of this detection information truth
The business to be detected state in Cloud Server, and then improve the accuracy of the detection information acquired.
On the basis of any one embodiment above-mentioned, business to be detected corresponding detection operation can be 1
Individual, it is also possible to for multiple (more than 1), the number operated when the detection that business to be detected is corresponding is different
Time, need, according to detection information, to determine that the process of the state of business to be detected is the most different, concrete, bag
Include the implementation that following two is feasible:
A kind of feasible implementation: the number of the detection operation that business to be detected is corresponding is 1:
When needs are according to detection information, when determining the state of business to be detected, directly according to this detection
The state of information determines the state of business to be detected, concrete: if the state of detection information is normal condition,
The state of business the most to be detected is normal condition;If the state of detection information is abnormality, the most to be detected
The state of business is abnormality.
Another kind of feasible implementation: the number of the detection operation that business to be detected is corresponding is more than 1:
When needs are according to detection information, when determining the state of business to be detected, obtain the shape of each detection information
State, if respectively the state of detection information is normal condition, the state of business the most to be detected is normal condition,
If there is the detection information of abnormality in detection information, the state of business the most to be detected is abnormality.
In the implementation that above two is feasible, detection can be obtained by the most feasible implementation
The state of information, concrete, shown in Figure 4 embodiment.
Fig. 4 provides the schematic flow sheet of the status method of regular inspection measurement information really for the present invention, refers to figure
4, the method may include that
S401, judge whether detection information is presupposed information;
The most then perform S406;
If it is not, then perform S402-S406;
S402, the standard information of acquisition detection operation correspondence;
S403, detection information is mated with standard information, to obtain detection information and standard information
Matching degree;
S404, judge that matching degree is whether more than predetermined threshold value;
The most then perform S405;
If it is not, then perform S406;
S405, the state determining detection information are normal condition;
S406, the state determining detection information are abnormality.
In the embodiment shown in fig. 4, after detection terminal acquires detection information, when detection is whole
When end needs the state judging detection information, detection terminal first judges whether detection information is presupposed information:
If judging, detection information is presupposed information, the most directly determines that the state of this detection information is abnormality.
If judging, detection information is not presupposed information, then obtain the standard information that detection operation is corresponding, and will
Standard information and detection information are mated, to obtain the matching degree of detection information and standard information, optional
, when detection information is picture format, then standard information is also picture format;Then detection terminal is sentenced
Whether the matching degree of disconnected detection information and standard information is more than predetermined threshold value, if, it is determined that detection information
State be normal condition, if not, it is determined that detection information state be abnormality.
Below, in conjunction with the terminal interface shown in Fig. 5, the method shown in above-described embodiment is carried out specifically
Bright.
Exemplary, it is assumed that Cloud Server includes player 1, and user can be by TV to this broadcasting
Device 1 is downloaded, and when detecting terminal and needing to detect this player 1, detection terminal is to broadcasting
The detection operation that device 1 is carried out is down operation, and detection terminal obtains the detection information that down operation is corresponding,
And according to detection information corresponding to down operation, determine the state of player 1, and concrete, refer to figure
5 illustrated embodiments.
The terminal interface schematic diagram that Fig. 5 provides for the present invention, refer to Fig. 5, including the page 501-page
503, concrete:
In the page 501, including all business in Cloud Server, play when detection terminal needs to obtain
During the operation pages of the down operation of device 1 correspondence, detection terminal can be introduced into the page 501, then obtains
Take the region of player 1 correspondence, and the region of player 1 correspondence is carried out clicking operation, so that inspection
The current interface surveying terminal redirects as the page 502, and the page 502 is the operation pages that down operation is corresponding.
In the page 502, press including multiple buttons that player 1 is operated, such as " details "
Button, " download " button, " evaluation " button, detection terminal obtains down operation pair in the page 502
The operating space answered, region shared by " download " button, operating space that this down operation is corresponding, detect terminal
" download " button can be carried out clicking operation;Carry out clicking on behaviour to " download " button in detection terminal
After work, detection terminal sends to Cloud Server and includes " player 1 " and the service request of " download "
Information, after cloud server to this service requesting information, sends response request to detection terminal,
This response request includes the business datum of player 1, receives what Cloud Server sent in detection terminal
After service response message, detection terminal generates the detection page according to response message, concrete, this detection
The page is as shown in the page 503.
In the page 503, the download including player 1 indicates information " in download ... ", Yi Jibo
Put the download progress bar of device 1, it is assumed that the preset coordinate region that down operation is corresponding is coordinate (A1, B1)
To the rectangular area that coordinate (A2, B2) is corresponding, then detection device obtains coordinate (A1, B1) to coordinate
The rectangular area that (A2, B2) is corresponding, this rectangular area can be as shown in picture M, and by true for picture M
It is set to the detection information that down operation is corresponding.
After detection terminal acquires the detection information shown in picture M, detection terminal obtains downloads behaviour
Make corresponding standard information, it is assumed that this standard information as shown in picture N, then detects terminal and by picture M
Mate with picture N, to obtain picture M and the matching degree of picture N, if picture M and picture N
Matching degree is more than predetermined threshold value, it is determined that the state of this picture M (detection information) is normal condition, by
Downloading service in player 1 only includes that detection operation (down operation) and down operation are corresponding
Detection information be normal condition, then the downloading service of player 1 is also normal condition.
It should be noted that in any one embodiment above-mentioned, be provided with detection foot in detection terminal
This, detection terminal can be by performing detection script to complete the technology shown in any one embodiment above-mentioned
Scheme.
On the basis of any one embodiment above-mentioned, in detection terminal, business to be detected is detected
During, the procedural information that business to be detected is detected can be recorded, and this procedural information is stored
To presetting database, such as, this procedural information may include that business to be detected is started detection initiates
Moment, the finish time detecting service ending to be detected, detection duration to business to be detected, treat
The testing result (normal condition or abnormality) of detection business, so that the maintenance people of Cloud Server
Member can obtain the testing result of each detection business in Cloud Server from data base.
The structural representation one of the detection terminal that Fig. 6 provides for the present invention, refer to Fig. 6, and this detection is eventually
End may include that
First acquisition module 601, for obtaining the detection operation that business to be detected is corresponding, business to be detected
For any one business in Cloud Server;
Second acquisition module 602, for obtaining the operation pages that detection operation is corresponding in detection terminal;
Perform module 603, for business to be detected being performed detection operation in operation pages, to obtain
The detection information that detection operation is corresponding;
Determine module 604, for according to detection information, determining the state of business to be detected.
Detection terminal shown in the embodiment of the present invention can perform the technical side shown in said method embodiment
Case, it realizes principle and beneficial effect is similar to, and the most no longer repeats.
In a kind of possible embodiment, optionally, perform module 603 specifically to may be used for:
The operating space that detection operation is corresponding is determined in operation pages;
In operating space, execution action is preset in input, the detection information corresponding to obtain detection operation.
The structural representation two of the detection terminal that Fig. 7 provides for the present invention, at the base of embodiment illustrated in fig. 6
On plinth, refer to Fig. 7, perform module 603 and include transmitting element 6031, judging unit 6032, life
Become unit 6033 and determine unit 6034, wherein,
Transmitting element 6031 is used for, according to the default execution action of input in operating space, to Cloud Server
Sending business request information, business request information includes mark and the mark of detection operation of business to be detected
Know;
Judging unit 6032 is used for, it is judged that whether receive the business sound that Cloud Server sends in preset duration
Answer message;
Signal generating unit 6033 is used for, and judges to receive what Cloud Server sent in preset duration at judging unit
During service response message, generate the detection page according to service response message, and obtain detection operation correspondence
Preset coordinate region, accordingly, determine unit for, by detection the page in preset coordinate region corresponding
Page info is defined as detection information;
Determine that unit 6034 is additionally operable to, judge that not receiving Cloud Server in preset duration sends out at judging unit
During the service response message sent, presupposed information is defined as detection information.
In actual application, when the number that the detection that business to be detected is corresponding operates is 1, really
Cover half block 604 specifically may be used for:
Obtain the state of detection information;
If the state of detection information is normal condition, the state of business the most to be detected is normal condition;
If the state of detection information is abnormality, the state of business the most to be detected is abnormality.
When the number that the detection that business to be detected is corresponding operates is more than 1, determine that module 604 specifically may be used
For:
Obtain the state of each detection information;
If respectively the state of detection information is normal condition, the state of business the most to be detected is normal condition;
If there is the detection information of abnormality in detection information, the state of business the most to be detected is abnormal shape
State.
In alternatively possible embodiment, optionally, determine module 604 specifically for:
Judge whether detection information is presupposed information;
If, it is determined that the state of detection information is abnormality;
If it is not, then obtain the standard information that detection operation is corresponding, and detection information is carried out with standard information
Coupling, to obtain the matching degree of detection information and standard information, it is judged that whether matching degree is more than predetermined threshold value,
If, it is determined that the state of detection information is normal condition, if not, it is determined that the state of detection information is
Abnormality.
Further, this detection terminal can also include that sending module 605, sending module 604 are used for,
After determining that module 604 determines that business to be detected is in abnormality, send abnormal carrying to Cloud Server
The information of waking up, abnormity prompt information includes the mark of business to be detected.
Detection terminal shown in the embodiment of the present invention can perform the technical side shown in said method embodiment
Case, it realizes principle and beneficial effect is similar to, and the most no longer repeats.
One of ordinary skill in the art will appreciate that: realize all or part of step of above-mentioned each method embodiment
Suddenly can be completed by the hardware that programmed instruction is relevant.Aforesaid program can be stored in a computer can
Read in storage medium.This program upon execution, performs to include the step of above-mentioned each method embodiment;And
Aforesaid storage medium includes: ROM, RAM, magnetic disc or CD etc. are various can store program code
Medium.
Last it is noted that various embodiments above is only in order to illustrate technical scheme, rather than right
It limits;Although the present invention being described in detail with reference to foregoing embodiments, this area common
Skilled artisans appreciate that the technical scheme described in foregoing embodiments still can be modified by it,
Or the most some or all of technical characteristic is carried out equivalent;And these amendments or replacement, and
The essence not making appropriate technical solution departs from the scope of various embodiments of the present invention technical scheme.
Claims (10)
1. a service testing method, it is characterised in that being applied to detect terminal, described method includes:
Obtaining the detection operation that described business to be detected is corresponding, described business to be detected is in Cloud Server
Any one business;
The operation pages that described detection operation is corresponding is obtained in described detection terminal, and at described operation page
Face performs described detection operation to described business to be detected, the detection corresponding to obtain described detection operation
Information;
According to described detection information, determine the state of described business to be detected.
Method the most according to claim 1, it is characterised in that to described in described operation pages
Business to be detected performs described detection operation, the detection information corresponding to obtain described detection operation, including:
The operating space that described detection operation is corresponding is determined in described operation pages;
In described operating space, execution action is preset in input, the detection letter corresponding to obtain described detection operation
Breath.
Method the most according to claim 2, it is characterised in that input is preset in described operating space
Execution action, the detection information corresponding to obtain described detection operation, including:
According to the default execution action of input in described operating space, sending business to described Cloud Server please
Message, described business request information is asked to include mark and the mark of described detection operation of business to be detected;
Judge in preset duration, whether receive the service response message that described Cloud Server sends;
The most then generate the detection page according to described service response message, obtain described detection operation correspondence
Preset coordinate region, and by true for page info corresponding for preset coordinate region described in the described detection page
It is set to described detection information;
If it is not, then presupposed information to be defined as described detection information.
Method the most according to claim 3, it is characterised in that the inspection that described business to be detected is corresponding
The number surveying operation is 1, according to described detection information, determines the state of described business to be detected, bag
Include:
Obtain the state of described detection information;
If the state of described detection information is normal condition, the state of the most described business to be detected is normal shape
State;
If the state of described detection information is abnormality, the state of the most described business to be detected is abnormal shape
State.
Method the most according to claim 3, it is characterised in that the inspection that described business to be detected is corresponding
The number surveying operation is more than 1, according to described detection information, determines the state of described business to be detected,
Including:
Obtain the state of each described detection information;
If the state of each described detection information is normal condition, the state of the most described business to be detected is just
Often state;
If described detection information existing the detection information of abnormality, the state of the most described business to be detected
For abnormality.
6. according to the method described in claim 4 or 5, it is characterised in that obtain described detection information
State, including:
Judge whether described detection information is described presupposed information;
If, it is determined that the state of described detection information is abnormality;
If it is not, then obtain the standard information that described detection operation is corresponding, and by described detection information with described
Standard information is mated, to obtain described detection information and the matching degree of described standard information, it is judged that institute
State whether matching degree is more than predetermined threshold value, if, it is determined that the state of described detection information is normal condition,
If not, it is determined that the state of described detection information is abnormality.
7. according to the method described in any one of claim 1-5, it is characterised in that described to be checked determining
After survey business is in abnormality, also include:
Sending abnormity prompt information to described Cloud Server, described abnormity prompt information includes described to be checked
The mark of survey business.
8. a detection terminal, it is characterised in that including:
First acquisition module, for obtaining the detection operation that described business to be detected is corresponding, described to be detected
Business is any one business in Cloud Server;
Second acquisition module, for obtaining the operation page that described detection operation is corresponding in described detection terminal
Face;
Perform module, for described business to be detected being performed described detection operation in described operation pages,
The detection information corresponding to obtain described detection operation;
Determine module, for according to described detection information, determine the state of described business to be detected.
Terminal the most according to claim 8, it is characterised in that described execution module specifically for:
The operating space that described detection operation is corresponding is determined in described operation pages;
In described operating space, execution action is preset in input, the detection letter corresponding to obtain described detection operation
Breath.
Terminal the most according to claim 9, it is characterised in that described execution module includes sending
Unit, judging unit, signal generating unit and determine unit, wherein,
Described transmitting element is used for, according to the default execution action of input in described operating space, to described
Cloud Server send business request information, described business request information include business to be detected mark and
The mark of described detection operation;
Described judging unit is used for, it is judged that whether receive the industry that described Cloud Server sends in preset duration
Business response message;
Described signal generating unit is used for, and judges to receive described cloud service in preset duration at described judging unit
During the service response message that device sends, generate the detection page according to described service response message, and obtain institute
State the preset coordinate region that detection operation is corresponding, accordingly, described determine unit for, by described detection
Page info corresponding to preset coordinate region described in the page is defined as described detection information;
Described determine that unit is additionally operable to, judge in preset duration, do not receive described cloud at described judging unit
During the service response message that server sends, presupposed information is defined as described detection information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610352641.2A CN105847090B (en) | 2016-05-25 | 2016-05-25 | A kind of service testing method and detection terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610352641.2A CN105847090B (en) | 2016-05-25 | 2016-05-25 | A kind of service testing method and detection terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105847090A true CN105847090A (en) | 2016-08-10 |
CN105847090B CN105847090B (en) | 2019-07-02 |
Family
ID=56595978
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610352641.2A Active CN105847090B (en) | 2016-05-25 | 2016-05-25 | A kind of service testing method and detection terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105847090B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1793992A (en) * | 2005-11-25 | 2006-06-28 | 威盛电子股份有限公司 | Remote detection system and method |
CN103475944A (en) * | 2013-09-24 | 2013-12-25 | 深圳创维-Rgb电子有限公司 | Information detection method and system and television side |
CN103645844A (en) * | 2013-11-14 | 2014-03-19 | 乐视致新电子科技(天津)有限公司 | Page displaying method and device |
CN104967540A (en) * | 2014-06-10 | 2015-10-07 | 腾讯科技(深圳)有限公司 | Server status detection method and apparatus thereof |
CN105389117A (en) * | 2015-12-07 | 2016-03-09 | 腾讯科技(深圳)有限公司 | Resource acquiring method and apparatus and resource processing method, apparatus and system |
-
2016
- 2016-05-25 CN CN201610352641.2A patent/CN105847090B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1793992A (en) * | 2005-11-25 | 2006-06-28 | 威盛电子股份有限公司 | Remote detection system and method |
CN103475944A (en) * | 2013-09-24 | 2013-12-25 | 深圳创维-Rgb电子有限公司 | Information detection method and system and television side |
CN103645844A (en) * | 2013-11-14 | 2014-03-19 | 乐视致新电子科技(天津)有限公司 | Page displaying method and device |
CN104967540A (en) * | 2014-06-10 | 2015-10-07 | 腾讯科技(深圳)有限公司 | Server status detection method and apparatus thereof |
CN105389117A (en) * | 2015-12-07 | 2016-03-09 | 腾讯科技(深圳)有限公司 | Resource acquiring method and apparatus and resource processing method, apparatus and system |
Also Published As
Publication number | Publication date |
---|---|
CN105847090B (en) | 2019-07-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10853232B2 (en) | Adaptive system for mobile device testing | |
CN104765678B (en) | The method and device tested the application on mobile terminal device | |
CN110908909B (en) | Automatic test method, device, storage medium and equipment | |
CN112054822B (en) | Bluetooth test method and device, electronic equipment and storage medium | |
CN103139010A (en) | Terminal and testing server and testing method | |
KR20160021419A (en) | Mobile terminal test system and mobile terminal test method using the system | |
CN105975391A (en) | Restart testing method and device and mobile terminal | |
CN105260082A (en) | Display method for test data and development terminal | |
CN110806965A (en) | Automatic test method, device, equipment and medium | |
CN106445806A (en) | Software testing method and device | |
CN112148606B (en) | Buried point test method, buried point test device, buried point test equipment and computer readable medium | |
CN108519935B (en) | Board card testing method and device, readable storage medium and computer equipment | |
CN103678380A (en) | Test state presentation and anomaly indexing system and method | |
CN109729346B (en) | Remote debugging method and system for television, debugging terminal and television terminal | |
KR20150003651A (en) | Computing system and control method thereof | |
CN106919489B (en) | Method and device for monitoring abnormal exit of application interface of application program | |
CN110657557A (en) | Method and device for acquiring information of electric appliance, storage medium and processor | |
CN111245527B (en) | Performance detection system and detection method thereof | |
CN110896569B (en) | Bullet screen automatic reconnection method, storage medium, electronic equipment and system | |
CN115276844B (en) | Communication module testing method and device, storage medium and electronic equipment | |
CN117116026A (en) | Bluetooth key detection method, device and system and storage medium thereof | |
CN105847090A (en) | Service detection method and detection terminal | |
CN106940647B (en) | Code management method and device | |
CN113094268A (en) | Test method, device, equipment, medium and program product | |
JP2015011695A (en) | Communication collation device and application inspection device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |