Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Protocol testing method and device

A protocol testing and protocol technology, applied in the field of game development, can solve problems such as unreliability, protocol correction errors, etc., achieve accurate capture and modification, avoid protocol capture errors, and avoid protocol modification errors.

Active Publication Date: 2021-11-09
NETEASE (HANGZHOU) NETWORK CO LTD
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This method of determining the protocol you want to test depends on the ability of the tester and is unreliable. If the wrong capture or selection is wrong, it will lead to protocol correction errors

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Protocol testing method and device
  • Protocol testing method and device
  • Protocol testing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0058] Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present disclosure as recited in the appended claims.

[0059] The protocol test of the game project is the test of the rules of the communication protocol between the client and the server. The communication protocol is two-way. In the game, there are both protocols sent by the client to the server, and protocols returned by the server to the client. Since the server generally cannot monitor the source of the protocol received, that is to...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a protocol testing method and device. The method comprises the following steps: in response to a trigger event of a first game function, generating a first protocol corresponding to the first game function, and sending the first protocol to a base class constructor; calling a hook function corresponding to the base class constructor function to copy the first protocol from the base class constructor function to obtain a first copy protocol, wherein the execution of the base class constructor function is cut off when the hook function is executed; calling a reduction function to restore the execution of the base class construction function; executing a base class constructor to send the first protocol to a server; receiving a modification operation for the first replica protocol, and modifying the first replica protocol according to the modification operation; sending the modified first replica protocol to a base class constructor, and executing the base class constructor to send the modified first replica protocol to a server. According to the method and the device, the protocol to be grabbed in the game item can be accurately grabbed and modified.

Description

technical field [0001] This application relates to game development technology, in particular to a protocol testing method and device. Background technique [0002] Among the many game development engines currently on the market, taking Unity3d as an example, more than half of all games on the client side (including PCs, consoles, and mobile devices) are created using Unity. After the game project is created, the game project needs to be tested before the game can be launched. Among them, the protocol test of the Unity3d game project is a very important test. [0003] The protocol test of the game project is the test of the rules of the communication protocol between the client and the server. The communication protocol can be understood as the interactive link between the client and the server, and protocol testing is a means to verify the reliability of this link. The communication protocol is two-way. In the game, there are both protocols sent by the client to the serv...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): H04L12/26A63F13/30A63F13/77
CPCH04L43/18A63F13/30A63F13/77
Inventor 黄杨兵
Owner NETEASE (HANGZHOU) NETWORK CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Eureka Blog
Learn More
PatSnap group products