CN110099275A - A kind of test method of application, device, equipment and storage medium - Google Patents
A kind of test method of application, device, equipment and storage medium Download PDFInfo
- Publication number
- CN110099275A CN110099275A CN201910419851.2A CN201910419851A CN110099275A CN 110099275 A CN110099275 A CN 110099275A CN 201910419851 A CN201910419851 A CN 201910419851A CN 110099275 A CN110099275 A CN 110099275A
- Authority
- CN
- China
- Prior art keywords
- address
- testing service
- service device
- application
- test
- 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/362—Software debugging
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N17/00—Diagnosis, testing or measuring for television systems or their details
- H04N17/004—Diagnosis, testing or measuring for television systems or their details for digital television systems
-
- 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/436—Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
-
- 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/443—OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- General Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- General Health & Medical Sciences (AREA)
- Health & Medical Sciences (AREA)
- Biomedical Technology (AREA)
- Software Systems (AREA)
- Computer And Data Communications (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a kind of test method of application, device, equipment and storage mediums.This method comprises: reading the second address of the second testing service device from the movable storage device for accessing the TV, the second testing service device and the first testing service device provide identical testing service;Second address of the second testing service device is replaced to the first address of the first testing service device;Start the application, is tested with accessing the second testing service device according to second address.When by this method solve directly carrying out debugging test using the online server of DUK certification authority, the problem of cannot exclude the influence of network factors, it realizes and provides the second testing service device of identical testing service with the first testing service device by the access of the second address, reduce network factors influence caused by debugging test result, improves the quasi- accurately fixed beneficial effect of test.
Description
Technical field
The present embodiments relate to information network technique more particularly to a kind of test method of application, device, equipment and deposit
Storage media.
Background technique
With the development of information network technique, TV also has the function of system and network communication.Present TV
(especially carrying the TV of Android system) generally can be with pre-installed applications.User can be different by the application access of these prepackages
Operator content, obtain different data.
It is carried out in the server that inland of China directly uses DUK (Digital UK, digital Britain) certification authority online
Debugging test, needs Britain's private line network.When test result is failure, it can not judge that the reason of causing test crash is network
Or apply itself.
Summary of the invention
The present invention provides test method, device, equipment and the storage medium of a kind of application, to solve directly to recognize using DUK
When the online server of card mechanism carries out debugging test, the problem of cannot exclude the influence of network factors.
In a first aspect, the embodiment of the invention provides a kind of test methods of application, application is installed on television, it is described
The first address of the first testing service device is provided in, which comprises
The second address of the second testing service device, second test are read from the movable storage device for accessing the TV
Server and the first testing service device provide identical testing service;
Second address of the second testing service device is replaced to the first address of the first testing service device;
Start the application, is tested with accessing the second testing service device according to second address.
On this basis, second ground that the second testing service device is read from the movable storage device for accessing the TV
Location, comprising:
Receive the Restart Signal for acting on the TV;
According to the Restart Signal, the of standby second testing service device is read from the movable storage device for accessing the TV
Double-address.
On this basis, second ground that the second testing service device is read from the movable storage device for accessing the TV
Location, comprising:
Receive the enabling signal for acting on the application;
According to the enabling signal, the second of the second testing service device is read from the movable storage device for accessing the TV
Address.
On this basis, second ground that the second testing service device is read from the movable storage device for accessing the TV
Location, comprising:
A file is determined from the movable storage device for accessing the TV, the file is for storing the second testing service
Second address of device;
The second address of the second testing service device is read from the file.
On this basis, the two address quantity be two or more, each second address information category
Property information, the attribute information are used to indicate the application of test;
The starting application, is tested with accessing the second testing service device according to second address, is wrapped
It includes:
Determine that destination address, the destination address are the second address that attribute information is directed toward same application;
Start the application, is tested with accessing the second testing service device according to the destination address respectively.
On this basis, further includes:
Receive the extraction message generated when the movable storage device is extracted;
According to the extraction message, the second testing service device is replaced into the first address of the first testing service device
The second address replacement.
Second aspect, the embodiment of the invention also provides a kind of test methods of application, are equipped with application, institute on television
State the first address that the first testing service device is provided in application, which comprises
The second address of the second testing service device is received, the second address of the second testing service device is stored in access
In the movable storage device of the TV, the second testing service device and the first testing service device provide identical test
Service;
The second testing service device is accessed according to second address to be tested.
On this basis, the two address quantity be two or more, each second address information category
Property information, the attribute information are used to indicate the application of test;
It is described to be tested according to second address access the second testing service device, comprising:
Determine that destination address, the destination address are the second address that attribute information is directed toward same application;
The second testing service device is accessed according to the destination address respectively to be tested.
On this basis, described to be tested respectively according to destination address access the second testing service device, it wraps
It includes:
Launching process, each process establish communication connection for testing service device corresponding with each destination address;
Other processes in addition to target process are closed, the target process is the first process for completing to establish communication connection;
The second testing service device is accessed by the communication connection to be tested.
On this basis, the second testing service device is virtual server, at the virtual server and the TV
In same local area network;The first testing service device is in outside the local area network.
The third aspect, the embodiment of the invention also provides a kind of test devices of application, are equipped with application, institute on television
The first address that the first testing service device is provided in application is stated, described device includes:
Second address acquisition module, for reading the second testing service device from the movable storage device for accessing the TV
Second address, the second testing service device and the first testing service device provide identical testing service;
First address replacement module, for the first testing service device to be replaced in the second address of the second testing service device
The first address;
First test carries out module, for starting the application, according to second address access, second test
Server is tested.
Fourth aspect, the embodiment of the invention also provides a kind of test devices of application, are equipped with application, institute on television
The first address that the first testing service device is provided in application is stated, described device includes:
Second address receiving module, for receiving the second address of the second testing service device, the second testing service device
The second address, be stored in the movable storage device for accessing the TV, the second testing service device and it is described first survey
It tries server and identical testing service is provided;
Second test carries out module, is tested for accessing the second testing service device according to second address.
5th aspect, the embodiment of the invention also provides a kind of electronic equipment, comprising:
One or more processors;
Memory, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processing
Device realizes a kind of test method of application as described in any embodiment.
6th aspect, the embodiment of the invention also provides a kind of computer readable storage mediums, are stored thereon with computer
Program realizes a kind of test method of application as described in any embodiment when the program is executed by processor.
By the second address of movable storage device the second testing service device of reading from access TV, second surveys the present invention
It tries server and the first testing service device provides identical testing service;Second address of the second testing service device is replaced first
First address of testing service device;Starting application is tested with accessing the second testing service device according to the second address.It solves
When directly carrying out debugging test using the online server of DUK certification authority, the problem of cannot exclude the influence of network factors,
It realizes and provides the second testing service device of identical testing service with the first testing service device by the access of the second address, reduce
Network factors are influenced caused by debugging test result, improve the quasi- accurately fixed beneficial effect of test.
Detailed description of the invention
Fig. 1 is a kind of flow chart of the test method for application that the embodiment of the present invention one provides;
Fig. 2 is a kind of flow chart of the test method of application provided by Embodiment 2 of the present invention;
Fig. 3 is a kind of flow chart of the test method for application that the embodiment of the present invention three provides;
Fig. 4 is a kind of flow chart of the test method for application that the embodiment of the present invention four provides;
Fig. 5 is a kind of structure chart of the test device for application that the embodiment of the present invention five provides;
Fig. 6 is a kind of structure chart of the test device for application that the embodiment of the present invention six provides;
Fig. 7 is the structural schematic diagram for a kind of electronic equipment that the embodiment of the present invention seven provides.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining the present invention rather than limiting the invention.It also should be noted that in order to just
Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
It, below will be to several names occurred in the embodiment of the present application in order to which scheme described in the embodiment of the present application is easy to understand
Word explains.
TV: the equipment for transmitting movable image frame and audio signal using electronic technology and equipment is generally referred to.
TV in the application refers in particular to Web TV, and Web TV is based on broadband high-speed IP (Internet Protocol, between network
The agreement of interconnection) net is logical using television set, PC and handheld device as display terminal based on network video resource
Set-top box or computer accessing to wide band network are crossed, realizes the service such as DTV, time-moving television, interactive TV.
Optionally, TV is equipped with system, such as: Android system (Android), apple system (macOS).Meanwhile electricity
Application is installed depending in.
Using: the application that can be installed and used on television is refered in particular in application here.An application is accessed on TV,
Essence is then to pass through address from server by browser handle by taking application corresponding address (uniform resource locator)
The content of acquisition is shown.It is integrated with browser function in, while having preset address in application function, i.e., in embodiment
The first address.
Movable storage device: referring to portable data storage device, refers to storage medium and (general) itself has reading
The function of writing medium, the assistance for not needing or seldom needing other devices (such as computer) etc..
Optionally, movable storage device is mobile hard disk, USB (Universal Serial Bus, universal serial bus)
Disk and various memory cards.
Testing service device: the equipment that testing service device is to provide the service of calculating.In a network environment, it is provided according to server
Service type it is different, be divided into file server, database server, apps server, WEB server etc..In this Shen
Please in, testing service device can respond the request applied in TV, to application provide test content.
In general, testing service device can be set to active/standby server (Dual-Computer Hot-Standby System).Dual-Computer Hot-Standby System is collection
The minimum composition unit of group, is exactly mounted to mutually redundant two-server for central server, and within the same time
An only server operation.When which to run a server failure can not start when, another backup services
Device can rapidly start automatically and run (generally several minutes or so), to guarantee the normal operation of whole network system.It is double
The hot standby working mechanism of machine is actually to provide a kind of automatically restoring fault ability for the central server of whole network system.
In this application, testing service device is divided into the first testing service device and the second testing service device, this is according to survey
What examination server was determined with local area network range locating for TV.Second testing service device and TV are in same local area network,
First testing service device is in outside local area network.Second testing service device can be virtual server.
Certainly, the first testing service device is to refer in generation with the second testing service device, is not offered as pertaining only to two in the application
Platform server.
Address: address is used to indicate the position of the resource of application request.It can be understood as applying and need through address, with ground
The testing service device that location is directed toward establishes communication connection, carries out the resource request of test content.
In this application, address is divided into the first address and the second address, this is that server is directed toward according to address
Come what is determined.The first testing service device is directed toward in first address, and the second testing service device is directed toward in the second address.
Embodiment one
Fig. 1 is a kind of flow chart of the test method for application that the embodiment of the present invention one provides.The present embodiment is applicable to
The first address that the application setting installed in TV is exchanged by movable storage device is replaced, so that according to described second
Address accesses the scene that the second testing service device is tested.This method can be held by a kind of test device of application
Row, which can be realized by the mode of software and/or hardware, be generally disposed in electronic equipment, be typically arranged in and locate
It manages in device.With reference to Fig. 1, this method is specifically included:
S101, the second address that the second testing service device is read from the movable storage device for accessing the TV.
After TV accesses movable storage device, the file carried out to movable storage device is read out, and is determined and is directed toward the
Second address of two testing service devices.
In general, being directed toward the second address of the second testing service device can be stored in the special file of movable storage device,
Two address mode is read from movable storage device can be set are as follows: set as long as accessing mobile storage in TV operational process
It is standby, i.e., the special file in movable storage device is read out;Alternatively, movable storage device is accessed in TV operational process,
Only the generic-document in movable storage device is read out, and needs just to check special file in TV starting
And reading.
S102, the first address that the second address of the second testing service device is replaced to the first testing service device.
S103, the starting application, are tested with accessing the second testing service device according to second address.
The step of step S102-S103 is described, and starting application is replaced with network address, since the two has relevance,
The two steps are described together.
It is integrated with browser function module in, while being stored with the first testing service being directed toward outside local area network in application
First address of device.In the case where not replacing, using that can access according to the first address to first server, download
Test content, to test application.In the case where replacing, after a certain application is activated, application transmission is volleyed
To the first address of browser function module, first address is replaced into the second address for being directed toward the second testing service device.So that answering
It is accessed with according to the second address to second server, downloads test content, to test application.
The embodiment of the present invention by from access TV movable storage device read the second testing service device the second address,
Second testing service device and the first testing service device provide identical testing service;Second address of the second testing service device is replaced
Change the first address of the first testing service device;Starting application is tested with accessing the second testing service device according to the second address.
It solves when directly carrying out debugging test using the online server of DUK certification authority, cannot exclude the influence of network factors
The problem of, it realizes and provides the second testing service of identical testing service with the first testing service device by the access of the second address
Device reduces network factors influence caused by debugging test result, improves the quasi- accurately fixed beneficial effect of test.
Embodiment two
Fig. 2 is a kind of flow chart of the test method of application provided by Embodiment 2 of the present invention.The present embodiment is to implement
The refinement carried out on the basis of example one is described in detail from the movable storage device for accessing the TV and reads the second testing service
Second address of device and the starting application, to access what the second testing service device was tested according to second address
Specific method.With reference to Fig. 2, this method is specifically included:
S201, determine that a file, the file are surveyed for storing second from the movable storage device for accessing the TV
Try the second address of server.
When detecting that movable storage device is linked into TV, searched from mobile storage file for storing the second test
The two address file of server.
In general, be usually special file F for storing the two address file of the second testing service device, special file
F is defined in code, and the file name redirected for identification, special file F generally stores the address of redirection.
S202, the second address that the second testing service device is read from the file.
After determining the two address file for storing the second testing service device from mobile storage file, from this article
In part read two testing service devices the second address.
In a specific implementation, two address mode will be read from movable storage device be can be set are as follows: is received and is made
Enabling signal for the application;According to the enabling signal, second is read from the movable storage device for accessing the TV
Second address of testing service device.As long as being stored to mobile that is, being set as accessing movable storage device in TV operational process
Special file in equipment is checked, when a certain application is activated, is read out to the content in special file.
In a specific implementation, two address mode will be read from movable storage device be can be set are as follows: is received and is made
Restart Signal for the TV;According to the Restart Signal, standby the is read from the movable storage device for accessing the TV
Second address of two testing service devices.That is, movable storage device is accessed in TV operational process, only in movable storage device
Generic-document is read out, and needs that just special file is checked and read in TV starting.
S203, the first address that the second address of the second testing service device is replaced to the first testing service device.
Two address quantity is two or more, and each second address information attribute information, attribute information is used for
Indicate the application of test.
There is multiple two address quantity i.e. in file.The second ground is determined according to each two address address information attribute
The corresponding application in location.
By the first address of second the first testing service of address device of the second testing service device, an application may be right at this time
Answer multiple second addresses.
S204, destination address is determined.
The corresponding application in the second address is determined according to each two address address information attribute, each application is corresponding
(one or more) second address is determined as using corresponding destination address.
S205, the starting application, are surveyed with accessing the second testing service device according to the destination address respectively
Examination.
The enabling signal that application is activated generation is received, destination address is visited using corresponding destination address according to this
It asks, is tested with accessing the second testing service device according to destination address respectively.
Due to there is multiple destination addresses to be directed toward the second testing service device, the mode of connection can be general broken string weight
Even;It is also possible to testing service device corresponding with each destination address simultaneously and establishes communication connection, when first communication connection is established
After the completion, other processes for establishing communication connection are closed.
S206, the extraction message generated when the movable storage device is extracted is received.
The equipment state for detecting movable storage device generates when movable storage device is extracted and extracts information.
S207, according to the extraction message, by the first address replacement of the first testing service device second test
It replaces second address of server.
When receiving the extraction message, the second testing service device is replaced into the first address of the first testing service device
Second address replacement, so that the default address in reverts to the address set originally.
The embodiment of the present invention by from access TV movable storage device read the second testing service device the second address,
Second testing service device and the first testing service device provide identical testing service;Second address of the second testing service device is replaced
Change the first address of the first testing service device;Starting application is tested with accessing the second testing service device according to the second address.
It solves when directly carrying out debugging test using the online server of DUK certification authority, cannot exclude the influence of network factors
The problem of, it realizes and provides the second testing service of identical testing service with the first testing service device by the access of the second address
Device reduces network factors influence caused by debugging test result, improves the quasi- accurately fixed beneficial effect of test.
Embodiment three
Fig. 3 is a kind of flow chart of the test method for application that the embodiment of the present invention three provides.The present embodiment is applicable to
The second address for receiving the second testing service device accesses what the second testing service device was tested according to second address
Scene.This method can be executed by a kind of test device of application, which can be real by the mode of software and/or hardware
It is existing, it is generally disposed in electronic equipment, is typically arranged in the processor.With reference to Fig. 3, this method is specifically included:
S301, the second address for receiving the second testing service device.
S302, it is tested according to second address access the second testing service device.
The present embodiment is the description carried out from application end.It is taken using the second test being stored in movable storage device is obtained
Second address of business device, the first address of default originally is replaced using second address, sends browser for second address
In function, to access to the second address.
Wherein, the second testing service device and the first testing service device provide identical testing service.Second test clothes
Business device is virtual server, and is in same local area network with TV;And the first testing service device is in outside local area network.
The embodiment of the present invention passes through the second address for receiving the second testing service device, according to described in the access of second address
Second testing service device is tested.It solves when directly carrying out debugging test using the online server of DUK certification authority,
The problem of cannot exclude the influence of network factors realizes identical with the offer of the first testing service device by the access of the second address
Second testing service device of testing service reduces network factors influence caused by debugging test result, it is quasi- to improve test
Accurately fixed beneficial effect.
Example IV
Fig. 4 is a kind of flow chart of the test method for application that the embodiment of the present invention four provides.The present embodiment is to implement
The refinement carried out on the basis of example three is described in detail and is surveyed according to second address access the second testing service device
The specific method of examination.With reference to Fig. 4, this method is specifically included:
S401, the second address for receiving the second testing service device.
Using the second address for receiving the second testing service device being stored in movable storage device.
Two address quantity is two or more, and each second address information attribute information, attribute information is used for
Indicate the application of test.
There is multiple two address quantity i.e. in file.The second ground is determined according to each two address address information attribute
The corresponding application in location.
By the first address of second the first testing service of address device of the second testing service device, an application may be right at this time
Answer multiple second addresses.
S402, determine that destination address, the destination address are the second address that attribute information is directed toward same application.
The corresponding application in the second address is determined according to each two address address information attribute, each application is corresponding
(one or more) second address is determined as using corresponding destination address.
S403, the second testing service device is accessed according to the destination address respectively tested.
In a specific implementation, the mode that can connect can be general disconnection reconnecting;Pass through either objective address
The second testing service device is accessed, if selecting another destination address to establish logical without establishing communication connection within a preset time
Letter connection.After establishing current connection by a destination address, the second testing service device is accessed by the communication connection
It is tested.
In a specific implementation, launching process can be, each process takes for test corresponding with each destination address
Business device establishes communication connection;Other processes in addition to target process are closed, the target process is that communication link is established in first completion
The process connect;The second testing service device is accessed by the communication connection to be tested.That is, simultaneously with each destination address
Corresponding testing service device establishes communication connection, after the completion of first communication connection foundation, closes other and is establishing communication link
The process connect.The second testing service device is accessed by the communication connection to be tested.
The embodiment of the present invention passes through the second address for receiving the second testing service device, according to described in the access of second address
Second testing service device is tested.It solves when directly carrying out debugging test using the online server of DUK certification authority,
The problem of cannot exclude the influence of network factors realizes identical with the offer of the first testing service device by the access of the second address
Second testing service device of testing service reduces network factors influence caused by debugging test result, it is quasi- to improve test
Accurately fixed beneficial effect.
Embodiment five
Fig. 5 is a kind of structure chart of the test device for application that the embodiment of the present invention five provides.It include: that the second address obtains
Module 51, the first address replacement module 52 and the first test carry out module 53.Wherein,
Second address acquisition module 51, for reading the second testing service device from the movable storage device for accessing the TV
The second address, the second testing service device and the first testing service device provide identical testing service;
First address replacement module 52, for the first testing service to be replaced in the second address of the second testing service device
First address of device;
First test carries out module 53, for starting the application, to survey according to second address access described second
Examination server is tested.
The embodiment of the present invention by from access TV movable storage device read the second testing service device the second address,
Second testing service device and the first testing service device provide identical testing service;Second address of the second testing service device is replaced
Change the first address of the first testing service device;Starting application is tested with accessing the second testing service device according to the second address.
It solves when directly carrying out debugging test using the online server of DUK certification authority, cannot exclude the influence of network factors
The problem of, it realizes and provides the second testing service of identical testing service with the first testing service device by the access of the second address
Device reduces network factors influence caused by debugging test result, improves the quasi- accurately fixed beneficial effect of test.
On the basis of the above embodiments, the second address acquisition module 51 is also used to:
Receive the Restart Signal for acting on the TV;
According to the Restart Signal, the of standby second testing service device is read from the movable storage device for accessing the TV
Double-address.
On the basis of the above embodiments, the second address acquisition module 51 is also used to:
Receive the enabling signal for acting on the application;
According to the enabling signal, the second of the second testing service device is read from the movable storage device for accessing the TV
Address.
On the basis of the above embodiments, the second address acquisition module 51 is also used to:
A file is determined from the movable storage device for accessing the TV, the file is for storing the second testing service
Second address of device;
The second address of the second testing service device is read from the file.
On the basis of the above embodiments, the two address quantity be two or more, each described second
Address information attribute information, the attribute information are used to indicate the application of test.First test carries out module 53 and is also used to:
Determine that destination address, the destination address are the second address that attribute information is directed toward same application;
Start the application, is tested with accessing the second testing service device according to the destination address respectively.
On the basis of the above embodiments, further include address recovery module, be used for:
Receive the extraction message generated when the movable storage device is extracted;
According to the extraction message, the second testing service device is replaced into the first address of the first testing service device
The second address replacement.
A kind of test device of application provided in this embodiment can be used for executing one that embodiment one and embodiment two provide
The test method of kind application, has corresponding function and beneficial effect.
Embodiment six
Fig. 6 is a kind of structure chart of the test device for application that the embodiment of the present invention six provides.It include: that the second address receives
Module 61 and the second test carry out module 62.
Second address receiving module 61, for receiving the second address of the second testing service device, second testing service
Second address of device is stored in the movable storage device for accessing the TV, the second testing service device and described first
Testing service device provides identical testing service;
Second test carries out module 62, is surveyed for accessing the second testing service device according to second address
Examination.
The embodiment of the present invention passes through the second address for receiving the second testing service device, according to described in the access of second address
Second testing service device is tested.It solves when directly carrying out debugging test using the online server of DUK certification authority,
The problem of cannot exclude the influence of network factors realizes identical with the offer of the first testing service device by the access of the second address
Second testing service device of testing service reduces network factors influence caused by debugging test result, it is quasi- to improve test
Accurately fixed beneficial effect.
On the basis of the above embodiments, the two address quantity be two or more, each described second
Address information attribute information, the attribute information are used to indicate the application of test.Second test carries out module 62 and is also used to:
Determine that destination address, the destination address are the second address that attribute information is directed toward same application;
The second testing service device is accessed according to the destination address respectively to be tested.
On the basis of the above embodiments, it is described respectively according to the destination address access the second testing service device into
Row test, comprising:
Launching process, each process establish communication connection for testing service device corresponding with each destination address;
Other processes in addition to target process are closed, the target process is the first process for completing to establish communication connection;
The second testing service device is accessed by the communication connection to be tested.
On the basis of the above embodiments, the second testing service device be virtual server, the virtual server with
The TV is in same local area network;The first testing service device is in outside the local area network.Provided in this embodiment one
The test device of kind application can be used for executing a kind of test method for application that embodiment three and example IV provide, and have accordingly
Function and beneficial effect.
Embodiment seven
Fig. 7 is the structural schematic diagram for a kind of electronic equipment that the embodiment of the present invention seven provides.As shown in fig. 7, the electronics is set
Standby includes processor 70, memory 71, communication module 72, input unit 73 and output device 74;Processor 70 in electronic equipment
Quantity can be one or more, in Fig. 7 by taking a processor 70 as an example;Processor 70, memory 71 in electronic equipment,
Communication module 72, input unit 73 and output device 74 can be connected by bus or other modes, to be connected by bus in Fig. 7
It is connected in example.
Memory 71 is used as a kind of computer readable storage medium, can be used for storing software program, journey can be performed in computer
Sequence and module, if the corresponding module of test method of one of the present embodiment application is (for example, a kind of test device of application
In the second address acquisition module 51, the first address replacement module 52 and the first test carry out module 53) (for example, a kind of application
The second address receiving module 61 and the second test carry out module 62 in test device).Processor 70 is stored in storage by operation
Software program, instruction and module in device 71, thereby executing the various function application and data processing of electronic equipment, i.e., in fact
A kind of test method of existing above-mentioned application.
Memory 71 can mainly include storing program area and storage data area, wherein storing program area can store operation system
Application program needed for system, at least one function;Storage data area, which can be stored, uses created data according to electronic equipment
Deng.In addition, memory 71 may include high-speed random access memory, it can also include nonvolatile memory, for example, at least
One disk memory, flush memory device or other non-volatile solid state memory parts.In some instances, memory 71 can
It further comprise the memory remotely located relative to processor 70, these remote memories can pass through network connection to electronics
Equipment.The example of above-mentioned network includes but is not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
Communication module 72 for establishing connection with display screen, and realizes the data interaction with display screen.Input unit 73 can
Number for receiving input or character information, and generate key related with the user setting of electronic equipment and function control
Signal input.
The test side for the application that any embodiment of the present invention provides can be performed in a kind of electronic equipment provided in this embodiment
Method, specific corresponding function and beneficial effect.
Embodiment eight
The embodiment of the present invention eight also provides a kind of storage medium comprising computer executable instructions, and the computer can be held
Row is instructed when being executed by computer processor for executing a kind of test method of application, this method comprises:
The second address of the second testing service device, second test are read from the movable storage device for accessing the TV
Server and the first testing service device provide identical testing service;
Second address of the second testing service device is replaced to the first address of the first testing service device;
Start the application, is tested with accessing the second testing service device according to second address.
Or,
The second address of the second testing service device is received, the second address of the second testing service device is stored in access
In the movable storage device of the TV, the second testing service device and the first testing service device provide identical test
Service;
The second testing service device is accessed according to second address to be tested.
Certainly, a kind of storage medium comprising computer executable instructions, computer provided by the embodiment of the present invention
The method operation that executable instruction is not limited to the described above, can also be performed the survey applied provided by any embodiment of the present invention
Relevant operation in method for testing.
By the description above with respect to embodiment, it is apparent to those skilled in the art that, the present invention
It can be realized by software and required common hardware, naturally it is also possible to which by hardware realization, but in many cases, the former is more
Good embodiment.Based on this understanding, technical solution of the present invention substantially in other words contributes to the prior art
Part can be embodied in the form of software products, which can store in computer readable storage medium
In, floppy disk, read-only memory (Read-Only Memory, ROM), random access memory (Random such as computer
Access Memory, RAM), flash memory (FLASH), hard disk or CD etc., including some instructions are used so that a calculatings electromechanics
Sub- equipment (can be personal computer, server or network electronic devices etc.) executes described in each embodiment of the present invention
Method.
It is worth noting that, in the embodiment of the test device of above-mentioned application, included each unit and module are
It is divided according to the functional logic, but is not limited to the above division, as long as corresponding functions can be realized;Separately
Outside, the specific name of each functional unit is also only for convenience of distinguishing each other, the protection scope being not intended to restrict the invention.
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that
The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation,
It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention
It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also
It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.
Claims (14)
1. a kind of test method of application, which is characterized in that be equipped with application on television, the first survey is provided in the application
Try the first address of server, which comprises
The second address of the second testing service device, second testing service are read from the movable storage device for accessing the TV
Device and the first testing service device provide identical testing service;
Second address of the second testing service device is replaced to the first address of the first testing service device;
Start the application, is tested with accessing the second testing service device according to second address.
2. the method according to claim 1, wherein described read from the movable storage device for accessing the TV
Second address of the second testing service device, comprising:
Receive the Restart Signal for acting on the TV;
According to the Restart Signal, the second ground of standby second testing service device is read from the movable storage device for accessing the TV
Location.
3. the method according to claim 1, wherein described read from the movable storage device for accessing the TV
Second address of the second testing service device, comprising:
Receive the enabling signal for acting on the application;
According to the enabling signal, the second ground of the second testing service device is read from the movable storage device for accessing the TV
Location.
4. method according to claim 1-3, which is characterized in that described from the mobile storage for accessing the TV
Equipment reads the second address of the second testing service device, comprising:
A file is determined from the movable storage device for accessing the TV, the file is for storing the second testing service device
Second address;
The second address of the second testing service device is read from the file.
5. according to the method described in claim 3, it is characterized in that, the two address quantity be two or more,
Each second address information attribute information, the attribute information are used to indicate the application of test;
The starting application, is tested with accessing the second testing service device according to second address, comprising:
Determine that destination address, the destination address are the second address that attribute information is directed toward same application;
Start the application, is tested with accessing the second testing service device according to the destination address respectively.
6. method according to claim 1-3, which is characterized in that further include:
Receive the extraction message generated when the movable storage device is extracted;
According to the extraction message, the first address of the first testing service device is replaced the of the second testing service device
Double-address replacement.
7. a kind of test method of application, which is characterized in that be equipped with application on television, the first survey is provided in the application
Try the first address of server, which comprises
The second address of the second testing service device is received, the second address of the second testing service device is stored in described in access
In the movable storage device of TV, the second testing service device and the first testing service device provide identical test and take
Business;
The second testing service device is accessed according to second address to be tested.
8. the method according to the description of claim 7 is characterized in that the two address quantity be two or more,
Each second address information attribute information, the attribute information are used to indicate the application of test;
It is described to be tested according to second address access the second testing service device, comprising:
Determine that destination address, the destination address are the second address that attribute information is directed toward same application;
The second testing service device is accessed according to the destination address respectively to be tested.
9. according to the method described in claim 8, it is characterized in that, described respectively according to destination address access described second
Testing service device is tested, comprising:
Launching process, each process establish communication connection for testing service device corresponding with each destination address;
Other processes in addition to target process are closed, the target process is the first process for completing to establish communication connection;
The second testing service device is accessed by the communication connection to be tested.
10. according to the described in any item methods of claim 7-9, which is characterized in that the second testing service device is virtual clothes
Business device, the virtual server and the TV are in same local area network;The first testing service device is in the local
Net is outer.
11. a kind of test device of application, which is characterized in that be equipped with application on television, be provided with first in the application
First address of testing service device, described device include:
Second address acquisition module, for reading the second of the second testing service device from the movable storage device for accessing the TV
Address, the second testing service device and the first testing service device provide identical testing service;
First address replacement module, for the second address of the second testing service device to be replaced the of the first testing service device
One address;
First test carries out module, for starting the application, to access second testing service according to second address
Device is tested.
12. a kind of test device of application, which is characterized in that be equipped with application on television, be provided with first in the application
First address of testing service device, described device include:
Second address receiving module, for receiving the second address of the second testing service device, the of the second testing service device
Double-address is stored in the movable storage device for accessing the TV, and the second testing service device and first test take
Business device provides identical testing service;
Second test carries out module, is tested for accessing the second testing service device according to second address.
13. a kind of electronic equipment characterized by comprising
One or more processors;
Memory, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processors are real
A kind of now test method of application as described in claim 1-10 is any.
14. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor
A kind of test method of application as described in claim 1-10 is any is realized when execution.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910419851.2A CN110099275B (en) | 2019-05-20 | 2019-05-20 | Application testing method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910419851.2A CN110099275B (en) | 2019-05-20 | 2019-05-20 | Application testing method, device, equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110099275A true CN110099275A (en) | 2019-08-06 |
CN110099275B CN110099275B (en) | 2021-03-05 |
Family
ID=67448644
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910419851.2A Active CN110099275B (en) | 2019-05-20 | 2019-05-20 | Application testing method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110099275B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104239207A (en) * | 2014-09-17 | 2014-12-24 | 广州华多网络科技有限公司 | Method and device for debugging application program |
CN108363662A (en) * | 2018-01-29 | 2018-08-03 | 深圳壹账通智能科技有限公司 | A kind of applied program testing method, storage medium and terminal device |
-
2019
- 2019-05-20 CN CN201910419851.2A patent/CN110099275B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104239207A (en) * | 2014-09-17 | 2014-12-24 | 广州华多网络科技有限公司 | Method and device for debugging application program |
CN108363662A (en) * | 2018-01-29 | 2018-08-03 | 深圳壹账通智能科技有限公司 | A kind of applied program testing method, storage medium and terminal device |
Also Published As
Publication number | Publication date |
---|---|
CN110099275B (en) | 2021-03-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107402880B (en) | Test method and electronic equipment | |
CN113206763B (en) | Simulation test system and method suitable for Internet of things management platform | |
CN107404418B (en) | Internet product testing method, device, equipment and storage medium | |
CN105224869A (en) | Assembly test method and device | |
CN105512044A (en) | Method and system for updating object base used for keyword drive test | |
CN110673923A (en) | XWIKI system configuration method, system and computer equipment | |
CN109683997B (en) | Method for accessing application program interface through sandbox, sandbox and sandbox equipment | |
CN111475376A (en) | Method and device for processing test data, computer equipment and storage medium | |
CN111752770A (en) | Service request processing method, system, computer device and storage medium | |
CN104579830A (en) | Service monitoring method and device | |
CN104809057A (en) | Application test system, application test method and storage medium | |
CN105487859A (en) | Template based WEB deployment method for big data components | |
CN111858296A (en) | Interface test method, device, equipment and storage medium | |
CN104036193B (en) | Local cross-domain vulnerability detection method and device for application program | |
CN105743725A (en) | Method and device for testing application programs | |
CN110674023A (en) | Interface testing method and device | |
CN117499287A (en) | Web testing method, device, storage medium and proxy server | |
CN110099275A (en) | A kind of test method of application, device, equipment and storage medium | |
CN110955449A (en) | Method and device for releasing gray scale of client | |
CN103106140A (en) | Intelligent display device testing information display method | |
CN112463574A (en) | Software testing method, device, system, equipment and storage medium | |
CN105281963A (en) | nginx server vulnerability detection method and device | |
US10530835B2 (en) | Application recording | |
CN111382079A (en) | Method, device and equipment for restoring application program on site and storage medium | |
CN106844188A (en) | A kind of test agent method, device and test system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |