The patent badge is an abbreviated version of the USPTO patent document. The patent badge does contain a link to the full patent document.

The patent badge is an abbreviated version of the USPTO patent document. The patent badge covers the following: Patent number, Date patent was issued, Date patent was filed, Title of the patent, Applicant, Inventor, Assignee, Attorney firm, Primary examiner, Assistant examiner, CPCs, and Abstract. The patent badge does contain a link to the full patent document (in Adobe Acrobat format, aka pdf). To download or print any patent click here.

Date of Patent:
Jun. 22, 2021

Filed:

Nov. 26, 2019
Applicant:

Microfun Co., Ltd, Beijing, CN;

Inventors:

Chi Gao, Beijing, CN;

Guangrong Su, Beijing, CN;

Yingjie Han, Beijing, CN;

Assignee:

MICROFUN CO., LTD, Beijing, CN;

Attorney:
Primary Examiner:
Int. Cl.
CPC ...
G06F 15/16 (2006.01); H04L 12/24 (2006.01); G06F 16/958 (2019.01); H04L 29/08 (2006.01); H04L 29/06 (2006.01);
U.S. Cl.
CPC ...
H04L 41/0266 (2013.01); G06F 16/986 (2019.01); H04L 67/02 (2013.01); H04L 67/42 (2013.01);
Abstract

Embodiments of the present disclosure provide a method and an apparatus for serialization and deserialization of a message structure. The method for serialization includes: acquiring a message structure, and pre-processing the message structure to generate a corresponding target version number, wherein message structures with different contents correspond to different version numbers, and the message structure is a structure of status information transmitted by a server to a client; serializing information to be transmitted to obtain a corresponding byte stream, wherein the information to be transmitted carries data of the status information and the target version number; and transmitting the byte stream to the client. The method and apparatus for serialization and deserialization of a message structure according to the embodiments of the present disclosure have good version control, which can avoid the problem that the program runs incorrectly caused by inconsistency of the versions of the serialization and deserialization.


Find Patent Forward Citations

Loading…