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

Serialized data generation method and device

A data generation and serialization technology, applied in the field of computer networks, can solve the problems of low efficiency and achieve the effects of improving work efficiency, realizing hot update, and increasing scalability

Pending Publication Date: 2022-06-07
NEWCAPEC ELECTRONICS CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The purpose of the present invention is to provide a method and device for generating serialized data, which is used to solve the problem of low efficiency of existing methods

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
  • Serialized data generation method and device
  • Serialized data generation method and device
  • Serialized data generation method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] Serialized data generation method embodiment

[0021] The method of this embodiment includes three parts, one is the terminal generating serialized data, the second is the terminal updating script, and the third is the automatic generation of the latest script (implemented on the server). Among them, the script content is generated on the server; the developer sets a script template on the server, and configures the script template on the server, thereby automatically forming the latest script, that is, a new script. Then the terminal communicates with the server to ensure that it stores the latest script; finally, the terminal uses the latest script to perform serialization during communication.

[0022] like image 3 As shown, a script template is installed on the server. According to the communication protocol, enter the name, data type, length and format of the corresponding field in the script generation tool, and the script generation tool can generate a correspo...

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 discloses a serialized data generation method and device. The method comprises the steps that a terminal judges whether a communication requirement exists or not; if the communication demand exists, loading the stored script; running the script to obtain serialized data; wherein the stored script is downloaded from the server, a script generation tool is installed on the server, and the script generation tool generates the script on the basis of the script template according to the configured field. The method has the beneficial effects that a developer is prevented from repeatedly defining the structure object in the development process, the working efficiency is improved, the hot update of the communication message is realized, and the expandability of a program is increased.

Description

technical field [0001] The invention relates to the technical field of computer networks, in particular to a method and device for generating serialized data. Background technique [0002] When storing and transmitting data in communication systems such as the Internet of Things, public transportation systems, catering systems, identification systems, water and electricity meter systems, city cards, campus cards, and urban micropayments, it is necessary to convert the scattered data structures in memory into continuous the byte stream (i.e. serialized). [0003] At present, the commonly used serialization tools include protobuf, XML, json, etc. These tools all use intrusive serialization methods. Developers need to use the data structure specified by the serialization tool, otherwise serialization cannot be achieved; and the serialized binary data is too long, not suitable for communication with the terminal. [0004] For the serialization method of non-specified data stru...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F8/656
CPCG06F8/656Y02D10/00
Inventor 焦征海张强松陈飞飞赵秀秀
Owner NEWCAPEC ELECTRONICS CO LTD
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