A data processing method, device and computer equipment

By using binary format for serialization and deserialization in data processing, the problems of large storage space and slow parsing speed caused by text format processing in the prior art are solved, and more efficient data storage and parsing are achieved.

CN119782309APending Publication Date: 2025-04-08北京力控元通科技有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411819993.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-11
Publication Date
2025-04-08

AI Technical Summary

Technical Problem

In the prior art, data processing is performed in a text format, resulting in large storage space and slow parsing speed.

Method used

By obtaining the data description and data content of different types of target data objects, serializing and deserializing tasks to be processed in binary format, and processing them using preset storage space.

Benefits of technology

It reduces the data storage space and parsing speed, and improves the efficiency of data processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119782309A_ABST
    Figure CN119782309A_ABST
Patent Text Reader

Abstract

The present invention relates to the field of data processing technology, and discloses a data processing method, device and computer equipment. The present invention obtains input data of at least one task to be processed, and the input data includes at least two different types of target data objects; obtains data description and data content of each type of target data object; based on the data description and data content of each type of target data object, serializes and stores at least one task to be processed in a preset storage space in a binary format; based on the data description and data content of each type of target data object, performs a deserialization action on at least one task to be processed after serialization in the preset storage space in a binary format. The present invention performs serialization and deserialization processing on the input data of at least one task to be processed in a binary format, which is not only conducive to reducing the space occupied by data storage, but also conducive to reducing the data parsing speed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing technology, and in particular to a data processing method, device and computer equipment. Background Art

[0002] In the data processing process, serialization and deserialization are involved, among which serialization refers to the process of converting a data structure or data object into a binary byte stream, and deserialization refers to the process of converting the binary byte stream generated in the serialization process into a data structure or object.

[0003] Related technology serializes or deserializes data in a text format data processing method, which parses characters one by one and saves data in a text format when storing data. This method occupies a large storage space and has a slow parsing speed. Summary of the invention

[0004] In view of this, the present invention provides a data processing method, apparatus and computer device to solve the problem that data processing in text format has large storage space occupation and slow parsing speed.

[0005] In a first aspect, the present invention provides a data processing method, the method comprising:

[0006] Acquire input data of at least one task to be processed, the input data including at least two different types of target data objects;

[0007] Obtain data description and data content of each type of target data object;

[0008] Based on the data description and data content of each type of target data object, serialize and store at least one to-be-processed task in a preset storage space in a binary format;

[0009] Based on the data description and data content of each type of target data object, a deserialization action is performed on at least one to-be-processed task serialized in a preset storage space in a binary format.

[0010] In some optional implementations, the data description of each type of target data object includes: a data version number, a data name length, and a data name.

[0011] In some optional implementations, the data content includes: data attribute information.

[0012] In some optional implementations, based on the data description and data content of each type of target data object, at least one to-be-processed task is serialized and stored in a preset storage space, including:

[0013] Based on the data description of each type of target data object, a description tag of each type of target data object is correspondingly obtained;

[0014] Based on the data content of each type of target data object, the object index of each type of target data object is correspondingly obtained;

[0015] Determine whether the data description of each type of target data object has been stored in the preset storage space;

[0016] If not, based on the description tag of each type of target data object, the data description of each type of target data object is correspondingly stored, and based on the data content of each type of target data object, the data content of each type of target data object is correspondingly stored;

[0017] If so, based on the description tag of each type of target data object and the object index of each type of target data object, the data content of each type of target data object is directly stored.

[0018] In some optional implementations, based on the data description and data content of each type of target data object, performing a deserialization action on at least one to-be-processed task serialized in the preset storage space includes:

[0019] Based on the data description of each type of target data object, a description tag of each type of target data object is correspondingly obtained;

[0020] Based on the data content of each type of target data object, the object index of each type of target data object is correspondingly obtained;

[0021] When the preset storage space has stored the data description or object index of each type of target data object, an object instance of each type of target data object is created based on the data description of each type of target data object, and the data content of each type of target data object is obtained based on the object instance of each type of target data object.

[0022] In some optional implementations, the serialization process and the deserialization process are performed using a basic data type read and write processing interface.

[0023] According to a second aspect, an embodiment of the present disclosure provides a data processing device, the device comprising:

[0024] A first acquisition module, used to acquire input data of at least one task to be processed, the input data including at least two different types of target data objects;

[0025] The second acquisition module is used to acquire the data description and data content of each type of target data object;

[0026] A first processing module, configured to serialize and store at least one to-be-processed task in a preset storage space in a binary format based on the data description and data content of each type of target data object;

[0027] The second processing module is used to perform a deserialization action on at least one to-be-processed task serialized in a preset storage space in a binary format based on the data description and data content of each type of target data object.

[0028] In a third aspect, the present invention provides a computer device, comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the data processing method of the first aspect or any corresponding embodiment thereof by executing the computer instructions.

[0029] In a fourth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the data processing method of the first aspect or any corresponding embodiment thereof.

[0030] In a fifth aspect, the present invention provides a computer program product, comprising computer instructions for causing a computer to execute the data processing method of the first aspect or any corresponding embodiment thereof.

[0031] The present invention has the following advantages:

[0032] The present invention discloses a data processing method, device and computer equipment, wherein the method obtains input data of at least one task to be processed, the input data includes at least two different types of target data objects; obtains data description and data content of each type of target data object; based on the data description and data content of each type of target data object, serializes and stores at least one task to be processed in a preset storage space in a binary format; based on the data description and data content of each type of target data object, performs a deserialization action on at least one task to be processed after serialization in the preset storage space in a binary format. The present invention performs serialization and deserialization processing on the input data of at least one task to be processed in a binary format, which is not only conducive to reducing the space occupied by data storage, but also conducive to reducing the data parsing speed. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0034] Figure 1 is a flow chart of a data processing method according to an embodiment of the present invention;

[0035] Figure 2 is a schematic diagram of data description and data content of each type of target data object according to an embodiment of the present invention;

[0036] Figure 3 is a schematic diagram of serialization and deserialization of a data processing method according to an embodiment of the present invention;

[0037] Figure 4 is a structural block diagram of a data processing device according to an embodiment of the present invention;

[0038] Figure 5 It is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0039] In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first", "second", and "third" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance.

[0040] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, it can also be the internal connection of two components, it can be a wireless connection, or it can be a wired connection. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0041] In addition, the technical features involved in the different embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.

[0042] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0043] In the related art, if the JSON format is used to serialize the employee data worker (data name), the result is: {"jobid":10001, "name":"lilei", "sex":1, "age":30, "phone":13112307892,"department":"develop"}, indicating: jobid is the work number, name is the name, sex is the gender, age is the age, phone is the phone number, and department is the department. When parsing or deserializing the serialized data, it is necessary to parse it character by character, and the storage is all saved in text format data. There are disadvantages such as large storage space and slow parsing speed. For example, the value 10001 of the attribute jobid of the employee data worker is stored in a text format as a string and requires 5 bytes. Therefore, the data is serialized or deserialized according to the text format data processing method. This method is to parse the characters one by one, and the data is also saved in text format when it is stored. This method occupies a large storage space and has a slow parsing speed.

[0044] In view of this, the present disclosure provides a data processing method, such as Figure 1 As shown, in this embodiment, a data processing method is provided, which can be used for computer devices, such as mobile phones, tablet computers, desktop computers, portable notebooks, servers, etc. Figure 1 is a flow chart of a data processing method according to an embodiment of the present invention. Figure 1 As shown, the process includes the following steps:

[0045] Step S101: acquiring input data of at least one task to be processed, wherein the input data of the task to be processed includes at least two different types of target data objects.

[0046] Specifically, the pending task may be a pending task item. The data types of the pending task may be 2, 3, 4, or 5, and are not limited thereto. For example, different types of target data objects may be A, B, or C.

[0047] Step S102: obtaining data description and data content of each type of target data object.

[0048] In a specific example, the data description of each type of target data object includes: data version number, data name length and data name. The data content of each type of target data object includes: data attribute information.

[0049] Specifically, the data description of each type of target data object records the data version number of the data object, the data name length and data name of the data object. The data version number is a short integer data, which occupies two bytes. The data name length is a short integer data, which occupies two bytes. The data name is a string type, which occupies N bytes. The number of bytes is determined by the length of the data name. During serialization, the data description part of the data object is first parsed, and the 2-byte short integer data version number is read, and then the 2-byte short integer data name length is read. According to the length value N, the N-byte data name is read again. After three readings, the parsing of the data description part is completed, and the data description part is cached and associated with the creation method of the data object instance registered by the outside world before data serialization, and then the data content part is parsed.

[0050] Specifically, the data content of each type of target data object includes: data attribute information. The data content part records the attribute data of the data object. The byte size of each attribute data is determined by its data type. For example, short integer data occupies 2 bytes, integer data occupies 4 bytes, and string type consists of string length and string data. The string length itself may be 1, 2, 4, or 8 bytes. When parsing, the length value is analyzed to determine how many bytes it occupies. For example, when the length value itself is less than 256, it occupies one byte. When it is greater than or equal to 256 and less than 65535, it occupies 2 bytes. When it is greater than or equal to 65535 and less than 4294967295, it occupies 4 bytes. After reading the string length value, read N bytes according to this value to completely parse the string data. For example, the string "lilei" has a string length of 5, and the string content occupies 5 bytes. The length value 5 is less than 256, so the length value itself occupies 1 byte, and the string needs to occupy a total of 6 bytes.

[0051] Step S103: obtaining data description and data content of each type of target data object.

[0052] Step S104: based on the data description and data content of each type of target data object, serialize and store at least one to-be-processed task in a preset storage space in a binary format.

[0053] Step S105 , based on the data description and data content of each type of target data object, a deserialization action is performed on at least one to-be-processed task serialized in a preset storage space in a binary format.

[0054] Specifically, Figure 2, which is a schematic diagram of the data description and data content of each type of target data object. In the embodiment of the present disclosure, the serialization and deserialization of each type of target data object are the storage and reading of the data object.

[0055] In some optional implementations, based on the data description and data content of each type of target data object, at least one to-be-processed task is serialized and stored in a preset storage space, including:

[0056] Step a1: based on the data description of each type of target data object, obtain the corresponding description tag of each type of target data object.

[0057] Step a2: based on the data content of each type of target data object, obtain the corresponding object index of each type of target data object.

[0058] Step a3, determining whether the data description of each type of target data object has been stored in the preset storage space.

[0059] Step a4: if not, based on the description tag of each type of target data object, store the data description of each type of target data object accordingly, and based on the data content of each type of target data object, store the data content of each type of target data object accordingly.

[0060] Step a5: If yes, directly store the data content of each type of target data object based on the description tag of each type of target data object and the object index of each type of target data object.

[0061] Specifically, first, based on the data name in the data description of each type of target data object, it is determined whether the data description of each type of target data object has been stored in the preset storage space with the same data description. If the same data description has not been stored, a new data description needs to be stored. At this time, the object mark is a description mark, and the data description of each type of target data object is stored in the preset storage space, and then the data content is stored in the preset storage space; if the same data description has been stored in the preset storage space before, it does not need to be stored again. At this time, the object mark is the result of the description mark and the object index shift calculation. The data content, i.e., the object attribute data, is directly stored after the mark of each type of target data object, and there is no need to store the data description of each type of target data object.

[0062] In some other optional implementations, based on the data description and data content of each type of target data object, performing a deserialization action on at least one to-be-processed task serialized in the preset storage space includes:

[0063] Step b1, based on the data description of each type of target data object, correspondingly obtain the description tag of each type of target data object.

[0064] Step b2: based on the data content of each type of target data object, obtain the corresponding object index of each type of target data object.

[0065] Step b3, when the preset storage space has stored the data description or object index of each type of target data object, based on the data description of each type of target data object, a corresponding object instance of each type of target data object is created, and based on the object instance of each type of target data object, the data content of each type of target data object is obtained.

[0066] Specifically, first read the description tag and object index of each type of target data object, that is, the object tag, and determine whether the preset storage space contains the description tag of each type of target data object. If it is the first time to read the data description, it is necessary to read the data description and record it in the data description list, and then create an object instance according to the data description of each type of target data object and read the attribute data (data content) of the target data object. If the preset storage space still contains the object index, it means that the same data description has been read, and based on the data description of each type of target data object, an object instance of each type of target data object is created accordingly, and then based on the object instance of each type of target data object, the data content of each type of target data object is read accordingly.

[0067] like Figure 3 , which is a schematic diagram of serialization and deserialization of the data processing method in an embodiment of the present disclosure.

[0068] In some optional implementations, the serialization process and the deserialization process are performed using a basic data type read and write processing interface.

[0069] Specifically, both the serialization process and the deserialization process need to use the basic data type read and write processing interface to complete data reading and writing.

[0070] In the present embodiment, a data processing device is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware of a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceived.

[0071] This embodiment provides a data processing device, such as Figure 4 As shown, including:

[0072] The first acquisition module is used to acquire input data of at least one task to be processed, where the input data includes at least two different types of target data objects.

[0073] The second acquisition module is used to acquire the data description and data content of each type of target data object.

[0074] The first processing module is used to serialize and store at least one to-be-processed task in a preset storage space in a binary format based on the data description and data content of each type of target data object.

[0075] The second processing module is used to perform a deserialization action on at least one to-be-processed task serialized in a preset storage space in a binary format based on the data description and data content of each type of target data object.

[0076] In some optional implementations, the data description of each type of target data object includes: a data version number, a data name length, and a data name.

[0077] In some optional implementations, the data content includes: data attribute information.

[0078] In some optional implementations, based on the data description and data content of each type of target data object, at least one to-be-processed task is serialized and stored in a preset storage space, including:

[0079] Based on the data description of each type of target data object, a description tag of each type of target data object is correspondingly obtained;

[0080] Based on the data content of each type of target data object, the object index of each type of target data object is correspondingly obtained;

[0081] Determine whether the data description of each type of target data object has been stored in the preset storage space;

[0082] If not, based on the description tag of each type of target data object, the data description of each type of target data object is correspondingly stored, and based on the data content of each type of target data object, the data content of each type of target data object is correspondingly stored;

[0083] If so, based on the description tag of each type of target data object and the object index of each type of target data object, the data content of each type of target data object is directly stored.

[0084] In some optional implementations, based on the data description and data content of each type of target data object, performing a deserialization action on at least one to-be-processed task serialized in the preset storage space includes:

[0085] Based on the data description of each type of target data object, a description tag of each type of target data object is correspondingly obtained;

[0086] Based on the data content of each type of target data object, the object index of each type of target data object is correspondingly obtained;

[0087] When the preset storage space has stored the data description or object index of each type of target data object, based on the data description of each type of target data object, a corresponding object instance of each type of target data object is created, and based on the object instance of each type of target data object, the data content of each type of target data object is obtained accordingly.

[0088] In some optional implementations, the serialization process and the deserialization process are performed using a basic data type read and write processing interface.

[0089] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.

[0090] The present invention discloses a data processing device, which obtains input data of at least one task to be processed, wherein the input data includes at least two different types of target data objects; obtains data description and data content of each type of target data object; based on the data description and data content of each type of target data object, serializes and stores at least one task to be processed in a preset storage space in a binary format; based on the data description and data content of each type of target data object, performs a deserialization action on at least one task to be processed after serialization in the preset storage space in a binary format. The present invention performs serialization and deserialization processing on the input data of at least one task to be processed in a binary format, which is not only conducive to reducing the space occupied by data storage, but also conducive to reducing the data parsing speed.

[0091] The data processing device in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.

[0092] An embodiment of the present invention further provides a computer device having the above-mentioned data processing device.

[0093] See also Figure 5 , Figure 5 is a schematic diagram of the structure of a computer device provided by an optional embodiment of the present invention, such as Figure 5As shown, the computer device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process the instructions executed in the computer device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as, a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 5 A processor 10 is taken as an example.

[0094] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.

[0095] The memory 20 stores instructions executable by at least one processor 10, so that the at least one processor 10 executes the method shown in the above embodiment.

[0096] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0097] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.

[0098] The computer device also includes an input device 30 and an output device 40. The processor 10, the memory 20, the input device 30 and the output device 40 may be connected via a bus or other means. Figure 5 The example of connecting through bus is taken in the following.

[0099] The input device 30 can receive input digital or character information, and generate key signal input related to the user settings and function control of the computer device, such as a touch screen, a keypad, a mouse, a track pad, a touch pad, an indicator bar, one or more mouse buttons, a trackball, a joystick, etc. The output device 40 may include a display device, an auxiliary lighting device (e.g., an LED) and a tactile feedback device (e.g., a vibration motor), etc. The above-mentioned display device includes but is not limited to a liquid crystal display, a light emitting diode, a display and a plasma display. In some optional embodiments, the display device can be a touch screen.

[0100] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.

[0101] A part of the present invention may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present invention through the operation of the computer. Those skilled in the art should understand that the existence of the computer program instruction in a computer-readable medium includes, but is not limited to, a source file, an executable file, an installation package file, etc., and accordingly, the way in which the computer program instruction is executed by the computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium may be any available computer-readable storage medium or communication medium accessible to the computer.

[0102] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.

Claims

1. A data processing method, characterized in that: The method comprises: Acquire input data of at least one task to be processed, wherein the input data includes at least two different types of target data objects; Obtain data description and data content of each type of target data object; Based on the data description and data content of each type of target data object, serializing and storing the at least one to-be-processed task in a preset storage space in a binary format; Based on the data description and data content of each type of target data object, a deserialization action is performed on the at least one to-be-processed task serialized in the preset storage space in a binary format.

2. The data processing method according to claim 1, characterized in that: The data description of each type of target data object includes: data version number, data name length and data name.

3. The data processing method according to claim 1, characterized in that: The data content includes: data attribute information.

4. The data processing method according to claim 1, characterized in that: Based on the data description and data content of each type of target data object, the at least one to-be-processed task is serialized and stored in a preset storage space, including: Based on the data description of each type of target data object, correspondingly obtaining a description tag of each type of target data object; Based on the data content of each type of target data object, correspondingly obtaining an object index of each type of target data object; Determining whether the data description of each type of target data object has been stored in a preset storage space; If not, based on the description mark of each type of target data object, correspondingly store the data description of each type of target data object, and based on the data content of each type of target data object, correspondingly store the data content of each type of target data object; If so, based on the description mark of each type of target data object and the object index of each type of target data object, the data content of each type of target data object is directly stored.

5. The data processing method according to claim 1, characterized in that: Based on the data description and data content of each type of target data object, a deserialization action is performed on the at least one to-be-processed task serialized in the preset storage space, including: Based on the data description of each type of target data object, correspondingly obtaining a description tag of each type of target data object; Based on the data content of each type of target data object, correspondingly obtaining an object index of each type of target data object; When the preset storage space has stored the data description or object index of each type of target data object, based on the data description of each type of target data object, a corresponding object instance of each type of target data object is created, and based on the object instance of each type of target data object, the data content of each type of target data object is obtained accordingly.

6. The data processing method according to any one of claims 1 to 5, characterized in that: Use the basic data type read and write processing interface to perform serialization and deserialization processes.

7. A data processing device, characterized in that: The device comprises: A first acquisition module, used to acquire input data of at least one task to be processed, wherein the input data includes at least two different types of target data objects; The second acquisition module is used to acquire the data description and data content of each type of target data object; A first processing module, configured to serialize and store the at least one to-be-processed task in a preset storage space in a binary format based on the data description and data content of each type of target data object; The second processing module is used to perform a deserialization action on the at least one to-be-processed task serialized in the preset storage space in a binary format based on the data description and data content of each type of target data object.

8. A computer device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the data processing method according to any one of claims 1 to 6 by executing the computer instructions.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the data processing method according to any one of claims 1 to 6.

10. A computer program product, characterized in that The method comprises computer instructions for causing a computer to execute the data processing method according to any one of claims 1 to 6.