CN108243284A - A kind of dial testing method and device - Google Patents

A kind of dial testing method and device Download PDF

Info

Publication number
CN108243284A
CN108243284A CN201611217599.XA CN201611217599A CN108243284A CN 108243284 A CN108243284 A CN 108243284A CN 201611217599 A CN201611217599 A CN 201611217599A CN 108243284 A CN108243284 A CN 108243284A
Authority
CN
China
Prior art keywords
testing
debugging
information
testing tool
store path
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
Application number
CN201611217599.XA
Other languages
Chinese (zh)
Other versions
CN108243284B (en
Inventor
严国娇
种璟
董鹏
金凌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Communications Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Communications Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, China Mobile Communications Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201611217599.XA priority Critical patent/CN108243284B/en
Publication of CN108243284A publication Critical patent/CN108243284A/en
Application granted granted Critical
Publication of CN108243284B publication Critical patent/CN108243284B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/22Arrangements for supervision, monitoring or testing
    • H04M3/26Arrangements for supervision, monitoring or testing with means for applying test signals or for measuring
    • H04M3/28Automatic routine testing ; Fault testing; Installation testing; Test methods, test equipment or test arrangements therefor

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The present invention provides a kind of dial testing method and device, wherein, the dial testing method includes:The debugging mode that broadcast carries the identification information of testing tool opens message, for tested application, the testing tool according to the identification information pair carries out the first verification, obtain the first verification result, and when first verification result instruction is verified, the debugging interface that acquiescence is closed is opened, testing is carried out to the tested application by the debugging interface for being in opening.The solution of the present invention, by establishing a set of secure communication mechanism between tested application and testing tool, i.e. by verification of the tested application to testing tool, tested application is made to open the debugging interface that acquiescence is closed, and testing tool carries out tested application by the debugging interface testing, it can realize the testing to tested application in the case where not signed to tested application again, improve safety.

Description

A kind of dial testing method and device
Technical field
The present invention relates to field of terminal technology more particularly to a kind of dial testing methods and device.
Background technology
It is constantly universal with terminal applies, concern user experience, improve automatic test level be develop at present it is big Trend, automated test tool are also applied in the test to terminal applies.
Currently, when carrying out automatic test to terminal applies, the tool often used is testing tool.Traditional testing tool By controlling tested application that the automation testing to tested application can be achieved.But traditional testing tool is during testing, need to be with Tested application operation is in same process, this just needs traditional testing tool to possess identical signature with tested application, otherwise It can not be communicated.
That is, in existing dial testing method, tested application is signed again first with the signing messages of testing tool After name, can just testing be carried out to tested application.But application safe increasingly valued today, to prevent terminal applies from being signed again After can also continue to run with, most of terminal applies are all taken using the anti-heavy signature mechanism such as security hardening, lead to existing testing Method can not carry out testing to these applications.
Invention content
The purpose of the present invention is to provide a kind of dial testing method and device, can not again signed to tested application In the case of, realize the testing to tested application.
In order to realize above-mentioned purpose, on the one hand, the present invention provides a kind of dial testing method, applied to a testing tool, packet It includes:
The debugging mode that broadcast carries the identification information of the testing tool opens message, for tested application according to Testing tool described in identification information pair carries out the first verification, obtains the first verification result, and indicate in first verification result When being verified, the debugging interface that acquiescence is closed is opened;
Testing is carried out to the tested application by the debugging interface for being in opening.
Preferably, the step of debugging interface by being in opening carries out testing to the tested application Later, it further includes:
The debugging mode that broadcast carries the identification information closes message, is believed for the tested application according to the mark Breath carries out the testing tool the second verification, obtains the second verification result, and logical in second verification result instruction verification It is out-of-date, close the debugging interface.
Preferably, the step of debugging interface by being in opening carries out testing to the tested application Including:
First store path information is sent to the tested application by the debugging interface, for described tested using root According to the first store path acquisition of information and perform pending script file.
Preferably, the step of debugging interface by being in opening carries out testing to the tested application Later, it further includes:
Receive the second store path information that the tested application returns;
According to the second store path acquisition of information test log data.
Preferably, the debugging mode opens message and debugging mode is closed the identification information carried in message, first deposited It is encryption information to store up routing information and the second store path information.
On the other hand, the present invention also provides a kind of dial testing methods, and application is tested applied to one, including:
The debugging mode for monitoring the identification information of the carrying testing tool of testing tool broadcast opens message;
First verification is carried out according to testing tool described in the identification information pair, obtains the first verification result;
When first verification result instruction is verified, the debugging interface that acquiescence is closed is opened so that The testing tool can carry out testing by being in the debugging interface of opening to the tested application.
Preferably, it is described when first verification result instruction is verified, open the tune that acquiescence is closed After the step of trying mouthful, further include:
The debugging mode for monitoring the carrying identification information of the testing tool broadcast closes message;
Second verification is carried out according to testing tool described in the identification information pair, obtains the second verification result;
When second verification result instruction is verified, the debugging interface is closed.
Preferably, it is described when first verification result instruction is verified, open the tune that acquiescence is closed After the step of trying mouthful, further include:
The first store path information of the testing tool transmission is received by the debugging interface;
According to the first store path acquisition of information and perform pending script file.
Preferably, it is described according to the first store path acquisition of information and the step of perform pending script file it Afterwards, it further includes:
The second store path information is returned to the testing tool so that the testing tool is according to the described second storage road Diameter acquisition of information test log data.
Preferably, the debugging mode opens message and debugging mode is closed the identification information carried in message, first deposited It is encryption information to store up routing information and the second store path information.
Another aspect, the present invention also provides a kind of testing device, applied to a testing tool, including:
First broadcast module is opened message for broadcasting the debugging mode for the identification information for carrying the testing tool, is used In tested application, the testing tool according to the identification information pair carries out the first verification, obtains the first verification result, and in institute The instruction of the first verification result is stated when being verified, opens the debugging interface that acquiescence is closed;
Testing module, for carrying out testing to the tested application by the debugging interface for being in opening.
Preferably, the testing device further includes:
Second broadcast module, after testing, the debugging mode that broadcast carries the identification information closes message, uses The second verification is carried out in tested application testing tool according to the identification information pair, obtains the second verification result, and When second verification result instruction is verified, the debugging interface is closed.
Preferably, the testing module is specifically used for:First store path information is sent to institute by the debugging interface Tested application is stated, according to the first store path acquisition of information and pending script file is performed for the tested application.
Preferably, the testing device further includes:
First receiving module, for receiving the second store path information that the tested application returns;
Data acquisition module, for according to the second store path acquisition of information test log data.
Preferably, the debugging mode opens message and debugging mode is closed the identification information carried in message, first deposited It is encryption information to store up routing information and the second store path information.
In another aspect, the present invention also provides a kind of testing device, application is tested applied to one, including:
First monitors module, for monitoring the debugging mould of the identification information of the carrying testing tool of testing tool broadcast Formula opens message;
First authentication module carries out the first verification for the testing tool according to the identification information pair, obtains first Verification result;
Opening module, for when first verification result instruction is verified, opening what acquiescence was closed Debugging interface so that the testing tool can carry out the tested application by being in the debugging interface of opening Testing.
Preferably, the testing device further includes:
Second monitors module, and the debugging mode for monitoring the carrying identification information of the testing tool broadcast is closed Message;
Second authentication module carries out the second verification for the testing tool according to the identification information pair, obtains second Verification result;
Closedown module, for when second verification result instruction is verified, closing the debugging interface.
Preferably, the testing device further includes:
Second receiving module, the first store path for receiving the testing tool transmission by the debugging interface are believed Breath;
Execution module, for according to the first store path acquisition of information and performing pending script file.
Preferably, the testing device further includes:
Sending module, for the testing tool return the second store path information so that the testing tool according to The second store path acquisition of information test log data.
Preferably, the debugging mode opens message and debugging mode is closed the identification information carried in message, first deposited It is encryption information to store up routing information and the second store path information.
The dial testing method of the present invention, by establishing a set of secure communication mechanism between tested application and testing tool, i.e., By verification of the tested application to testing tool, the debugging interface for being closed tested application unlatching acquiescence, and testing Tool carries out testing by the debugging interface to tested application, can be real in the case where not signed to tested application again Now to the testing of tested application, safety is improved.
Description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, it will make below to required in the embodiment of the present invention Attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is only some embodiments of the present invention, for For those of ordinary skill in the art, without having to pay creative labor, it can also be obtained according to these attached drawings His attached drawing.
Fig. 1 shows the flow charts of the dial testing method of first embodiment of the invention.
Fig. 2 represents the flow chart of the dial testing method of second embodiment of the invention.
Fig. 3 represents one of structure diagram of testing device of third embodiment of the invention.
Fig. 4 represents the second structural representation of the testing device of third embodiment of the invention.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained without creative efforts Example, shall fall within the protection scope of the present invention.
First embodiment
Shown in Figure 1, first embodiment of the invention provides a kind of dial testing method, applied to testing tool, including as follows Step 101~step 102, details are as follows.
Step 101:The debugging mode that broadcast carries the identification information of testing tool opens message, for tested using basis Testing tool described in the identification information pair carries out the first verification, obtains the first verification result, and in first verification result When instruction is verified, the debugging interface that acquiescence is closed is opened.
In the embodiment of the present invention, the broadcast mechanism that testing tool can utilize Android system to provide broadcasts the message.Due to testing The debugging mode of tool broadcast opens the identification information that the testing tool is carried in message, so, tested apply is listening to After debugging mode opens message, so that it may the identification information pair testing tool carried in message is opened according to the debugging mode and is tested Card, and after being verified, open debugging interface.
Under default situations, when being tested using normal operation, which is closed.Only to testing tool When being verified, tested application can just open the debugging interface that acquiescence is closed, so that testing tool passes through the tune Mouth of trying carries out testing.
Wherein, being tested application can be to the verification mode of testing tool:It is tested to apply in the mark letter for obtaining testing tool After breath, compare the identification information and the identification information appointed with testing tool, if unanimously, be verified, otherwise, test Card does not pass through.In verification not in the case of, tested application is not responding to the debugging mode and opens message.
Step 102:Testing is carried out to the tested application by the debugging interface for being in opening.
In this way, is opened by debugging interface and carries out testing for the Proactive authentication of testing tool by tested application, so that it may avoided pair Even if the signature again of tested application in the case where the signing messages of tested application and testing tool is inconsistent, can also be realized pair The testing of tested application, improves safety.
In the embodiment of the present invention, testing tool carries out testing by being in the debugging interface of opening to tested application Mode can be:
First store path information is sent by the debugging interface and gives the tested application, for the tested application according to this One store path acquisition of information simultaneously performs pending script file, to complete testing.
It wherein, should after testing tool sends the first store path information to the tested application by the debugging interface Dial testing method further includes:
Receive the second store path information that the tested application returns;
According to the second store path acquisition of information test log data.
In this way, testing tool is after test log data are obtained, so that it may generate corresponding test report, understand in time to quilt Survey the testing result of application.
For example, the first store path of pending script file can be/sdcard/test/a/, the of test log data Two store paths can be/sdcard/test/b/.
Since testing tool and tested application are installed in same portion's measuring terminals, the two shared terminal storage disk, institute With when obtaining pending script file and test log data, both sides are transmitted by store path information, on the one hand may be used Play the role of protecting data safety, another side can reduce the performance cost that data transmission is brought.
In the embodiment of the present invention, after the testing to tested application, which further includes:
The debugging mode that broadcast carries the identification information of testing tool closes message, is believed for tested application according to the mark Breath carries out the testing tool the second verification, obtains the second verification result, and when second verification result instruction is verified, Close the debugging interface.
In this way, debugging interface is closed in the tested application of control in time after testing, unlatching debugging interface can be avoided to be brought Security risk, and make tested application recovery normal operation.
In the embodiment of the present invention, in order to enhance the safety of data transmission procedure and confidentiality, debugging mode unlatching disappears Breath and debugging mode close identification information, the first store path information and the second store path information carried in message Encryption information.
Wherein, the cipher mode of the encryption information can be RSA cryptographic algorithms.RSA cryptographic algorithms are more powerful at present Public key encryption algorithm, be encrypted using public key, then encrypted data are passed through into BASE64 transcodings.
In the following, by taking the identification information carried in debugging mode unlatching message is encryption information as an example, respectively to testing tool Ciphering process and the decrypting process of tested application illustrate.
(1) ciphering process of testing tool
Testing tool broadcast debugging mode opens message, wherein including encrypted identification information.The debugging mode is opened Message may include (but not limited to) following procedure section:
Intent intent=new Intent ();
InputStream inPublic=getResources () .getAssets () .open (" rsa_public_ key.pem");// obtain public key from file
PublicKey publicKey=RSAUtils.loadPublicKey (publicIS);// reading public key information
String actionName=" XXXXXXXXX ";The action names of // broadcast message
Boolean commond=true;// order boolean the open=true sent to being tested tool;
String signature=" ABCDE ";// this content is signing messages, and temporary ABCDE is replaced
Byte [] encryptByte=RSAUtils.encryptData (signature.getBytes (), publicKey);// observe for convenience, encrypted data with base64 are encrypted and are turned, otherwise look like unrest Code, so decryption is also first converted with Base64
String signatureEncrypt=Base64Utils.encode (encryptByte);// encrypted mark Know information
intent.setAction(actionName);// setting broadcast message title
intent.putExtra("commond",commond);// setting broadcast message parameters
intent.putExtra("signature",signatureEncrypt);// setting broadcast message parameters
sendBroadcast(intent);// transmission broadcast message
(2) it is tested the decrypting process of application
Tested application monitors debugging mode and opens message, when listening to debugging mode unlatching message, to mark therein Information is decrypted and verifies.Decrypting process can be found in following procedure section:
InputStream inPrivate=getResources () .getAssets () .open (" pkcs8_rsa_ private_key.pem");// obtain private key from file
PrivateKey privateKey=RSAUtils.loadPrivateKey (inPrivate);// because RSA adds Content after close is re-encrypted through Base64 converted, so elder generation Base64 decryption is decrypted back to RSA again
Byte [] decryptByte=RSAUtils.decryptData (Base64Utils.decode (signatureEncrypt),privateKey);
String signature=new String (decryptByte);// decrypted after identification information, i.e., it is former Identification information
After tested application decrypts the identification information carried in debugging mode unlatching message, it will be dialled using it with what is preserved The identification information of survey tool is compared, such as consistent, then it is assumed that the unlatching message is that legal testing tool is sent and carries out Debugging interface is opened in response.
The dial testing method of first embodiment of the invention is led to by establishing a set of safety between tested application and testing tool Letter mechanism that is, by verification of the tested application to testing tool, makes tested application open the debugging that acquiescence is closed and connects Mouthful, and testing tool carries out tested application by the debugging interface testing, can not again signed to tested application In the case of, it realizes the testing to tested application, improves safety.
Second embodiment
Shown in Figure 2, second embodiment of the invention provides a kind of dial testing method, applied to tested application, including as follows Step 201~step 203, details are as follows.
Step 201:The debugging mode unlatching for monitoring the identification information of the carrying testing tool of testing tool broadcast disappears Breath.
Step 202:First verification is carried out according to testing tool described in the identification information pair, obtains the first verification result.
Step 203:When first verification result instruction is verified, opens the debugging that acquiescence is closed and connect Mouthful so that the testing tool can carry out testing by being in the debugging interface of opening to the tested application.
In the embodiment of the present invention, after the step 203, which further includes:
The debugging mode for monitoring the carrying identification information of the testing tool broadcast closes message;
Second verification is carried out according to testing tool described in the identification information pair, obtains the second verification result;
When second verification result instruction is verified, the debugging interface is closed.
In the embodiment of the present invention, after the step 203, which further includes:
The first store path information of the testing tool transmission is received by the debugging interface;
According to the first store path acquisition of information and perform pending script file.
Specifically, in tested application according to the first store path acquisition of information and after performing pending script file, it should Dial testing method further includes:
The second store path information is returned to the testing tool so that the testing tool is according to the described second storage road Diameter acquisition of information test log data.
In the embodiment of the present invention, the debugging mode opens message and debugging mode closes the mark letter carried in message Breath, the first store path information and the second store path information are encryption information.
The dial testing method of second embodiment of the invention is led to by establishing a set of safety between tested application and testing tool Letter mechanism that is, by verification of the tested application to testing tool, makes tested application open the debugging that acquiescence is closed and connects Mouthful, and testing tool carries out tested application by the debugging interface testing, can not again signed to tested application In the case of, it realizes the testing to tested application, improves safety.
3rd embodiment
Shown in Figure 3, third embodiment of the invention provides a kind of testing device, applied to testing tool, including:
First broadcast module 31 opens message for broadcasting the debugging mode for the identification information for carrying the testing tool, For tested application, the testing tool according to the identification information pair carries out the first verification, obtains the first verification result, and When the first verification result instruction is verified, the debugging interface that acquiescence is closed is opened;
Testing module 32, for carrying out testing to the tested application by the debugging interface for being in opening.
In the embodiment of the present invention, which further includes:
Second broadcast module, after testing, the debugging mode that broadcast carries the identification information closes message, uses The second verification is carried out in tested application testing tool according to the identification information pair, obtains the second verification result, and When second verification result instruction is verified, the debugging interface is closed.
Wherein, which is specifically used for:First store path information is sent to described by the debugging interface Tested application according to the first store path acquisition of information and performs pending script file for the tested application.
The testing device further includes:
First receiving module, for receiving the second store path information that the tested application returns;
Data acquisition module, for according to the second store path acquisition of information test log data.
Specifically, the debugging mode opens message and debugging mode is closed the identification information carried in message, first deposited It is encryption information to store up routing information and the second store path information.
Shown in Figure 4, third embodiment of the invention also provides a kind of testing device, applied to tested application, including:
First monitors module 41, for monitoring the debugging of the identification information of the carrying testing tool of testing tool broadcast Pattern opens message;
First authentication module 42 carries out the first verification for the testing tool according to the identification information pair, obtains the One verification result;
Opening module 43, for when first verification result instruction is verified, opening acquiescence and being closed Debugging interface so that the testing tool can by be in the debugging interface of opening to it is described it is tested apply into Row testing.
In the embodiment of the present invention, which further includes:
Second monitors module, and the debugging mode for monitoring the carrying identification information of the testing tool broadcast is closed Message;
Second authentication module carries out the second verification for the testing tool according to the identification information pair, obtains second Verification result;
Closedown module, for when second verification result instruction is verified, closing the debugging interface.
Specifically, the testing device further includes:
Second receiving module, the first store path for receiving the testing tool transmission by the debugging interface are believed Breath;
Execution module, for according to the first store path acquisition of information and performing pending script file.
Specifically, the testing device further includes:
Sending module, for the testing tool return the second store path information so that the testing tool according to The second store path acquisition of information test log data.
Specifically, the debugging mode opens message and debugging mode is closed the identification information carried in message, first deposited It is encryption information to store up routing information and the second store path information.
The testing device of third embodiment of the invention is led to by establishing a set of safety between tested application and testing tool Letter mechanism that is, by verification of the tested application to testing tool, makes tested application open the debugging that acquiescence is closed and connects Mouthful, and testing tool carries out tested application by the debugging interface testing, can not again signed to tested application In the case of, it realizes the testing to tested application, improves safety.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property includes, so that process, method, article or device including a series of elements not only include those elements, and And it further includes other elements that are not explicitly listed or further includes intrinsic for this process, method, article or device institute Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this Also there are other identical elements in the process of element, method, article or device.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on such understanding, technical scheme of the present invention substantially in other words does the prior art Going out the part of contribution can be embodied in the form of software product, which is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), used including some instructions so that a station terminal equipment (can be mobile phone, computer takes Be engaged in device, air conditioner or the network equipment etc.) perform method described in each embodiment of the present invention.
The above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications also should It is considered as protection scope of the present invention.

Claims (20)

1. a kind of dial testing method, applied to testing tool, which is characterized in that including:
The debugging mode that broadcast carries the identification information of the testing tool opens message, for tested application according to the mark Information carries out the testing tool the first verification, obtains the first verification result, and indicate to verify in first verification result By when, open the debugging interface that is closed of acquiescence;
Testing is carried out to the tested application by the debugging interface for being in opening.
2. dial testing method according to claim 1, which is characterized in that the debugging by being in opening connects After the step of mouth carries out testing to the tested application, further include:
The debugging mode that broadcast carries the identification information closes message, for the tested application according to the identification information pair The testing tool carries out the second verification, obtains the second verification result, and when second verification result instruction is verified, Close the debugging interface.
3. dial testing method according to claim 1, which is characterized in that the debugging by being in opening connects The step of mouth carries out testing to the tested application includes:
First store path information is sent to the tested application by the debugging interface, for the tested application according to institute It states the first store path acquisition of information and performs pending script file.
4. dial testing method according to claim 3, which is characterized in that the debugging by being in opening connects After the step of mouth carries out testing to the tested application, further include:
Receive the second store path information that the tested application returns;
According to the second store path acquisition of information test log data.
5. dial testing method according to claim 4, which is characterized in that the debugging mode opens message and debugging mode closes The identification information carried in message, the first store path information and the second store path information are closed as encryption information.
6. a kind of dial testing method, applied to tested application, which is characterized in that including:
The debugging mode for monitoring the identification information of the carrying testing tool of testing tool broadcast opens message;
First verification is carried out according to testing tool described in the identification information pair, obtains the first verification result;
When first verification result instruction is verified, the debugging interface that acquiescence is closed is opened so that described Testing tool can carry out testing by being in the debugging interface of opening to the tested application.
7. dial testing method according to claim 6, which is characterized in that described logical in first verification result instruction verification It is out-of-date, open acquiescence be closed debugging interface the step of after, further include:
The debugging mode for monitoring the carrying identification information of the testing tool broadcast closes message;
Second verification is carried out according to testing tool described in the identification information pair, obtains the second verification result;
When second verification result instruction is verified, the debugging interface is closed.
8. dial testing method according to claim 6, which is characterized in that described logical in first verification result instruction verification It is out-of-date, open acquiescence be closed debugging interface the step of after, further include:
The first store path information of the testing tool transmission is received by the debugging interface;
According to the first store path acquisition of information and perform pending script file.
9. dial testing method according to claim 8, which is characterized in that described according to the first store path acquisition of information And after the step of performing pending script file, further include:
The second store path information is returned to the testing tool so that the testing tool is believed according to second store path Breath obtains test log data.
10. dial testing method according to claim 9, which is characterized in that the debugging mode opens message and debugging mode It is encryption information to close identification information, the first store path information and the second store path information carried in message.
11. a kind of testing device, applied to testing tool, which is characterized in that including:
First broadcast module opens message, for quilt for broadcasting the debugging mode for the identification information for carrying the testing tool It surveys application testing tool according to the identification information pair and carries out the first verification, obtain the first verification result, and described the When the instruction of one verification result is verified, the debugging interface that acquiescence is closed is opened;
Testing module, for carrying out testing to the tested application by the debugging interface for being in opening.
12. testing device according to claim 11, which is characterized in that further include:
Second broadcast module, after testing, the debugging mode that broadcast carries the identification information closes message, for institute It states tested application testing tool according to the identification information pair and carries out the second verification, obtain the second verification result, and in institute The instruction of the second verification result is stated when being verified, closes the debugging interface.
13. testing device according to claim 11, which is characterized in that the testing module is specifically used for:
First store path information is sent to the tested application by the debugging interface, for the tested application according to institute It states the first store path acquisition of information and performs pending script file.
14. testing device according to claim 13, which is characterized in that further include:
First receiving module, for receiving the second store path information that the tested application returns;
Data acquisition module, for according to the second store path acquisition of information test log data.
15. testing device according to claim 14, which is characterized in that the debugging mode opens message and debugging mode It is encryption information to close identification information, the first store path information and the second store path information carried in message.
16. a kind of testing device, applied to tested application, which is characterized in that including:
First monitors module, and the debugging mode for monitoring the identification information of the carrying testing tool of testing tool broadcast is opened Open message;
First authentication module carries out the first verification for the testing tool according to the identification information pair, obtains the first verification As a result;
Opening module, for when first verification result instruction is verified, opening the debugging that acquiescence is closed Interface so that the testing tool can dial the tested application by being in the debugging interface of opening It surveys.
17. testing device according to claim 16, which is characterized in that further include:
Second monitors module, and the debugging mode closing for monitoring the carrying identification information of the testing tool broadcast disappears Breath;
Second authentication module carries out the second verification for the testing tool according to the identification information pair, obtains the second verification As a result;
Closedown module, for when second verification result instruction is verified, closing the debugging interface.
18. testing device according to claim 16, which is characterized in that further include:
Second receiving module, for receiving the first store path information of the testing tool transmission by the debugging interface;
Execution module, for according to the first store path acquisition of information and performing pending script file.
19. testing device according to claim 18, which is characterized in that further include:
Sending module, for returning to the second store path information to the testing tool so that the testing tool is according to Second store path acquisition of information test log data.
20. testing device according to claim 19, which is characterized in that the debugging mode opens message and debugging mode It is encryption information to close identification information, the first store path information and the second store path information carried in message.
CN201611217599.XA 2016-12-26 2016-12-26 Dial testing method and device Active CN108243284B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611217599.XA CN108243284B (en) 2016-12-26 2016-12-26 Dial testing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611217599.XA CN108243284B (en) 2016-12-26 2016-12-26 Dial testing method and device

Publications (2)

Publication Number Publication Date
CN108243284A true CN108243284A (en) 2018-07-03
CN108243284B CN108243284B (en) 2021-09-14

Family

ID=62705069

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611217599.XA Active CN108243284B (en) 2016-12-26 2016-12-26 Dial testing method and device

Country Status (1)

Country Link
CN (1) CN108243284B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116527528A (en) * 2023-04-12 2023-08-01 中国信息通信研究院 Testing method of data security monitoring system based on flow

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120151269A1 (en) * 2010-12-10 2012-06-14 Helix Technology Inc. Mobile communication terminal capable of testing application and method thereof
CN103019942A (en) * 2012-12-31 2013-04-03 广东欧珀移动通信有限公司 Method and system for automatically testing applications to be tested based on android system
CN103729266A (en) * 2013-12-30 2014-04-16 安徽科大讯飞信息科技股份有限公司 Method and system for dial testing of terminal and cloud terminal
CN105701373A (en) * 2015-12-28 2016-06-22 东软集团股份有限公司 ADB interface opening method and apparatus
CN106547687A (en) * 2016-10-14 2017-03-29 深圳前海微众银行股份有限公司 Application testing method, device and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120151269A1 (en) * 2010-12-10 2012-06-14 Helix Technology Inc. Mobile communication terminal capable of testing application and method thereof
CN103019942A (en) * 2012-12-31 2013-04-03 广东欧珀移动通信有限公司 Method and system for automatically testing applications to be tested based on android system
CN103729266A (en) * 2013-12-30 2014-04-16 安徽科大讯飞信息科技股份有限公司 Method and system for dial testing of terminal and cloud terminal
CN105701373A (en) * 2015-12-28 2016-06-22 东软集团股份有限公司 ADB interface opening method and apparatus
CN106547687A (en) * 2016-10-14 2017-03-29 深圳前海微众银行股份有限公司 Application testing method, device and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116527528A (en) * 2023-04-12 2023-08-01 中国信息通信研究院 Testing method of data security monitoring system based on flow
CN116527528B (en) * 2023-04-12 2024-02-02 中国信息通信研究院 Testing method of data security monitoring system based on flow

Also Published As

Publication number Publication date
CN108243284B (en) 2021-09-14

Similar Documents

Publication Publication Date Title
CN106130982B (en) Intelligent household appliance remote control method based on PKI system
CN101822082B (en) Techniques for secure channelization between UICC and terminal
CN111615105B (en) Information providing and acquiring method, device and terminal
CN109728902A (en) Key management method, equipment, storage medium and device
CN106100836B (en) A kind of method and system of industrial user's authentication and encryption
CN103546289B (en) USB (universal serial bus) Key based secure data transmission method and system
CN109257328B (en) Safe interaction method and device for field operation and maintenance data
KR20080065964A (en) Apparatus and methods for securing architectures in wireless networks
CN107358441A (en) Method, system and the mobile device and safety certificate equipment of payment verification
CN104468126B (en) A kind of safe communication system and method
Nyamtiga et al. Enhanced security model for mobile banking systems in Tanzania
CN101170413B (en) A digital certificate and private key acquisition, distribution method and device
CN108718233B (en) Encryption method, computer equipment and storage medium
CN101621794A (en) Method for realizing safe authentication of wireless application service system
CN1484902A (en) Multiple authentication sessions for content protection
CN104424446A (en) Safety verification and transmission method and system
CN106302422A (en) Business encryption and decryption method and device
CN102404337A (en) Data encryption method and device
CN105704711A (en) Method for ensuring call communication security, device and user terminal
CN108112009A (en) A kind of eSIM cards and the binding method and method of calibration of equipment
CN113591109B (en) Method and system for communication between trusted execution environment and cloud
CN109547303A (en) Control method and relevant device
JP4409497B2 (en) How to send confidential information
Atighetchi et al. Safe configuration of TLS connections
CN108667810A (en) A kind of secure log verification method based on small routine

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