Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Communication protocol code updating method and device, electronic equipment and storage medium

A communication protocol and code update technology, which is applied in the computer field, can solve the problems of low manual modification efficiency, high error rate, and too long content, and achieve the effect of improving update efficiency

Active Publication Date: 2020-04-07
米哈游科技(上海)有限公司
View PDF6 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, the modification of configuration files mainly relies on manual modification, but due to the large number of configuration files, the content of each configuration file is too long, resulting in low efficiency of manual modification and high error rate

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
  • Communication protocol code updating method and device, electronic equipment and storage medium
  • Communication protocol code updating method and device, electronic equipment and storage medium
  • Communication protocol code updating method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0043] figure 1 This is a schematic flow diagram of a method for updating communication protocol codes provided in the first embodiment of the present disclosure. The method can be applied to a game development platform, specifically a scenario where the communication protocol code used in the game development process is automatically updated. The method can be executed by a communication protocol code update device, which can be implemented in the form of software and / or hardware.

[0044] Such as figure 1 Said, the method for updating the communication protocol code provided in this embodiment includes the following steps:

[0045] Step 110: On the game development platform, download at least two communication protocol configuration files of the target version.

[0046] Wherein, the target version usually refers to the latest version. The configuration file contains the communication content information in the communication protocol. When communication is required, the communicati...

Embodiment 2

[0059] figure 2 This is a schematic flow chart of a method for updating communication protocol codes provided in the second embodiment of the present disclosure. On the basis of the technical solutions of the foregoing embodiments, this embodiment further optimizes the technical solutions of the foregoing embodiments, specifically: The operation of checking the correctness of the configuration file improves the update accuracy and efficiency, and saves the user's time.

[0060] Such as figure 2 As shown, the method includes:

[0061] Step 210: On the game development platform, download at least two communication protocol configuration files of the target version.

[0062] Step 220: Determine whether the writing of the at least two communication protocol configuration files is correct based on the preset inspection rule, and if it is determined that the writing of the at least two communication protocol configuration files is correct, proceed to step 230.

[0063] Wherein, the inspec...

Embodiment 3

[0071] image 3 A schematic structural diagram of a communication protocol code update device provided in the third embodiment of the present disclosure, the device includes: a download module 310, a determination module 320, a first generation module 330, a second generation module 340, and an update module 350;

[0072] Wherein, the download module 310 is configured to download at least two communication protocol configuration files of the target version on the game development platform; the determining module 320 is configured to determine the updated target configuration file in the at least two communication protocol configuration files; A generation module 330 is used to generate a program language code file based on the target configuration file; a second generation module 340 is used to generate a binary library file based on the program code file; an update module 350 is used to generate a program language code file based on the The file and the binary library file update...

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 embodiment of the invention discloses a communication protocol code updating method and device, electronic equipment and a storage medium, and the method comprises the following steps: downloadingat least two communication protocol configuration files of a target version at a game development platform; determining an updated target configuration file in the at least two communication protocolconfiguration files; generating a programming language code file based on the target configuration file; generating a binary library file based on the program code file; and updating the original program language code file and the original binary library file according to the program language code file and the binary library file. According to the technical scheme of the embodiment of the invention, automatic updating of the communication protocol code is realized, and the updating efficiency is improved.

Description

Technical field [0001] The embodiments of the present disclosure relate to the field of computer technology, and in particular, to a communication protocol code update method, device, electronic equipment, and storage medium. Background technique [0002] During the development and use of online games, the game application on the client side needs to communicate with the server for data interaction through a network communication protocol. With the continuous upgrading of game functions, the configuration files of the network communication protocol need to be continuously modified. [0003] At present, the modification of configuration files mainly relies on manual manual modification. However, due to the large number of configuration files and the length of each configuration file, the efficiency of manual manual modification is low and the error rate is high. Summary of the invention [0004] The embodiments of the present disclosure provide a communication protocol code update m...

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): A63F13/69A63F13/77G06F8/65
CPCA63F13/69A63F13/77G06F8/65
Inventor 莫兹斯
Owner 米哈游科技(上海)有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products