CN106549824A - A kind of system and method for test software and server connective stability - Google Patents
A kind of system and method for test software and server connective stability Download PDFInfo
- Publication number
- CN106549824A CN106549824A CN201610881282.XA CN201610881282A CN106549824A CN 106549824 A CN106549824 A CN 106549824A CN 201610881282 A CN201610881282 A CN 201610881282A CN 106549824 A CN106549824 A CN 106549824A
- Authority
- CN
- China
- Prior art keywords
- server
- information
- data
- test
- client
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 13
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0631—Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/091—Measuring contribution of individual network components to actual service level
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/14—Arrangements for monitoring or testing data switching networks using software, i.e. software packages
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/18—Protocol analysers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Computer Security & Cryptography (AREA)
- Debugging And Monitoring (AREA)
- Computer And Data Communications (AREA)
Abstract
The invention discloses a kind of system and method for test software and server connective stability, it is related to software test field, including DBM, server and some test modules, DBM is connected with server, test module is arranged in client to be tested, client distribution includes local data base in different regions, client;DBM is used for the test data information for storing and providing required for test and generates data template, and test data information and data template are sent to server;Server is used for receiving data template and test data information, and test data information is sent to test module, test module is used to receive test data information, and the local data base of test data information and corresponding client is compared generation feedback information, and feedback information is sent to into server.The present invention being capable of the real-time on-site test stability that is connected with application server of application software.
Description
Technical field
The present invention relates to software test field, and in particular to a kind of for test software and server connective stability to be
System and method.
Background technology
Mobile phone is the essential items of current people life, and the types of applications software in mobile phone is applied not only to social activity, plays, also
For consuming and learning, there is irreplaceable effect in life.
Application software in mobile phone is connected with application server by network, and when interrupting occurs in connection, can affect should
With the normal use of software, cause the stability in use of application software poor, and application software cannot be monitored on the spot with application clothes
Whether business device is in connection status, and then causes application software and the test of the intercommunication of application server to there is certain blind spot,
The connective stability of application software and application server in true environment cannot be tested.
The content of the invention
For defect present in prior art, it is an object of the invention to provide a kind of be used for test software and server
The system and method for connective stability, being capable of the real-time on-site test stability that is connected with application server of application software.
To reach object above, the present invention is adopted the technical scheme that:
A kind of system for test software and server connective stability, including DBM, server and some
Test module, the DBM are connected the test module in client to be tested with server, described
In different regions, the client includes local data base to client distribution, and all clients are connected with server;
The DBM is used for the test data information for storing and providing required for test and generates data template, and
Test data information and data template are sent to server;
The server is used for receiving data template and test data information, and test data information is sent to test mould
Block, the server are additionally operable to receive and analyze test module feedack;
The test module is used to receive test data information, and test data information is local with corresponding client
Data base compares generation feedback information, and feedback information is sent to server.
On the basis of above-mentioned technical proposal, the feedback information includes error message and comparison information;
When the data message in local data base is had differences with test data information, update local data base and return
To server, the fresh information includes misjudgment information, the system of active client, model, network type to fresh information
And position;
When the data message in local data base is consistent with test data information, using the information in local data base as
Comparison information is sent to server, and the server is additionally operable to comparison information is compared with data template.
On the basis of above-mentioned technical proposal, the server is additionally operable to generate analysis report according to feedback information.
On the basis of above-mentioned technical proposal, the system also includes alarm module, the alarm module and server, visitor
Family end is connected, and the alarm module is for having the information for needing early warning in the feedback information that receives in server analysis
When, early warning information is sent to corresponding client.
On the basis of above-mentioned technical proposal, the system also include instruction sending module, the instruction sending module with
Server, client are connected, and the instruction sending module is instructed for issuing request for test to server or client.
A kind of method for test software and server connective stability, comprises the following steps:
The server or client receive request for test instruction, and DBM sends test data information to service
Device, the server are set up test with all clients to be tested and are connected, and the server is obtained and is connected phase with each test
Corresponding url, request type returned data template;
According to request type initialization test interface, the server passes through test interface by test data to the server
Information is sent to client;
Test data information is compared by the client with the information in local data base, if in local data base not
Be present in test data information identical information, then update local data base and fresh information is returned to server, the renewal
Information includes misjudgment information, the system of active client, model, network type and position;
If the data message in local data base is consistent with test data information, using the information in local data base as
Comparison information is sent to server, and comparison information is also compared by the server with data template.
On the basis of above-mentioned technical proposal, after the server or client receive request for test instruction, data
Library module sends test data information to before server, further comprising the steps of:The user end to server sends data
Request is updated, and local data version is submitted to into server, returned data information is sent by server by DBM
To client;
Returned data information is compared by client with local data version, if there is no return number in local data base
It is believed that breath, returned data information is added into local data base;If there is analog information in local data base, similar letter is compared
Breath whether there is difference with returned data information, if existing, adjust to identical with returned data information.
On the basis of above-mentioned technical proposal, comparison information and data template are also compared tool by the server
Body is comprised the following steps:Judge whether the data structure of comparison information is consistent with data template, and judge to compare letter when consistent
Breath compared with data template with the presence or absence of missing data, and judge when not lacking the data form of comparison information whether with number
Data form according to template is consistent, if unanimously returning correct information to server.
On the basis of above-mentioned technical proposal, when data structure and the data template of comparison information are inconsistent, comparison information
There is missing data or the data form of comparison information compared with data template and the data form of data template is inconsistent
When, error message is returned to server and terminate the analysis of current data interface.
On the basis of above-mentioned technical proposal, after the server receives fresh information and comparison information, to fresh information
Generation analysis report is analyzed with comparison information.
Compared with prior art, it is an advantage of the current invention that:
(1) can test and be connected with server for test software and the system of server connective stability in the present invention
All clients stability, as client distribution is in different environment and area, therefore, it is possible to test to true
The connective stability of application software and application server in real environment;Meanwhile, the present invention is instructed using request for test is actively sent
Mode tested, can effectively find problem present in connection, and then actively modify, improve application software makes
Stability, and, as the installation amount of test client increases, can effectively reduce the application caused due to network connection
Problem, improves Consumer's Experience.
Description of the drawings
The structured flowchart of systems of the Fig. 1 to be used for test software and server connective stability in the embodiment of the present invention;
Fig. 2 is the method flow diagram in the embodiment of the present invention for test software and server connective stability.
Specific embodiment
The present invention is described in further detail below in conjunction with drawings and Examples.
Shown in Figure 1, the embodiment of the present invention provides a kind of system for test software and server connective stability,
Including DBM, server, alarm module, instruction sending module and some test modules, DBM and server
The test module that is connected is arranged in client to be tested, and client distribution includes local data in different regions, client
Storehouse, all clients are connected with server.
DBM is used for the test data information for storing and providing required for test and generates data template, and will survey
Examination data message and data template are sent to server.
Server is used for receiving data template and test data information, and test data information is sent to test module,
Server is additionally operable to receive and analyze test module feedack, and server is additionally operable to be given birth to according to error message and comparison information
Into analysis report.
Test module is used to receive test data information, and by the local data of test data information and corresponding client
Storehouse is compared generation feedback information, and feedback information is sent to server.
Feedback information includes error message and comparison information:When data message and test data information in local data base
When having differences, updating local data base and fresh information being returned to server, fresh information includes misjudgment information, currently
The system of client, model, network type and position;When the data message in local data base it is consistent with test data information
When, the information in local data base is sent to server as comparison information.
Alarm module is connected with server, client, and alarm module is for the feedback letter that receives in server analysis
When presence needs the information of early warning in breath, early warning information is sent to corresponding client.
Instruction sending module, instruction sending module are connected with server, client, and instruction sending module is for service
Device or client issue request for test instruction.
The present invention also provides a kind of method for test software and server connective stability, comprises the following steps:
User end to server sends data and updates request, and local data version is submitted to server, data base's mould
Block is sent to client by server returned data information;
Returned data information is compared by client with local data version, if there is no return number in local data base
It is believed that breath, returned data information is added into local data base;If there is analog information in local data base, similar letter is compared
Breath whether there is difference with returned data information, if existing, adjust to identical with returned data information.
DBM send test data information to server, server is connected with client, server acquisition with it is every
The corresponding url of individual connection, request type returned data template;
Test data information is sent by test interface by server according to request type initialization test interface, server
To client;
Test data information is compared by client with the information in local data base, if not existing in local data base
In test data information identical information, then updating local data base and fresh information being returned to server, fresh information includes
Misjudgment information, the system of active client, model, network type and position;
If the data message in local data base is consistent with test data information, using the information in local data base as
Comparison information is sent to server.
Comparison information is also compared by server with data template:Judge the data structure of comparison information whether with
Data template is consistent, and judge when consistent comparison information compared with data template with the presence or absence of missing data, and without scarce
Judge during mistake whether the data form of comparison information is consistent with the data form of data template and correct information is anti-when consistent
It is fed to server.
When whether the form of comparison information is with data template is inconsistent, comparison information has missing number compared with data template
According to or when the data form of comparison information and the inconsistent data form of data template, return error message and simultaneously terminate current number
According to the analysis of interface.
It is shown in Figure 2, below, by one embodiment, the present invention is described in detail.
S1, instruction sending module send request for test and instruct to server or client.
S2, client send and update request to server, and latest version information is sent by DBM by server
To client, client judges whether the version number according to local data base, if not existing, updates local data base, and
Return without fresh information to server.
If existing, the version more than the version number is determined whether, if not having, returned without fresh information to server, if
Have, be more than the data of the version number in obtaining local data base, add the data and the data are returned to server.
, to server, server is connected and is formed some test interfaces with all clients for S3, transmission test data information,
Server obtains the url corresponding with each connection and request type (http request type), meanwhile, server is returned and is obtained
Data template, request type include get, post, put and delete.
, according to request type initialization test interface, server passes through test interface by test data information for S4, server
Send to client.
The information in test data information and local data base is compared for S5, client and send feedback information is to clothes
Business device:If test data information identical information is not present in local data base, updates local data base and return renewal
To server, fresh information includes misjudgment information to information, the system of active client, model, network type and position;
If the data message in local data base is consistent with test data information, using the information in local data base as
Comparison information is sent to server.
S6, server judge whether feedback information is misjudgment information, if so, submit the misjudgment information to analysis
Module, otherwise, proceeds to step S7.
S7, judge whether the data structure of comparison information is consistent with data template, if so, proceeds to step S8, otherwise, proceeds to
Step S10.
S8, judge comparison information compared with data template with the presence or absence of missing data, if so, proceed to step S10;Otherwise turn
Enter step S9.
S9, judge that data form of the comparison information compared with data template be whether consistent, be if so, defined as correct information,
And analysis module is sent to, proceed to step S11.
S10, submittal error information proceed to step S11 to analysis module.
S11, analysis module generate analysis report according to all error messages and correct information.
The present invention is not limited to above-mentioned embodiment, for those skilled in the art, without departing from
On the premise of the principle of the invention, some improvements and modifications can also be made, these improvements and modifications are also considered as the protection of the present invention
Within the scope of.The content not being described in detail in this specification belongs to prior art known to professional and technical personnel in the field.
Claims (10)
1. a kind of system for test software and server connective stability, it is characterised in that:Including DBM, service
Device and some test modules, the DBM are connected the test module installed in client to be tested with server
In, in different regions, the client includes local data base to the client distribution, and all clients are connected with server
Connect;
The DBM is used for the test data information for storing and providing required for test and generates data template, and will survey
Examination data message and data template are sent to server;
The server is used for receiving data template and test data information, and test data information is sent to test module,
The server is additionally operable to receive and analyze test module feedack;
The test module is used to receive test data information, and by the local data of test data information and corresponding client
Storehouse is compared generation feedback information, and feedback information is sent to server.
2. a kind of system for test software and server connective stability as claimed in claim 1, it is characterised in that:Institute
Stating feedback information includes error message and comparison information;
When the data message in local data base is had differences with test data information, update local data base and return renewal
To server, the fresh information includes misjudgment information to information, the system of active client, model, network type and position
Put;
When the data message in local data base is consistent with test data information, using the information in local data base as comparison
Information is sent to server, and the server is additionally operable to comparison information is compared with data template.
3. a kind of system for test software and server connective stability as claimed in claim 2, it is characterised in that:Institute
State server to be additionally operable to generate analysis report according to feedback information.
4. a kind of system for test software and server connective stability as claimed in claim 3, it is characterised in that:Institute
Stating system also includes alarm module, and the alarm module is connected with server, client, and the alarm module is in service
When presence needs the information of early warning in the feedback information that device analysis is received, early warning information is sent to corresponding client.
5. a kind of system for test software and server connective stability as claimed in claim 1, it is characterised in that:Institute
Stating system also includes instruction sending module, and the instruction sending module is connected with server, client, and the instruction sends mould
Block is instructed for issuing request for test to server or client.
6. a kind of method for test software and server connective stability, it is characterised in that comprise the following steps:
The server or client receive request for test instruction, and DBM sends test data information to server, institute
State server and set up to test with all clients to be tested and be connected, the server obtains corresponding with each test connection
Url, request type returned data template;
According to request type initialization test interface, the server passes through test interface by test data information to the server
Send to client;
Test data information is compared by the client with the information in local data base, if not existing in local data base
In test data information identical information, then update local data base and fresh information is returned to server, the fresh information
Including misjudgment information, the system of active client, model, network type and position;
If the data message in local data base is consistent with test data information, using the information in local data base as comparison
Information is sent to server, and comparison information is also compared by the server with data template.
7. a kind of method for test software and server connective stability as claimed in claim 6, it is characterised in that:
The server or client receive request for test instruction after, DBM send test data information to server it
Before, it is further comprising the steps of:The user end to server sends data and updates request, and local data version is submitted to clothes
Returned data information is sent to client by server by business device, DBM;
Returned data information is compared by client with local data version, if there is no returned data letter in local data base
Breath, returned data information is added into local data base;If there is analog information in local data base, compare analog information with
Returned data information whether there is difference, if existing, adjust to identical with returned data information.
8. a kind of method for test software and server connective stability as claimed in claim 6, it is characterised in that:Institute
State server also comparison information and data template compare and specifically include following steps:Judge the data of comparison information
Whether structure consistent with data template, and judge when consistent comparison information compared with data template with the presence or absence of missing data,
And judge when not lacking whether the data form of comparison information is consistent with the data form of data template, if consistent just return
Firmly believe breath to server.
9. a kind of method for test software and server connective stability as claimed in claim 8, it is characterised in that:When
The data structure of comparison information is with data template is inconsistent, comparison information has missing data or ratio compared with data template
During to the data form of information and the inconsistent data form of data template, error message is to server and terminates current number for return
According to the analysis of interface.
10. a kind of method for test software and server connective stability as claimed in claim 6, it is characterised in that:
After the server receives fresh information and comparison information, generation analysis report is analyzed to fresh information and comparison information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610881282.XA CN106549824B (en) | 2016-10-09 | 2016-10-09 | System and method for testing connection stability of software and server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610881282.XA CN106549824B (en) | 2016-10-09 | 2016-10-09 | System and method for testing connection stability of software and server |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106549824A true CN106549824A (en) | 2017-03-29 |
CN106549824B CN106549824B (en) | 2020-08-04 |
Family
ID=58368505
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610881282.XA Active CN106549824B (en) | 2016-10-09 | 2016-10-09 | System and method for testing connection stability of software and server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106549824B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109669867A (en) * | 2018-12-11 | 2019-04-23 | 平安科技(深圳)有限公司 | Test device, automated testing method and computer readable storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103631734A (en) * | 2012-08-22 | 2014-03-12 | 卓望数码技术(深圳)有限公司 | System and method for controlling mobile device through computer |
CN104239198A (en) * | 2013-06-09 | 2014-12-24 | 展讯通信(上海)有限公司 | Intelligent cell phone, software testing method and system of intelligent cell phone, and server |
KR20160040999A (en) * | 2014-10-06 | 2016-04-15 | 브이엠파이브 인크. | System, method, server and device for trial use of application software |
CN105607994A (en) * | 2015-10-19 | 2016-05-25 | 珠海金山网络游戏科技有限公司 | Mobile terminal software testing method and system |
-
2016
- 2016-10-09 CN CN201610881282.XA patent/CN106549824B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103631734A (en) * | 2012-08-22 | 2014-03-12 | 卓望数码技术(深圳)有限公司 | System and method for controlling mobile device through computer |
CN104239198A (en) * | 2013-06-09 | 2014-12-24 | 展讯通信(上海)有限公司 | Intelligent cell phone, software testing method and system of intelligent cell phone, and server |
KR20160040999A (en) * | 2014-10-06 | 2016-04-15 | 브이엠파이브 인크. | System, method, server and device for trial use of application software |
CN105607994A (en) * | 2015-10-19 | 2016-05-25 | 珠海金山网络游戏科技有限公司 | Mobile terminal software testing method and system |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109669867A (en) * | 2018-12-11 | 2019-04-23 | 平安科技(深圳)有限公司 | Test device, automated testing method and computer readable storage medium |
CN109669867B (en) * | 2018-12-11 | 2024-03-12 | 平安科技(深圳)有限公司 | Test apparatus, automated test method, and computer-readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN106549824B (en) | 2020-08-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108053042A (en) | A kind of outage information is reported and submitted and delivery system | |
CN104025516A (en) | Systems and methods of remote communication | |
CN110493065A (en) | The alarm association degree analysis method and system of a kind of cloud center O&M | |
CN105610605A (en) | Message reverse push method, network management system alarm method and state update method | |
CN107730647A (en) | A kind of smart mobile phone cruising inspection system and its method for inspecting based on SCADA | |
CN101621816A (en) | System and method for monitoring background server of mobile terminal | |
CN106506256B (en) | A kind of equipment monitoring system and method based on platform+plug-in | |
CN104092577B (en) | A kind of network alarm notice system and its notification method | |
CN110995859A (en) | Intelligent transformer substation supporting platform system based on ubiquitous Internet of things | |
CN102375138A (en) | Radar track and flight information comprehensive display system | |
CN103916397A (en) | Safety monitoring method under distributed network environment | |
CN104426929A (en) | monitoring and management system | |
CN103501345B (en) | A kind of control method of remote centralized control system | |
Brown et al. | The virtual node layer: A programming abstraction for wireless sensor networks | |
WO2023103248A1 (en) | Automatic device commissioning method, apparatus, device, system, and storage medium | |
CN102999424B (en) | Parallel remote automated testing method | |
CN102857798A (en) | Monitoring system of system software operation condition based on set-top box | |
JPH11219388A (en) | Remote management system | |
CN110430261A (en) | Detecting devices fault handling method and device | |
CN110474821A (en) | Node failure detection method and device | |
CN106549824A (en) | A kind of system and method for test software and server connective stability | |
CN109343488A (en) | Fieldbus monitoring early-warning system and method based on wechat and FDT technology | |
CN103957266B (en) | A kind of equipment centralized Control method of communication system | |
CN106228496A (en) | Cable operation management system | |
CN114243914B (en) | Power monitoring system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20231101 Address after: 310000 Room 30040, 3rd Floor, No. 615 Binfen Street, Xixing Street, Binjiang District, Hangzhou City, Zhejiang Province, China (Zhejiang) Free Trade Pilot Zone Patentee after: Zhejiang Mutual Trade Holding Group Co.,Ltd. Address before: 430000 Wuhan Donghu Development Zone, Wuhan, Hubei Province, No. 1 Software Park East Road 4.1 Phase B1 Building 11 Building Patentee before: WUHAN DOUYU NETWORK TECHNOLOGY Co.,Ltd. |
|
TR01 | Transfer of patent right |