CN109582586A - Application program shifts to an earlier date Network test method, apparatus, server and storage medium - Google Patents

Application program shifts to an earlier date Network test method, apparatus, server and storage medium Download PDF

Info

Publication number
CN109582586A
CN109582586A CN201811574037.XA CN201811574037A CN109582586A CN 109582586 A CN109582586 A CN 109582586A CN 201811574037 A CN201811574037 A CN 201811574037A CN 109582586 A CN109582586 A CN 109582586A
Authority
CN
China
Prior art keywords
application program
information
networking
stored
test data
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
CN201811574037.XA
Other languages
Chinese (zh)
Other versions
CN109582586B (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.)
Beijing City Network Neighbor Technology Co Ltd
Original Assignee
Beijing City Network Neighbor Technology 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 Beijing City Network Neighbor Technology Co Ltd filed Critical Beijing City Network Neighbor Technology Co Ltd
Priority to CN201811574037.XA priority Critical patent/CN109582586B/en
Publication of CN109582586A publication Critical patent/CN109582586A/en
Application granted granted Critical
Publication of CN109582586B publication Critical patent/CN109582586B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/362Software debugging

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The present invention provides a kind of application program and shifts to an earlier date Network test method, apparatus, server and storage medium, it include: the test data for obtaining application program, the test data includes application program to be run to before user allows the application program this time to start operation networking from starting, operation information of the application program under each application scenarios;The information for whether being stored in the test data and characterizing application program networking is detected, if so, determining that the application program exists shifts to an earlier date networking issue.The present invention realizes the test for shifting to an earlier date network condition to application program, convenient for solving the networking issue in advance of application program in time.

Description

Application program shifts to an earlier date Network test method, apparatus, server and storage medium
Technical field
The present invention relates to software testing technology fields, shift to an earlier date Network test side more specifically to a kind of application program Method, device, server and storage medium.
Background technique
With the development of science and technology, the application program type being set in electronic equipment is more and more, function is more and more perfect, Enjoyment not only is provided to people's lives but also largely facilitates people's lives.
Under normal conditions, in order to avoid the waste of electronic equipment flow, application program is not allowed to join in electronic device user Before net, application program is not allowed to network in advance.Also, Ministry of Industry and Information's standard is it is also proposed that application program is mounted in electronic equipment in advance Premise be that the problem of networking in advance cannot occur for application program.
In view of this, providing a kind of application program shifts to an earlier date Network test method, apparatus, server and storage medium, with reality It is urgently now to the test of the networking situation in advance of application program, and then convenient for solving the networking situation in advance of application program in time Problem to be solved.
Summary of the invention
In view of this, the present invention proposes that a kind of application program shifts to an earlier date Network test method, apparatus, server and storage and is situated between Matter, to realize the test for shifting to an earlier date networking situation to application program.
To achieve the goals above, it is proposed that scheme it is as follows:
A kind of application program shifts to an earlier date Network test method, comprising:
The test data of application program is obtained, the test data, which includes the application program, to be run to user from starting and permit Perhaps before the described application program this time starts operation networking, operation information of the application program under each application scenarios;
Detect the information for whether being stored in the test data and characterizing the application program networking;
If so, determining that the application program exists shifts to an earlier date networking issue.
Preferably, the test data for obtaining application program, comprising:
Based on the first electronic equipment for being equipped with operating system debugging tool, the second electronics for being equipped with application program is obtained System operation information of the equipment when being in test mode;It is in start to run in the application program and be answered described in user's permission When this time starting the application scenarios before operation is networked with program, second electronic equipment is in test mode.
Preferably, the application program, which runs to user from starting, allows the application program this time to start operation networking Before, application scenarios locating for the application program include:
The application program operates normally in second electronic equipment, and the application program is set by second electronics It is standby to hang up, and/or, the application program is exited by second electronic equipment.
Preferably, the information for characterizing the application program networking, packet whether are stored in the detection test data It includes:
The first information that characterization network operation whether is stored in the test data detected;
If being stored with the first information in the test data, first information institute in the test data is determined The operation log of category;
Detect the information for whether being stored in the operation log and characterizing the application program networking.
Preferably, the information for characterizing the application program networking, packet whether are stored in the detection operation log It includes:
It detects and whether is stored with characterization the second information of networking operation in the operation log;
If not stored in the operation log have second information, determining not stored in the operation log has characterization institute State the information of application program networking;
If being stored with second information in the operation log, if described in the packet name instruction that the operation log carries Application program determines the information for being stored in the operation log and characterizing the application program networking.
A kind of application program shifts to an earlier date Network test device, comprising:
Test data acquiring unit, for obtaining the test data of application program, the test data includes the application Program, which runs to user from starting, allows the application program this time to start before running networking, and the application program is in each application Operation information under scene;
It networks in advance detection unit, whether is stored with the characterization application program networking in the test data for detecting Information;
It networks in advance determination unit, if for being stored with the letter for characterizing the application program networking in the test data Breath determines that the application program exists and shifts to an earlier date networking issue.
Preferably, the test data acquiring unit, is specifically used for:
Based on the first electronic equipment for being equipped with operating system debugging tool, the second electronics for being equipped with application program is obtained System operation information of the equipment when being in test mode;It is in start to run in the application program and be answered described in user's permission When this time starting the application scenarios before operation is networked with program, second electronic equipment is in test mode.
Preferably, the application program, which runs to user from starting, allows the application program this time to start operation networking Before, application scenarios locating for the application program include:
The application program operates normally in second electronic equipment, and the application program is set by second electronics It is standby to hang up, and/or, the application program is exited by second electronic equipment.
Preferably, the detection unit of networking in advance, comprising:
First detection unit, for detecting the first information for whether being stored with characterization network operation in the test data;
Operation log determination unit, if determining described first for being stored with the first information in the test data Information operation log affiliated in the test data;
Whether second detection unit is stored with the letter for characterizing the application program networking for detecting in the operation log Breath.
Preferably, the second detection unit, comprising:
Whether the second detection sub-unit is stored with characterization the second information of networking operation for detecting in the operation log;
First determination unit determines the operation day if having second information for not stored in the operation log It is not stored in will to have the information for characterizing the application program networking;
Second determination unit, if for being stored with second information in the operation log, if the operation log The packet name of carrying indicates the application program, determines the letter for being stored in the operation log and characterizing the application program networking Breath.
A kind of server, including memory and processor, the memory call institute for storing program, the processor Program is stated, described program is used for:
The test data of application program is obtained, the test data, which includes the application program, to be run to user from starting and permit Perhaps before the described application program this time starts operation networking, operation information of the application program under each application scenarios;
Detect the information for whether being stored in the test data and characterizing the application program networking;
If so, determining that the application program exists shifts to an earlier date networking issue.
A kind of computer readable storage medium, is stored with that computer is executable to be referred in the computer readable storage medium It enables, the computer executable instructions shift to an earlier date Network test method for executing the application program.
The present invention provides a kind of application program and shifts to an earlier date Network test method, apparatus, server and storage medium, comprising: obtains The test data of application program is taken, which, which includes application program, which runs to user from starting, allows the application program this time Before starting operation networking, operation information of the application program under each application scenarios;It detects in the test data and whether stores There is the information for characterizing application program networking, if so, determining that the application program exists shifts to an earlier date networking issue.The present invention realizes pair Application program shifts to an earlier date the test of network condition, convenient for solving the networking issue in advance of application program in time.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is that a kind of application program provided by the embodiments of the present application shifts to an earlier date Network test method flow diagram;
Fig. 2 is the structural schematic diagram that a kind of application program provided by the embodiments of the present application shifts to an earlier date networked test system;
Fig. 3 is whether to be stored with characterization application program networking in a kind of detection test data provided by the embodiments of the present application The method flow diagram of information;
Fig. 4 is whether to be stored with characterization in a kind of detection operation log provided by the embodiments of the present application to be networked in advance survey The method flow diagram of the information of the application program networking of examination;
Fig. 5 is the structural schematic diagram that a kind of application program provided by the embodiments of the present application shifts to an earlier date Network test device.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
Embodiment:
Fig. 1 is that a kind of application program provided by the embodiments of the present application shifts to an earlier date Network test method flow diagram;
As shown in Figure 1, this method comprises:
S101, the test data for obtaining application program, test data, which includes application program, which runs to user from starting, allows Before application program this time starts operation networking, operation information of the application program under each application scenarios;
In the embodiment of the present application, if desired application program is tested, it is necessary first to obtain the test of application program Data determine the application program with the presence or absence of networking issue in advance with the test data based on application program.
Referring to fig. 2, shift to an earlier date the structural schematic diagram of networked test system for a kind of application program provided by the embodiments of the present application, The application program, which shifts to an earlier date networked test system, can be not only used for obtaining the test data of application program, can also be based further on The test data of the application program got determines the application program with the presence or absence of networking issue in advance.
Include: the first electronic equipment 21 as shown in Fig. 2, the application program shifts to an earlier date networked test system and set with the first electronics Second electronic equipment 22 of standby 21 communication connection, wherein operating system debugging tool 23 is installed on first electronic equipment 21, the The application program 24 of pending Network test in advance is installed on two electronic equipments 22.
In conjunction with Fig. 2, as a kind of preferred embodiment of the embodiment of the present application, application program shifts to an earlier date networked test system acquisition and answers Mode with the test data of program may include: based on the first electronic equipment 21 for being equipped with operating system debugging tool 23, Obtain system operation information of the second electronic equipment 22 for being equipped with application program 24 when in test mode;In application program When 24, which run to user in starting, allows the application scenarios before this time starting operation networking of application program 24, the second electronics is set Standby 22 are in test mode.
In the embodiment of the present application, the application program 24 in the second electronic equipment 22, which runs to user in starting, allows this When application program this time starts the application scenarios before operation networking, it is believed that second electronic equipment is in test mode; First electronic equipment 21 is based on operating system debugging tool 23, when the second electronic equipment 22 of acquisition is in test mode, the second electricity (the system operation information got can regard the survey of the application program 24 got as to the system operation information of sub- equipment 22 Try data).
Wherein, when the second electronic equipment is in test mode, application program 24 in the second electronic equipment can there are many Different application scenarios.That is, application program 24 in the second electronic equipment from starting run to user allow application program 24 this Before secondary starting operation networking, application program 24 can be there are many different application scenarios.For example, application program 24 may be at The application scenarios operated normally in the second electronic equipment, application program 24 may be at the application hung up by the second electronic equipment Scene, and/or, application program 24 may be at the application scenarios exited by the second electronic equipment.
In the embodiment of the present application, after application program launching operation, " whether allowing to network " dialog box can be popped up Mode is confirmed whether that the application program is allowed this time to start operation networking by user.If whether user selects " allowing to network " right The "Yes" in frame is talked about, then confirms that user allows the application program this time to start operation networking;If whether user's selection " allows to join "No" in net " dialog box, then confirming user not allows application program this time to start operation networking.
For the one-shot operation of the application program 24 in the second electronic equipment, if application program 24 is run from starting Afterwards, before not popping up " whether allowing to network " dialog box also, user exits application program 24, then application program 24 is transported from starting Row allows the application program this time to start before operation networks to user, which may be at two application scenarios, and one A application scenarios are " application program are in the application scenarios operated normally ", another application scenarios is that " application program is by second The application scenarios that electronic equipment exits ".
For the one-shot operation of the application program 24 in the second electronic equipment, if application program 24 is run from starting Afterwards, a period of time has first been operated normally, has then been hung up by the second electronic equipment, is then resumed operation, then pop up again " whether Allow to network " dialog box, user selected the "No" in " whether allowing to network " dialog box, it may be considered that the application program from Starting, which runs to user, allows the application program this time to start before running networking, which may be at two applied fields Scape, an application scenarios are " application program are in the application scenarios operated normally ", another application scenarios is " application program quilt The application scenarios that second electronic equipment is hung up ".
For the one-shot operation of the application program 24 in the second electronic equipment, if application program 24 is run from starting Afterwards, a period of time has first been operated normally, has then been hung up by the second electronic equipment, is then resumed operation, is not then popping up also Before " whether allowing to network " dialog box, user exits application program 24, it may be considered that the application program is run to from starting Before user allows the application program this time to start operation networking, which may be at three application scenarios, and one is answered It is " application program is in the application scenarios operated normally " with scene, another application scenarios is that " application program is by the second electronics The application scenarios that equipment is hung up ", another application scenarios are " application scenarios that application program is exited by the second electronic equipment ".
It is intended merely to facilitate understanding above, user is run in starting to application program provided by the embodiments of the present application and is permitted Perhaps before application program this time starts operation networking, several preferred embodiments for the application scenarios which is likely to be at have Depending on pass concrete application scene also needs foundation concrete operations, it is not limited here.
In the embodiment of the present application, accuracy in order to ensure the test results can make the operation of application program 24 believe Cease covering application program as much as possible from starting run to user allow application program this time start operation networking before, application Each application scenarios that program is at.That is, allow as far as possible the application program of acquisition test data include: application program from Starting, which runs to user, allows application program this time to start before running networking, each application scenarios that application program is likely to be at Under operation information.
Whether the information of characterization application program networking is stored in S102, detection test data;If so, executing step S103;
In the embodiment of the present application, the test number of the pending application program of Network test in advance in the second electronic equipment According to being that the application program in the second electronic equipment is in starting and runs to user the application program is allowed this time to start operation When application scenarios before networking, the system operation information of the second electronic equipment;Therefore, ideally, system operation letter Being in breath does not include the information for characterizing application program networking;If conversely, including characterizing this to answer in the system operation information The information networked with program, then illustrate, which the problem of networking in advance occurs.
Further, shift to an earlier date in Network test method in a kind of application program provided by the embodiments of the present application, further includes: if The not stored information for having characterization application program networking in detection test data, then can determine that there is no join the application program in advance The problem of net.
S103, determine that application program has networking issue in advance.
Fig. 3 is whether to be stored with characterization application program networking in a kind of detection test data provided by the embodiments of the present application The method flow diagram of information.
As shown in figure 3, this method comprises:
Whether the first information of characterization network operation is stored in S301, detection test data;If being stored in test data There is the first information, executes step S302;
In the embodiment of the present application, it can be determined by way of the search key " first information " in test data Whether it is stored in test data " first information ", when being stored with " first information " in test data, executes step S302;If Not stored in test data to have " first information ", then can determining application program, there is no networking issues in advance.
The first information for being used to characterize network operation as a preferred embodiment of the present application, in test data It can be " network ".Correspondingly, can determine the survey by way of the search key " network " in test data Keyword " network " whether is stored in examination data;If being stored with " network " in test data, 302 are thened follow the steps; If not stored in test data have " network ", can determining application program, there is no networking issues in advance.
S302, first information operation log affiliated in test data is determined;
In the embodiment of the present application, test data is made of at least one operation log, however, it is determined that is stored in test data Have the first information, then it needs to be determined that the first information in test data belonging to operation log.
Whether the information of characterization application program networking is stored in S303, detection operation log.
In the embodiment of the present application, if each not stored having table in the operation log comprising the first information in test data The information of application program networking is levied, it may be considered that the not stored information for having characterization application program networking in the test data;If In each operation log comprising the first information of test data, there is the operation for the information for being stored with characterization application program networking Log, it may be considered that being stored with the information of characterization application program networking in the test data.
Fig. 4 is whether to be stored with characterization in a kind of detection operation log provided by the embodiments of the present application to be networked in advance survey The method flow diagram of the information of the application program networking of examination.
As shown in figure 4, this method comprises:
Characterization the second information of networking operation whether is stored in S401, detection operation log;If not stored in operation log There is the second information, executes step S402;If being stored with the second information in operation log, step S403 is executed;
In the embodiment of the present application, after determination includes the operation log of the first information, it is thus necessary to determine that the operation log In whether be stored with characterization networking operation the second information.
The first information can only characterize network operation, but can not characterize and certainly exist networking operation, therefore, survey determining After trying the operation log in data comprising the first information, need based on the second information for characterizing networking operation to the operation day Will is further confirmed that, to determine in the operation log with the presence or absence of the information of characterization networking.
It in the embodiment of the present application, can be by the operation log after determining the operation log comprising the first information Search key " the second information ", if in the operation log including keyword " the second information ", then it is assumed that deposited in the operation log In the information of characterization networking;It is on the contrary, it is believed that the not stored application program for thering is characterization to carry out Network test in advance in the operation log The information of networking.
As a preferred embodiment of the present application, the second information can be " Warning ";Correspondingly, including in determination After the operation log of the first information, can in the operation log search key " Warning ", if existing in the operation log Keyword " Warning ", then it is assumed that there is the information of characterization networking in the operation log;If there is no keys in the operation log Word " Warning ", then it is assumed that the letter of the not stored application program networking for thering is characterization to carry out Network test in advance in the operation log Breath.
S402, the information for determining the not stored application program networking for thering is characterization to carry out Network test in advance in operation log;
Whether S403, the packet name for determining that operation log carries indicate to carry out the application program of Network test in advance;If operation The packet name instruction that log carries carries out the application program of Network test in advance, executes step S404;If the packet that operation log carries Name does not indicate to carry out the application program of Network test in advance, execution step S402;
S404, the information that the application program networking that characterization carries out Network test in advance is stored in operation log is determined.
In the embodiment of the present application, because the system of the second electronic equipment of the test data as application program runs letter In addition to including the operation information with application program in breath, it is also possible to will include the operation in addition to the operation information of the application program System operation information, operation information of other applications etc., therefore, even if being stored with characterization networking in confirmation operation log After information, can not directly determine stored in the operation log be characterization carry out Network test in advance application program networking Information.
Shifted to an earlier date in order to further determine whether the operation log comprising the first information and the second information is stored with characterization Network test application program networking information, may further the packet name to operation log judge, if the operation log The instruction of packet name carry out the application program of Network test in advance, shifted to an earlier date it may be considered that being stored with characterization in the operation log The information of the application program networking of Network test;If the Bao Mingwei instruction of the operation log carries out the application journey of Network test in advance Sequence, it may be considered that the information that the not stored application program for having characterization to carry out Network test in advance is networked in the operation log.
For the ease of shifting to an earlier date the understanding of Network test method to a kind of application program provided by the present application, now in conjunction with Fig. 2 pairs A kind of preferred embodiment that a kind of application program provided by the embodiments of the present application shifts to an earlier date Network test method is illustrated.
The first, operating system debugging tool is installed on the first electronic equipment;
In the embodiment of the present application, operating system debugging tool can be adb Android debugging bridge, and adb full name is Android Debug Bridge is the debugging tool of android exploitation.
It is above only the preferred embodiment of operating system debugging tool provided by the embodiments of the present application, related operating system tune The particular content of trial work tool, inventor can be configured according to their own needs, it is not limited here.
The second, installation needs to carry out the application program of Network test in advance on the second electronic equipment;
In the embodiment of the present application, the first electronic equipment can be terminal, such as computer etc., and the second electronic equipment can be Mobile terminal, such as mobile phone etc..First electronic equipment and the second electronic equipment are not the same electronic equipments.
It is above only the preferred embodiment of the first electronic equipment provided by the embodiments of the present application, the second electronic equipment, it is related First electronic equipment, the second electronic equipment particular content inventor can be configured according to their own needs, do not limit herein It is fixed.
Second electronic equipment is connected on the first electronic equipment by third by USB, and opens USB debugging.
4th, " operation .exe " is opened on the first electronic equipment;
5th, input logcat log preservation address, such as input order adb logcat > path filename .txt.
6th, repeatedly to needed in the second electronic equipment the application program for carrying out Network test in advance execute starting exit And/or restart the process of process, probably execute ten times repeatedly;Herein it is to be noted that user is forbidden to allow to be joined in advance The application program networking of net test, for example, it is right to pop up " whether allowing to network " in carrying out the application program of Network test in advance After talking about frame, user is forbidden to select the "Yes" in " whether allowing to network " dialog box to allow application program to network.
It 7th, include at least one operation log in logcat log from acquisition logcat log in address is saved, Search key " network " in logcat log;If being stored at least one keyword " network " in logcat log, Operation log belonging to each " network " is then determined respectively;From identified each operation log, acquisition is stored with key The operation log of word " warning ";If in acquired operation log, there are object run log (object run log The instruction of packet name carries out the application program of Network test in advance, i.e. the packet name of object run log, which can be, carries out Network test in advance Application program packet name), then it is assumed that exist carry out Network test in advance application program exist shift to an earlier date networking issue.
The present invention provides a kind of application program and shifts to an earlier date Network test method, comprising: the test data of application program is obtained, it should Test data, which includes application program, runs to the application before user allows the application program this time to start operation networking from starting Operation information of the program under each application scenarios;Detect the letter for whether being stored in the test data and characterizing application program networking Breath, if so, determining that the application program exists shifts to an earlier date networking issue.The present invention realizes the survey for shifting to an earlier date network condition to application program Examination, convenient for solving the networking issue in advance of application program in time.
Fig. 5 is the structural schematic diagram that a kind of application program provided by the embodiments of the present application shifts to an earlier date Network test device.
As shown in figure 5, the device includes:
Test data acquiring unit 51, for obtaining the test data of application program, test data include application program from Starting, which runs to user, allows application program this time to start before running networking, operation letter of the application program under each application scenarios Breath;
Networking detection unit 52 in advance, for detecting the letter for whether being stored with characterization application program networking in test data Breath;
Networking determination unit 53 in advance, if the information for being stored with characterization application program networking in test data, determines Application program, which exists, shifts to an earlier date networking issue.
In the embodiment of the present application, it is preferred that test data acquiring unit is specifically used for: based on being equipped with operating system First electronic equipment of debugging tool obtains system of the second electronic equipment for being equipped with application program when in test mode Operation information;The applied field before starting runs to user to allow application program this time starting operation networking is in application program Jing Shi, the second electronic equipment are in test mode.
In the embodiment of the present application, it is preferred that application program, which runs to user from starting, allows application program this time to start Before operation networking, application scenarios locating for application program include: that application program operates normally in the second electronic equipment, application Program is hung up by the second electronic equipment, and/or, application program is exited by the second electronic equipment.
In the embodiment of the present application, it is preferred that detection unit of networking in advance, comprising:
First detection unit, for detecting the first information for whether being stored with characterization network operation in test data;
Operation log determination unit, if determining the first information in test number for being stored with the first information in test data Operation log belonging in;
Second detection unit, for detecting the information for whether being stored with characterization application program networking in operation log.
In the embodiment of the present application, it is preferred that second detection unit, comprising:
Whether the second detection sub-unit is stored with characterization the second information of networking operation for detecting in operation log;
First determination unit, if having the second information for not stored in operation log, determining not stored in operation log has Characterize the information of application program networking;
Second determination unit, if for being stored with the second information in operation log, if the packet name that operation log carries refers to Show application program, determines the information for being stored with characterization application program networking in operation log.
Further, the embodiment of the present application also provides a kind of server, which includes memory and processor, storage For storing program, processor caller, program is used for device:
The test data of application program is obtained, test data, which includes application program, which runs to user from starting, allows using journey Before sequence this time starts operation networking, operation information of the application program under each application scenarios;
Whether the information of characterization application program networking is stored in detection test data;
If so, determining that application program exists shifts to an earlier date networking issue.
Optionally, the refinement function of program and extension function can refer to and be described below.
Further, the embodiment of the present application also provides a kind of computer readable storage medium, the computer-readable storage medium Computer executable instructions are stored in matter, computer executable instructions shift to an earlier date Network test method for above-mentioned application program.
The detailed description of computer executable instructions in relation to storing in storage medium provided by the embodiments of the present application can join According to above-described embodiment, this will not be repeated here.
The present invention provides a kind of application program and shifts to an earlier date Network test device, server and storage medium, comprising: obtains application The test data of program, the test data include that application program runs to user from starting the application program is allowed this time to start fortune Before row networking, operation information of the application program under each application scenarios;It detects and whether is stored with characterization in the test data The information of application program networking, if so, determining that the application program exists shifts to an earlier date networking issue.The present invention is realized to using journey Sequence shifts to an earlier date the test of network condition, convenient for solving the networking issue in advance of application program in time.
Herein, relational terms such as first and second and the like be used merely to by an entity or operation with it is another One entity or operation distinguish, and without necessarily requiring or implying between these entities or operation, there are any this reality Relationship or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to the packet of nonexcludability Contain, so that the process, method, article or equipment for including a series of elements not only includes those elements, but also including Other elements that are not explicitly listed, or further include for elements inherent to such a process, method, article, or device. In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including the element Process, method, article or equipment in there is also other identical elements.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with other The difference of embodiment, the same or similar parts in each embodiment may refer to each other.
To the above description of disclosed embodiment of this invention, it can be realized professional and technical personnel in the field or use this Invention.Various modifications to these embodiments will be readily apparent to those skilled in the art, institute herein The General Principle of definition can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, The present invention will not be limited to the embodiments shown herein, and is to fit to special with principles disclosed herein and novelty The consistent widest scope of point.

Claims (12)

1. a kind of application program shifts to an earlier date Network test method characterized by comprising
The test data of application program is obtained, the test data, which includes the application program, which runs to user from starting, allows institute It states application program this time to start before running networking, operation information of the application program under each application scenarios;
Detect the information for whether being stored in the test data and characterizing the application program networking;
If so, determining that the application program exists shifts to an earlier date networking issue.
2. the method according to claim 1, wherein the test data for obtaining application program, comprising:
Based on the first electronic equipment for being equipped with operating system debugging tool, the second electronic equipment for being equipped with application program is obtained System operation information when being in test mode;The application program be in starting run to user allow it is described using journey When sequence this time starts the application scenarios before operation networking, second electronic equipment is in test mode.
3. according to the method described in claim 2, it is characterized in that, the application program is run to described in user's permission from starting Before application program this time starts operation networking, application scenarios locating for the application program include:
The application program operates normally in second electronic equipment, and the application program is hung by second electronic equipment It rises, and/or, the application program is exited by second electronic equipment.
4. the method according to claim 1, wherein whether being stored with characterization in the detection test data The information of the application program networking, comprising:
The first information that characterization network operation whether is stored in the test data detected;
If being stored with the first information in the test data, determine the first information in the test data belonging to Operation log;
Detect the information for whether being stored in the operation log and characterizing the application program networking.
5. according to the method described in claim 4, it is characterized in that, whether being stored with characterization in the detection operation log The information of the application program networking, comprising:
It detects and whether is stored with characterization the second information of networking operation in the operation log;
If not stored in the operation log have second information, determine in the operation log it is not stored have characterization described in answer The information networked with program;
If being stored with second information in the operation log, if the packet name that the operation log carries indicates the application Program determines the information for being stored in the operation log and characterizing the application program networking.
6. a kind of application program shifts to an earlier date Network test device characterized by comprising
Test data acquiring unit, for obtaining the test data of application program, the test data includes the application program Running to user from starting allows the application program this time to start before running networking, and the application program is in each application scenarios Under operation information;
It networks in advance detection unit, whether is stored with the letter for characterizing the application program networking in the test data for detecting Breath;
It networks in advance determination unit, if for being stored with the information for characterizing the application program networking in the test data, really The fixed application program, which exists, shifts to an earlier date networking issue.
7. device according to claim 6, which is characterized in that the test data acquiring unit is specifically used for:
Based on the first electronic equipment for being equipped with operating system debugging tool, the second electronic equipment for being equipped with application program is obtained System operation information when being in test mode;The application program be in starting run to user allow it is described using journey When sequence this time starts the application scenarios before operation networking, second electronic equipment is in test mode.
8. device according to claim 7, which is characterized in that the application program is run to described in user's permission from starting Before application program this time starts operation networking, application scenarios locating for the application program include:
The application program operates normally in second electronic equipment, and the application program is hung by second electronic equipment It rises, and/or, the application program is exited by second electronic equipment.
9. device according to claim 6, which is characterized in that the detection unit of networking in advance, comprising:
First detection unit, for detecting the first information for whether being stored with characterization network operation in the test data;
Operation log determination unit, if determining the first information for being stored with the first information in the test data Operation log belonging in the test data;
Whether second detection unit is stored with the information for characterizing the application program networking for detecting in the operation log.
10. device according to claim 9, which is characterized in that the second detection unit, comprising:
Whether the second detection sub-unit is stored with characterization the second information of networking operation for detecting in the operation log;
First determination unit determines in the operation log if having second information for not stored in the operation log It is not stored to have the information for characterizing the application program networking;
Second determination unit, if for being stored with second information in the operation log, if the operation log carries Packet name indicate the application program, determine the information for being stored in the operation log and characterizing the application program networking.
11. a kind of server, which is characterized in that including memory and processor, the memory is for storing program, the place It manages device and calls described program, described program is used for:
The test data of application program is obtained, the test data, which includes the application program, which runs to user from starting, allows institute It states application program this time to start before running networking, operation information of the application program under each application scenarios;
Detect the information for whether being stored in the test data and characterizing the application program networking;
If so, determining that the application program exists shifts to an earlier date networking issue.
12. a kind of computer readable storage medium, which is characterized in that be stored with computer in the computer readable storage medium Executable instruction, the computer executable instructions require application program described in 1-5 any one to shift to an earlier date for perform claim Network test method.
CN201811574037.XA 2018-12-21 2018-12-21 Application program advanced networking test method, device, server and storage medium Active CN109582586B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811574037.XA CN109582586B (en) 2018-12-21 2018-12-21 Application program advanced networking test method, device, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811574037.XA CN109582586B (en) 2018-12-21 2018-12-21 Application program advanced networking test method, device, server and storage medium

Publications (2)

Publication Number Publication Date
CN109582586A true CN109582586A (en) 2019-04-05
CN109582586B CN109582586B (en) 2022-07-22

Family

ID=65931346

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811574037.XA Active CN109582586B (en) 2018-12-21 2018-12-21 Application program advanced networking test method, device, server and storage medium

Country Status (1)

Country Link
CN (1) CN109582586B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112615762A (en) * 2020-12-17 2021-04-06 深圳市欢太科技有限公司 Application networking monitoring method, storage medium and equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104809046A (en) * 2015-05-27 2015-07-29 广东欧珀移动通信有限公司 Application program networking control method and application program networking control device
CN105791560A (en) * 2016-02-26 2016-07-20 广东欧珀移动通信有限公司 Data network access control method and user terminal
CN107276796A (en) * 2017-06-07 2017-10-20 北京潘达互娱科技有限公司 A kind of network detecting method and device
CN108616656A (en) * 2018-04-08 2018-10-02 中国联合网络通信集团有限公司 Using the control method of networking, device, terminal and computer readable storage medium
US20180316684A1 (en) * 2016-01-29 2018-11-01 Zscaler, Inc. Client application based access control in cloud security systems for mobile devices

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104809046A (en) * 2015-05-27 2015-07-29 广东欧珀移动通信有限公司 Application program networking control method and application program networking control device
US20180316684A1 (en) * 2016-01-29 2018-11-01 Zscaler, Inc. Client application based access control in cloud security systems for mobile devices
CN105791560A (en) * 2016-02-26 2016-07-20 广东欧珀移动通信有限公司 Data network access control method and user terminal
CN107276796A (en) * 2017-06-07 2017-10-20 北京潘达互娱科技有限公司 A kind of network detecting method and device
CN108616656A (en) * 2018-04-08 2018-10-02 中国联合网络通信集团有限公司 Using the control method of networking, device, terminal and computer readable storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112615762A (en) * 2020-12-17 2021-04-06 深圳市欢太科技有限公司 Application networking monitoring method, storage medium and equipment

Also Published As

Publication number Publication date
CN109582586B (en) 2022-07-22

Similar Documents

Publication Publication Date Title
CN108399132B (en) Scheduling test method, device and storage medium
CN105787364B (en) Automatic testing method, device and system for tasks
CN109948338B (en) Android application sensitive path triggering method based on static analysis
CN105224869A (en) Assembly test method and device
KR20110128632A (en) Method and device for detecting malicious action of application program for smartphone
CN103853663A (en) Application program test method and system
JPH06244994A (en) Inspecting device for telephone-speech recording function in communication system
CN110806965A (en) Automatic test method, device, equipment and medium
CN109271316A (en) Android device and its automated testing method, memory
CN109582586A (en) Application program shifts to an earlier date Network test method, apparatus, server and storage medium
CN106339379B (en) Website running state monitoring method and device
She et al. Hermes: A tool for testing mobile device applications
CN104424098B (en) A kind of application testing method and device
CN106527979B (en) Data migration method and device
CN111147600A (en) Service execution method and terminal under cluster environment
CN115514680B (en) Method and device for verifying compatibility of module, electronic equipment and storage medium
CN109101408B (en) Method and device for detecting service availability in joint debugging environment
CN110389886B (en) Additional function testing method and device of main application program and storage medium
CN106302011A (en) Method of testings based on multiterminal and terminal
CN106569851A (en) Application processing method and device
CN110392028A (en) Android system loophole method for wirelessly testing, device, computer equipment and storage medium
CN106293962A (en) A kind of method and apparatus of calling system order
CN109960656A (en) Detection method, device and the electronic equipment of program
JP2010081021A (en) Information exchange system, processing allocation apparatus, information exchange method and program for information exchange
CN110390199A (en) Android system leak detection method, device, computer equipment and storage medium

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