CN107154929A - The method of testing and device of a kind of live software - Google Patents

The method of testing and device of a kind of live software Download PDF

Info

Publication number
CN107154929A
CN107154929A CN201710206773.9A CN201710206773A CN107154929A CN 107154929 A CN107154929 A CN 107154929A CN 201710206773 A CN201710206773 A CN 201710206773A CN 107154929 A CN107154929 A CN 107154929A
Authority
CN
China
Prior art keywords
protocol
agreement
server
feedback result
destinations traffic
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.)
Pending
Application number
CN201710206773.9A
Other languages
Chinese (zh)
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.)
Wuhan Douyu Network Technology Co Ltd
Original Assignee
Wuhan Douyu Network 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 Wuhan Douyu Network Technology Co Ltd filed Critical Wuhan Douyu Network Technology Co Ltd
Priority to CN201710206773.9A priority Critical patent/CN107154929A/en
Publication of CN107154929A publication Critical patent/CN107154929A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/14Network architectures or network communication protocols for network security for detecting or protecting against malicious traffic
    • H04L63/1433Vulnerability analysis
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/14Network architectures or network communication protocols for network security for detecting or protecting against malicious traffic
    • H04L63/1408Network architectures or network communication protocols for network security for detecting or protecting against malicious traffic by monitoring network traffic
    • H04L63/1416Event detection, e.g. attack signature detection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/20Network architectures or network communication protocols for network security for managing network security; network security policies in general

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present invention relates to the method for testing and device of software testing technology field, more particularly to a kind of live software, method includes:In communication protocol between the server of client and live software, destinations traffic agreement is determined;The protocol contents of destinations traffic agreement are revised as second protocol content by default first protocol contents, protocol contents include at least one of agreement transmitting-receiving number of times, protocol fields, multi-party interaction sub-protocol and middle sub-protocol;Communicated by the destinations traffic agreement with second protocol content with server, obtain the second feedback result that server is sent;Judge whether the second feedback result is identical with the first feedback result, the first feedback result is corresponding with the first protocol contents, obtain the test result of live software.The present invention realizes the technique effect tested the leak of live software, and then allows a developer to repair leak in time, it is to avoid hacker is caused damage using the leak of live software to the client and server of live software.

Description

The method of testing and device of a kind of live software
Technical field
The present invention relates to the method for testing and device of software testing technology field, more particularly to a kind of live software.
Background technology
At present, with the progress and the speed-raising of broadband network of the network communications technology, network direct broadcasting has been obtained more and more Development and application.There is charging function in existing network direct broadcasting, i.e. user can be consumed by live software to main broadcaster.
However, live software can have leak unavoidably on stream, once hacker has found leak, and leak is carried out Manipulation, can not only cause damage, it is also possible to hinder the interests of user, therefore need one badly to the client and server of live software Plant the method tested the leak of live software.
The content of the invention
In view of the above problems, it is proposed that the present invention so as to provide one kind overcome above mentioned problem or at least in part solve on State the method for testing and device of the live software of problem.
The embodiment of the present invention is provided in a kind of method of testing of live software, the client applied to the live software, Methods described includes:
In communication protocol between the server of the client and the live software, determine that destinations traffic is assisted View;
The protocol contents of the destinations traffic agreement are revised as and first agreement by default first protocol contents The different second protocol content of content, wherein, the protocol contents include agreement transmitting-receiving number of times, protocol fields, multi-party interaction At least one of agreement and middle sub-protocol, when the client is assisted by the destinations traffic with first protocol contents When view is communicated with the server, it is the first feedback knot that the client, which receives the feedback result of the server transmission, Really;
Communicated by the destinations traffic agreement with the second protocol content with the server, obtain institute State the second feedback result of server transmission;
Judge whether second feedback result is identical with first feedback result, obtain the test of the live software As a result;
Wherein, when second feedback result is identical with first feedback result, the test result is described straight Broadcast software and there is leak, when second feedback result is different with first feedback result, the test result is described Leak is not present in live software.
It is preferred that, the destinations traffic agreement is to belong to the first agreement of live task class, belong to the of multi-party interactive class Two agreements or the 3rd agreement comprising middle sub-protocol.
It is preferred that, when the destinations traffic agreement is first agreement, the protocol contents are received and dispatched including the agreement Number of times, and first protocol contents are:It is described by with the second protocol content when agreement transmitting-receiving number of times is one time The destinations traffic agreement is communicated with the server, obtains the second feedback result that the server is sent, including:
It is repeated several times and sends first agreement to the server, and obtains multiple institutes that the server correspondence is sent State the second feedback result.
It is preferred that, when the destinations traffic agreement is first agreement, the protocol contents include the protocol fields, And first protocol contents are:It is described by with the second protocol when first agreement has the first protocol fields The destinations traffic agreement of content is communicated with the server, including:
Pass through first agreement with the second protocol field different from first protocol fields and the service Device is communicated.
It is preferred that, when the destinations traffic agreement is the second protocol, the protocol contents include the multi-party interaction Class agreement, and first protocol contents are:The server is receiving the first certification success that the client is sent The rear of the second certification success sub-protocol that agreement and third-party platform are sent sends first feedback result to the client, It is described to be communicated by the destinations traffic agreement with the second protocol content with the server, including:
The first certification success sub-protocol is sent while the second certification success sub-protocol is covered to server.
It is preferred that, when the destinations traffic agreement is the 3rd agreement, the protocol contents include middle sub-protocol, and First protocol contents are:It is described to pass through tool when the quantity for the middle sub-protocol that 3rd protocol package contains is the first quantity The destinations traffic agreement for having the second protocol content is communicated with the server, including:
The quantity of the middle sub-protocol of 3rd agreement is reduced to the second quantity by first quantity, and passes through tool The 3rd agreement for having the middle sub-protocol of second quantity is communicated with the server.
Based on same inventive concept, the embodiment of the present invention also provides a kind of test device of live software, applied to described In the client of live software, described device includes:
Determining module, in the communication protocol between the server of the client and the live software, it is determined that Go out destinations traffic agreement;
Modified module, for by the protocol contents of the destinations traffic agreement by default first protocol contents be revised as with The different second protocol content of first protocol contents, wherein, the protocol contents include agreement transmitting-receiving number of times, agreement word At least one of section, multi-party interaction sub-protocol and middle sub-protocol, when the client passes through with first agreement When the destinations traffic agreement of appearance is communicated with the server, the client receives the feedback result that the server is sent For the first feedback result;
Module is obtained, for entering by the destinations traffic agreement with the second protocol content with the server Row communication, obtains the second feedback result that the server is sent;
Judge module, for judging whether second feedback result is identical with first feedback result, obtains described The test result of live software;
Wherein, when second feedback result is identical with first feedback result, the test result is described straight Broadcast software and there is leak, when second feedback result is different with first feedback result, the test result is described Leak is not present in live software.
It is preferred that, the destinations traffic agreement is to belong to the first agreement of live task class, belong to the of multi-party interactive class Two agreements or the 3rd agreement comprising middle sub-protocol.
It is preferred that, when the destinations traffic agreement is first agreement, the protocol contents are received and dispatched including the agreement Number of times, and first protocol contents are:When agreement transmitting-receiving number of times is one time, the acquisition module, specifically for:
It is repeated several times and sends first agreement to the server, and obtains multiple institutes that the server correspondence is sent State the second feedback result.
It is preferred that, when the destinations traffic agreement is first agreement, the protocol contents include the protocol fields, And first protocol contents are:When first agreement has the first protocol fields, the acquisition module, specifically for:
Pass through first agreement with the second protocol field different from first protocol fields and the service Device is communicated.
One or more of embodiment of the present invention technical scheme, has at least the following technical effects or advantages:
The application is modified by the protocol contents to destinations traffic agreement, will include agreement transmitting-receiving number of times, agreement word The protocol contents of section, multi-party interaction sub-protocol and at least class in middle sub-protocol are revised as the second association by the first protocol contents Discuss content, next, it is determined that by the destinations traffic agreement with second protocol content with obtained after server communication it is second anti- Result is presented, with being by the destinations traffic agreement with the first protocol contents and the first feedback result for being obtained after server communication No identical, when the second feedback result is identical with the first feedback result, test result is that the live software has leak, when the When two feedback results are different from the first feedback result, test result is that leak is not present in the live software, it is achieved thereby that right The technique effect that the leak of live software is tested, and then allow a developer to repair leak in time, it is to avoid hacker utilizes The leak of live software causes damage to the client and server of live software.
Brief description of the drawings
By reading the detailed description of hereafter preferred embodiment, various other advantages and benefit is common for this area Technical staff will be clear understanding.Accompanying drawing is only used for showing the purpose of preferred embodiment, and is not considered as to the present invention Limitation.And in whole accompanying drawing, identical part is represented with identical reference pattern.In the accompanying drawings:
Fig. 1 shows a kind of flow chart of the method for testing of live software in the embodiment of the present invention;
Fig. 2 shows a kind of structure chart of the test device of live software in the embodiment of the present invention.
Embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although showing the disclosure in accompanying drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here Limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure Complete conveys to those skilled in the art.
The embodiment of the present invention is provided in a kind of method of testing of live software, the client applied to the live software, As shown in figure 1, methods described includes:
Step 101:In communication protocol between the server of the client and the live software, target is determined Communication protocol.
Step 102:By the protocol contents of the destinations traffic agreement by default first protocol contents be revised as with it is described The different second protocol content of first protocol contents, wherein, the protocol contents include agreement transmitting-receiving number of times, protocol fields, many At least one of side's interaction sub-protocol and middle sub-protocol, when the client passes through the mesh with first protocol contents When mark communication protocol is communicated with the server, the feedback result that the client receives the server transmission is first Feedback result.
Step 103:Led to by the destinations traffic agreement with the second protocol content and the server Letter, obtains the second feedback result that the server is sent.
Step 104:Judge whether second feedback result is identical with first feedback result, obtain described live soft The test result of part.Wherein, when second feedback result is identical with first feedback result, the test result is institute State live software and there is leak, when second feedback result is different with first feedback result, the test result is Leak is not present in the live software.
The application is modified by the protocol contents to destinations traffic agreement, will include agreement transmitting-receiving number of times, agreement word The protocol contents of section, multi-party interaction sub-protocol and at least class in middle sub-protocol are revised as the second association by the first protocol contents Discuss content, next, it is determined that by the destinations traffic agreement with second protocol content with obtained after server communication it is second anti- Result is presented, with being by the destinations traffic agreement with the first protocol contents and the first feedback result for being obtained after server communication No identical, when the second feedback result is identical with the first feedback result, test result is that the live software has leak, when the When two feedback results are different from the first feedback result, test result is that leak is not present in the live software, it is achieved thereby that right The technique effect that the leak of live software is tested, and then allow a developer to repair leak in time, it is to avoid hacker utilizes The leak of live software causes damage to the client and server of live software.
In this application, all communication protocols between client and the server of live software are obtained first, then, from Destinations traffic agreement is determined in the communication protocol of acquisition, destinations traffic agreement can be to belong to the first association of live task class Discuss, belong to the second protocol of multi-party interactive class or the 3rd agreement comprising middle sub-protocol.Below destinations traffic will be directed to respectively Agreement is specifically analyzed for three kinds of different situations of the first agreement, second protocol and the 3rd agreement:
When destinations traffic agreement is the first agreement, the protocol contents in destinations traffic agreement can include agreement transmitting-receiving time Number.Further, if the first protocol contents that destinations traffic agreement is pre-set are:Agreement receives and dispatches number of times, specifically, When the first protocol contents are:When agreement transmitting-receiving number of times is one time, client sends a destinations traffic agreement to server, will obtain Obtain first feedback result that server is sent.Further, for afore-mentioned, it is described that transmission can be repeated several times in client First agreement obtains multiple second feedback results that the server correspondence is sent to the server.
For example, when the first agreement is the agreement of completion task, wherein, the task that completes can be user's download games, from And the first agreement completes agreement to download, further, when the first protocol contents are:Client send once download complete agreement to Server, server is awarded to client by portion is sent, so that, the application is repeated several times to send to download by client and completed Agreement is to server, if many parts of rewards of server feedback, show that live software has leak, if server only feeds back a prize Encourage, then show that leak is not present in live software.
When destinations traffic agreement is the first agreement, the protocol contents in destinations traffic agreement can include protocol fields. Further, if the first protocol contents that destinations traffic agreement is pre-set are:First agreement has the first protocol fields, specific next Say, when the first protocol contents are:When first agreement has the first protocol fields, client sends the with the first protocol fields One agreement will obtain the first feedback result that server is sent to server.Further, for afore-mentioned, client can be with Led to by first agreement with the second protocol field different from first protocol fields and the server Letter.
For example, when the first agreement is the agreement of completion task, wherein, the task that completes can be user's download games, from And the first agreement completes agreement to download, the protocol fields for completing to include task name in agreement are downloaded, protocol fields will be protected The task name of task, further, when the first agreement is:The download that client sends the protocol fields for including first task name is completed Agreement is to server, and server is awarded to client by portion is sent, so that, the application is by changing the tasks of protocol fields Name, the download for sending the protocol fields with the second task name completes agreement to server, if server still feeds back a prize Encourage to client, then show that live software has leak, if server does not feed back reward, show that leakage is not present in live software Hole.
The application is the first agreement for destinations traffic agreement, with reference to above-mentioned two situations, provides following examples:
Assuming that completion agreement is downloaded in a game has following form:
downloadinfo:“gameid@:001”;
Wherein, protocol type is downloadinfo, and protocol contents are " gameid@:001 ", field " gameid@:001” Represent the game entitled 001 downloaded.Then, the protocol contents for sending downloadinfo can be repeated several times to service in the application Device, judges whether server can give client many parts of rewards, if there is many parts of rewards, then shows that live software has leak. At the same time it can also which game name is modified, will download completion protocol modification is:downloadinfo:“gameid@: 002 ", and amended completion agreement of downloading is sent to server, judge whether server can reward to client, if clothes Business device feeds back to client reward, then shows that live software has leak.
When destinations traffic agreement is second protocol, the protocol contents in destinations traffic agreement can include multi-party interactive class Agreement, in the communication process of client, server and third-party platform, communication protocol can be multi-party interactive class agreement, i.e. A plurality of interaction protocol will be produced in communication process.Further, if the first protocol contents that destinations traffic agreement is pre-set are: The server is recognized in receive that the first certification success sub-protocol and third-party platform that the client sends send second Demonstrate,prove successfully the rear of sub-protocol and send first feedback result to the client.Further, for afore-mentioned, client can To send the first certification success sub-protocol while the second certification success sub-protocol is covered to server.
For example, when live software access third party supplements platform with money, when supplementing with money, client initiates charging request to the first Tripartite supplements platform and server with money, then third party supplement with money platform can return server and client side supplement with money whether successfully assist View, client sends the agreement of successful recharging to server, request server feedback recharge bonus, when the first protocol contents are: Server, which is received after third party supplements the first successful recharging sub-protocol of platform transmission with money, to be judged whether to receive client hair The the second successful recharging sub-protocol sent, if server receives the first successful recharging sub-protocol and the second successful recharging sub-protocol, Then server feedback gives client recharge bonus, so that, in this application, platform is supplemented with money by covering third party and is sent to service Second successful recharging sub-protocol of device, while client sends the first successful recharging sub-protocol to server, if server is still Recharge bonus is fed back, then shows that live software has leak.
Protocol contents in destinations traffic agreement is the 3rd agreement, destinations traffic agreement can include middle sub-protocol. Further, if the first protocol contents of the default setting of destinations traffic agreement are:The middle sub-protocol that 3rd protocol package contains When quantity is the first quantity, client sends the middle sub-protocol with the first quantity to server, will obtain server and sends The first feedback result.Further, for afore-mentioned, client can be by the quantity of the middle sub-protocol of the 3rd agreement Reduced by first quantity to the second quantity, and the 3rd agreement for passing through the middle sub-protocol with second quantity Communicated with the server.
For example, for complicated task, client will send the agreement for including a plurality of intermediate result to server, and most Latter bar completes agreement and is sent to after server, and server feedback completes the reward of task, it is assumed that complete the protocol package of task Containing sub-protocol in the middle of following two:
Taskinfo:“start@:001”
Taskinfo:“step1@:001”
Taskinfo:“step2@:001”
Taskinfo:“finish@:001”
Wherein, first agreement represents that task 001 starts agreement, and Article 2 agreement represents that task 001 completes the first stage, Article 3 agreement represents that task 001 completes second stage, and Article 4 agreement represents that task 001 completes agreement.First protocol contents Feedback is awarded to client after being sequentially received above-mentioned four agreements for server.And then, the application can reduce middle son The quantity of agreement, e.g., client only send first article of agreement, Article 2 agreement and the 4th agreement to server, or client is only First agreement, Article 3 agreement and Article 4 agreement are sent to server, so as to judge whether server feeds back client prize Encourage, if feedback reward, shows that live software has leak.
Based on same inventive concept, the embodiment of the present invention also provides a kind of test device of live software, applied to described In the client of live software, as shown in Fig. 2 described device includes:
Determining module 201, in the communication protocol between the server of the client and the live software, really Make destinations traffic agreement;
Modified module 202, for the protocol contents of the destinations traffic agreement to be changed by default first protocol contents For the second protocol content different from first protocol contents, wherein, the protocol contents include agreement transmitting-receiving number of times, agreement At least one of field, multi-party interaction sub-protocol and middle sub-protocol, when the client passes through with first agreement When the destinations traffic agreement of content is communicated with the server, the client receives the feedback knot that the server is sent Fruit is the first feedback result;
Module 203 is obtained, for passing through the destinations traffic agreement with the second protocol content and the service Device is communicated, and obtains the second feedback result that the server is sent;
Judge module 204, for judging whether second feedback result is identical with first feedback result, obtains institute State the test result of live software;
Wherein, when second feedback result is identical with first feedback result, the test result is described straight Broadcast software and there is leak, when second feedback result is different with first feedback result, the test result is described Leak is not present in live software.
It is preferred that, the destinations traffic agreement is to belong to the first agreement of live task class, belong to the of multi-party interactive class Two agreements or the 3rd agreement comprising middle sub-protocol.
It is preferred that, when the destinations traffic agreement is first agreement, the protocol contents are received and dispatched including the agreement Number of times, and first protocol contents are:When agreement transmitting-receiving number of times is one time, the acquisition module, specifically for:
It is repeated several times and sends first agreement to the server, and obtains multiple institutes that the server correspondence is sent State the second feedback result.
It is preferred that, when the destinations traffic agreement is first agreement, the protocol contents include the protocol fields, And first protocol contents are:When first agreement has the first protocol fields, the acquisition module, specifically for:
Pass through first agreement with the second protocol field different from first protocol fields and the service Device is communicated.
Technical scheme in above-mentioned the embodiment of the present application, at least has the following technical effect that or advantage:
The application is modified by the protocol contents to destinations traffic agreement, will include agreement transmitting-receiving number of times, agreement word The protocol contents of section, multi-party interaction sub-protocol and at least class in middle sub-protocol are revised as the second association by the first protocol contents Discuss content, next, it is determined that by the destinations traffic agreement with second protocol content with obtained after server communication it is second anti- Result is presented, with being by the destinations traffic agreement with the first protocol contents and the first feedback result for being obtained after server communication No identical, when the second feedback result is identical with the first feedback result, test result is that the live software has leak, when the When two feedback results are different from the first feedback result, test result is that leak is not present in the live software, it is achieved thereby that right The technique effect that the leak of live software is tested, and then allow a developer to repair leak in time, it is to avoid hacker utilizes The leak of live software causes damage to the client and server of live software.
Algorithm and display be not inherently related to any certain computer, virtual system or miscellaneous equipment provided herein. Various general-purpose systems can also be used together with based on teaching in this.As described above, construct required by this kind of system Structure be obvious.In addition, the present invention is not also directed to any certain programmed language.It is understood that, it is possible to use it is various Programming language realizes the content of invention described herein, and the description done above to language-specific is to disclose this hair Bright preferred forms.
In the specification that this place is provided, numerous specific details are set forth.It is to be appreciated, however, that the implementation of the present invention Example can be put into practice in the case of these no details.In some instances, known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify the disclosure and help to understand one or more of each inventive aspect, exist Above in the description of the exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes In example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:It is i.e. required to protect The application claims of shield features more more than the feature being expressly recited in each claim.More precisely, such as following Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore, Thus the claims for following embodiment are expressly incorporated in the embodiment, wherein each claim is in itself All as the separate embodiments of the present invention.
Those skilled in the art, which are appreciated that, to be carried out adaptively to the module in the equipment in embodiment Change and they are arranged in one or more equipment different from the embodiment.Can be the module or list in embodiment Member or component be combined into a module or unit or component, and can be divided into addition multiple submodule or subelement or Sub-component.In addition at least some in such feature and/or process or unit exclude each other, it can use any Combination is disclosed to all features disclosed in this specification (including adjoint claim, summary and accompanying drawing) and so to appoint Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification (including adjoint power Profit is required, summary and accompanying drawing) disclosed in each feature can or similar purpose identical, equivalent by offer alternative features come generation Replace.
Although in addition, it will be appreciated by those of skill in the art that some embodiments described herein include other embodiments In included some features rather than further feature, but the combination of the feature of be the same as Example does not mean in of the invention Within the scope of and form different embodiments.For example, in the following claims, times of embodiment claimed One of meaning mode can be used in any combination.
The present invention all parts embodiment can be realized with hardware, or with one or more processor run Software module realize, or realized with combinations thereof.It will be understood by those of skill in the art that can use in practice In the test device of microprocessor or digital signal processor (DSP) to realize live software according to embodiments of the present invention The some or all functions of some or all parts.The present invention is also implemented as being used to perform method as described herein Some or all equipment or program of device (for example, computer program and computer program product).Such reality The program of the existing present invention can be stored on a computer-readable medium, or can have the form of one or more signal. Such signal can be downloaded from internet website and obtained, and either be provided or in any other form on carrier signal There is provided.
It should be noted that the present invention will be described rather than limits the invention for above-described embodiment, and ability Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference symbol between bracket should not be configured to limitations on claims.Word "comprising" is not excluded the presence of not Element or step listed in the claims.Word "a" or "an" before element does not exclude the presence of multiple such Element.The present invention can be by means of including the hardware of some different elements and coming real by means of properly programmed computer It is existing.In if the unit claim of equipment for drying is listed, several in these devices can be by same hardware branch To embody.The use of word first, second, and third does not indicate that any order.These words can be explained and run after fame Claim.

Claims (10)

1. in a kind of method of testing of live software, the client applied to the live software, it is characterised in that methods described Including:
In communication protocol between the server of the client and the live software, destinations traffic agreement is determined;
The protocol contents of the destinations traffic agreement are revised as and first protocol contents by default first protocol contents Different second protocol contents, wherein, the protocol contents include agreement transmitting-receiving number of times, protocol fields, interact sub-protocol in many ways At least one of with middle sub-protocol, when the client by the destinations traffic agreement with first protocol contents with When the server is communicated, the feedback result that the client receives the server transmission is the first feedback result;
Communicated by the destinations traffic agreement with the second protocol content with the server, obtain the clothes The second feedback result that business device is sent;
Judge whether second feedback result is identical with first feedback result, obtain the test knot of the live software Really;
Wherein, when second feedback result is identical with first feedback result, the test result is described live soft There is leak in part, when second feedback result is different with first feedback result, and the test result is described live Leak is not present in software.
2. the method for testing of live software as claimed in claim 1, it is characterised in that the destinations traffic agreement is to belong to straight The first agreement for broadcasting task class, the second protocol for belonging to multi-party interactive class or the 3rd agreement comprising middle sub-protocol.
3. the method for testing of live software as claimed in claim 2, it is characterised in that when the destinations traffic agreement is described First agreement, the protocol contents include the agreement and receive and dispatch number of times, and first protocol contents are:Agreement receives and dispatches number of times It is described to be communicated by the destinations traffic agreement with the second protocol content with the server at time, obtain The second feedback result that the server is sent is obtained, including:
It is repeated several times and sends first agreement to the server, and obtain that the server correspondence sends multiple described the Two feedback results.
4. the method for testing of live software as claimed in claim 2, it is characterised in that when the destinations traffic agreement is described First agreement, the protocol contents include the protocol fields, and first protocol contents are:First agreement has the During one protocol fields, the destinations traffic agreement by with the second protocol content is led to the server Letter, including:
Entered by first agreement with the second protocol field different from first protocol fields with the server Row communication.
5. the method for testing of live software as claimed in claim 2, it is characterised in that when the destinations traffic agreement is described Second protocol, the protocol contents include the multi-party interactive class agreement, and first protocol contents are:The server exists Receive the successful sub-protocol of the second certification of the first certification success sub-protocol and third-party platform transmission that the client is sent It is rear send first feedback result to the client, it is described logical by the target with the second protocol content Letter agreement is communicated with the server, including:
The first certification success sub-protocol is sent while the second certification success sub-protocol is covered to server.
6. the method for testing of live software as claimed in claim 2, it is characterised in that when the destinations traffic agreement is described 3rd agreement, the protocol contents include middle sub-protocol, and first protocol contents are:During 3rd protocol package contains Between sub-protocol quantity be the first quantity when, it is described by with the destinations traffic agreement of the second protocol content and institute Server is stated to be communicated, including:
The quantity of the middle sub-protocol of 3rd agreement is reduced to the second quantity by first quantity, and by with institute The 3rd agreement for stating the middle sub-protocol of the second quantity is communicated with the server.
7. in a kind of test device of live software, the client applied to the live software, it is characterised in that described device Including:
Determining module, in the communication protocol between the server of the client and the live software, determining mesh Mark communication protocol;
Modified module, for by the protocol contents of the destinations traffic agreement by default first protocol contents be revised as with it is described The different second protocol content of first protocol contents, wherein, the protocol contents include agreement transmitting-receiving number of times, protocol fields, many At least one of side's interaction sub-protocol and middle sub-protocol, when the client passes through the mesh with first protocol contents When mark communication protocol is communicated with the server, the feedback result that the client receives the server transmission is first Feedback result;
Module is obtained, for being led to by the destinations traffic agreement with the second protocol content and the server Letter, obtains the second feedback result that the server is sent;
Judge module, for judging whether second feedback result is identical with first feedback result, is obtained described live The test result of software;
Wherein, when second feedback result is identical with first feedback result, the test result is described live soft There is leak in part, when second feedback result is different with first feedback result, and the test result is described live Leak is not present in software.
8. the test device of live software as claimed in claim 7, it is characterised in that the destinations traffic agreement is to belong to straight The first agreement for broadcasting task class, the second protocol for belonging to multi-party interactive class or the 3rd agreement comprising middle sub-protocol.
9. the test device of live software as claimed in claim 8, it is characterised in that when the destinations traffic agreement is described First agreement, the protocol contents include the agreement and receive and dispatch number of times, and first protocol contents are:Agreement receives and dispatches number of times An at time, the acquisition module, specifically for:
It is repeated several times and sends first agreement to the server, and obtain that the server correspondence sends multiple described the Two feedback results.
10. the test device of live software as claimed in claim 8, it is characterised in that when the destinations traffic agreement is institute The first agreement is stated, the protocol contents include the protocol fields, and first protocol contents are:First agreement has During the first protocol fields, the acquisition module, specifically for:
Entered by first agreement with the second protocol field different from first protocol fields with the server Row communication.
CN201710206773.9A 2017-03-31 2017-03-31 The method of testing and device of a kind of live software Pending CN107154929A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710206773.9A CN107154929A (en) 2017-03-31 2017-03-31 The method of testing and device of a kind of live software

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710206773.9A CN107154929A (en) 2017-03-31 2017-03-31 The method of testing and device of a kind of live software

Publications (1)

Publication Number Publication Date
CN107154929A true CN107154929A (en) 2017-09-12

Family

ID=59794080

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710206773.9A Pending CN107154929A (en) 2017-03-31 2017-03-31 The method of testing and device of a kind of live software

Country Status (1)

Country Link
CN (1) CN107154929A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113965551A (en) * 2020-07-03 2022-01-21 北京金山云网络技术有限公司 Method, device and system for testing streaming media scene and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060161897A1 (en) * 2005-01-19 2006-07-20 International Business Machines Corporation Using code motion and write and read delays to increase the probability of bug detection in concurrent systems
US20080301647A1 (en) * 2007-06-01 2008-12-04 Microsoft Corporation Delivering Malformed Data for Fuzz Testing to Software Applications
US20120079439A1 (en) * 2010-09-27 2012-03-29 Teseda Corporation Suspect logical region synthesis from device design and test information
CN103036730A (en) * 2011-09-29 2013-04-10 西门子公司 Method and device for achieving safety testing on protocol implementation
US20140201573A1 (en) * 2013-01-14 2014-07-17 International Business Machines Corporation Defect analysis system for error impact reduction
CN105678169A (en) * 2015-12-30 2016-06-15 西安胡门网络技术有限公司 Binary program vulnerability discovery method and system
CN106294094A (en) * 2015-05-13 2017-01-04 腾讯科技(成都)有限公司 The method of testing of game server, client, server and system
CN106302025A (en) * 2016-08-22 2017-01-04 腾讯科技(深圳)有限公司 The automated testing method of communication protocol and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060161897A1 (en) * 2005-01-19 2006-07-20 International Business Machines Corporation Using code motion and write and read delays to increase the probability of bug detection in concurrent systems
US20080301647A1 (en) * 2007-06-01 2008-12-04 Microsoft Corporation Delivering Malformed Data for Fuzz Testing to Software Applications
US20120079439A1 (en) * 2010-09-27 2012-03-29 Teseda Corporation Suspect logical region synthesis from device design and test information
CN103036730A (en) * 2011-09-29 2013-04-10 西门子公司 Method and device for achieving safety testing on protocol implementation
US20140201573A1 (en) * 2013-01-14 2014-07-17 International Business Machines Corporation Defect analysis system for error impact reduction
CN106294094A (en) * 2015-05-13 2017-01-04 腾讯科技(成都)有限公司 The method of testing of game server, client, server and system
CN105678169A (en) * 2015-12-30 2016-06-15 西安胡门网络技术有限公司 Binary program vulnerability discovery method and system
CN106302025A (en) * 2016-08-22 2017-01-04 腾讯科技(深圳)有限公司 The automated testing method of communication protocol and device

Non-Patent Citations (7)

* Cited by examiner, † Cited by third party
Title
周婧: "基于Linux平台的游戏充值系统设计与实现", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *
孔霞: "面向容错服务器的软件故障注入工具的研制", 《第十届全国容错计算学术会议论文集》 *
张青蓉: "基于移动支付的空中充值系统设计开发与应用", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *
徐晋著: "第3章 网络游戏平台竞争分析", 《平台竞争战略》 *
房友园: "面向通信协议故障的分布式软件可靠性测试技术研究", 《计算机科学》 *
曾凡平: "软件漏洞测试若干问题研究", 《中国博士学位论文全文数据库 信息科技辑》 *
李舟军: "软件安全漏洞检测技术", 《计算机学报》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113965551A (en) * 2020-07-03 2022-01-21 北京金山云网络技术有限公司 Method, device and system for testing streaming media scene and storage medium
CN113965551B (en) * 2020-07-03 2024-09-13 北京金山云网络技术有限公司 Streaming media scene testing method, device and system and storage medium

Similar Documents

Publication Publication Date Title
CN105608145B (en) The method and device of download based on downloading channel statistics application software
CN104902019B (en) A kind of application method, server and terminal
Sarmenta Volunteer computing
CN105897779B (en) Application service method based on two dimensional code and the application server based on two dimensional code
CN108391155A (en) Interactive live broadcasting method, client, server and system
CN106060574B (en) Show the method and device of live video stream in gaming
KR20100014941A (en) Distributed network architecture for introducing dynamic content into a synthetic environment
CN107526582B (en) Web game control method and device
CN106993233A (en) Information processing method and device based on net cast
CN109789337A (en) For verifying and the system and method for the interaction of third party's interactive media
CN105126342B (en) A kind of game score method and apparatus
CN106649114B (en) The method and apparatus that application crash is positioned
CN108744523A (en) Game recommdation method, apparatus and computer readable storage medium
CN108011917A (en) The method, apparatus and system of data sharing
CN109240908A (en) Abnormality test use-case template establishment method and device
CN106169143A (en) The method for down loading of a kind of data and device
CN110321502A (en) Electronics promotes resource carousel control method, device, terminal and readable storage medium storing program for executing
CN107578210A (en) The automated testing method and device of contract approval flow
CN1625426A (en) Game-specific standard-task automation for computer and console video games
CN110334030A (en) Application testing method, device, terminal and computer readable storage medium
van der Vegt et al. RAGE reusable game software components and their integration into serious game engines
CN104092694B (en) A kind of method and system of the account distribution of mobile phone games
CN107154929A (en) The method of testing and device of a kind of live software
CN108921407A (en) A kind of task processing system and method
CN108553904B (en) Game matching method and device, electronic equipment and 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20170912

RJ01 Rejection of invention patent application after publication