CN108255727A - Data receiver, sending method and device test system, storage medium - Google Patents

Data receiver, sending method and device test system, storage medium Download PDF

Info

Publication number
CN108255727A
CN108255727A CN201810050052.8A CN201810050052A CN108255727A CN 108255727 A CN108255727 A CN 108255727A CN 201810050052 A CN201810050052 A CN 201810050052A CN 108255727 A CN108255727 A CN 108255727A
Authority
CN
China
Prior art keywords
data
test case
game
test
virtual 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.)
Pending
Application number
CN201810050052.8A
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.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network 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 Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN201810050052.8A priority Critical patent/CN108255727A/en
Publication of CN108255727A publication Critical patent/CN108255727A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases

Landscapes

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

Abstract

The invention discloses a kind of data receiver, sending method and devices, test system, storage medium.Wherein, which includes:In test case operational process, by remote procedure call node to game server inquiry request;Wherein, inquiry request obtains game data needed for test case operational process for request to game server;The game data of game server return is received by RPC nodes;Wherein, game data data-query interfaces corresponding with inquiry request from game server obtain.The present invention solves when data acquisition is played in the relevant technologies the technical issues of dependent on game logic.

Description

Data receiver, sending method and device test system, storage medium
Technical field
The present invention relates to field of play, in particular to a kind of data receiver, sending method and device, test system, Storage medium.
Background technology
During network game development, when tester's test server function has to cover multi-client steps on simultaneously Various random concurrent operations behaviors during record game, game server ensure that logic robustness is test under multi-client operation Important link.Generally using local working environment during the execution multi-client test server function of tester's routine Under manually boot multiple client Connection Service device and operated, the client terminal quantity that this means of testing can operate simultaneously has Limit, the frequency of each client manual operation also are difficult to the concurrency for really reflecting the operation of more clients, many Critical anomaly situations Test point with manual test mode be difficult to cover.
Existing server multi-client test supplementary means is typically all actual customer end to be replaced to survey with Mian Ke robots Try server.The key foundations modules such as the network of a transplanting real gaming client are exactly built by so-called Mian Ke robots Application process, when operation, create a large amount of virtual clients according to the internetwork connection mode of real gaming client and transmitting-receiving packet protocol Connection Service device is removed, game is logged into, carries out network send and receive packets interaction according to test case execution behavioral test and server.But Existing technic relization scheme Zhong Mianke robots are all according to similar exploitation game visitor mostly when testing server The thinking of family end logical code realizes test code in robot code framework, and test code is by calling behavioral test to be related to Network agreement of giving out a contract for a project give out a contract for a project, server packet receiving handled by agreement unpacking to manipulate the interaction of each robot and server. Wherein, each virtual client mainly relies on to server network packet the update of the judgement of behavioral test and itself relevant information Processing, since the procotol to communicate between server and client side has very much, and depacketization logic and game identification code relevance are big, Many game item groups exploitation Mian Ke robots realize process all can the logical code of transplanting game client of large scale arrive In robot code framework.
The code realization that above-mentioned Mian Ke robots perform behavioral test is all coupling in robot framework code, is opened with game Hair is closely connected, and the code of many test cases needs developer to realize, it has not been convenient to tester's rapid configuration go out it is various not Same test case behavior does not meet the software development principle of logical AND configuration separation in using practice.And robot generation When transplanting excessive game identification code logic in code, robot code and game logic correlation can be caused excessively high, once game logic Iteration is frequent, and robot base's code is also required to safeguard often, is unfavorable for robot and uses stabilization.
For it is above-mentioned the problem of, currently no effective solution has been proposed.
Invention content
An embodiment of the present invention provides a kind of data receiver, sending method and device, system is tested, storage medium, so that The technical issues of solving to depend on game logic during game data acquisition in the relevant technologies less.
One side according to embodiments of the present invention provides a kind of data receiver method, including:It is run in test case In the process, by remote procedure call node to game server inquiry request;Wherein, inquiry request is used to ask Game data needed for test case operational process is obtained to game server;Game server is received by RPC nodes to return The game data returned;Wherein, game data data-query interfaces corresponding with inquiry request from game server obtain.
One side according to embodiments of the present invention provides a kind of data transmission method for uplink, including:It is transported in virtual client During row test case, the inquiry request that virtual client is sent by remote procedure call node is received, wherein, Inquiry request obtains game data needed for test case operational process for request to game server;According to inquiry request Locally searching data-query interfaces corresponding with inquiry request;According to the data-query interfaces that find obtain game data with And the game data of acquisition is sent to virtual client.
Another aspect according to embodiments of the present invention additionally provides a kind of test system, including:Game server and virtual Client;Wherein, data query manager is deployed in game server, there are one the maintenances of data query manager or multiple numbers According to query interface;Virtual client, in test case operational process, by remote procedure call node to data Inquiry manager sends inquiry request, wherein, inquiry request is for game needed for acquisition request test case operational process Data;Data query manager, for after inquiry request is received, searching and looking into from one or more data-query interfaces It askes and asks corresponding data-query interfaces, game data and the game by acquisition are obtained according to the data-query interfaces found Data are sent to virtual client.
Another aspect according to embodiments of the present invention additionally provides a kind of data sink, including:Sending module is used In in test case operational process, by remote procedure call node to game server inquiry request;Wherein, Inquiry request obtains game data needed for test case operational process for request to game server;Receiving module is used In the game data that game server return is received by RPC nodes;Wherein, game data please with inquiry from game server Ask what corresponding data-query interfaces obtained.
Another aspect according to embodiments of the present invention additionally provides a kind of data sending device, including:Receiving module is used It is sent in during virtual client testing results use-case, receiving virtual client by remote procedure call node Inquiry request, wherein, inquiry request for ask to game server obtain test case operational process needed for game Data;Searching module, for locally searching data-query interfaces corresponding with inquiry request according to inquiry request;Obtain mould Block, for obtaining game data according to the data-query interfaces found;Sending module, for the game data obtained to be sent To virtual client.
According to still another embodiment of the invention, a kind of storage medium is additionally provided, computer is stored in storage medium Program, wherein, the computer program is arranged to perform the step in any of the above-described embodiment of the method during operation.
According to still another embodiment of the invention, a kind of electronic device is additionally provided, it is described including memory and processor Computer program is stored in memory, the processor is arranged to run the computer program to perform any of the above-described Step in embodiment of the method.
In embodiments of the present invention, using in the operational process of test case by RPC nodes into game server Inquiry request is sent, test case operational process is obtained by data-query interfaces corresponding with inquiry request in game server The mode of required game data calls the data-query interfaces in game server, with the side actively accessed by RPC nodes Formula has reached to obtain the game data needed for test case operational process and has mitigated dependence game logic when game data obtains Purpose it is achieved thereby that reducing the technique effect with game logic coupling, and then solves game data in the relevant technologies and obtains The technical issues of game logic is depended on when taking.
Description of the drawings
Attached drawing described herein is used to provide further understanding of the present invention, and forms the part of the application, this hair Bright illustrative embodiments and their description do not constitute improper limitations of the present invention for explaining the present invention.In the accompanying drawings:
Fig. 1 is the flow diagram of data receiver method provided according to embodiments of the present invention;
Fig. 2 is the flow diagram of the data transmission method for uplink provided according to embodiments of the present invention;
Fig. 3 is the flow diagram of test system provided according to embodiments of the present invention;
Fig. 4 is the structure diagram of the data sink provided according to embodiments of the present invention;
Fig. 5 is the structure diagram of the data sending device provided according to embodiments of the present invention;
Fig. 6 is the program structure schematic diagram according to preferred embodiment of the present invention Mian Ke robots related function module;
Fig. 7 is the program structure signal of related function module in the virtual client provided according to the preferred embodiment of the present invention Figure;
Fig. 8 is one of behavior tree test case editing machine related function module provided according to the preferred embodiment of the present invention Structure diagram;
Fig. 9 is tested using Mian Ke robots game server one provided according to the preferred embodiment of the present invention A implementation process diagram;
Figure 10 is from game server according to the behavior tree test case that the preferred embodiment of the present invention provides by RPC nodes Obtain an implementation process diagram of game related data;
Figure 11 is that the behavior tree that is provided according to the preferred embodiment of the present invention performs after RPC nodes behavior tree from suspending to recovery One implementation process diagram of process;
Figure 12 can be attacked around player's acquisition in the behavior tree test case provided according to the preferred embodiment of the present invention Hit the behavior tree branched structure figure that target is attacked.
Specific embodiment
In order to which those skilled in the art is made to more fully understand the present invention program, below in conjunction in the embodiment of the present invention The technical solution in the embodiment of the present invention is clearly and completely described in attached drawing, it is clear that described embodiment is only The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people Member's all other embodiments obtained without making creative work should all belong to the model that the present invention protects It encloses.
It should be noted that term " first " in description and claims of this specification and above-mentioned attached drawing, " Two " etc. be the object for distinguishing similar, and specific sequence or precedence are described without being used for.It should be appreciated that it uses in this way Data can be interchanged in the appropriate case, so as to the embodiment of the present invention described herein can in addition to illustrating herein or Sequence other than those of description is implemented.In addition, term " comprising " and " having " and their any deformation, it is intended that cover Cover it is non-exclusive include, be not necessarily limited to for example, containing the process of series of steps or unit, method, system, product or equipment Those steps or unit clearly listed, but may include not listing clearly or for these processes, method, product Or the intrinsic other steps of equipment or unit.
According to embodiments of the present invention, a kind of embodiment of the method for data receiver is provided, it should be noted that in attached drawing The step of flow illustrates can perform in the computer system of such as a group of computer-executable instructions, although also, Logical order is shown in flow chart, but in some cases, it can perform shown with the sequence being different from herein or retouch The step of stating.
Fig. 1 is the flow diagram of data receiver method provided according to embodiments of the present invention, as shown in Figure 1, this method Include the following steps:
Step S102, in test case operational process, by remote procedure call node to game server Inquiry request;Wherein, the inquiry request is obtained to the game server in the test case operational process for request Required game data;
Step S104 receives the game data of the game server return by the RPC nodes;Wherein, institute State what game data data-query interfaces corresponding with the inquiry request from the game server obtained.
By above-mentioned steps, sent using in the operational process of test case by RPC nodes into game server Inquiry request is obtained by data-query interfaces corresponding with inquiry request in game server needed for test case operational process Game data mode, by RPC nodes call game server in data-query interfaces, in a manner of actively accessing come The game data needed for test case operational process is obtained, has reached the mesh for mitigating and game logic being relied on when game data obtains , it is achieved thereby that reducing the technique effect with game logic coupling, and then solve data acquisition of playing in the relevant technologies When depend on game logic the technical issues of.
It it should be noted that can be with the normal net for being related to game logic of game server by above-mentioned RPC nodes Network agreement, which is given out a contract for a project, is filtered processing, can save the network in Mian Ke robots (default application program) operational process and unpack CPU overhead.
It should be noted that above-mentioned game data can include each game account data in game, but it is not limited to this.
It should be noted that above-mentioned game data can be game server according to agreement layout sequence, network is broken into Packet is returned by way of test protocol number, and above-mentioned inquiry request can also be sent out by way of the network packet of test protocol number Give game server.
It should be noted that above-mentioned data-query interfaces are looked by game server by the data in the game server Manager is ask to be safeguarded.
In one embodiment of the invention, above-mentioned test case is combined behavior tree node by default application program It obtains, wherein, what the behavior tree node was chosen from pre-set behavior tree node library, it is right that the behavior tree node passes through The behavioral test coupled with game logic is packaged to obtain.By the way that row will be turned to the function package that game logic is closely connected For tree node, then it is combined to build test case using behavior tree node, realizes configuration and the logic of test case The purpose of separation, test case configuration can keep stable as possible;Behavior tree node can constantly extend as needed, and test is used For routine for that can enrich constantly, behavior tree node can have very high reusability so that and test case behavior is more intelligent, from Dynamicization.
It should be noted that above-mentioned default application program is referred to as above-mentioned Mian Ke robots.
It should be noted that above-mentioned default application program can also provide user interface UI operation interfaces, wherein, above-mentioned UI Operation interface is used to show the test case object of test case according to the control command received.
It should be noted that above-mentioned default application program is combined behavior tree node and can show as, it is above-mentioned default Application program can be combined behavior tree node by the control instruction received, and but it is not limited to this.Thus, it can also By above-mentioned UI operation interfaces, behavior tree node is combined based on the control instruction received.
Visual interface is provided by above-mentioned UI operation interfaces, instead of directly instructing by way of edlin, Preferably improve user experience.And by the structure of above-mentioned UI operation interfaces act of revision tree and survey can be reconfigured Example on probation.
It should be noted that behavior tree is a multi-branch tree data structure, node type can be divided into according to rule and patrol Volume node, condition node and behavior node, all types of nodes can be enriched constantly extension according to test case demand.
It should be noted that each test case corresponds to an independent behavior tree configuration file, the configuration of behavior tree The corresponding behavior tree assembling information of test case, the behavior tree node included the use of are recorded in file, behavior tree node is used Level and connection relation between parameter and each behavior tree node, above-mentioned behavior tree configuration file can be xml or json forms, But it is not limited in this.
It should be noted that above-mentioned behavior tree node library is set in advance in the test case pipe in the default application program It manages in device, wherein, the test case management device can have the function of at least one of:It supports newly-increased test case, supports Test case is changed, supports to delete test case, supports to be that the virtual client is only in the test case operational process It erects and puts test case, support to be the virtual client independence switch test use-case in test case operational process, support It is the virtual client independence operation suspension test case in test case operational process.
It should be noted that can be there are one test case unit in each virtual client operational process, the test Use-case unit can be driven empty by above-mentioned test case management device management when test case unit is run according to preset test case Intend client and behavioral test is performed to game server.
In one embodiment of the invention, after above-mentioned steps S104, the above method further includes:It will in a manner of variable The game data storage is in local dynamic data management device.The game data of acquisition is stored in by variable representation It is used in local for accessing, and then the artificial intelligence automatic test case for more meeting player's real behavior can be built.
It should be noted that the dynamic data management device can be arranged in above-mentioned test case unit, the dynamic data Manager can preserve generated variable data in test case implementation procedure, which includes:Above-mentioned game data, For the variable data of parameter transmission, numerical computations, assignment, condition judgment etc. in behavior tree implementation procedure, but it is not limited to this. Variable data in dynamic data management device is accessed by variable name, assignment, modification etc., variable data assignment and be delivered in behavior In tree configuration, as the relevant parameter of behavior tree node, in test case operational process, behavior tree node to variable parameter (on State variable data) access go in dynamic data management device to obtain by variable name, it is similary to the modification of the assignment of variable parameter logical It crosses variable name and goes in dynamic data management device to obtain current variable data and modify assignment.
The test case operation of other clients is influenced in order to avoid test case run time is long and test is caused to be gone For operation delay, reacted the problem of slow, thus in one embodiment of the invention, it is above-mentioned before above-mentioned steps S104 Method can also include:Recording the currently running position of the test case, (for example to record current test case currently running Behavior tree node), and hang up the test case;After above-mentioned steps S104 or, in the duration for hanging up the test case In the case of more than predetermined threshold, after the test case is hung up, the above method further includes:It resumes operation the described of hang-up Test case.I.e. each virtual client is run in testing results use-case in a manner of asynchronous execution.
For example behavior tree RPC node operational process needs to send by network connection and asks to remove server, and wait to be serviced Device returned data needs certain network communication interaction time, when similar this node is run after network request is initiated, minute book The node that secondary behavior tree is currently run, hangs up currently running test case, concedes right of execution to next virtual client Testing results use-case, and each logical frame test case unit is monitored a server data and is returned the result later, waits for Get server return the result or wait for it is abnormal it is overtime after, be suspended test case and just resume operation, do not complete the RPC run Node continues to complete operation logic, and return node operation result.
It should be noted that the executive agent of above-mentioned data receiver method can be virtual client, but it is not limited to this. Above-mentioned virtual client can be the client created during above-mentioned default application program operation, and but it is not limited to this.
The preferred embodiment of the present invention additionally provides a kind of data transmission method for uplink, and Fig. 2 is provided according to embodiments of the present invention The flow diagram of data transmission method for uplink, as shown in Fig. 2, this method includes:
Step S202, during virtual client testing results use-case, receive the virtual client pass through it is long-range The inquiry request that invocation of procedure RPC nodes are sent, wherein, the inquiry request obtains the survey for request to game server Game data needed for example operational process on probation;
Step S204 is locally searching data-query interfaces corresponding with the inquiry request according to the inquiry request;
Step S206 obtains the game data and by acquisition according to the data-query interfaces that find The game data is sent to the virtual client.
By above-mentioned steps, sent using virtual client is received in the operational process of test case by RPC nodes Inquiry request, pass through corresponding with the inquiry request data-query interfaces in local and obtain game needed for test case operational process The mode of data is called the data-query interfaces in game server by RPC nodes, is obtained in a manner of actively accessing Game data needed for test case operational process has achieved the purpose that mitigate dependence game logic when game data obtains, from And the technique effect of reduction and game logic coupling is realized, and then solve and relied on when data acquisition is played in the relevant technologies In the game logic the technical issues of.
It should be noted that above-mentioned data-query interfaces are looked by game server by the data in the game server Manager is ask to be safeguarded.I.e. by being provided with a data query manager in game server, support to access game garment It is engaged in device operational process real-time data and data game library data in all game, and outer remote query calls is provided and are connect Mouthful, it supports external by network connection far call data-query interfaces acquisition game data.
In one embodiment of the invention, above-mentioned test case is combined behavior tree node by default application program It obtains, wherein, what the behavior tree node was chosen from pre-set behavior tree node library, it is right that the behavior tree node passes through The behavioral test coupled with game logic is packaged to obtain.By the way that row will be turned to the function package that game logic is closely connected For tree node, then it is combined to build test case using behavior tree node, realizes configuration and the logic of test case The purpose of separation, test case configuration can keep stable as possible;Behavior tree node can constantly extend as needed, and test is used For routine for that can enrich constantly, behavior tree node can have very high reusability so that and test case behavior is more intelligent, from Dynamicization.
It should be noted that above-mentioned default application program is referred to as above-mentioned Mian Ke robots.
It should be noted that above-mentioned default application program can also provide user interface UI operation interfaces, wherein, above-mentioned UI Operation interface is used to show the test case object of test case according to the control command received.
It should be noted that above-mentioned default application program is combined behavior tree node and can show as, it is above-mentioned default Application program can be combined behavior tree node by the control instruction received, and but it is not limited to this.Thus, it can also By above-mentioned UI operation interfaces, behavior tree node is combined based on the control instruction received.
Visual interface is provided by above-mentioned UI operation interfaces, instead of directly instructing by way of edlin, Preferably improve user experience.And by the structure of above-mentioned UI operation interfaces act of revision tree and survey can be reconfigured Example on probation.
It should be noted that behavior tree is a multi-branch tree data structure, node type can be divided into according to rule and patrol Volume node, condition node and behavior node, all types of nodes can be enriched constantly extension according to test case demand.
It should be noted that each test case corresponds to an independent behavior tree configuration file, the configuration of behavior tree The corresponding behavior tree assembling information of test case, the behavior tree node included the use of are recorded in file, behavior tree node is used Level and connection relation between parameter and each behavior tree node, above-mentioned behavior tree configuration file can be xml or json forms, But it is not limited in this.
It should be noted that above-mentioned behavior tree node library is set in advance in the test case pipe in the default application program It manages in device, wherein, the test case management device can have the function of at least one of:It supports newly-increased test case, supports Test case is changed, supports to delete test case, supports to be that the virtual client is only in the test case operational process It erects and puts test case, support to be the virtual client independence switch test use-case in test case operational process, support It is the virtual client independence operation suspension test case in test case operational process.
It should be noted that the executive agent of above-mentioned data transmission method for uplink can be game server, but it is not limited to this.
The embodiment of the present invention additionally provides a kind of test system, and Fig. 3 is the test system provided according to embodiments of the present invention Flow diagram, as shown in figure 3, the test system includes:Game server 32 and virtual client 34;
Wherein, data query manager is deployed in the game server 32, the data query manager maintenance has One or more data-query interfaces;
The virtual client 34, in test case operational process, by remote procedure call node to institute It states data query manager and sends inquiry request, wherein, the inquiry request ran for test case described in acquisition request Game data needed for journey;
The data query manager, for after inquiry request is received, being connect from one or more of data queries The data-query interfaces corresponding with the inquiry request are searched in mouthful, are obtained according to the data-query interfaces found The game data and the game data of acquisition is sent to the virtual client 34.
By above-mentioned test system, in the operational process of test case virtual client 34 by RPC nodes to game Inquiry request is sent in server 32, test is obtained by data-query interfaces corresponding with inquiry request in game server 32 The mode of game data needed for use-case operational process calls the data-query interfaces in game server 32 by RPC nodes, The game data needed for test case operational process is obtained in a manner of actively accessing, when having reached the acquisition of mitigation game data The purpose of game logic is relied on, it is achieved thereby that reducing the technique effect with game logic coupling, and then solves related skill The technical issues of game logic being depended in art during game data acquisition.
In one embodiment of the invention, above system further includes:Default application program, wherein, the default application Program includes:Virtual client manager and test case editing machine;Wherein, the virtual client manager, for creating One or more virtual clients;The test case editing machine, for the one or more virtual visitors for establishment The test case is configured in family end.
It should be noted that the default application program is properly termed as above-mentioned Mian Ke robots, but it is not limited to this.
It should be noted that above-mentioned default application program can also include:UI operation interfaces, wherein, the UI operates boundary Be integrated with the test case editing machine on face, the test case editing machine be additionally operable to according to the control instruction received to from The behavior tree node chosen in pre-set behavior tree node library combines to obtain the test case.
It should be noted that the default application program further includes test case management device, wherein, the test case pipe Reason utensil has at least one of function:It supports newly-increased test case, supports modification test case, support to delete test case, Support to be that the virtual client is independently arranged test case in the test case operational process, support to transport in test case It is the virtual client independence switch test use-case during row, supports to be the virtual visitor in test case operational process Family end independence operation suspension test case.
In one embodiment of the invention, above-mentioned virtual client includes:Test case unit and dynamic data management Device, wherein, the test case unit, for running the test case;The dynamic data management device, for variable side Dynamic data management device of the formula by the game data storage in the virtual client.
It should be noted that above-mentioned test case unit, is additionally operable to receive the game server by the RPC nodes Return the game data before record the currently running position of the test case, and hang up the test case and It is used after the game data that the game server return is received by the RPC nodes or, hanging up the test In the case that the duration of example is more than predetermined threshold, after the test case is hung up, the test for hang-up of resuming operation is used Example.
The embodiment of the present invention additionally provides a kind of data sink, and Fig. 4 is the data provided according to embodiments of the present invention The structure diagram of reception device, as shown in figure 4, the reception device includes:
Sending module 42, in test case operational process, by remote procedure call node to game services Device sends inquiry request;Wherein, the inquiry request obtains the test case to the game server for request and runs Game data needed for process;
Receiving module 44 is connect with above-mentioned sending module 42, and the game server is received for passing through the RPC nodes The game data returned;Wherein, game data number corresponding with the inquiry request from the game server It is obtained according to query interface.
By above-mentioned reception device, using in the operational process of test case by RPC nodes into game server Inquiry request is sent, test case operational process is obtained by data-query interfaces corresponding with inquiry request in game server The mode of required game data calls the data-query interfaces in game server, with the side actively accessed by RPC nodes Formula has reached to obtain the game data needed for test case operational process and has mitigated dependence game logic when game data obtains Purpose it is achieved thereby that reducing the technique effect with game logic coupling, and then solves game data in the relevant technologies and obtains The technical issues of game logic is depended on when taking.
It it should be noted that can be with the normal net for being related to game logic of game server by above-mentioned RPC nodes Network agreement, which is given out a contract for a project, is filtered processing, can save the network in Mian Ke robots (default application program) operational process and unpack CPU overhead.
It should be noted that above-mentioned game data can include each game account data in game, but it is not limited to this.
It should be noted that above-mentioned game data can be game server according to agreement layout sequence, network is broken into Packet is returned by way of test protocol number, and above-mentioned inquiry request can also be sent out by way of the network packet of test protocol number Give game server.
It should be noted that above-mentioned data-query interfaces are looked by game server by the data in the game server Manager is ask to be safeguarded.
In one embodiment of the invention, above-mentioned test case is combined behavior tree node by default application program It obtains, wherein, what the behavior tree node was chosen from pre-set behavior tree node library, it is right that the behavior tree node passes through The behavioral test coupled with game logic is packaged to obtain.By the way that row will be turned to the function package that game logic is closely connected For tree node, then it is combined to build test case using behavior tree node, realizes configuration and the logic of test case The purpose of separation, test case configuration can keep stable as possible;Behavior tree node can constantly extend as needed, and test is used For routine for that can enrich constantly, behavior tree node can have very high reusability so that and test case behavior is more intelligent, from Dynamicization.
In one embodiment of the invention, above device further includes:Memory module is connect with above-mentioned receiving module 44, By the game data storage in local dynamic data management device in a manner of variable.By variable representation by the trip of acquisition Play data are stored in local more to be met the artificial intelligence of player's real behavior and surveys automatically for accessing use, and then can build Example on probation.
It should be noted that the dynamic data management device can be arranged in above-mentioned test case unit, the dynamic data Manager can preserve generated variable data in test case implementation procedure, which includes:Above-mentioned game data, For the variable data of parameter transmission, numerical computations, assignment, condition judgment etc. in behavior tree implementation procedure, but it is not limited to this. Variable data in dynamic data management device is accessed by variable name, assignment, modification etc., variable data assignment and be delivered in behavior In tree configuration, as the relevant parameter of behavior tree node, in test case operational process, behavior tree node to variable parameter (on State variable data) access go in dynamic data management device to obtain by variable name, it is similary to the modification of the assignment of variable parameter logical It crosses variable name and goes in dynamic data management device to obtain current variable data and modify assignment.
The test case operation of other clients is influenced in order to avoid test case run time is long and test is caused to be gone For operation delay, reacted the problem of slow, thus in one embodiment of the invention, above device further includes:Logging modle, It is connect with above-mentioned receiving module 44, (for example current test case is recorded for recording the currently running position of the test case Currently running behavior tree node), suspension module, for hanging up the test case;, the above method further includes:Recovery module, It is connect with above-mentioned suspension module, for the test case for hang-up of resuming operation.I.e. each virtual client is in testing results It is run in a manner of asynchronous execution during use-case.
It should be noted that above-mentioned data sink can be located in virtual client, but it is not limited to this.Above-mentioned void It can be the client created during above-mentioned default application program operation to intend client, and but it is not limited to this.
The embodiment of the present invention additionally provides a kind of data sending device, and Fig. 5 is the data provided according to embodiments of the present invention The structure diagram of sending device, as shown in figure 5, including:
Receiving module 52, for during virtual client testing results use-case, receiving the virtual client and leading to The inquiry request of remote procedure call node transmission is crossed, wherein, the inquiry request obtains for request to game server Game data needed for the test case operational process;
Searching module 54 is connect with above-mentioned receiving module 52, for according to the inquiry request locally search with it is described The corresponding data-query interfaces of inquiry request;
Acquisition module 56 is connect with above-mentioned searching module 54, for the data-query interfaces found according to Obtain the game data;
Sending module 58 is connect with above-mentioned acquisition module 56, for the game data obtained to be sent to the void Intend client.
By above device, sent using virtual client is received in the operational process of test case by RPC nodes Inquiry request, pass through corresponding with the inquiry request data-query interfaces in local and obtain game needed for test case operational process The mode of data is called the data-query interfaces in game server by RPC nodes, is obtained in a manner of actively accessing Game data needed for test case operational process has achieved the purpose that mitigate dependence game logic when game data obtains, from And the technique effect of reduction and game logic coupling is realized, and then solve and relied on when data acquisition is played in the relevant technologies In the game logic the technical issues of.
It should be noted that above-mentioned data-query interfaces are looked by game server by the data in the game server Manager is ask to be safeguarded.I.e. by being provided with a data query manager in game server, support to access game garment It is engaged in device operational process real-time data and data game library data in all game, and outer remote query calls is provided and are connect Mouthful, it supports external by network connection far call data-query interfaces acquisition game data.
It should be noted that above device can be located in game server, but it is not limited to this.
The embodiment of the present invention additionally provides a kind of storage medium, and computer program is stored in the storage medium, wherein, The computer program is arranged to perform the step in any of the above-described embodiment of the method during operation.
Optionally, in the present embodiment, above-mentioned storage medium can include but is not limited to:USB flash disk, read-only memory (Read- Only Memory, referred to as ROM), it is random access memory (Random Access Memory, referred to as RAM), mobile hard The various media that can store computer program such as disk, magnetic disc or CD.
The embodiment of the present invention additionally provides a kind of electronic device, including memory and processor, is stored in the memory There is computer program, which is arranged to run computer program to perform the step in any of the above-described embodiment of the method Suddenly.
Optionally, above-mentioned electronic device can also include transmission device and input-output equipment, wherein, the transmission device It is connected with above-mentioned processor, which connects with above-mentioned processor.
Optionally, the specific example in the present embodiment can be referred to described in above-described embodiment and optional embodiment Example, details are not described herein for the present embodiment.
For a better understanding of the present invention, the present invention is further explained below in conjunction with preferred embodiment.
For the relevant technologies progress network game server test Mian Ke robots technical solution in test case with Mian Ke robots code logic is coupled with configuration, and Mian Ke robots code stability is easily lacked by what game identification code logic iteration was influenced Point, the preferred embodiment of the present invention are provided a kind of Mian Ke robots technic relization scheme, are tested using behavior tree configuration mode Use-case is built, and the function being closely connected with game logic all is carried out bottom encapsulation, upper strata is abstracted and turns to behavior tree node for surveying It tries personnel depaly to call, realizes that logical AND configuration efficiently separates;Deployment game server data inquiry module (is equivalent to above-mentioned number According to inquiry manager, above-mentioned data-query interfaces), data inquiry module provides remote access and can be inquired respectively to Mian Ke robots Virtual client in game server line object full dose information (being equivalent to above-mentioned game data), mitigate Mian Ke robots Excessive the shortcomings that coupling game logic that acquisition of information is excessively brought by resolution server network packet receiving during exploitation.
The device that the preferred embodiment of the present invention uses includes:
The Mian Ke robots application program of operation can be started on window pc machines or linux developing engines;Wherein,
Mian Ke robots include virtual client manager, and all dynamic creations are managed in Mian Ke robots operational process Virtual client object, including:Create new virtual client;
A major cycle can be run after the operation of Mian Ke robots in main thread, major cycle sets certain logic frame per second, Run the logical frame of corresponding number each second, virtual client manager is responsible for each logical frame as each client object Run time piece is distributed, handles the behaviour such as each client end response user input instruction, network connection send and receive packets, testing results use-case Make;
Mian Ke robots include network processes thread, in order to ensure all virtual clients and the network packet of server communication It can receive and dispatch in time, one network thread of independent startup when Mian Ke robots are run handles each virtual client incessantly It holds the packet receiving of network module and gives out a contract for a project;
Mian Ke robots include user instruction watcher thread, and watcher thread monitors user's volume in real time in robot operational process Input instruction is collected, user instructs the operation that can be realized to include by editing input:Create a certain number of virtual clients, choosing The virtual client of subsequent commands to be performed operation is selected, particular virtual client end is allowed to perform input instruction, allows particular virtual client End perform pause perform stop implementation of test cases etc.;
Each logical frame focuses on a user input instruction in Mian Ke robots main thread, and user specifies virtual visitor The instruction that family end performs also is responded by the run time piece that client is distributed in each logical frame and performed;
The user instruction that virtual client can perform includes:Send procotol packet to server, log into game, step on Go out the behavioral tests such as game, triggering net drop;
Mian Ke robots include test case management device (being equivalent to above-mentioned test case management device), test case management device Tester is supported to increase newly, change, deletes test case, supports independently to set for each virtual client in the process of running It puts, switch, suspend test case;
Each virtual client operational process (can be equivalent to above-mentioned test case list there are one test case unit Member), tested person case management device management, test case unit is equivalent to the AI of each virtual client, test case unit Virtual client is driven to perform behavioral test to server according to the test case of setting during operation;
The editor of test case is carried out with configuration mode by the way of behavior tree in the preferred embodiment of the present invention, and test is used It pre-sets to edit the behavior tree node library that uses in example manager, behavior tree is a multi-branch tree data structure, node Type can be divided into logical node, condition node and behavior node by rule, and all types of nodes can be according to test case demand It enriches constantly extension, with behavior tree come configuration testing use-case, the advantage having has:It realizes logical AND configuration separation, is patrolled with game A behavior tree node can be encapsulated as by collecting the more close behavioral test of coupling, and it is all to seal that tester, which builds test case, It installs and is assembled on node, test case configuration can keep stable as possible;Behavior tree node can constantly expand as needed Exhibition, test case behavior can be enriched constantly;Behavior tree node can have very high reusability, and configuration testing use-case can pass through Each behavior tree node builds miscellaneous behavioral test by various combination;Behavior tree has very extensive utilization in AI, Using behavior tree configuration testing use-case, it can make that test case behavior is more intelligent, automation.
Each test case corresponds to an independent behavior tree configuration file, configuration text in the preferred embodiment of the present invention Part record test case corresponding behavior tree assembling information, parameter that behavior tree node, the node included the use of is used and respectively The form of xml or json may be used in level and connection relation between node, configuration.
Mian Ke robots can load the behavior tree configuration file of all test cases, and parse generation behavior tree number when starting According to structure, tester can also be increased newly by test case management device, be changed and the configuration of act of deleting tree in the process of running, And export and reload, test case is dynamically updated in operational process.
In the relevant technologies, during operation action tree test case, the execution of many behavioral test nodes of behavior tree and item Part judgement is required for that the corresponding game account data of virtual client and game on line object data, such as test case is accessed When being given out a contract for a project by behavior tree node to server, network package informatin and respective virtual client game data are closely connected, net Network game client obtains game data can be sent to the all-network packet of client by resolution server, therefrom obtain and Real-time update game account data, this mode need to safeguard a virtual client game in Mian Ke robots code architecture Data management module, and the procotol given out a contract for a project according to real gaming client logic parsing Servers-all, this to exempt from visitor Robot code excessively relies on coupling game logic, is unfavorable for Mian Ke robots code architecture and stablizes, therefore the present invention is preferred real It applies and does not obtain virtual client game data in example in this way.
The preferred embodiment of the present invention obtains each virtual client using Mian Ke robots active inquiry mode to server Corresponding game related data, specific implementation include:
A game data inquiry manager is built in game server (being equivalent to above-mentioned game server) (to be equivalent to State data query manager), support to access in game server operational process real-time data and game number in all game According to library data, and outer remote query calls interface is provided, outside is supported to pass through network connection far call data-query interfaces (being equivalent to above-mentioned data-query interfaces) obtains each game account data in game.
Exempt to encapsulate RPC (remote procedure call) node in objective robot behavior tree node library, realize that test case was run By the data-query interfaces in RPC node far call game server data query managers in journey, with active access side Formula obtain test case operational process needed for game data, and game server is issued game client be related to game patrol The proper network agreement collected, which is given out a contract for a project, is filtered processing, can both save network unpacking CPU in Mian Ke robots operational process and open Pin, and Mian Ke robots code structure and game logic coupling can be reduced.
A dynamic data management device built in the test case unit of each virtual client preserves test case and performs The variable data generated in the process, variable data storage content include the game that behavior tree RPC nodes are obtained from server access For variable data of parameter transmission, numerical computations, assignment, condition judgment etc. etc., dynamic number in data, behavior tree implementation procedure Accessed according to variable data in manager by variable name, assignment, modification etc., variable data assignment and be delivered in behavior tree use-case and match In putting, the relevant parameter as behavior tree node is configured by tester into edlin, with special format area in the configuration of behavior tree Other variable parameter and constant parameter, in test case operational process, behavior tree node passes through variable name to the access of variable parameter It goes in dynamic data management device to obtain, the assignment of variable parameter is changed and goes in dynamic data management device to obtain again by variable name Current variable data is taken to modify assignment.
In test case operational process dynamic number is provided by the behavior of behavior tree assembling test, by dynamic data management device According to, by server data inquiry manager provide each virtual client real-time game data, can realize and play real-time shape The behavioral test for more meeting artificial intelligence of state close interaction.
The test case unit of all virtual clients is performed in Mian Ke robots main thread logic, each is patrolled The behavior data tree structure of primary each virtual client can all be run by collecting frame, since the test case operation of each virtual client is It performs in order, in order to ensure each virtual client has stabilization time piece can be with testing results use-case and will not be because in each frame Test case run time for other virtual clients is long to be led to behavioral test operation delay, reacted the problem of slow, The operational process of all behavior tree nodes is developed all in accordance with the principle for not blocking thread, every to need certain time that just obtain The behavior tree logic of operation result is taken all to be designed in a manner of asynchronous execution, such as behavior tree RPC nodes, operational process needs pass through Network connection sends request and goes server, and waiting for server returned data, needs certain network communication interaction time, similar to this Test case unit just preserves behavior tree running stack after network request is initiated during kind node operation, and it is current to record this behavior tree The node run hangs up currently running test case, concedes right of execution to next virtual client testing results use-case, And each logical frame test case unit is monitored a server data and is returned the result later, waiting gets server and returns After returning result or waiting for exception overtime, it is suspended test case and just resumes operation, the RPC nodes for not completing operation continue to complete fortune Row logic, and return node operation result.
Mian Ke robots provide UI operation interfaces when being run on window pc machines and (are equivalent to the UI in above-described embodiment Operation interface), many response user input instruction process performings of Mian Ke robots can provide replacement by UI operation interfaces and refer to The friendliness mode of editor is enabled, is stepped on including creating virtual client, selection virtual client to be operated, operation virtual client It records, publish game, setting virtual client implementation of test cases etc., UI interfaces can also be by virtual client list, visually Each client dependent game informative abstract is checked in change.
Behavior tree test case editing machine, tester are integrated on preferred embodiment of the present invention Zhong Mianke robot UI interfaces Can be by behavior tree editing machine visual edit configuration behavior tree use-case, it can be to be selected in subordinate act tree node library on editing machine It selects that various nodes are arranged combination, line determines connection relation, forms a behavior tree Multiway Tree Structure, and pass through editing machine Export generates corresponding behavior tree configuration file and generation behavior tree test case object, and test case is shown on UI interfaces Object, and the execution use-case of virtual client can be arranged to;
It is edited if to change existing test case, can corresponding test case be selected by behavior tree editing machine, Behavior tree editing machine shows that user can be at interface by parsing configuration file, generation behavior tree structure diagram in editor interface On remodify behavior tree construction, then regenerate configuration file and test case.
Each virtual client and network connection, the communication protocols of game server created in the preferred embodiment of the present invention Negotiation network packet encryption and decryption mode will be developed according to the network communication mode of real gaming client and game server and be designed, The account verification login process that client is logged into game after establishment virtual client will also be stepped on according to real gaming client It records flow and realizes that, since gaming network communication protocol and login process realization method are more stable, development of games process is generally not Can iterative modifications, therefore while exempting from objective robot development, can be with directly transplanting game client network module and login process.
Specifically, when the preferred embodiment of the present invention is implemented, need to run trip to be tested on the Linux developing engines of backstage It plays server processes, needs in process to dispose a game data inquiry manager DataQueryMng and (be equivalent to above-mentioned data Inquiry manager), DataQueryMng is opened with game process and is started, and maintenance is a series of in manager obtains for outside access The interface of online client game data is taken, DataQueryMng provides internetwork connection mode and receives outer remote inquiry request, Here internetwork connection mode can be TCP, UDP or http protocol mode, and the present embodiment is directly multiplexed virtual client when realizing Hold the TCP network connections between game server, trip is sent to by test protocol during virtual client implementation of test cases Play server, game server forward the request to DataQueryMng and access data.
When this preferred embodiment is implemented, need startup operation is at least one on window pc machines or linux developing engines to exempt from Objective robot process TCRobot connects game server, each virtual visitor by starting multiple virtual game clients in process By performing tester's input instruction, transmission network packet is sent to server or implementation of test cases manually at family end, according to test Use-case AI behaviors send network packets to the modes such as server and simulate multi-client test game server dependence test function automatically Point, wherein robot process can be attached to when being run on pc machines starts UI operation interfaces, when starting on linux developing engines, phase Closing UI operation interfaces can shield, and only retain a cmd window and receive user instruction input and Debugging message output.
The development language that TCRobot can use any windows systems and Linux system to support realizes that this is preferred real It applies example to realize using python scripts, supports to run python script startup processes on windows and linux, The subsidiary UI operation interfaces of process are realized by pyqt libraries under windows systems.
Comprising virtual client manager VClientMng in TCRobot, it is responsible for all virtual client objects There is virtual client Object Management group list VClientList in VClient, VClientMng, recording indexes are all have been created VClient;VClientMng is responsible for responding user's input single corresponding VClient objects of account id of establishment or specified account id Batch VClient objects in section;VClientMng is responsible for responding user's selection operation, and label is useful for performing user's input life The VClient objects of order;VClientMng is operated in main thread, is responsible in each main thread logical frame being each VClient distributes run time piece, it is ensured that each VClient can have the packet receiving of timely processing network in each frame, use Family instructs and test case behavior update.
Start with host process and run comprising a network processes thread NetThread, thread in TCRobot, NetThread is responsible for uninterruptedly sending and collecting the network packet of all VClient and server communication, and there are two NetThread Buffer queue is responsible for carrying out data exchange with main thread, is give out a contract for a project buffer queue SendBuffer and packet receiving buffer queue respectively The pending network that RecvBuffer, wherein SendBuffer are used to store all VClient generations in host process is given out a contract for a project, RecvBuffer is used to store the network packet receiving of all VClient processing in all waiting host processes that NetThread is collected. NetThread only does two pieces thing in the process of running:Continuous poll SendBuffer, it is pending to give out a contract for a project, carry out network packet Transmission is handled;The network connection Socket of all VClient objects is constantly traversed, trial collects network packet, receives network packet just RecvBuffer is filled in for main thread processing.
Start with host process and run comprising a user instruction watcher thread CmdThread, thread in TCRobot, CmdThread is responsible for the command information that monitoring users are inputted by the input equipments such as keyboard editor, one built in CmdThread The user input instruction information that CmdBuffer, CmdThread are listened to all is buffered in CmdBuffer, each frame collection of host process In the instruction in CmdBuffer is handled in order, host process support processing user instruction include:Create single id pairs of account VClient, batch is answered to create corresponding VClient in id sections of an account, single/batch selects to perform subsequent commands operation VClient, setting/switching is chosen the test case that VClient to be performed, startup/pause is chosen VClient and performs survey On probation example, order be chosen VClient network connections/login/publish/network disconnects game server, order is chosen VClient hairnet network packets are to game server.
It is responsible for loading all test cases configuration texts comprising a test case management device TCMng, TCMng in TCRobot Part is converted into the test case data structure that can be run, and is preserved by test case list and indexes all test cases;TCMng Each VClient setting test cases are responsible for, VClient is given tacit consent to without test case;TCMng is responsible in each frame of host process In test case operation more new interface is called to the VClient for being provided with test case.
Only it can just start UI interfaces when being run on PC comprising a UI interface module, process in TCRobot, Correlation module is shielded when being run on linux, UI interfaces, which can visualize, provides many operation readiness of user, including:Integrated user Execute instruction editor and process running log output window;All having created of VClientList preservations in VClientMng It builds VClient to show by visualized list, and shows that each VClient summary datas (are played in corresponding client account id, game Family id, player's Entered state etc.) user is facilitated to check;The instruction of user's selection operation VClient is visualized by VClient List tick boxes choose realization;All test cases of TCMng management show that user arranges by visualizing by visualized list Table can be the VClient setting test cases chosen;User's operation is selected VClient execution and such as logs in, publishes, suspending and hold The instructions such as row test case operation can be realized by quick botton;Behavior tree test case editing machine is integrated on UI interfaces.
Fig. 6 is according to the program structure schematic diagram of preferred embodiment of the present invention Mian Ke robots related function module, such as Fig. 6 Shown, in the preferred embodiment, it is each virtual client VClient to realize the carrier tested game server, Each VClient is equivalent to a true game client for server, and the operation between every VClient is all mutual Mutually independent, each VClient is indexed in VClientMng there are one unique mark, since game client is stepped on All can be there are one unique mark account id when reliction is played, therefore, the present embodiment needs user to each when referring to VClient VClient determines an account id, and in this, as the unique mark that VClient is indexed in VClientMng, game account id It generally can all be represented with a unsigned number word, user, which creates VClient, in this implementation can input an account id establishment one A VClient can also input one id sections, and batch creates multiple VClient in id sections corresponding.
After each VClient Object Creation, the function module that inside includes has:
The networking client of networking client VNetClient, VClient are responsible for realizing and by real gaming client Network connection and communication mode are realized and the connection and communication of game server, the network packet protocol of all VClient and plus solution Close mode will defer to the realization method of the networking client of real gaming client, internetwork connection mode in general networking game Common TCP modes realize that the network connection used in the present embodiment is also that TCP modes are realized, wherein all VClient networks are objective Family end realizes in the send and receive packets of network bottom layer in NetThread, upper-layer service logic give out a contract for a project request and unpacking processing all exists It is realized in main thread logical frame;
Entered state manager LoginMng, VNetClient is in not connected with game server after VClient is created State, VClient is from network connection game server to verification game account information successful log into the entire of game server Flow all realizes that LoginMng realizes that landfall process logs in flow exploitation according to real gaming client and sets in LoginMng Meter, it is main to realize that flow function includes:Allow VNetClient connection network servers;Flow is verified according to game entry, is sent Needed for the account id information of VClient and verification token information (token information acquiring patterns can generate at random or in advance this Ground preserves the token configurations of each account id) to server;Login status is returned to according to server and determines whether VClient succeeds Game is logged into, successful log then sets Entered state, and failure then disconnects network connection to have logged in;VClient is according to user Resetting logon information and state when instruction actively disconnects network connection;VClient and server disconnect after according to VClient Auto-reconnect setting re-execute network connection automatically and log in flow for VClient;
Test case unit TCUnit, TCUnit are responsible for performing the test case behavior of VClient, and TCUnit is interior to be recorded It is generated in test case data structure, test case operation/pause flag and test case operational process set by VClient Dynamic data, wherein dynamic data is stored in dynamic data management device VarMng, and VarMng is responsible for during test case According to the variable name assigned variable data that test case is configured in use-case behavior, it is responsible for test case operational process and is used by testing The correspondence variable data that indexes of variable name in example configuration, in the present embodiment, variable data can be each in python grammers Class data structure format, including dict, list, tuple, string, int etc.;
TCUnit further includes test case running stack TCStack, because test case of the present invention is behavior data tree structure, It is subordinate act root vertex toward next layer successively time that each logical frame, which starts to say during process performing tree, when test case is run Execution is gone through, is using node as executable unit, according to holding for behavior tree until bottom leaf node, in implementation procedure Row principle, the implementing result of father node need the implementing result that child node is waited for return that can just be finished to return to implementing result, Therefore, behavior tree node operational process sequence meets stack mechanism, i.e., first stacking, after pop, first added in before each node layer operation To in storehouse TCStack, stack top node necessarily current node in operation, stack top node run when returning the result from It is removed in TCStack, father node returns to implementing result, and remove from stack top immediately after obtaining child node operation result, returns again to More last layer father node continues this process until TCStack is emptied, then represents present frame behavior tree and perform and terminate, wait for next Frame re-executes behavior tree;
Supportive behavior tree test case implementation procedure operation midway performs pending operation in this preferred embodiment, i.e., currently holds Row node have process performing need it is certain perform duration and could obtain return the result, for example initiate RPC requests to server and obtain When taking game data, current operation action tree performs hang-up, retains the TCStack of current record, concedes right of execution to next The TCUnit of VClient is performed, and is just continued to execute from TCStack when server returns to RPC request results current not complete Into the node of execution;
During this preferred embodiment TCStack design methods ensure each TCUnit process performings tree, all nodes Implementation procedure is all that can accomplish non-obstruction operation, and playing mode by TCStack records plus behavior rime reaches behavior tree node Support the function of asynchronous execution.
Fig. 7 is the program structure signal of related function module in the virtual client provided according to the preferred embodiment of the present invention Figure, as shown in fig. 7, the test case in this preferred embodiment is configured and is performed using behavior tree realization method, test is used Example manager TCMng is responsible for safeguarding one for the behavior tree node library used is configured, and behavior tree test case configuration format is adopted It is represented with json or xml modes, the present embodiment preserves configuration using json data formats, and configuration content includes:Composition behavior tree Behavior burl call the roll and node needed for parameter list, parameter type can support constant data such as character string, number, Boolean with And python frequently-used data structures list, dict etc., it can also support dynamic variable, parameter is configured to be identified as the variable name of variable Can be identified as variable, in behavior tree node access of the parametric variable in actual motion can be obtained by corresponding VarMng indexes Get real variable data content;Same layer under hierarchical relationship and same father node between each node of composition behavior tree Sequencing between grade child node.
A test case corresponds to a behavior tree configuration in this preferred embodiment, and a behavior tree configuration is independently stored in In one file, all test case configuration files are all stored in the fixed placement file folder exempted under passenger plane device people's working directory In, when process initiation performs initialization operation, all test case configuration files under TCMng meeting loading configuration file folders, parsing It as behavior data tree structure, and is stored in test case list, user can give each VClient by test case list Corresponding implementation of test cases is set, and the present embodiment supports each user not interfered, therefore each user is each independently mutually between editing configuration The test case file of self-configuring can share use.
In this preferred embodiment test case configuration can be realized with user manual editing configuration file, can also by into Integrate behavior tree editing machine in the UI interfaces that journey is run on pc machines, auxiliary user visual edit behavior tree, in the present embodiment The behavior tree editing machine auxiliary configuration testing use-case graphically edited is provided, editing machine includes:
Use-case Command Line Parsing module is responsible for all configuration files under load test use-case config directory, generates behavior burl Point-tree data structure data, and visualize in behavior tree editing machine graphical interfaces, by graphical interface editing behavior tree, change Tree construction data content;
Export module is configured in use-case, by the behavior tree construction data of edit-modify, by export module, regenerates row It is configured for tree, is configured and loads generation behavior tree test case for VClient execution for TCMng;
Case selection list is responsible for displaying and is currently configured all existing configurations under catalogue, and user can pass through selective listing The configuration of the behavior tree to be edited is selected, can also be increased newly in use-case list and delete use-case configuration;
Behavior tree node library, behavior tree node library correspond to all configurable behavior tree nodes used safeguarded in TCMng, There are respective list displaying and node specification in editing machine, node can be selected to be matched out of node repository at any time in editing process It puts;
Behavior tree module management, in behavior tree configuration process, have some considerable combination of nodes into tree be can It is repeatedly multiplexed using being expert in the entire configuration structure of tree as a subtree, therefore, behavior tree editing machine branch in the present embodiment Hold using these it is repeatable by the use of tree construction as an entirety as a module, and assign special marking as a behavior tree When Module nodes type, and the individually-edited management in module management, when configuration behavior tree need to use module, module corresponds to Tree construction a special behavior tree Module nodes are shown as in editing machine, be equivalent to one reference module function, lead When going out to be configured, corresponding module node content can all replace the corresponding tree construction content of actual module, and module only plays one herein The management, maintenance, the effect edited that these is facilitated often repeatedly to be multiplexed tree construction.
Fig. 8 is one of behavior tree test case editing machine related function module provided according to the preferred embodiment of the present invention Structure diagram, Fig. 9 are that game server is tested using Mian Ke robots according to what the preferred embodiment of the present invention provided An implementation process diagram, as shown in figure 9, the step includes:
After having disposed the environment of TCRobot and game server to be tested in PC machine or linux developing engines, start game The network monitoring IP and port of TCRobot network connections IP and port for game server, integrated testability flow is configured in server Include the following steps S101- steps S104:
Step S901:Start TCRobot processes, TCMng performs initialization operation in TCRobot, and loading local test is used All test case configurations, generate corresponding test use-case behavior data tree structure under example config directory, and are stored in test and use In example list, indexed by use-case name, be illustrated in UI interface detection case selection lists by use-case name;It is run on PC User can open the existing test case of behavior tree editing machine editor by UI interfaces as needed or newly-increased, deletion test is used Example, for user's regeneration behavior tree with postponing, TCMng can reload behavior tree configuration update test case data structure.
Step S902:Virtual client is created, user inputs instruction by console or UI interfaces input game account id Section, account id quantity are more than or equal to 1, perform and create operation, and VClientMng will be corresponded to according to account id quantity and be created each account Number corresponding virtual game client VClient of id, and VClientList management is added in, it, can be by UI circle after establishment All VClient created and the corresponding summary infos of each VClient are checked in virtual client displaying list in face, Operation is also supported to print all VClient information lists in console by inputting instruction without UI interfaces under linux.
Step S903:Select the virtual client to be operated, the exhibition that user passes through execute instruction or UI interfaces virtual client Show the VClient that operation to be performed is chosen in list, the selected VClient of VCliengMng labels, user is all to be directed to The operation of VClient is all based on the VClient chosen, not selected VClient be not carried out user input instruction and UI interface operations, VClient acquiescences are unchecked states.
Step S904:User is instructed by UI interfaces or input, and batch operation is marked as the VClient of selected state, Operation content includes:Operation VClient is logged in, is published game server, and VClient publishes flow processing and passes through LoginMng is managed, and records VClient login status, and part operation is had when VClient is not logged in and is limited, including performing survey On probation example, network are given out a contract for a project, and execution publishes rear VClient and disconnects network connection with server, and login status, which is reset to, to be not logged in;
Input agreement is given out a contract for a project instruction, and operation VClient sends network packets to service by user's input network packet command information Device realizes that VClinet simulates true player exercises test server with manual interactive mode;
VClient setting test cases are given, TCUnit index markers correspond to the behavior tree data of test case in VClient Structure, and pass through TCMng and call behavior tree logical renewal interface, behavior tree in a TCUnit each in each frame of main thread There are two types of situations for the operational process of secondary operation logic more new interface:Current TCStack is then transported without nodes records since root node Behavior tree of row until behavior tree overall operation is complete to be returned or encounter pending operation halfway, such as the latter, will currently be transported Row record is stored in TCStack, and restoring behavior tree from current operation node when performing logical renewal interface next time runs; There are nodes records in current TCStack, continue to continue to execute the behavior of the complete hang-up of last not running according to TCStack records Tree, until behavior tree overall operation is complete to be returned or continue to encounter pending operation.
After setting test case to VClient, VClient can be according to behavior tree logical combination incessantly according to behavior tree Logic simulation player behavior is initiated to test to server, since behavior tree is widely used in AI (manually in field of play Intelligence) in, therefore with behavior tree build come test case can simulate abundant true player's behavioral test.
During VClient implementations of test cases, user can pass through UI interfaces or input instruction pause VClient at any time Use-case perform, and pause flag is recorded in corresponding TCUnit, the use-case that user can also restore VClient at any time is held Row.
Behavior tree will build the test case for meeting player's real logical behavior, need to visit in behavior tree operational process It asks and gets real time information in game, the acquisition of game real time information is by providing RPC sections in the present embodiment in behavior tree node Point realizes that the function that RPC nodes are realized is to remotely access game by the network connection of virtual client and server to run The data-query interfaces of data query manager DataQueryMng in server, data-query interfaces obtain corresponding data, and Corresponding data is returned to by the network connection of server and client and gives RPC nodes, RPC nodes will be in data assignment to VarMng Corresponding variable data, other nodes can index this data by variable name in VarMng in the process of running.
Network communication multiplexing VClient and trip of the behavior tree RPC nodes with server DataQueryMng in the present embodiment The network connection of play server increases by one and is saved with the test protocol number that normal game procotol distinguishes as RPC here The protocol number that point communicates with DataQueryMng.
Figure 10 is from game server according to the behavior tree test case that the preferred embodiment of the present invention provides by RPC nodes Obtain an implementation process diagram of game related data, as shown in Figure 10, operation action tree process in this preferred embodiment During middle execution RPC nodes, the whole flow process that server returned data is gone to from RPC nodes includes the following steps S1001- steps S1004:
Step S1001:Interface name and parameter list when RPC nodes are by user configuration are arranged form according to RPC and are packed into The network packet that test protocol number carries sends network packet by the VNetClient of VClient, and NetThread obtains network packet After be timely transmitted to game server.
Step S1002:After RPC nodes execution network is given out a contract for a project, the process of RPC waiting for server returned datas needs a timing Between, current behavior tree continues to run with logic and is also required to the data that RPC is waited for obtain, and the present embodiment is by hanging up current behavior tree Mode just continues to execute to ensure that current operation action tree can wait for after RPC returned datas, also ensures that waiting process is not Block the mode of main thread operation, in order to avoid influence the operation of other VClient, behavior rime play the operating process of recovery referring to Figure 11, wherein, Figure 11 is that behavior tree is extensive from suspending to after the behavior tree provided according to the preferred embodiment of the present invention performs RPC nodes One implementation process diagram of multiple process, process step include the following steps S1101- steps S1103:
Step S1101:The RPC nodes execution network of current operation TCUnit is given out a contract for a project after RPC requests, is not returned immediately current RPC nodes return the result, and node is stored in TCStack stack tops, and TCUnit retains the TCStack for being currently not carried out completing, The currently running behavior trees of TCUnit are marked as suspended state, and implementation procedures of the TCUnit in current main thread frame terminates, TCMng continues to call the TCUnit more new interfaces of next VClient;
Step S1102:From main thread next frame, the TCUnit being suspended in each frame is taken in TCStack in stack The RPC node polls on top once to server RPC ask data return the result, if server not yet returned data as a result, Then behavior tree continues to hang up, and TCUnit still keeps RPC nodes in stack top;
Step S1103:When RPC node polls have been returned the result to server, then it represents that current operation RPC nodes are End of run, according to returning the result judgement and return to RPC node operation results, RPC nodes are removed from stack top, TCUnit according to TCStack records continue to execute unfinished node, until TCStack is emptied or continues to encounter behavior rime demand;
After if RPC nodes initiate RPC requests, situations such as midway server encounters exception, leads to not return to RPC requests Become endless loop as a result, being suspended TCUnit polling servers in order to prevent and returning the result, the present embodiment is to the poll of RPC nodes Number sets the upper limit, and when wrap count reaches the upper limit, RPC nodes are judged as that RPC performs exception, terminates the operation of RPC nodes, and The operation result of False is returned to, and in TCRobot daily records output console printing RPC failure informations, prompting user investigates RPC Access failure cause.
Step S1003:After RPC nodes send RPC request network packet arrival game servers, game server receives test The network packet of protocol number arranges form parsing outgoing interface name and parameter list according to RPC, sends DataQueryMng to, DataQueryMng finds corresponding interface in external queried access interface list, and calling interface is passed to all ginsengs of parameter list Number gets data after data result by agreement layout sequence, breaks into network packet and sent back by test protocol number VClient;
All with json data lattice after all data access interfaces acquisition data of this preferred embodiment agreement DataQueryMng Formula represents, Data Serialization is not only facilitated to be packaged transmission in this way, but also support with python frequently-used data representation data, made With conveniently;
If DataQueryMng asks normal call interface to get anticipatory data result according to RPC, then it represents that RPC please Hope for success work(, if any step of calling process has any abnormal or verification not by leading to not obtain the situation of data, table Show RPC request failure, DataQueryMng no matter calling interface success or failure, will to VClient return RPC request knot Fruit accesses success or failure in the network packet that server is returned to VClient in the present embodiment comprising a field mark RPC.
The data-query interfaces of the external RPC access of receiving can constantly extend abundant as needed in DataQueryMng, Memory information and all database datas during game server real time execution can be accessed in data-query interfaces, can be with Meet all data access demands.
Step S1004:Server RPC is returned the result after network packet is sent to VClient, and VClient is unpacked to obtain and be accessed Success/failure mark if accessed successfully, continues parsing and obtains data result, this step is then skipped in failure, and network is right after unpacking Result is answered all to be buffered in TCUnit, TCUnit is waited for perform RPC node polls servers and is returned the result;
When RPC node polls are returned the result to server RPC requests, first judge to access label, if be labeled as successfully, Then continue to obtain data result, be saved in VarMng as variable data, being used as index by the variable name being configured obtains, RPC node end of runs are returned the result as True, if labeled as failure, RPC node end of runs, return the result for False。
In this preferred embodiment in behavior tree node library other than the RPC nodes of above-mentioned introduction, also various types of sections Point, including:Antithetical phrase is represented respectively for the node of basic logic operation, such as Sequence, Selector, Not logical node Node perform with or the operation that negates, the type of such node is more stable, without excessively extending;For the section of condition judgment Point, the main behavior of node that behavior tree performs condition judgment in the present embodiment be to from the variable data that game server obtains into Row judges, for example, player whether get can target of attack, player whether arrive at, monster whether the judgements such as death;With The final process performing of the behavioral test of behavior tree execution is all to send difference in the node for performing behavioral test, the present embodiment Agreement, different content network packet to game server, simulate the behavior that true player performs, can be combined according to different behaviors Game logic encapsulates out various types of network and gives out a contract for a project node, for example player performs mobile node, player attacks monster Node, player using article node etc.;Node for condition judgment and execution behavioral test can be by user in behavior It enriches constantly according to demand in tree node library extension, particularly certain and game logic couples more close behavior, passes through envelope It dresses up behavior node mode to call to user configuration, can effectively reduce test case configuration and the degree of coupling of code logic, Configuration is contributed to stablize and mitigate the iteration maintenance cost of development of games process.
Figure 12 can be attacked around player's acquisition in the behavior tree test case provided according to the preferred embodiment of the present invention The behavior tree branched structure figure that target is attacked is hit, as shown in figure 12, whens VClient implementations of test cases, runs to The execution flow of this behavior tree branch as described in Figure 12 is:
1-1:RPC nodes obtain player to server can attack monster target, successfully get target id and be stored in VarMng obtains the abnormal then node that leads to the failure of fall short or midway and returns to False, row in dependent variable, continuing to execute 1-2 It performs and terminates for tree;
1-2:RPC nodes continue to obtain the distance between player and target id monsters to server, and distance value is maintained at VarMng successfully continues to execute 2-1-1 acquisitions failure then node return False in dependent variable, obtaining, and behavior tree, which performs, terminates;
2-1-1:Condition judgment node judges player and target range value whether in firing area, is to jump out current point Otherwise Zhi Zhihang 2-2 continue to execute branch 2-1-2-1 below;
2-1-2-1:RPC nodes obtain player to the mobile route between target to server, obtain successfully then path guarantor False is then returned to in dependent variable, continuing to execute 2-1-2-2, failure there are VarMng, behavior tree, which performs, terminates;
2-1-2-2:By packaged mobile route behavior node, the path variable preserved in VarMng is accessed, is performed Corresponding network is given out a contract for a project to server, and simulation player is moved to the process of target location, and the mobile posterior nodal point that terminates returns to True, continues Perform 2-2;
2-2:By packaged attack node, the behavior for simulation player's target of attack of being given out a contract for a project by network performs End node returns to True, and behavior tree is finished.
Mian Ke robots technic relization scheme and dress for game server test is provided in the preferred embodiment of the present invention Put, player's test case be configured using behavior tree, all behaviors coupled with game logic all to be encapsulated as behavior tree node, User is actively obtained by assembly behavior tree node using behavior tree real time execution process to server RPC request data modes Game data needed for test case, and pass through variable representation and be stored in system for accessing use, it can build and meet The artificial intelligence automatic test case of player's real behavior, and pass through and start multiple virtual clients execution use-case simulation multiplayers Batch concurrent test behavior is performed to server simultaneously.The method provided by the present invention can not only be configured to realize test by behavior tree Action logic accesses game server by behavior tree node active RPC and obtains with the programming theory detached is configured Data mode needed for test, instead of doing dissection process to game server full dose packet receiving according to game logic in Mian Ke robots The passive processing mode for obtaining data, both reduced Mian Ke robots code architecture and the shortcomings that game logic excessively couples, It also mitigates in Mian Ke robots operational process to the parsing expense of server packet receiving, improves Mian Ke robots operational efficiency.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
In the above embodiment of the present invention, all emphasize particularly on different fields to the description of each embodiment, do not have in some embodiment The part of detailed description may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed technology contents can pass through others Mode is realized.Wherein, the apparatus embodiments described above are merely exemplary, such as the division of the unit, Ke Yiwei A kind of division of logic function, can there is an other dividing mode in actual implementation, for example, multiple units or component can combine or Person is desirably integrated into another system or some features can be ignored or does not perform.Another point, shown or discussed is mutual Between coupling, direct-coupling or communication connection can be INDIRECT COUPLING or communication link by some interfaces, unit or module It connects, can be electrical or other forms.
The unit illustrated as separating component may or may not be physically separate, be shown as unit The component shown may or may not be physical unit, you can be located at a place or can also be distributed to multiple On unit.Some or all of unit therein can be selected according to the actual needs to realize the purpose of this embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also That each unit is individually physically present, can also two or more units integrate in a unit.Above-mentioned integrated list The form that hardware had both may be used in member is realized, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and is independent product sale or uses When, it can be stored in a computer read/write memory medium.Based on such understanding, technical scheme of the present invention is substantially The part to contribute in other words to the prior art or all or part of the technical solution can be in the form of software products It embodies, which is stored in a storage medium, is used including some instructions so that a computer Equipment (can be personal computer, server or network equipment etc.) perform each embodiment the method for the present invention whole or Part steps.And aforementioned storage medium includes:USB flash disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited Reservoir (RAM, Random Access Memory), mobile hard disk, magnetic disc or CD etc. are various can to store program code Medium.
The above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications also should It is considered as protection scope of the present invention.

Claims (20)

  1. A kind of 1. data receiver method, which is characterized in that including:
    In test case operational process, by remote procedure call node to game server inquiry request;Its In, the inquiry request obtains number of playing needed for the test case operational process for request to the game server According to;
    The game data of the game server return is received by the RPC nodes;Wherein, the game data is from institute State what data-query interfaces corresponding with the inquiry request in game server obtained.
  2. 2. according to the method described in claim 1, it is characterized in that, the data-query interfaces are passed through by the game server Data query manager in the game server is safeguarded.
  3. 3. according to the method described in claim 1, it is characterized in that, the test case is by presetting application program to behavior burl Point is combined to obtain, wherein, what the behavior tree node was chosen from pre-set behavior tree node library, the behavior tree Node is packaged to obtain by pair behavioral test coupled with game logic.
  4. 4. according to the method described in claim 3, it is characterized in that, the default application program provides user interface UI operations circle Face, wherein, the UI operation interfaces are used to show the test case object of the test case according to the control command received.
  5. 5. according to the method described in claim 3, it is characterized in that, the behavior tree node library be set in advance in it is described it is default should With in the test case management device in program, wherein, the test case management utensil has at least one of function:It supports new Increase test case, support modification test case, support to delete test case, support in the test case operational process as institute It states virtual client and is independently arranged test case, support to be that the virtual client independently switches in test case operational process Test case supports to be the virtual client independence operation suspension test case in test case operational process.
  6. 6. according to the method described in claim 1, it is characterized in that, receiving the game server by the RPC nodes After the game data returned, the method further includes:
    By the game data storage in local dynamic data management device in a manner of variable.
  7. 7. according to the method described in claim 1, it is characterized in that,
    Before the game data that the game server returns is received by the RPC nodes, the method further includes: The currently running position of the test case is recorded, and hangs up the test case;
    After the game data that the game server return is received by the RPC nodes or, hanging up the survey In the case that the duration of example on probation is more than predetermined threshold, after the test case is hung up, the method further includes:Restore fortune The test case that row is hung up.
  8. 8. a kind of data transmission method for uplink, which is characterized in that including:
    During virtual client testing results use-case, receive the virtual client and pass through remote procedure call section The inquiry request that point is sent, wherein, the inquiry request obtains the test case to game server for request and ran Game data needed for journey;
    Data-query interfaces corresponding with the inquiry request are locally being searched according to the inquiry request;
    The game data and the game data by acquisition are obtained according to the data-query interfaces found It is sent to the virtual client.
  9. 9. according to the method described in claim 8, it is characterized in that, the data-query interfaces are passed through by the game server Data query manager in the game server is safeguarded.
  10. 10. according to the method described in claim 8, it is characterized in that, the test case is by presetting application program to behavior tree Node is combined to obtain, wherein, what the behavior tree node was chosen from pre-set behavior tree node library, the behavior Tree node is packaged to obtain by pair behavioral test coupled with game logic.
  11. 11. a kind of test system, which is characterized in that including:Game server and virtual client;Wherein, the game services Data query manager is deployed in device, there are one the data query manager maintenances or multiple data-query interfaces;
    The virtual client, in test case operational process, by remote procedure call node to the data Inquiry manager sends inquiry request, wherein, the inquiry request is used for institute in test case operational process described in acquisition request The game data needed;
    The data query manager, for after inquiry request is received, from one or more of data-query interfaces The data-query interfaces corresponding with the inquiry request are searched, according to obtaining the data-query interfaces found Game data and the game data of acquisition is sent to the virtual client.
  12. 12. system according to claim 11, which is characterized in that the system also includes:Default application program, wherein, The default application program includes:Virtual client manager and test case editing machine;Wherein,
    The virtual client manager, for creating one or more virtual clients;
    The test case editing machine, for the test case to be configured for the one or more virtual client created.
  13. 13. system according to claim 12, which is characterized in that the default application program further includes:UI operation interfaces, Wherein, the test case editing machine is integrated in the UI operation interfaces, the test case editing machine is additionally operable to basis and connects The control instruction received combines the behavior tree node chosen from pre-set behavior tree node library to obtain the test use Example.
  14. 14. system according to claim 13, which is characterized in that the default application program further includes test case management Device, wherein, the test case management utensil has at least one of function:It supports newly-increased test case, supports modification test Use-case is supported to delete test case, supports to be that the virtual client is independently arranged survey in the test case operational process Example on probation, supports to be the virtual client independence switch test use-case in test case operational process, supports to use in test It is the virtual client independence operation suspension test case in example operational process.
  15. 15. system according to claim 11, which is characterized in that the virtual client includes:Test case unit and Dynamic data management device, wherein,
    The test case unit, for running the test case;
    The dynamic data management device, in a manner of variable that the game data storage is dynamic in the virtual client State data management system.
  16. 16. system according to claim 15, which is characterized in that the test case unit is additionally operable to through the RPC Node records the currently running position of the test case before receiving the game data that the game server returns, and Hang up the test case and by the RPC nodes receive the game data that the game server returns it It is extensive after the test case is hung up afterwards or, in the case where the duration for hanging up the test case is more than predetermined threshold The test case that multiple operation is hung up.
  17. 17. a kind of data sink, which is characterized in that including:
    Sending module, in test case operational process, by remote procedure call node to game server Inquiry request;Wherein, the inquiry request is obtained to the game server in the test case operational process for request Required game data;
    Receiving module, for passing through the game data that the RPC nodes receive the game server and return;Wherein, institute State what game data data-query interfaces corresponding with the inquiry request from the game server obtained.
  18. 18. a kind of data sending device, which is characterized in that including:
    Receiving module, for during virtual client testing results use-case, receive the virtual client pass through it is long-range The inquiry request that invocation of procedure RPC nodes are sent, wherein, the inquiry request obtains the survey for request to game server Game data needed for example operational process on probation;
    Searching module, for locally searching data-query interfaces corresponding with the inquiry request according to the inquiry request;
    Acquisition module, the data-query interfaces for being found according to obtain the game data;
    Sending module, for the game data obtained to be sent to the virtual client.
  19. 19. a kind of storage medium, which is characterized in that computer program is stored in the storage medium, wherein, the computer Program is arranged to perform during operation any in the method or claim 8 to 10 described in any one of claim 1 to 7 Method described in.
  20. 20. a kind of electronic device, including memory and processor, which is characterized in that computer journey is stored in the memory Sequence, the processor are arranged to run the computer program to perform the side described in any one of claim 1 to 7 Method described in any one of method or claim 8 to 10.
CN201810050052.8A 2018-01-18 2018-01-18 Data receiver, sending method and device test system, storage medium Pending CN108255727A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810050052.8A CN108255727A (en) 2018-01-18 2018-01-18 Data receiver, sending method and device test system, storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810050052.8A CN108255727A (en) 2018-01-18 2018-01-18 Data receiver, sending method and device test system, storage medium

Publications (1)

Publication Number Publication Date
CN108255727A true CN108255727A (en) 2018-07-06

Family

ID=62741190

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810050052.8A Pending CN108255727A (en) 2018-01-18 2018-01-18 Data receiver, sending method and device test system, storage medium

Country Status (1)

Country Link
CN (1) CN108255727A (en)

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108984417A (en) * 2018-08-15 2018-12-11 北京达佳互联信息技术有限公司 Method for testing software, device, terminal and storage medium
CN109062152A (en) * 2018-07-26 2018-12-21 中国核动力研究设计院 A kind of Loacl variable on-line monitoring method that logic-based configuration generates
CN109491913A (en) * 2018-11-09 2019-03-19 国机智骏科技有限公司 Battery management system test method and system based on Internet of Things
CN109621430A (en) * 2018-12-12 2019-04-16 网易(杭州)网络有限公司 Game services end system, game control method, device, medium and electronic equipment
CN109985387A (en) * 2019-03-25 2019-07-09 网易(杭州)网络有限公司 Automated testing method and device
CN110083541A (en) * 2019-04-30 2019-08-02 网易(杭州)网络有限公司 Game test method, device, computer storage medium and electronic equipment
CN110474900A (en) * 2019-08-13 2019-11-19 腾讯科技(深圳)有限公司 A kind of Game Protocol test method and device
CN110765016A (en) * 2019-10-24 2020-02-07 网易(杭州)网络有限公司 Game test instruction processing method, system, server and storage device
CN111143223A (en) * 2019-12-30 2020-05-12 珠海金山网络游戏科技有限公司 Server pressure testing method and device
CN111382066A (en) * 2019-11-17 2020-07-07 海南大学 Software defined network application security attribute testing method in development
CN111382056A (en) * 2018-12-29 2020-07-07 北京字节跳动网络技术有限公司 Service testing method and device, server and storage medium
CN111475416A (en) * 2020-04-08 2020-07-31 网易(杭州)网络有限公司 Debugging method, device, system and storage medium
CN111897722A (en) * 2020-07-15 2020-11-06 重庆紫光华山智安科技有限公司 Automatic test case processing method and device, server and storage medium
CN112015469A (en) * 2020-07-14 2020-12-01 北京淇瑀信息科技有限公司 System reconfiguration method and device and electronic equipment
CN112272190A (en) * 2020-11-10 2021-01-26 网易(杭州)网络有限公司 Data access method and device
CN112328410A (en) * 2020-11-04 2021-02-05 网易(杭州)网络有限公司 Method, device, equipment and storage medium for realizing remote procedure call
CN112417843A (en) * 2020-10-20 2021-02-26 湖南中广汇智信息技术有限公司 IDcode identification analysis system and implementation method thereof
CN112433870A (en) * 2020-12-01 2021-03-02 网易(杭州)网络有限公司 Data calling method and device, computer readable storage medium and electronic equipment
CN112685286A (en) * 2019-10-18 2021-04-20 拉扎斯网络科技(上海)有限公司 Test object generation method and device, electronic equipment and computer storage medium
CN112882930A (en) * 2021-02-04 2021-06-01 网易(杭州)网络有限公司 Automatic testing method and device, storage medium and electronic equipment
CN113332718A (en) * 2021-06-10 2021-09-03 网易(杭州)网络有限公司 Interactive element query method and device, electronic equipment and storage medium
CN114422570A (en) * 2021-12-31 2022-04-29 深圳市联软科技股份有限公司 Cross-platform multi-module communication method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103729294A (en) * 2013-12-30 2014-04-16 金蝶软件(中国)有限公司 Method and device for testing performance script of application software
CN105068929A (en) * 2015-08-06 2015-11-18 网易(杭州)网络有限公司 Test script generation method, test script generation device, testing method, testing device and testing system
CN105868111A (en) * 2016-03-29 2016-08-17 网易(杭州)网络有限公司 Automatic testing method and device for mobile terminal game
CN107153603A (en) * 2017-04-19 2017-09-12 网易(杭州)网络有限公司 Analog detection method, the apparatus and system of game
US20170286267A1 (en) * 2016-04-01 2017-10-05 Google Inc. Fast and efficient continuous integration test system for large scale services

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103729294A (en) * 2013-12-30 2014-04-16 金蝶软件(中国)有限公司 Method and device for testing performance script of application software
CN105068929A (en) * 2015-08-06 2015-11-18 网易(杭州)网络有限公司 Test script generation method, test script generation device, testing method, testing device and testing system
CN105868111A (en) * 2016-03-29 2016-08-17 网易(杭州)网络有限公司 Automatic testing method and device for mobile terminal game
US20170286267A1 (en) * 2016-04-01 2017-10-05 Google Inc. Fast and efficient continuous integration test system for large scale services
CN107153603A (en) * 2017-04-19 2017-09-12 网易(杭州)网络有限公司 Analog detection method, the apparatus and system of game

Cited By (37)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109062152A (en) * 2018-07-26 2018-12-21 中国核动力研究设计院 A kind of Loacl variable on-line monitoring method that logic-based configuration generates
CN109062152B (en) * 2018-07-26 2021-04-13 中核控制系统工程有限公司 Local variable online monitoring method based on logic configuration generation
CN108984417A (en) * 2018-08-15 2018-12-11 北京达佳互联信息技术有限公司 Method for testing software, device, terminal and storage medium
CN108984417B (en) * 2018-08-15 2022-06-03 北京达佳互联信息技术有限公司 Software testing method, device, terminal and storage medium
CN109491913A (en) * 2018-11-09 2019-03-19 国机智骏科技有限公司 Battery management system test method and system based on Internet of Things
CN109491913B (en) * 2018-11-09 2022-07-29 国机智骏汽车有限公司 Battery management system testing method and system based on Internet of things
CN109621430A (en) * 2018-12-12 2019-04-16 网易(杭州)网络有限公司 Game services end system, game control method, device, medium and electronic equipment
CN111382056A (en) * 2018-12-29 2020-07-07 北京字节跳动网络技术有限公司 Service testing method and device, server and storage medium
CN111382056B (en) * 2018-12-29 2024-02-02 北京字节跳动网络技术有限公司 Service testing method and device, server and storage medium
CN109985387A (en) * 2019-03-25 2019-07-09 网易(杭州)网络有限公司 Automated testing method and device
CN110083541B (en) * 2019-04-30 2024-02-02 网易(杭州)网络有限公司 Game test method, game test device, computer storage medium and electronic equipment
CN110083541A (en) * 2019-04-30 2019-08-02 网易(杭州)网络有限公司 Game test method, device, computer storage medium and electronic equipment
CN110474900A (en) * 2019-08-13 2019-11-19 腾讯科技(深圳)有限公司 A kind of Game Protocol test method and device
CN110474900B (en) * 2019-08-13 2021-11-02 腾讯科技(深圳)有限公司 Game protocol testing method and device
CN112685286A (en) * 2019-10-18 2021-04-20 拉扎斯网络科技(上海)有限公司 Test object generation method and device, electronic equipment and computer storage medium
CN110765016A (en) * 2019-10-24 2020-02-07 网易(杭州)网络有限公司 Game test instruction processing method, system, server and storage device
CN110765016B (en) * 2019-10-24 2023-09-26 网易(杭州)网络有限公司 Game test instruction processing method, game test instruction processing system, server and storage device
CN111382066A (en) * 2019-11-17 2020-07-07 海南大学 Software defined network application security attribute testing method in development
CN111143223A (en) * 2019-12-30 2020-05-12 珠海金山网络游戏科技有限公司 Server pressure testing method and device
CN111475416B (en) * 2020-04-08 2024-03-19 网易(杭州)网络有限公司 Debugging method, device, system and storage medium
CN111475416A (en) * 2020-04-08 2020-07-31 网易(杭州)网络有限公司 Debugging method, device, system and storage medium
CN112015469A (en) * 2020-07-14 2020-12-01 北京淇瑀信息科技有限公司 System reconfiguration method and device and electronic equipment
CN112015469B (en) * 2020-07-14 2023-11-14 北京淇瑀信息科技有限公司 System reconstruction method and device and electronic equipment
CN111897722B (en) * 2020-07-15 2022-11-22 重庆紫光华山智安科技有限公司 Automatic test case processing method and device, server and storage medium
CN111897722A (en) * 2020-07-15 2020-11-06 重庆紫光华山智安科技有限公司 Automatic test case processing method and device, server and storage medium
CN112417843A (en) * 2020-10-20 2021-02-26 湖南中广汇智信息技术有限公司 IDcode identification analysis system and implementation method thereof
CN112417843B (en) * 2020-10-20 2024-03-08 湖南中广汇智信息技术有限公司 IDcode identification analysis system and implementation method thereof
CN112328410A (en) * 2020-11-04 2021-02-05 网易(杭州)网络有限公司 Method, device, equipment and storage medium for realizing remote procedure call
CN112328410B (en) * 2020-11-04 2023-08-08 网易(杭州)网络有限公司 Method, device, equipment and storage medium for realizing remote procedure call
CN112272190A (en) * 2020-11-10 2021-01-26 网易(杭州)网络有限公司 Data access method and device
CN112433870A (en) * 2020-12-01 2021-03-02 网易(杭州)网络有限公司 Data calling method and device, computer readable storage medium and electronic equipment
CN112882930B (en) * 2021-02-04 2023-09-26 网易(杭州)网络有限公司 Automatic test method and device, storage medium and electronic equipment
CN112882930A (en) * 2021-02-04 2021-06-01 网易(杭州)网络有限公司 Automatic testing method and device, storage medium and electronic equipment
CN113332718A (en) * 2021-06-10 2021-09-03 网易(杭州)网络有限公司 Interactive element query method and device, electronic equipment and storage medium
CN113332718B (en) * 2021-06-10 2024-02-20 网易(杭州)网络有限公司 Interactive element query method and device, electronic equipment and storage medium
CN114422570A (en) * 2021-12-31 2022-04-29 深圳市联软科技股份有限公司 Cross-platform multi-module communication method and system
CN114422570B (en) * 2021-12-31 2024-05-14 深圳市联软科技股份有限公司 Cross-platform multi-module communication method and system

Similar Documents

Publication Publication Date Title
CN108255727A (en) Data receiver, sending method and device test system, storage medium
CN109218139B (en) Gateway test system
CN104978261B (en) The test method of application program, apparatus and system
CN108170590B (en) Test system and method of block chain system
CN109271170B (en) Distributed system deployment method, system, electronic device and storage medium
CN106357457B (en) A kind of alarm test method, apparatus and system
CN104520814B (en) System and method for configuring cloud computing systems
CN101212362B (en) Automatic testing device and method incorporating a variety of testing tools
CN104541247B (en) System and method for adjusting cloud computing system
CN110535831A (en) Cluster safety management method, device and storage medium based on Kubernetes and network domains
CN113067728A (en) Network security attack and defense test platform
CN106301829A (en) A kind of method and apparatus of Network dilatation
CN107291750A (en) A kind of data migration method and device
CN103036703A (en) Configuration management method of logical topology in virtual network and management server
CN107508722A (en) A kind of business monitoring method and device
CN109634718A (en) The method and system of cloud platform creation mirror image
CN109739708A (en) Test the methods, devices and systems of pressure
CN109933519A (en) Automated testing method, device, system, medium and electronic equipment
CN109731334A (en) Switching method and apparatus, storage medium, the electronic device of state
CN110196804A (en) The test method and device of business, storage medium, electronic device
CN114429210A (en) Cloud-protogenesis-based reinforcement learning pipeline method, system, equipment and storage medium
CN108319492A (en) Reset the method, apparatus and system of physical machine
CN114827002B (en) Multi-domain network security path calculation method, system, device, medium and terminal
CN110515514A (en) A kind of data processing method, device and storage medium
CN113434146A (en) Code compiling method, device, storage medium and electronic device

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: 20180706

RJ01 Rejection of invention patent application after publication