CN106817272A - A kind of procotol automated analysis method of testing and system - Google Patents
A kind of procotol automated analysis method of testing and system Download PDFInfo
- Publication number
- CN106817272A CN106817272A CN201510863050.7A CN201510863050A CN106817272A CN 106817272 A CN106817272 A CN 106817272A CN 201510863050 A CN201510863050 A CN 201510863050A CN 106817272 A CN106817272 A CN 106817272A
- Authority
- CN
- China
- Prior art keywords
- procotol
- user
- network
- analysis result
- analysis
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/18—Protocol analysers
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention discloses a kind of procotol automated analysis method of testing, including:The network packet on multiple platforms is gathered by many station terminals, and the network packet of collection is uploaded to data center;The network packet stored in data center is analyzed by Data Analysis Platform, and analysis result formation form is sent to related personnel;It is whether problematic by alarm module discriminatory analysis result, if problematic, send alarm mail to developer.Example of the present invention carries the automation collection that procotol is realized by the Selenium instruments on many station terminals;The network packet for collecting is analyzed by Data Analysis Platform again, form is obtained so that numerous and diverse network data becomes simple and clear;Alarm mail is sent in the case of analysis result is problematic to developer so that developer can repair to agreement in time again.
Description
Technical field
The present invention relates to field of computer technology, more particularly to a kind of procotol automated analysis method of testing
And system.
Background technology
Agreement is communicating pair to realize communicating and the agreement of design or call rule.Computer communication network is
Exchanged and the node interconnection of disposal ability with information by many.Make whole network without any confusion
Work, it is desirable to which each node has to comply with the rule of the relevant data form that something first appoints and sequential etc.
Then.Rule, agreement or the standard that these set up to realize network data exchange are known as procotol.
Existing procotol species is various, and the packet in network is transmitted by various agreements, finally
Realize the communication of various inter-entity in network.Because procotol species is various in the market, therefore,
The demand of protocal analysis is very big.With the development of mobile Internet application, the protocol requirement amount of mobile terminal
Also uprush, huge workload is brought to protocal analysis test, agreement is carried out by artificial mode merely
Analysis testing efficiency is low, and growing network protocol analysis demand cannot have been met.Additionally, in network
The loss of the packet in transmission also brings analysis hardly possible, the problem of high cost to network protocol analysis.
The content of the invention
It is an object of the invention to provide a kind of procotol automated analysis method of testing and system changing
Kind existing network protocol analysis efficiency is low, high cost problem.
In order to solve the above-mentioned technical problem, the technical scheme of use is the present invention:
A kind of procotol automated analysis method of testing, including:
Step S1:The network packet on multiple platforms, and the net that will be gathered are gathered by many station terminals
Network packet is uploaded to data center;
Step S2:The network packet stored in the data center is divided by Data Analysis Platform
Analysis, and analysis result formation form is sent to related personnel;And
Step S3:Judge whether the analysis result is problematic by alarm module, if problematic, send
Alarm mail is to developer.
Preferably, the analysis result includes network virtual identity and user's speech data, wherein, the net
Network virtual identity includes the login account of the user and the positional information of the user.
Preferably, when the user be by mobile phone to surf the Net when, the network virtual identity also includes described
The mobile device international identity code of mobile phone, international mobile subscriber identity and cell-phone number.
Preferably, if not including that the network virtual identity and/or the user say from the analysis result
During by data, then judge that the analysis result is problematic.
Preferably, Selenium instruments are installed in the terminal, are gathered by the Selenium instruments
The network packet.
Correspondingly, the present invention also provides a kind of procotol automated analysis test system, including:
Multiple terminals, for leading to the network packet on the multiple platforms of collection;
Data center, is connected to the multiple terminal, the net of the collection for storing the multiple terminal
Network packet;
Data Analysis Platform, is connected to the data center, is analyzed for the network packet, and
Analysis result formation form is sent to related personnel;And
Alarm module, is connected to the Data Analysis Platform, for judging whether the analysis result is problematic,
If problematic, alarm mail to developer is sent.
Preferably, the analysis result includes network virtual identity and user's speech data, wherein, the net
Network virtual identity includes the login account of the user and the positional information of the user.
Preferably, when the user be by mobile phone to surf the Net when, the network virtual identity also includes described
The mobile device international identity code of mobile phone, international mobile subscriber identity and cell-phone number.
Preferably, if not including that the network virtual identity and/or the user say from the analysis result
During by data, then judge that the analysis result is problematic.
Preferably, Selenium instruments are installed in the terminal, are gathered by the Selenium instruments
The network packet.
Implement the embodiment of the present invention, have the advantages that:The procotol automation that example of the present invention is provided
Analysis test method and system, by the network on the Selenium instruments packet capturing multiple platform on many station terminals
Packet, realizes the automation collection of procotol;Again by Data Analysis Platform to the network that collects
Packet is analyzed, and obtains form so that numerous and diverse network data becomes simple and clear;Again by judging
Whether transmitted judging network packet comprising network virtual identity and user's speech data in analysis result
Whether there is packet loss phenomenon in journey, in the event of packet loss phenomenon, then send alarm mail to developer,
Allow that developer repairs to agreement in time.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to implementing
Example or the accompanying drawing to be used needed for description of the prior art are briefly described, it should be apparent that, describe below
In accompanying drawing be only some embodiments of the present invention, for those of ordinary skill in the art, do not paying
On the premise of going out creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
The flow chart of the procotol automated analysis method of testing that Fig. 1 is provided for one embodiment of the invention;
The form of the procotol automated analysis method of testing generation shown in Fig. 2 according to Fig. 1.
The structured flowchart of the procotol automated analysis test system that Fig. 3 is provided for one embodiment of the invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clearly
Chu, it is fully described by, it is clear that described embodiment is only a part of embodiment of the invention, rather than
Whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not making creation
Property work under the premise of the every other embodiment that is obtained, belong to the scope of protection of the invention.
The flow chart of the procotol automated analysis method of testing that Fig. 1 is provided for one embodiment of the invention.Such as
Shown in Fig. 1, the procotol automated analysis method of testing is comprised the following steps:
Step S1:The network packet on multiple platforms, and the network number that will be gathered are gathered by many station terminals
Data center is reached according to wrapping.
Specifically, in the present embodiment, using many station terminals, by the script finished writing in advance, go collection multiple
Network packet on platform, uploads to the Data Analysis Platform specified after having gathered.Further, it is multiple
Platform is including apple browser, chrome browsers, IE browser, Android UC browsers etc.;Network number
Include with Types Below according to bag:Instant messaging (for example, QQ, wechat etc.), Email, forum, blog,
The http datas such as news, microblogging.
Preferably, the automation of network packet is realized by installing Selenium instruments on many station terminals
Packet capturing.Selenium tests are run directly in browser, and the browser of support includes IE (7,8,9), Mozilla
Firefox, Mozilla Suite etc..
Step S2:The network packet stored in data center is analyzed by Data Analysis Platform, and will
Analysis result forms form and is sent to related personnel.
Specifically, in the present embodiment, analysis result includes network virtual identity and user's speech data, example
Such as, when network packet be Email when, user's speech data include sender information, addressee information,
Text message and accessory information, when network packet be blog when, user's speech data include daily record, comment,
Message etc..Wherein, the login account of network virtual identity including user and user positional information (for example,
The latitude and longitude information of user), further, when user be by mobile phone to surf the Net when, network virtual identity is also
Mobile device international identity code (IMEI), international mobile subscriber identity (IMSI) and hand including the mobile phone
Machine number.
In the present embodiment, detailed result can be provided by the way that analysis result is formed into form, facilitates history
Achieve.
Step S3:It is whether problematic by alarm module discriminatory analysis result, if problematic, send alarm
Mail is to developer.
Specifically, in the present embodiment, if do not wrapped during the analysis result for obtaining is parsed from network packet
Network virtual identity and/or user's speech data are included, then judges that the analysis result is problematic.If for example, on
The positional information of the login account or user in analysis result including user is stated, then judges that the analysis result has
Problem, i.e., the network packet for being gathered by terminal may there occurs packet loss phenomenon in transmitting procedure, send
Alarm mail is repaired in time to developer by related personnel.Again for example, when user is by mobile phone
During online, if not including IMEI, IMSI or cell-phone number in analysis result, judge that the analysis result is asked
Topic.
The form of the procotol automated analysis method of testing generation shown in Fig. 2 according to Fig. 1.Such as Fig. 2
Shown, the agreement that the form includes has forum (forum of Sina gathered in apple browser platform), wins
Visitor's (ends of the earth blog gathered on computerized version chrome browsers) and webpage mailbox are (clear in computerized version IE
Look at the YEAH mailboxes gathered on device and the QQ mailboxes gathered on Android UC browsers).Further,
As shown in Fig. 2 because QQ mailboxes this agreements does not collect sender information, addressee information, just
Literary content, accessory information, therefore, judge to there is a problem the analysis result of QQ mailboxes, it may be possible to
Data-bag lost phenomenon is there occurs in data transmission procedure, alarm mail is sent to developer, by exploit person
Member is repaired.
The procotol automated analysis method of testing that the present embodiment is provided, by the Selenium on many station terminals
Network packet on instrument packet capturing multiple platform, realizes the automation collection of procotol;Again by number
The network packet for collecting is analyzed according to analysis platform, obtains form so that numerous and diverse network data
Become simple and clear;Whether again network virtual identity and user's speech data are included by discriminatory analysis result
Judging whether network packet occurs packet loss phenomenon in transmit process, in the event of packet loss phenomenon, then
Alarm mail is sent to developer so that developer can repair to agreement in time.
The structured flowchart of the procotol automated analysis test system that Fig. 3 is provided for one embodiment of the invention.
As shown in figure 3, procotol automated analysis test system includes:
Multiple terminals 10, for leading to the network packet on the multiple platforms of collection.
Specifically, in the present embodiment, many station terminals 10 are by installation Selenium instruments mounted thereto,
By the script finished writing in advance, go to gather the network packet on multiple platforms, upload to what is specified after having gathered
Data Analysis Platform.Further, multiple platforms include that apple browser, chrome browsers, IE are browsed
Device, Android UC browsers etc.;Network packet is included with Types Below:Instant messaging is (for example, QQ, wechat
Deng), Email, forum, blog, news, the http data such as microblogging.
Data center 20, is connected to multiple terminals 10, the network number of the collection for storing multiple terminals 10
According to bag.
Data Analysis Platform 30, is connected to data center 20, is analyzed for network packet, and will divide
Analysis result forms form and is sent to related personnel.
Specifically, in the present embodiment, the analysis result that Data Analysis Platform 30 is formed includes network virtual body
Part and user's speech data, wherein, network virtual identity includes the position letter of the login account of user and user
Breath (for example, latitude and longitude information of user), further, when user be by mobile phone to surf the Net when, network
Virtual identity also mobile device international identity code (IMEI), international mobile subscriber identity including the mobile phone
And cell-phone number (IMSI).
Whether alarm module 40, is connected to Data Analysis Platform 30, problematic for discriminatory analysis result, such as
It is really problematic, then send alarm mail to developer.
Specifically, in the present embodiment, if do not wrapped during the analysis result for obtaining is parsed from network packet
Network virtual identity and/or user's speech data are included, then alarm module 40 judges that the analysis result is problematic.Example
Such as, if the positional information of the login account or user in above-mentioned analysis result not including user, judging should
Analysis result is problematic, i.e., the network packet for being gathered by terminal may there occurs packet loss in transmitting procedure
Phenomenon, alarm module 40 sends alarm mail to developer, is repaired in time by related personnel.And example
Such as, when user is by surfing Internet with cell phone, if not including IMEI, IMSI or cell-phone number in analysis result,
Then alarm module 40 judges that the analysis result is problematic.
The procotol automated analysis test system that the present embodiment is provided, by the Selenium on many station terminals
Network packet on instrument packet capturing multiple platform, realizes the automation collection of procotol;Again by number
The network packet for collecting is analyzed according to analysis platform, obtains form so that numerous and diverse network data
Become simple and clear;Whether again network virtual identity and user's speech data are included by discriminatory analysis result
Judging whether network packet occurs packet loss phenomenon in transmit process, in the event of packet loss phenomenon, then
Alarm mail is sent to developer so that developer can repair to agreement in time.
The embodiment of the present invention additionally provide it is a kind of carry out the computer program product of wireless network access, including deposit
The computer-readable recording medium of program code is stored up, before the instruction that described program code includes can be used to perform
Method described in the embodiment of the method for face, implements and can be found in embodiment of the method, will not be repeated here.
It is apparent to those skilled in the art that, for convenience and simplicity of description, foregoing description
System, device and unit specific work process, may be referred to the corresponding process in preceding method embodiment,
Will not be repeated here.
In several embodiments provided herein, it should be understood that disclosed system and method, can
To realize by another way.Device embodiment described above is only schematical, for example, institute
The division of unit is stated, only a kind of division of logic function there can be other dividing mode when actually realizing,
Again for example, multiple units or component can be combined or be desirably integrated into another system, or some features can
To ignore, or do not perform.It is another, shown or discussed coupling or direct-coupling or logical each other
Letter connection can be by some communication interfaces, the INDIRECT COUPLING or communication connection of device or unit, Ke Yishi
Electrically, mechanical or other forms.
It is described as separating component illustrate unit can be or may not be it is physically separate, as
The part that unit shows can be or may not be physical location, you can with positioned at a place, or
Can also be distributed on multiple NEs.Can select according to the actual needs therein some or all of
Unit realizes the purpose of this embodiment scheme.
In addition, each functional unit in embodiments of the present invention can be integrated in a processing unit, also may be used
Being that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.
If the function is to realize in the form of SFU software functional unit and as independent production marketing or when using,
Can store in a computer read/write memory medium.Based on such understanding, technical side of the invention
The part or the part of the technical scheme that case substantially contributes to prior art in other words can be with softwares
The form of product is embodied, and the computer software product is stored in a storage medium, including some fingers
Order is used to so that a computer equipment (can be personal computer, server, or network equipment etc.) performs
The all or part of step of each embodiment methods described of the invention.And foregoing storage medium includes:USB flash disk,
Mobile hard disk, read-only storage (ROM, Read-Only Memory), random access memory (RAM,
Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.
The above, specific embodiment only of the invention, but protection scope of the present invention is not limited to
This, any one skilled in the art the invention discloses technical scope in, can readily occur in
Change or replacement, should all be included within the scope of the present invention.Therefore, protection scope of the present invention should
It is described to be defined by scope of the claims.
Claims (10)
1. a kind of procotol automated analysis method of testing, it is characterised in that including:
Step S1:The network packet on multiple platforms, and the net that will be gathered are gathered by many station terminals
Network packet is uploaded to data center;
Step S2:The network packet stored in the data center is divided by Data Analysis Platform
Analysis, and analysis result formation form is sent to related personnel;And
Step S3:Judge whether the analysis result is problematic by alarm module, if problematic, send
Alarm mail is to developer.
2. procotol automated analysis method of testing according to claim 1, it is characterised in that institute
Stating analysis result includes network virtual identity and user's speech data, wherein, the network virtual identity includes
The login account of the user and the positional information of the user.
3. procotol automated analysis method of testing according to claim 2, it is characterised in that when
The user be by mobile phone to surf the Net when, the network virtual identity also including the mobile phone mobile device
International identity code, international mobile subscriber identity and cell-phone number.
4. procotol automated analysis method of testing according to claim 2, it is characterised in that such as
When fruit does not include the network virtual identity and/or user's speech data from the analysis result, then sentence
The fixed analysis result is problematic.
5. procotol automated analysis method of testing according to claim 1, it is characterised in that institute
State and be provided with terminal Selenium instruments, the network packet is gathered by the Selenium instruments.
6. a kind of procotol automated analysis test system, it is characterised in that including:
Multiple terminals, for leading to the network packet on the multiple platforms of collection;
Data center, is connected to the multiple terminal, the net of the collection for storing the multiple terminal
Network packet;
Data Analysis Platform, is connected to the data center, is analyzed for the network packet, and
Analysis result formation form is sent to related personnel;And
Alarm module, is connected to the Data Analysis Platform, for judging whether the analysis result is problematic,
If problematic, alarm mail to developer is sent.
7. procotol automated analysis test system according to claim 6, it is characterised in that institute
Stating analysis result includes network virtual identity and user's speech data, wherein, the network virtual identity includes
The login account of the user and the positional information of the user.
8. procotol automated analysis test system according to claim 7, it is characterised in that when
The user be by mobile phone to surf the Net when, the network virtual identity also including the mobile phone mobile device
International identity code, international mobile subscriber identity and cell-phone number.
9. procotol automated analysis test system according to claim 7, it is characterised in that such as
When fruit does not include the network virtual identity and/or user's speech data from the analysis result, then sentence
The fixed analysis result is problematic.
10. procotol automated analysis test system according to claim 6, it is characterised in that
Selenium instruments are installed in the terminal, the network data is gathered by the Selenium instruments
Bag.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510863050.7A CN106817272B (en) | 2015-11-30 | 2015-11-30 | Network protocol automatic analysis testing method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510863050.7A CN106817272B (en) | 2015-11-30 | 2015-11-30 | Network protocol automatic analysis testing method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106817272A true CN106817272A (en) | 2017-06-09 |
CN106817272B CN106817272B (en) | 2020-04-14 |
Family
ID=59107697
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510863050.7A Active CN106817272B (en) | 2015-11-30 | 2015-11-30 | Network protocol automatic analysis testing method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106817272B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101155066A (en) * | 2006-09-29 | 2008-04-02 | 中国移动通信集团北京有限公司 | Network performance analysis system and method |
CN101562777A (en) * | 2009-05-27 | 2009-10-21 | 马强 | Active acquisition system for state of mobile communication network and active mentoring system based on same |
CN102752792A (en) * | 2011-12-26 | 2012-10-24 | 华为技术有限公司 | Method, device and system for monitoring internet service quality of mobile terminal |
KR20120129540A (en) * | 2011-05-20 | 2012-11-28 | 주식회사 두두원 | Agent based protocol analyzer and protocol analyzing method for LTE system |
JP2014165844A (en) * | 2013-02-27 | 2014-09-08 | Kddi Corp | Identification device, identification method, and identification program |
-
2015
- 2015-11-30 CN CN201510863050.7A patent/CN106817272B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101155066A (en) * | 2006-09-29 | 2008-04-02 | 中国移动通信集团北京有限公司 | Network performance analysis system and method |
CN101562777A (en) * | 2009-05-27 | 2009-10-21 | 马强 | Active acquisition system for state of mobile communication network and active mentoring system based on same |
KR20120129540A (en) * | 2011-05-20 | 2012-11-28 | 주식회사 두두원 | Agent based protocol analyzer and protocol analyzing method for LTE system |
CN102752792A (en) * | 2011-12-26 | 2012-10-24 | 华为技术有限公司 | Method, device and system for monitoring internet service quality of mobile terminal |
JP2014165844A (en) * | 2013-02-27 | 2014-09-08 | Kddi Corp | Identification device, identification method, and identification program |
Also Published As
Publication number | Publication date |
---|---|
CN106817272B (en) | 2020-04-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103812683B (en) | User behavior data processing method, device and system | |
CN107809337A (en) | A kind of daily record method for uploading and device | |
CN106156147B (en) | A kind of report sending method based on big data analysis, apparatus and system | |
CN104144392B (en) | Information processing method, equipment and system | |
CN102438213A (en) | Method for hybrid programming of on-line chart log and short message record of user | |
CN103024698A (en) | Mobile terminal and method and system for integrating information of linkmen | |
CN104301161A (en) | Computing method, computing device and communication system for business quality index | |
CN108132868A (en) | A kind of data monitoring method, device, computing device and storage medium | |
CN103902446A (en) | Network server automated testing method and device | |
CN103200022B (en) | A kind of data download abnormality eliminating method, equipment and system | |
CN104142975A (en) | Microblog information promotion method, device and system | |
US7010790B2 (en) | Modular method and device for the tracing of a multimedia message through a telecommunications network | |
CN110309065B (en) | Concurrent execution method, device and equipment of test tasks and storage medium | |
CN111935767B (en) | Network simulation system | |
CN106304085B (en) | Information processing method and device | |
CN103595611B (en) | The realization method and system and equipment of instant messaging application | |
CN105224420B (en) | A kind of analysis method and system of automatic parsing terminal abnormal | |
CN105095228A (en) | Method and apparatus for monitoring social information | |
CN105677800A (en) | Method and device for processing errors during webpage accessing | |
CN111723083B (en) | User identity recognition method and device, electronic equipment and storage medium | |
CN107423446A (en) | New media based on cloud storage automates credible deployment system and method | |
CN108647315A (en) | Collecting method and system | |
CN104811418A (en) | Virus detection method and apparatus | |
CN106817272A (en) | A kind of procotol automated analysis method of testing and system | |
CN109582829A (en) | A kind of processing method, device, equipment and readable storage medium storing program for executing |
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 |