CN106470136A - Platform test method and platform testing system - Google Patents

Platform test method and platform testing system Download PDF

Info

Publication number
CN106470136A
CN106470136A CN201510520387.8A CN201510520387A CN106470136A CN 106470136 A CN106470136 A CN 106470136A CN 201510520387 A CN201510520387 A CN 201510520387A CN 106470136 A CN106470136 A CN 106470136A
Authority
CN
China
Prior art keywords
server
service device
emulating
testing service
reply message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510520387.8A
Other languages
Chinese (zh)
Other versions
CN106470136B (en
Inventor
周霄
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Beijing Co Ltd
Original Assignee
Tencent Technology Beijing 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 Tencent Technology Beijing Co Ltd filed Critical Tencent Technology Beijing Co Ltd
Priority to CN201510520387.8A priority Critical patent/CN106470136B/en
Publication of CN106470136A publication Critical patent/CN106470136A/en
Application granted granted Critical
Publication of CN106470136B publication Critical patent/CN106470136B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses a kind of platform test method, comprise the following steps:Aol server captures the flow bag producing in platform actual motion, and the described flow bag of crawl is sent to emulating server;Described emulating server sets up the session connection and testing service device between in test environment, and is sent described flow bag to described testing service device by described session connection;Described testing service device generates replys message, and described reply message is fed back to described emulating server;Described emulating server receives the described reply message of described testing service device feedback.The invention also discloses a kind of platform testing system, simulation TCP session logic can be given the emulating server execution being deployed in test environment by the present invention, and in test environment analog subscriber, to avoid execution simulation TCP session logic on server on line, thus reducing the impact to aol server.

Description

Platform test method and platform testing system
Technical field
The present invention relates to communication technical field, more particularly, to a kind of platform test method and platform test system System.
Background technology
Tcpcopy is the instrument that a kind of request replicates, and can capture TCP (Transmis from production environment - sion Control Protocol, transmission control protocol) flow, then these real traffics in test wrapper It is sent to testing service device, it passes through to simulate one close to real environment so that testing service device in border Take for real user mutual, from and be widely used.But existing Tcpcopy is to give birth to Produce execution simulation TCP session logic on the aol server of environment, such as from the aol server of production environment Directly transmit flow bag to testing service device, and analog subscriber in production environment, so, Tc can be led to Pcopy and aol server contention CPU and memory source, thus impact to aol server.
The above is only used for auxiliary and understands technical scheme, does not represent and recognizes that the above is Prior art.
Content of the invention
Present invention is primarily targeted at a kind of platform test method and platform testing system are provided it is intended to Simulation TCP session logic is given the emulating server execution being deployed in test environment, and in test wrapper Analog subscriber in border, to avoid execution simulation TCP session logic on server on line, thus reduce right The impact of aol server.
For achieving the above object, a kind of platform test method that the present invention provides, described platform test method Comprise the following steps:
Aol server captures the flow bag producing in platform actual motion, and the described flow bag by crawl Send to emulating server;
Described emulating server sets up the session connection and testing service device between in test environment, and leads to Cross described session connection to send described flow bag to described testing service device;
Described testing service device generates replys message, and described reply message is fed back to described analog service Device;
Described emulating server receives the described reply message of described testing service device feedback.
Additionally, for achieving the above object, the present invention also provides a kind of platform testing system, and described platform is surveyed Test system includes:
Aol server, for capturing the flow bag producing in platform actual motion, and by described in crawl Flow bag sends to emulating server;
Emulating server, for setting up the session connection and testing service device between in test environment, and By described session connection, described flow bag is sent to described testing service device;
Testing service device, replys message for generating, and described reply message is fed back to described simulation suit Business device;
Described emulating server, is additionally operable to receive the described reply message of described testing service device feedback.
Platform test method and platform testing system that the present invention provides, flat by aol server crawl The flow bag producing in platform actual motion, and the described flow bag of crawl is sent to emulating server, institute State the session connection that emulating server is set up in test environment and testing service device between, and by described Session connection sends described flow bag to described testing service device, and described testing service device generates replys report Literary composition, and described reply message is fed back to described emulating server, described emulating server receives described survey The described reply message of examination server feedback.So, by giving and being deployed in simulation TCP session logic Emulating server execution in test environment, and analog subscriber in test environment, to avoid taking on line Execution simulation TCP session logic on business device, thus reduce the impact to aol server.
Brief description
Fig. 1 is the high-level schematic functional block diagram of platform testing system first embodiment of the present invention;
The configuration diagram of the system first embodiment that Fig. 2 is related to for embodiment of the present invention scheme;
The configuration diagram of the system second embodiment that Fig. 3 is related to for embodiment of the present invention scheme;
Fig. 4 is the refinement high-level schematic functional block diagram of aol server in Fig. 1;
Fig. 5 is the refinement high-level schematic functional block diagram of testing service device first embodiment in Fig. 1;
Fig. 6 is the refinement high-level schematic functional block diagram of emulating server first embodiment in Fig. 1;
Fig. 7 is the refinement high-level schematic functional block diagram of testing service device second embodiment in Fig. 1;
Fig. 8 is the high-level schematic functional block diagram of platform testing system second embodiment of the present invention;
Fig. 9 is the refinement high-level schematic functional block diagram of emulating server second embodiment in Fig. 1;
Figure 10 is the refinement high-level schematic functional block diagram of target simulation server in Fig. 9;
Figure 11 is the schematic flow sheet of platform test method first embodiment of the present invention;
Figure 12 is the flow bag that in Figure 11, step aol server captures in production environment, and the institute by crawl State flow bag to send to the refinement schematic flow sheet of emulating server;
Figure 13 is the schematic flow sheet of platform test method second embodiment of the present invention;
Figure 14 is that in Figure 11 or Figure 13, described reply message is fed back to described simulation suit by step testing service device The refinement schematic flow sheet of business device first embodiment;
Figure 15 is the schematic flow sheet of platform test method 3rd embodiment of the present invention;
Figure 16 is that in Figure 11 or Figure 13, described reply message is fed back to described simulation suit by step testing service device The refinement schematic flow sheet of business device second embodiment;
Figure 17 is that in Figure 16, described reply message is forwarded to described n by target simulation server described in step The refinement schematic flow sheet of the other emulating servers in emulating server.
The realization of the object of the invention, functional characteristics and advantage will be done further in conjunction with the embodiments referring to the drawings Explanation.
Specific embodiment
It should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not used to limit Determine the present invention.
The core concept of embodiment of the present invention scheme is:Captured in platform actual motion by aol server The flow bag producing, and the described flow bag of crawl is sent to emulating server, described emulating server The session connection and testing service device between is set up in test environment, and by described session connection by institute State flow bag to send to described testing service device, described testing service device generates replys message, and will be described Reply message and feed back to described emulating server, described emulating server receives described testing service device feedback Described reply message.So, by giving and being deployed in test environment simulation TCP session logic Emulating server executes, and analog subscriber in test environment, to avoid executing mould on server on line Intend TCP session logic, thus reducing the impact to aol server.
The present invention provides a kind of platform testing system 1, and with reference to Fig. 1, in one embodiment, described platform is surveyed Test system 1 includes:
Aol server 10, for capturing the flow bag producing in platform actual motion, and the institute by crawl State flow bag to send to emulating server;
In the present embodiment, aol server 10 is the background server providing platform service for application, permissible It is connected with emulating server by wired or wireless network.Emulating server passes through wired or wireless network Network is connected with testing service device.Wherein, described emulating server and testing service device may be at same net It is also possible to be in different segment, the present embodiment does not limit to this in section.It is understood that With reference to Fig. 2 and Fig. 3, emulating server can have one can also have multiple, specifically can be according to actual needs Rationally arrange, with reference to Fig. 3, when emulating server has multiple, can connect two-by-two between emulating server. Wherein, in this preferred embodiment, described platform is advertising platform, certainly, in other embodiments, institute Stating platform can also be other application platform, specifically can rationally arrange according to actual needs.
In the present embodiment, flow bag is that in platform actual motion, user sends to described aol server 10 Request, aol server 10 passes through to capture the flow bag in production environment, and real data on flows is sent out To described emulating server, so, emulating server is after getting these flow bags it is possible to survey Analog subscriber in test ring border, it is to avoid execution simulation TCP session logic on server 10 on line, thus drop The low impact to aol server 10.
Emulating server 20, for setting up the session connection and testing service device between in test environment, And sent described flow bag to described testing service device by described session connection;
In the present embodiment, described emulating server 20 is set up and testing service device between in test environment TCP (Transmission Control Protocol, transmission control protocol) session connection, by described TCP Session connection analog subscriber ask, allow described testing service device be thought with real user mutual, such as This, reduce the processing load of aol server 10, thus ensureing that aol server 10 can be more preferable The user's request of response real user.
After server 10 receives user's request on line, emulating server 20 can be set up and test Session connection between server, such as, emulating server 20 can be set up and testing service device between TCP session, sends this user's request to testing service device by this session connection set up.Specifically, Emulating server 20 can be set up and test by the address of testing service device of setting in order line and port Session connection between server it is also possible to by the address of testing service device of setting in configuration file and Port does not limit to this setting up the session connection and testing service device between, the present embodiment.
Before the session connection that emulating server 20 is set up and testing service device between, emulating server 20 Following steps can be executed:Detect whether to receive aol server 10 forwarding belongs to same TCP Whole flow bags of session.Wherein, the whole flow bags belonging to same TCP session refer to online service Whole flow bags that the client that device 10 receives sends.Receiving whole flows of a TCP session After bag just set up and testing service device between session connection, and start simulate real user (namely turn Send out flow bag to testing service device), it is to avoid aol server 10 converting flow bag is to emulating server 20 During, the testing service device being led to due to packet loss waits a flow never reaching always Bag, such that it is able to avoid testing service device to suffer from DOS (Denial Of Service, Denial of Service attack) The problem attacked.
Testing service device 30, replys message for generating, and described reply message is fed back to described simulation Server 20;
Described emulating server 20, is additionally operable to receive the described reply message of described testing service device 30 feedback.
In the present embodiment, described testing service device 30, when being successfully received described flow bag, can generate back Multiple message ACK (Acknowledgement confirms character), described emulating server 20 receives described survey The described reply message of examination server 30 feedback, and after receiving described reply message, can abandon Reply message.As such, it is possible to prevent this reply message to be forwarded to outer net, thus avoiding emulating server Interrupting occurs in TCP session between 20 and testing service device 30.
The platform testing system 1 that the present invention provides, by producing in aol server 10 platform actual motion Flow bag, and by crawl described flow bag send to emulating server 20, described emulating server 20 The session connection and testing service device 30 between is set up in test environment, and will by described session connection Described flow bag sends to described testing service device 30, and described testing service device 30 generates replys message, and Described reply message is fed back to described emulating server 20, described emulating server 20 receives described test The described reply message of server 30 feedback.So, by giving and being deployed in simulation TCP session logic Emulating server 20 in test environment executes, and analog subscriber in test environment, to avoid on line Execution simulation TCP session logic on server 10, thus reduce the impact to aol server 10.
In one embodiment, with reference to Fig. 4, on the basis of the embodiment of above-mentioned Fig. 1, described online service Device 10 includes:
First handling module 101, for instructing the flow bag in crawl production environment by tcpdump;
First sending module 102, for instructing the form with byte stream by netcat, by described in crawl Flow bag sends the emulating server 20 pointed by preset address information.
In this preferred embodiment, described tcpdump instruction and netcat instruct, and wherein, tcpdump instructs For packet packet catcher, it is the analysis of linux system lower network, the instrument of problem discharge, can be by network " head " of the packet of middle transmission completely intercept and capture offer analysis, it support for Internet, agreement, The filtration of main frame, network or port, and provide the logical statements such as and, or, not useless to help to remove Information.Netcat instruction is " Swiss Army Knife " in network, reads and writes number through TCP or udp protocol According to almost all kinds of network connection can be set up.Specifically can be as follows:tcpdump–i any dst port 80–s0–w-|netcat 192.168.1.200 1993.Wherein, preset address information can include mould Intend the server address of server 20 and the port numbers of listening port.Alternatively, this preset address information can Think the address information of setting in the order parameter of tcpdump instruction, such as, for instruction netcat 192.168.1.200 1993, aol server 10 can know that the server address of emulating server 20 is 192.168.1.200, the port numbers monitoring the listening port of information that aol server 10 sends are 1993. It is understood that this preferred embodiment uses the Unix instrument of standard it is not limited to this enforcement Tcpdump instruction in example and netcat instruction.
Specifically, when aol server 10 sends user's request to emulating server 20 with the form of byte stream When, emulating server 20 can receive the flow bag of bytestream format accordingly.Hereafter, analog service Device 20 can filter out user by way of checking IP check value and TCP test value from byte stream please Ask.
In one embodiment, with reference to Fig. 5, on the basis of the embodiment of above-mentioned Fig. 1 or Fig. 4, described mould Intend server 20 and described testing service device 30 is in the same network segment, described testing service device 30 includes:
First feedback module 301, for replying message to described simulation according to the first via described in feedback of the information Server 20, wherein, described first routing iinformation is the information pointing to described emulating server 20.
In the present embodiment, it is in the same network segment in described emulating server 20 and described testing service device 30 When, the message of replying of described testing service device 30 feedback is sent to described analog service by way of route Device 20.In first routing iinformation, the address of default emulating server 20 is 192.168.1.200, then test Server 30 generate reply message after, testing service device 30 can feed back reply message to the first via by Emulating server 20 pointed by 192.168.1.200 in information.
In one embodiment, with reference to Fig. 6, on the basis of the embodiment of above-mentioned Fig. 1, described analog service Device 20 includes:
Discard module 201, for by described reply packet loss.
Specifically, if this reply message is forwarded to outer net after receiving reply message by emulating server 20, Then testing service device 30 may receive outer net feedback RESET bag, receives in testing service device 30 After RESET bag, testing service device 30 can disconnect the TCP session connection and emulating server 20 between, Namely the communication between testing service device 30 and emulating server 20 will be unable to continue.So, this enforcement In example, emulating server 20 passes through to abandon the reply message receiving, to avoid testing service device 30 and mould Intend the problem of the TCP conversation between server 20.
In one embodiment, with reference to Fig. 7, on the basis of the embodiment of above-mentioned Fig. 1 or Fig. 4, described mould Intend server 20 and described testing service device 30 is in different segment, described testing service device 30 includes:
Second handling module 302, for, in the way of transmission control protocol TCP, being referred to by tcpdump Order captures described reply message;
Second sending module 303, for being instructed the described reply message cross-network segment grabbing by netcat Send to the listening port of described emulating server 20.
In the present embodiment, it is in different segment in described emulating server 20 and described testing service device 30 When, the reply message of testing service device 30 feedback can not be dealt into described emulating server by way of route 20, at this moment, by way of TCP, reply message in testing service device 30 with tcpdump instruction crawl, With netcat instruction, the described reply message cross-network segment of crawl is sent to the prison of described emulating server 20 again Listen port 1992 port.In this case, the configuration file of emulating server 20 MAIN.sniff_method needs to be set to TCP.
It should be added that, configuration file can be provided with emulating server 20, this configuration file For configuring the emulating server 20 actively TCP session connection between closing and testing service device 30, or Person's configuration emulating server 20 passively closes the TCP session connection and testing service device 30 between.In mould After intending the TCP conversation end between server 20 and testing service device 30, emulating server 20 is permissible Actively closed according to the configuration in configuration file or the passive TCP closing and testing service device 30 between Session connection.
In one embodiment, with reference to Fig. 8, on the basis of the embodiment of above-mentioned Fig. 1, described platform test System 1 also includes predetermined server 40, and described testing service device 30 also includes the second feedback module 303:
Described second feedback module 303, for anti-according to default message reply mechanism and secondary route information Feedback described reply message is to predetermined server 40;
Described predetermined server 40, for receiving described testing service device 30 according to the reply of default message When the described reply message of mechanism and secondary route feedback of the information is to predetermined server 40, abandon described returning Multiple message, wherein, described secondary route information is to point to the information of described predetermined server 40, described pre- If server 40 is the server being in the same network segment with described testing service device 30.
In the present embodiment, although testing service device 30 is without the road being provided for sensing emulating server 20 By information, and then message routing will be replied to emulating server 20.But, mechanism is replied according to message Regulation, testing service device 30 is in together there is still a need for returning back to this reply message with testing service device 30 There is no the machine of routing function in one network segment, namely there is still a need for being provided for pointing in testing service device 30 It is in the secondary route information of the predetermined server 40 of the same network segment with testing service device 30, and according to This reply message is returned back to predetermined server 40 by two routing iinformations.With emulating server in above-described embodiment The reasons why 20 discarding reply messages are identical, after predetermined server 40 receives reply message, preset service Device 40 can also abandon this reply message.It is of course also possible to by the reply changing testing service device 30 Mechanism is so as to no longer send the other machines replying message to the same network segment, now, testing service device 30 feedbacks reply message to after emulating server 20, and testing service device 30 can directly abandon this reply Message.
In one embodiment, with reference to Fig. 9, on the basis of the embodiment of above-mentioned Fig. 1 or Fig. 8, described mould The quantity intending server 20 is n, n >=2;Described emulating server 20 includes:
Target simulation server 21, for receiving the described reply message of described testing service device 30 feedback;
Other emulating servers 22, for receiving the described reply report that described target simulation server 21 forwards Literary composition.
In the present embodiment, when emulating server 20 is in the same network segment with testing service device 30, test Server 30 can reply message according to the first via to described n emulating server 20 by feedback of the information Target simulation server 21;When emulating server 20 is in different segment with testing service device 30, The reply message that testing service device 30 is generated by tcpdump instruction crawl, and sent out by netcat instruction Give the target simulation server 21 to n emulating server 20 for this reply message, then by described target Described message of replying is forwarded to the other simulations in described n emulating server 20 by emulating server 21 Server 22.
In one embodiment, with reference to Figure 10, on the basis of the embodiment of above-mentioned Fig. 9, described target mould Intend i-th emulating server that server 21 is in described n emulating server, the initial value of i is 1, Described target simulation server 21 includes:
First forwarding module 211, for by described reply message write default file, being instructed by reading Read the described reply message in described default file, and described reply message is forwarded extremely by netcat instruction I+1 emulating server in described n emulating server;
In the present embodiment, such as, the two neighboring emulating server 20 in n emulating server 20 by One famous pipeline/tmp/horos.fifo supports, then receive reply message in i-th emulating server 20 Afterwards, i-th emulating server 20 this reply message can be write/tmp/horos.fifo in, and pass through The reply message that cat in standard unix tool instructs storage in handle/tmp/horos.fifo reads, then With netcat instruction, the reply message of reading is sent to i+1 emulating server 20 again.Accordingly, I+1 emulating server 20 can receive the reply message of i-th emulating server 20 forwarding.
Second forwarding module 212, in i+1<During n, described reply message is write and presets to described In file, by reading the described reply message in the instruction described default file of reading, and pass through netcat Instruction forwards described reply message to described n-th emulating server 20.
In the present embodiment, by execution with above-mentioned essentially identical step it is ensured that each analog service Device 20 all can receive the reply message of testing service device 30 feedback.
Based on above-mentioned hardware structure, platform test embodiment of the method for the present invention is proposed.
The present invention also provides a kind of platform test method, with reference to Figure 11, in one embodiment, described platform Method of testing comprises the following steps:
Step S10, aol server 10 captures the flow bag producing in platform actual motion, and will capture Described flow bag send to emulating server 20;
In the present embodiment, aol server 10 is the background server providing platform service for application, permissible It is connected with emulating server 20 by wired or wireless network.Emulating server 20 pass through wired or Wireless network is connected with testing service device 30.Wherein, described emulating server 20 and testing service device 30 May be in the same network segment it is also possible to be in different segment, the present embodiment does not limit to this. It is understood that with reference to Fig. 2 and Fig. 3, emulating server 20 can have one can also have multiple, Specifically can rationally arrange according to actual needs, with reference to Fig. 3, when emulating server 20 has multiple, simulation Can connect two-by-two between server 20.Wherein, in this preferred embodiment, described platform is advertising platform, Certainly, in other embodiments, described platform can also be other application platform, specifically can be according to reality Border needs rationally to arrange.
In the present embodiment, flow bag is that in platform actual motion, user sends to described aol server 10 Request, aol server 10 passes through to capture the flow bag in production environment, and real data on flows is sent out To described emulating server 20, so, emulating server 20 after getting these flow bags it is possible to Analog subscriber in test environment, it is to avoid execution simulation TCP session logic on server 10 on line, from And reduce the impact to aol server 10.
Step S20, described emulating server 20 is set up and testing service device 30 between in test environment Session connection, and sent described flow bag to described testing service device 30 by described session connection;
In the present embodiment, described emulating server 20 set up in test environment with testing service device 30 it Between TCP (Transmission Control Protocol, transmission control protocol) session connection, by institute State TCP session connection analog subscriber request, allow described testing service device 30 be thought with real user Interaction, so, reduces the processing load of aol server 10, thus ensureing aol server 10 energy Enough user's requests preferably responding real user.
After server 10 receives user's request on line, emulating server 20 can be set up and test Session connection between server 30, such as, emulating server 20 can be set up and testing service device 30 Between TCP session, by set up this session connection send this user's request to testing service device 30. Specifically, emulating server 20 can be by the address of testing service device 30 of setting and end in order line Mouth sets up the session connection and testing service device 30 between it is also possible to pass through the test of setting in configuration file The address of server 30 and port are setting up the session connection and testing service device 30 between, the present embodiment This is not limited.
Before the session connection that emulating server 20 is set up and testing service device 30 between, analog service Device 20 can execute following steps:Detect whether to receive aol server 10 forwarding belongs to same Whole flow bags of TCP session.Wherein, the whole flow bags belonging to same TCP session refer on line Whole flow bags that the client that server 10 receives sends.Receiving the whole of a TCP session After flow bag just set up and testing service device 30 between session connection, and start simulate real user ( I.e. converting flow bag is to testing service device 30), it is to avoid aol server 10 converting flow bag is to simulation suit During business device 20, the testing service device 30 being led to due to packet loss waits one never always Reach flow bag, such that it is able to avoid testing service device 30 suffer from DOS (Denial Of Service, Denial of Service attack) problem attacked.
Step S30, described testing service device 30 generates replys message, and described reply message is fed back to Described emulating server 20;
Step S40, described emulating server 20 receives the described reply report of described testing service device 30 feedback Literary composition.
In the present embodiment, described testing service device 30, when being successfully received described flow bag, can generate back Multiple message ACK (Acknowledgement confirms character), described emulating server 20 receives described survey The described reply message of examination server 30 feedback, and after receiving described reply message, can abandon Reply message.As such, it is possible to prevent this reply message to be forwarded to outer net, thus avoiding emulating server Interrupting occurs in TCP session between 20 and testing service device 30.
The platform test method that the present invention provides, is captured in platform actual motion by aol server 10 and produces Raw flow bag, and the described flow bag of crawl is sent to emulating server 20, described emulating server 20 set up the session connection and testing service device 30 between in test environment, and by described session connection Described flow bag is sent to described testing service device 30, described testing service device 30 generates replys message, And described reply message is fed back to described emulating server 20, described emulating server 20 receives described survey The described reply message of examination server 30 feedback.So, by giving deployment by simulation TCP session logic Emulating server execution in test environment, and analog subscriber in test environment, to avoid on line Execution simulation TCP session logic on server 10, thus reduce the impact to aol server 10.
In one embodiment, with reference to Figure 12, on the basis of the embodiment of above-mentioned Figure 11, described step S10 includes:
Step S101, described aol server 10 instructs the flow in crawl production environment by tcpdump Bag;
Step S102, instructs the form with byte stream by netcat, and the described flow bag of crawl is sent Emulating server 20 pointed by preset address information.
In this preferred embodiment, described tcpdump instruction and netcat instruct, and wherein, tcpdump instructs For packet packet catcher, it is the analysis of linux system lower network, the instrument of problem discharge, can be by network " head " of the packet of middle transmission completely intercept and capture offer analysis, it support for Internet, agreement, The filtration of main frame, network or port, and provide the logical statements such as and, or, not useless to help to remove Information.Netcat instruction is " Swiss Army Knife " in network, reads and writes number through TCP or udp protocol According to almost all kinds of network connection can be set up.Specifically can be as follows:tcpdump–i any dst port 80–s0–w-|netcat 192.168.1.200 1993.Wherein, preset address information can include mould Intend the server address of server 20 and the port numbers of listening port.Alternatively, this preset address information can Think the address information of setting in the order parameter of tcpdump instruction, such as, for instruction netcat 192.168.1.200 1993, aol server 10 can know that the server address of emulating server 20 is 192.168.1.200, the port numbers monitoring the listening port of information that aol server 10 sends are 1993. It is understood that this preferred embodiment uses the Unix instrument of standard it is not limited to this enforcement Tcpdump instruction in example and netcat instruction.
Specifically, when aol server 10 sends user's request to emulating server 20 with the form of byte stream When, emulating server 20 can receive the flow bag of bytestream format accordingly.Hereafter, analog service Device 20 can filter out user by way of checking IP check value and TCP test value from byte stream please Ask.
In one embodiment, on the basis of the embodiment of above-mentioned Figure 12, described emulating server 20 He Described testing service device 30 is in the same network segment, by described reply message feedback described in described step S30 Step to described emulating server 20 further includes:
Described testing service device 30 replys message to described analog service according to the first via described in feedback of the information Device 20, wherein, described first routing iinformation is the information pointing to described emulating server 20.
In the present embodiment, it is in the same network segment in described emulating server 20 and described testing service device 30 When, the message of replying of described testing service device 30 feedback is sent to described analog service by way of route Device 20.In first routing iinformation, the address of default emulating server 20 is 192.168.1.200, then test Server 30 generate reply message after, testing service device 30 can feed back reply message to the first via by Emulating server 20 pointed by 192.168.1.200 in information.
In one embodiment, with reference to Figure 13, on the basis of the embodiment of above-mentioned Figure 11, described step Also include after S40:
Step S50, described emulating server 20 is by described reply packet loss.
Specifically, if this reply message is forwarded to outer net after receiving reply message by emulating server 20, Then testing service device 30 may receive outer net feedback RESET bag, receives in testing service device 30 After RESET bag, testing service device 30 can disconnect the TCP session connection and emulating server 20 between, Namely the communication between testing service device 30 and emulating server 20 will be unable to continue.So, this enforcement In example, emulating server 20 passes through to abandon the reply message receiving, to avoid testing service device 30 and mould Intend the problem of the TCP conversation between server 20.
In one embodiment, with reference to Figure 14, on the basis of the embodiment of above-mentioned Figure 13, described simulation suit Business device 20 and described testing service device 30 are in different segment, by described time described in described step S30 The step that multiple message feeds back to described emulating server 20 includes:
Step S301, described testing service device 30 in the way of transmission control protocol TCP, by tcpdump Instruction captures described reply message;
Step S302, is sent the described reply message cross-network segment grabbing to described by netcat instruction The listening port of emulating server 20.
In the present embodiment, it is in different segment in described emulating server 20 and described testing service device 30 When, the reply message of testing service device 30 feedback can not be dealt into described emulating server by way of route 20, at this moment, by way of TCP, reply message in testing service device 30 with tcpdump instruction crawl, With netcat instruction, the described reply message cross-network segment of crawl is sent to the prison of described emulating server 20 again Listen port 1992 port.In this case, the configuration file of emulating server 20 MAIN.sniff_method needs to be set to TCP.
It should be added that, configuration file can be provided with emulating server 20, this configuration file For configuring the emulating server 20 actively TCP session connection between closing and testing service device 30, or Person's configuration emulating server 20 passively closes the TCP session connection and testing service device 30 between.In mould After intending the TCP conversation end between server 20 and testing service device 30, emulating server 20 is permissible Actively closed according to the configuration in configuration file or the passive TCP closing and testing service device 30 between Session connection.
In one embodiment, with reference to Figure 15, on the basis of the embodiment of above-mentioned Figure 11, described step Also include after S40:
S60, described testing service device 30 replys mechanism and secondary route feedback of the information according to default message Described reply message is to predetermined server 40;
S70, described predetermined server 40 is receiving described testing service device 30 according to the reply of default message When the described reply message of mechanism and secondary route feedback of the information is to predetermined server 40, abandon described returning Multiple message, wherein, described secondary route information is to point to the information of described predetermined server 40, described pre- If server 40 is the server being in the same network segment with described testing service device 30.
In the present embodiment, although testing service device 30 is without the road being provided for sensing emulating server 20 By information, and then message routing will be replied to emulating server 20.But, mechanism is replied according to message Regulation, testing service device 30 is in together there is still a need for returning back to this reply message with testing service device 30 There is no the machine of routing function in one network segment, namely there is still a need for being provided for pointing in testing service device 30 It is in the secondary route information of the predetermined server 40 of the same network segment with testing service device 30, and according to This reply message is returned back to predetermined server 40 by two routing iinformations.With emulating server in above-described embodiment The reasons why 20 discarding reply messages are identical, after predetermined server 40 receives reply message, preset service Device 40 can also abandon this reply message.It is of course also possible to by the reply changing testing service device 30 Mechanism is so as to no longer send the other machines replying message to the same network segment, now, testing service device 30 feedbacks reply message to after emulating server 20, and testing service device 30 can directly abandon this reply Message.
In one embodiment, with reference to Figure 16, on the basis of the embodiment of above-mentioned Figure 11, described simulation suit The quantity of business device 20 is n, n >=2;Testing service device 30 described in described step S30 is by described time The step that multiple message feeds back to described emulating server 20 includes:
Step S303, described testing service device 30 is to the target simulation in described n emulating server 20 Server 21 feeds back described reply message;
Step S304, described target simulation server 21 is to the other in described n emulating server 20 Emulating server 22 forwards described reply message.
In the present embodiment, when emulating server 20 is in the same network segment with testing service device 30, test Server 30 can reply message according to the first via to described n emulating server 20 by feedback of the information Target simulation server 21;When emulating server 20 is in different segment with testing service device 30, The reply message that testing service device 30 is generated by tcpdump instruction crawl, and sent out by netcat instruction Give the target simulation server 21 to n emulating server 20 for this reply message, then by described target Described message of replying is forwarded to the other simulations in described n emulating server 20 by emulating server 21 Server 22.
In one embodiment, with reference to Figure 17, on the basis of the embodiment of above-mentioned Figure 16, described target mould Intend i-th emulating server 20 that server 21 is in described n emulating server 20, the initial value of i For 1, described step S304 includes:
Step S3041, described reply message is write in default file by described i-th emulating server 20, By reading the described reply message in the instruction described default file of reading, and forwarding institute is instructed by netcat State the i+1 emulating server 20 replying message to described n emulating server 20;
In the present embodiment, such as, the two neighboring emulating server 20 in n emulating server 20 by One famous pipeline/tmp/horos.fifo supports, then receive reply message in i-th emulating server 20 Afterwards, i-th emulating server 20 this reply message can be write/tmp/horos.fifo in, and pass through The reply message that cat in standard unix tool instructs storage in handle/tmp/horos.fifo reads, then With netcat instruction, the reply message of reading is sent to i+1 emulating server 20 again.Accordingly, I+1 emulating server 20 can receive the reply message of i-th emulating server 20 forwarding.
Step S3042, in i+1<During n, described i+1 emulating server 20 is by described reply message Write to described default file, by reading the described reply message in the instruction described default file of reading, And described reply message is forwarded to described n-th emulating server 20 by netcat instruction.
In the present embodiment, by execution with above-mentioned essentially identical step it is ensured that each analog service Device 20 all can receive the reply message of testing service device 30 feedback.
Also, it should be noted herein, term " inclusion ", "comprising" or its any other change Body is intended to comprising of nonexcludability, so that including a series of process of key elements, method, article Or device not only includes those key elements, but also includes other key elements being not expressly set out, or Also include for this process, method, article or the intrinsic key element of device.There is no more restrictions In the case of, the key element that limited by sentence "including a ..." is it is not excluded that in the mistake including this key element Also there is other identical element in journey, method, article or device.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-mentioned Embodiment method can be realized by the mode of software plus necessary general hardware platform naturally it is also possible to lead to Cross hardware, but the former is more preferably embodiment in many cases.Based on such understanding, the present invention's Technical scheme substantially in other words prior art is contributed partly can in the form of software product body Reveal to come, this computer software product is stored in a storage medium (as ROM/RAM, magnetic disc, light Disk) in, including some instructions with so that a station terminal equipment (can be mobile phone, computer, service Device, or the network equipment etc.) method described in execution each embodiment of the present invention.
These are only the preferred embodiments of the present invention, not thereby limit the scope of the claims of the present invention, every The equivalent structure made using description of the invention and accompanying drawing content or equivalent flow conversion, or directly or Connect and be used in other related technical fields, be included within the scope of the present invention.

Claims (16)

1. a kind of platform test method it is characterised in that described platform test method include with Lower step:
Aol server captures the flow bag producing in platform actual motion, and by described in crawl Flow bag sends to emulating server;
The session that described emulating server is set up in test environment and testing service device between connects Connect, and sent described flow bag to described testing service device by described session connection;
Described testing service device generates replys message, and described reply message is fed back to described mould Intend server;
Described emulating server receives the described reply message of described testing service device feedback.
2. platform test method as claimed in claim 1 is it is characterised in that on described line Server captures the flow bag producing in platform actual motion, and the described flow bag of crawl is sent out The step delivering to emulating server includes:
Described aol server instructs the flow bag in crawl production environment by tcpdump;
Form with byte stream is instructed by netcat, the described flow bag of crawl is sent to pre- If the emulating server pointed by address information.
3. platform test method as claimed in claim 1 or 2 is it is characterised in that described Emulating server and described testing service device are in the same network segment, described will be anti-for described reply message The step being fed to described emulating server further includes:
Described testing service device replys message to described mould according to the first via described in feedback of the information Intend server, wherein, described first routing iinformation is the information pointing to described emulating server.
4. platform test method as claimed in claim 1 is it is characterised in that described simulation Server also includes after receiving the step of described reply message that described testing service device feeds back:
Described emulating server is by described reply packet loss.
5. platform test method as claimed in claim 1 or 2 is it is characterised in that described Emulating server and described testing service device are in different segment, described will described reply message anti- The step being fed to described emulating server includes:
Described testing service device, in the way of transmission control protocol TCP, is referred to by tcpdump Order captures described reply message;
By netcat instruction, the described reply message cross-network segment grabbing is sent to described simulation The listening port of server.
6. platform test method as claimed in claim 5 is it is characterised in that described simulation Server also includes after receiving the step of described reply message that described testing service device feeds back:
Described testing service device replys mechanism and secondary route feedback of the information according to default message Described reply message is to predetermined server;
Described predetermined server abandons described reply message, and wherein, described secondary route information is Point to the information of described predetermined server, described predetermined server be with described testing service device at Server in the same network segment.
7. platform test method as claimed in claim 1 is it is characterised in that described simulation The quantity of server is n, n >=2, described emulating server include target simulation server and Other emulating servers;Described reply message is fed back to described simulation suit by described testing service device The step of business device includes:
Described testing service device is to the described target simulation service in described n emulating server Device feeds back described reply message;
Described target simulation server is to the other analog service in described n emulating server Device forwards described reply message.
8. method according to claim 7 is it is characterised in that described target simulation takes Business device is i-th emulating server in described n emulating server, and the initial value of i is 1, Described target simulation server turns to the other emulating servers in described n emulating server Send out described reply message step include:
Described reply message is write in default file by described i-th emulating server, by reading The described reply message in described default file is read in instruction fetch, and instructs forwarding by netcat The described i+1 emulating server replied in message extremely described n emulating server;
In i+1<During n, described i+1 emulating server writes described reply message to institute State in default file, by reading the described reply message in the instruction described default file of reading, And described reply message is forwarded to described n-th emulating server by netcat instruction.
9. a kind of platform testing system is it is characterised in that described platform testing system includes:
Aol server, for capturing the flow bag producing in platform actual motion, and will capture Described flow bag send to emulating server;
Emulating server, for setting up the session and testing service device between even in test environment Connect, and sent described flow bag to described testing service device by described session connection;
Testing service device, replys message for generating, and described reply message is fed back to described Emulating server;
Described emulating server, is additionally operable to receive the described reply report of described testing service device feedback Literary composition.
10. platform testing system as claimed in claim 9 is it is characterised in that on described line Server includes:
First handling module, for instructing the flow in crawl production environment by tcpdump Bag;
First sending module, for instructing the form with byte stream by netcat, by crawl Described flow bag sends the emulating server pointed by preset address information.
11. platform testing systems as described in claim 9 or 10 are it is characterised in that institute State emulating server and described testing service device is in the same network segment, described testing service device bag Include:
First feedback module, extremely described for message is replied described in feedback of the information according to the first via Emulating server, wherein, described first routing iinformation is the information pointing to described emulating server.
12. platform testing systems as claimed in claim 9 are it is characterised in that described simulation Server includes:
Discard module, for by described reply packet loss.
13. platform testing systems as described in claim 9 or 10 are it is characterised in that institute State emulating server and described testing service device is in different segment, described testing service device bag Include:
Second handling module, in the way of transmission control protocol TCP, by tcpdump Instruction captures described reply message;
Second sending module, for by netcat instruction by the described reply message grabbing across The network segment sends to the listening port of described emulating server.
14. platform testing systems as claimed in claim 13 are it is characterised in that described put down Platform test system also includes predetermined server, and described testing service device also includes the second feedback mould Block:
Described second feedback module, for replying mechanism and secondary route letter according to default message Breath feedback described reply message is to predetermined server;
Described predetermined server, for returning according to default message receiving described testing service device During the described reply message of the system of answering a pager's call and secondary route feedback of the information, abandon described reply and report Literary composition, wherein, described secondary route information is to point to the information of described predetermined server, described pre- If server is the server being in the same network segment with described testing service device.
15. platform testing systems as claimed in claim 9 are it is characterised in that described simulation The quantity of server is n, n >=2;Described emulating server includes:
Target simulation server, for receiving the described reply report of described testing service device feedback Literary composition;
Other emulating servers, for receiving the described reply that described target simulation server forwards Message.
16. platform testing systems as claimed in claim 15 are it is characterised in that described mesh Mark emulating server is i-th emulating server in described n emulating server, and i rises Initial value is 1, and described target simulation server includes:
First forwarding module, for writing in default file described reply message, by reading The described reply message in described default file is read in instruction, and instructs forwarding institute by netcat State the i+1 emulating server replying message to described n emulating server;
Second forwarding module, in i+1<During n, described reply message is write to described pre- If in file, by reading the described reply message in the instruction described default file of reading, and lead to Cross netcat instruction and forward described reply message to described n-th emulating server.
CN201510520387.8A 2015-08-21 2015-08-21 Platform test method and platform test system Active CN106470136B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510520387.8A CN106470136B (en) 2015-08-21 2015-08-21 Platform test method and platform test system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510520387.8A CN106470136B (en) 2015-08-21 2015-08-21 Platform test method and platform test system

Publications (2)

Publication Number Publication Date
CN106470136A true CN106470136A (en) 2017-03-01
CN106470136B CN106470136B (en) 2022-04-12

Family

ID=58229100

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510520387.8A Active CN106470136B (en) 2015-08-21 2015-08-21 Platform test method and platform test system

Country Status (1)

Country Link
CN (1) CN106470136B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107273252A (en) * 2017-06-13 2017-10-20 北京小度信息科技有限公司 Method of testing and device
CN107395464A (en) * 2017-09-11 2017-11-24 北京奇艺世纪科技有限公司 A kind of server test method, apparatus and API gateway
CN109274669A (en) * 2018-09-18 2019-01-25 四川长虹电器股份有限公司 One kind bypassing WAF reverse proxy method based on online traffic mirroring
CN110955607A (en) * 2019-12-16 2020-04-03 广州品唯软件有限公司 Monitoring method, monitor and readable storage medium for simulation test tool
CN111371650A (en) * 2020-03-06 2020-07-03 中国银行股份有限公司 Flow forwarding-based quasi-production equipment testing method and system
CN112165408A (en) * 2020-09-16 2021-01-01 杭州安恒信息技术股份有限公司 Test method and device for simulating client serial deployment environment
CN113407431A (en) * 2021-07-14 2021-09-17 杭州雾联科技有限公司 Pressure testing method for flow on simulation line
CN113641576A (en) * 2021-08-09 2021-11-12 北京金山云网络技术有限公司 Database testing method and device and terminal equipment
WO2023098360A1 (en) * 2021-12-03 2023-06-08 腾讯科技(深圳)有限公司 Method, device and medium for wireless local area network equipment testing, and electronic device and program product

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003030421A1 (en) * 2001-10-01 2003-04-10 Ixia Communications Methods and systems for testing stateful network communications devices
US20050055399A1 (en) * 2003-09-10 2005-03-10 Gene Savchuk High-performance network content analysis platform
US6922663B1 (en) * 2000-03-02 2005-07-26 International Business Machines Corporation Intelligent workstation simulation-client virtualization
US20060029016A1 (en) * 2004-06-29 2006-02-09 Radware Limited Debugging application performance over a network
US20070025261A1 (en) * 2001-10-01 2007-02-01 Errol Ginsberg Generating Traffic For Testing A System Under Test
US20120084605A1 (en) * 2010-10-04 2012-04-05 Hanan Shilon Replaying captured network traffic
CN103248540A (en) * 2013-05-27 2013-08-14 济南大学 FPGA (field programmable gate array) network flow generating system and method based on multifractal wavelet model
CN103580943A (en) * 2012-08-03 2014-02-12 亿赞普(北京)科技有限公司 Network software online testing method and system
US8904239B2 (en) * 2012-02-17 2014-12-02 American Express Travel Related Services Company, Inc. System and method for automated test configuration and evaluation
US8924192B1 (en) * 2005-06-10 2014-12-30 Wapp Tech Corp. Systems including network simulation for mobile application development and online marketplaces for mobile application distribution, revenue sharing, content distribution, or combinations thereof
CN104410542A (en) * 2014-11-18 2015-03-11 小米科技有限责任公司 Method and device for simulation test

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6922663B1 (en) * 2000-03-02 2005-07-26 International Business Machines Corporation Intelligent workstation simulation-client virtualization
WO2003030421A1 (en) * 2001-10-01 2003-04-10 Ixia Communications Methods and systems for testing stateful network communications devices
US20070025261A1 (en) * 2001-10-01 2007-02-01 Errol Ginsberg Generating Traffic For Testing A System Under Test
US20050055399A1 (en) * 2003-09-10 2005-03-10 Gene Savchuk High-performance network content analysis platform
US20060029016A1 (en) * 2004-06-29 2006-02-09 Radware Limited Debugging application performance over a network
US8924192B1 (en) * 2005-06-10 2014-12-30 Wapp Tech Corp. Systems including network simulation for mobile application development and online marketplaces for mobile application distribution, revenue sharing, content distribution, or combinations thereof
US20120084605A1 (en) * 2010-10-04 2012-04-05 Hanan Shilon Replaying captured network traffic
US8904239B2 (en) * 2012-02-17 2014-12-02 American Express Travel Related Services Company, Inc. System and method for automated test configuration and evaluation
CN103580943A (en) * 2012-08-03 2014-02-12 亿赞普(北京)科技有限公司 Network software online testing method and system
CN103248540A (en) * 2013-05-27 2013-08-14 济南大学 FPGA (field programmable gate array) network flow generating system and method based on multifractal wavelet model
CN104410542A (en) * 2014-11-18 2015-03-11 小米科技有限责任公司 Method and device for simulation test

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
CHEN TAO等: "Virtual Simulation Test System for Traffic Safety Risks Identification", 《2011 FOURTH INTERNATIONAL CONFERENCE ON INTELLIGENT COMPUTATION TECHNOLOGY AND AUTOMATION》 *
曹龙江等: "网络应用流量模拟技术", 《软件》 *
梁莉: "浅析局域网建设中的若干问题", 《成都师范高等专科学校学报》 *
衡书会: "基于FPGA的片上网络验证测试平台设计与实现", 《中国优秀博硕士学位论文全文数据库(硕士)信息科技辑》 *
郑羽: "网络防火墙的技术实现及性能测试", 《安庆师范学院学报(自然科学版)》 *

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107273252A (en) * 2017-06-13 2017-10-20 北京小度信息科技有限公司 Method of testing and device
CN107395464A (en) * 2017-09-11 2017-11-24 北京奇艺世纪科技有限公司 A kind of server test method, apparatus and API gateway
CN109274669B (en) * 2018-09-18 2021-04-27 四川长虹电器股份有限公司 WAF reverse proxy method based on online flow mirror image bypass
CN109274669A (en) * 2018-09-18 2019-01-25 四川长虹电器股份有限公司 One kind bypassing WAF reverse proxy method based on online traffic mirroring
CN110955607A (en) * 2019-12-16 2020-04-03 广州品唯软件有限公司 Monitoring method, monitor and readable storage medium for simulation test tool
CN110955607B (en) * 2019-12-16 2023-03-28 广州品唯软件有限公司 Monitoring method, monitor and readable storage medium for simulation test tool
CN111371650A (en) * 2020-03-06 2020-07-03 中国银行股份有限公司 Flow forwarding-based quasi-production equipment testing method and system
CN111371650B (en) * 2020-03-06 2022-03-25 中国银行股份有限公司 Flow forwarding-based quasi-production equipment testing method and system
CN112165408A (en) * 2020-09-16 2021-01-01 杭州安恒信息技术股份有限公司 Test method and device for simulating client serial deployment environment
WO2022057265A1 (en) * 2020-09-16 2022-03-24 杭州安恒信息技术股份有限公司 Test method and device for simulating customer series deployment environment
CN113407431A (en) * 2021-07-14 2021-09-17 杭州雾联科技有限公司 Pressure testing method for flow on simulation line
CN113641576A (en) * 2021-08-09 2021-11-12 北京金山云网络技术有限公司 Database testing method and device and terminal equipment
WO2023098360A1 (en) * 2021-12-03 2023-06-08 腾讯科技(深圳)有限公司 Method, device and medium for wireless local area network equipment testing, and electronic device and program product

Also Published As

Publication number Publication date
CN106470136B (en) 2022-04-12

Similar Documents

Publication Publication Date Title
CN106470136A (en) Platform test method and platform testing system
CN104471876B (en) Include the 3GPP/M2M method and apparatus of equipment triggering recall/replacement feature
CN107342952B (en) Service link selection control method and equipment
EP3151608B1 (en) Data transmission method and device
CN108718347A (en) A kind of domain name analytic method, system, device and storage medium
Baldo et al. A new model for the simulation of the LTE-EPC data plane
CN102739684A (en) Portal authentication method based on virtual IP address, and server thereof
CN107104782A (en) Data transmission method and device
CN102761905A (en) Message handling method, apparatus and system
CN113163406B (en) Threat detection system for mobile communication system, central device and local device thereof
CN106375139A (en) Request copying method, apparatus and system
CN102710765A (en) Method, device and system for realizing transparent proxy through CDN server
CN106470187A (en) Prevent dos attack methods, devices and systems
CN104283716B (en) Data transmission method, equipment and system
US10333769B2 (en) Deployable linear bitwise protocol transformation
CN107786464A (en) A kind of method and device for realizing inter-node communication
US8717925B2 (en) Testing TCP connection rate
US8707100B2 (en) Testing a network using randomly distributed commands
CN103346961B (en) The method and system that a kind of data packing is exchanged
CN105323234B (en) Service node ability processing method, device, business classifier and service controller
CN113453179B (en) Intelligent conversion method from 5G session to ticket message
CN100518097C (en) Simple detection method for GGSN facilities
CN103281754B (en) Local forwarding mode-based wireless access point information acquisition method and device
CN103312829A (en) Heterogeneous network communication method and device
CN101437029A (en) Data transmission method, local maintenance terminal, proxy equipment and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant