CN108595209A - Data store and read method, device, system and storage medium - Google Patents

Data store and read method, device, system and storage medium Download PDF

Info

Publication number
CN108595209A
CN108595209A CN201810233189.7A CN201810233189A CN108595209A CN 108595209 A CN108595209 A CN 108595209A CN 201810233189 A CN201810233189 A CN 201810233189A CN 108595209 A CN108595209 A CN 108595209A
Authority
CN
China
Prior art keywords
data
storage
categorical
description information
categorical datas
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810233189.7A
Other languages
Chinese (zh)
Inventor
冯凯文
杨凯
邓呈亮
梁艺冰
张伍召
夏黎明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Baidu Online Network Technology Beijing Co Ltd
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201810233189.7A priority Critical patent/CN108595209A/en
Publication of CN108595209A publication Critical patent/CN108595209A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/30Arrangements for executing machine instructions, e.g. instruction decode
    • G06F9/30181Instruction operation extension or modification
    • G06F9/30192Instruction operation extension or modification according to data descriptor, e.g. dynamic data typing

Abstract

The invention discloses data storage and read method, device, system and storage mediums, as date storage method may include:Obtain first kind data to be stored;The structure for obtaining first kind data defines description information;According to pre-defined general parameter storage organization, the Second Type data and the structure that are obtained after first kind data are serialized define description information and are carried out at the same time storage.Using scheme of the present invention, user's operation etc. can be simplified.

Description

Data store and read method, device, system and storage medium
【Technical field】
The present invention relates to Computer Applied Technology, more particularly to data storage and read method, device, system and storage is situated between Matter.
【Background technology】
Automatic driving vehicle refers to by vehicle-mounted sensor-based system to perceive vehicle-periphery, and is obtained according to perception Road, vehicle location and obstacle information etc., steering and the speed of vehicle are controlled, to enable the vehicle to reliably and securely It is travelled on road.
In automatic driving vehicle system, the storage problem of various data can be related to.
For this purpose, a kind of general parameter storage organization for supporting various type of foundation data is proposed in the prior art, it is described Type of foundation data may include boolean (BOOL) categorical data, shaping (INT) categorical data, double-precision floating point type (DOUBLE) class Type data, character string (STRING) categorical data and binary system (BYTES) categorical data etc..
And in automatic driving vehicle system, can also be more use protocol cache (protobuf) categorical data, for The data structure of this complexity stores after can its sequence being turned to STRING categorical datas, and when use is deserialized as again Corresponding data type.
But this mode can there is a problem of in practical applications it is certain, such as:Artificially data type must be carried out about Beam, i.e., STRING categorical datas that must be after artificial restraint serializing be by which kind of specific protobuf data types serializing and Come, otherwise then cannot achieve unserializing, the data of storage are unable to self-explanatory its type.
【Invention content】
In view of this, the present invention provides data storage and read method, device, system and storage mediums.
Specific technical solution is as follows:
A kind of date storage method, including:
Obtain first kind data to be stored;
The structure for obtaining the first kind data defines description information;
According to pre-defined general parameter storage organization, obtained after the first kind data are serialized Two categorical datas and the structure define description information and are carried out at the same time storage.
A kind of method for reading data, including:
Obtain the Second Type data and described second stored according to pre-defined general parameter storage organization The corresponding structure of categorical data defines description information;The Second Type data are to be obtained after being serialized first kind data It arrives, the structure defines the structure that description information is the first kind data and defines description information;
Description information is defined according to the structure, unserializing is carried out to the Second Type data, obtains described first Categorical data.
A kind of data storage device, including:First acquisition unit, second acquisition unit and storage unit;
The first acquisition unit, for obtaining first kind data to be stored;
The second acquisition unit, the structure for obtaining the first kind data define description information;
The storage unit, for according to pre-defined general parameter storage organization, by the first kind data into The Second Type data and the structure obtained after row serializing define description information and are carried out at the same time storage.
A kind of digital independent device, including:Third acquiring unit and processing unit;
The third acquiring unit, for obtaining stored according to pre-defined general parameter storage organization second Categorical data and the corresponding structure of the Second Type data define description information;The Second Type data are by the first kind What type data obtained after being serialized, the structure defines the structure definition description that description information is the first kind data Information;
The processing unit carries out inverted sequence for defining description information according to the structure to the Second Type data Rowization obtain the first kind data.
A kind of automatic driving vehicle data processing system, including:Data storage device as described above, and, such as with The upper digital independent device.
A kind of computer equipment, including memory, processor and be stored on the memory and can be in the processor The computer program of upper operation, the processor realize method as described above when executing described program.
A kind of computer readable storage medium is stored thereon with computer program, real when described program is executed by processor Now method as described above.
It can be seen that using scheme of the present invention based on above-mentioned introduction, getting first kind data to be stored Afterwards, the structure that can further obtain first kind data defines description information, later can serialize first kind data The Second Type data and structure obtained afterwards define description information and are carried out at the same time storage, in this way, subsequently when needed, it can be direct Description information is defined according to structure and completes unserializing operation, without carrying out artificial restraint as in the prior art, to letter User's operation etc. is changed.
【Description of the drawings】
Fig. 1 is the flow chart of date storage method embodiment of the present invention.
Fig. 2 is the flow chart of method for reading data embodiment of the present invention.
Fig. 3 is data handling procedure specific example schematic diagram of the present invention.
Fig. 4 is the composed structure schematic diagram of data storage device embodiment of the present invention.
Fig. 5 is the composed structure schematic diagram of digital independent device embodiment of the present invention.
Fig. 6 shows the block diagram of the exemplary computer system/server 12 suitable for being used for realizing embodiment of the present invention.
【Specific implementation mode】
In order to keep technical scheme of the present invention clearer, clear, develop simultaneously embodiment referring to the drawings, to institute of the present invention The scheme of stating is further described.
Obviously, described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on the present invention In embodiment, all other embodiment that those skilled in the art are obtained without creative efforts, all Belong to the scope of protection of the invention.
Fig. 1 is the flow chart of date storage method embodiment of the present invention.As shown in Figure 1, including realizing in detail below Mode.
In 101, first kind data to be stored are obtained.
In 102, the structure for obtaining first kind data defines description information.
In 103, first kind data sequence is turned into Second Type data.
In 104, obtained Second Type data and structure are defined into description information and is carried out at the same time storage.
Which kind of categorical data is first kind data, which be specially, to be decided according to the actual requirements, for example, can be protobuf classes Type data, correspondingly, Second Type data can be STRING categorical datas.
Scheme described in the present embodiment is further described by taking protobuf categorical datas as an example below.
In the present embodiment, for protobuf categorical datas to be stored, its structure can be obtained first and defines description information. It includes type definition (i.e. data type) description, each field description etc. to data that structure, which defines description information,.How to obtain It is the prior art that structure, which defines description information,.
In addition, it is also necessary to which protobuf categorical data sequences are turned into STRING categorical datas.It later, can will be after serializing STRING categorical datas and structure define description information, according to pre-defined general parameter storage organization, be carried out at the same time Storage.
General parameter storage organization at least also supports the storage of following categorical data:BOOL categorical datas, INT number of types According to, DOUBLE categorical datas, BYTES categorical datas etc..
General parameter storage organization described in the present embodiment can be as follows:
Based on above-mentioned date storage method, Fig. 2 is the flow chart of method for reading data embodiment of the present invention.Such as Fig. 2 It is shown, including realization method in detail below.
In 201, obtain the Second Type data stored according to pre-defined general parameter storage organization and The corresponding structure of Second Type data defines description information;Second Type data are to be obtained after being serialized first kind data It arrives, structure defines the structure that description information is first kind data and defines description information.
In 202, description information is defined according to structure, unserializing is carried out to Second Type data, obtains the first kind Data.
Preferably, first kind data can be protobuf categorical datas, Second Type data can be STRING number of types According to.
As previously mentioned, when being stored to protobuf categorical datas, its structure can be obtained first and defines description information, And it needs protobuf categorical data sequences turning to STRING categorical datas.It later, can be by the STRING types after serializing Data and structure define description information, according to general parameter storage organization, are carried out at the same time storage.
General parameter storage organization at least also supports the storage of following categorical data:BOOL categorical datas, INT number of types According to, DOUBLE categorical datas, BYTES categorical datas etc..
In this way, when needing to read protobuf categorical datas, stored protobuf categorical datas can be obtained respectively The STRING categorical datas and structure obtained after being serialized defines description information, and then can be fixed according to the structure got Adopted description information carries out unserializing, to obtain required protobuf number of types to the STRING categorical datas got According to.
In the prior art, for protobuf categorical datas, it is necessary to artificially constrain data type, so as to when needs When the operations such as being read out to the data of storage, unserializing etc. is completed, and in scheme of the present invention, it can be right simultaneously The STRING categorical datas and structure that protobuf categorical datas obtain after being serialized define description information and are stored, In this way, can subsequently define description information according to structure, obtained after directly being serialized to protobuf categorical datas STRING categorical datas carry out unserializing operation, convenient for users etc. to simplify user's operation.
In addition, in the prior art, need by user by protobuf categorical data sequences turn to STRING categorical datas into Row storage etc., and data of the present invention storage and read method can be realized in ccf layer, and sequence is automatically completed by ccf layer The operations such as rowization and unserializing, it is invisible for a user, to further simplify user's operation.Wherein, ccf layer It can be understood as including a series of software assembly of interfaces and tool etc..
In addition, in existing way, for protobuf categorical datas, in addition to being carried out using above-mentioned general parameter storage organization Outside the mode of storage, it can also specially realize a series of interface, realize special support.
But this mode can also there is a problem of in practical applications it is certain, such as:Communication system middle frame can not be released The compiling of layer and client layer relies on, i.e., when being compiled to protobuf categorical datas, it is necessary to the stored data type of reference Header file could pass through compiling.Wherein, client layer can be understood as the application journey that user is realized based on the interface that ccf layer provides Sequence etc..
And in scheme of the present invention, while the STRING types obtained after being serialized to protobuf categorical datas Data and structure define description information and are stored, in this way, can direct basis structure define description information, to protobuf classes Type data are compiled, and without quoting header file, are relied on to relieve the compiling, are realized decoupling.
Below by way of specific example, scheme of the present invention is further described.
Fig. 3 is data handling procedure specific example schematic diagram of the present invention.As shown in figure 3, for be stored Protobuf categorical data A parse/obtain its structure in ccf layer and define description information, and sequence turns to STRING first Categorical data (to simplify attached drawing, not shown) etc., later, data storage is carried out according to general parameter storage organization, subsequently, can profit With protobuf reflex mechanisms, realize that the parsing etc. of data can be according to the structure of A such as when needing to carry out unserializing operation Description information is defined, the information such as data type are obtained, and then completes the anti-of the data (STRING categorical datas) after being serialized to A Serializing operation, also, the structure based on A defines description information, and the compiling that can release ccf layer and client layer relies on, realize according to Rely decoupling.
It should be noted that for each method embodiment above-mentioned, for simple description, all it is stated that a series of Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the described action sequence, because according to According to the present invention, certain steps may be used other sequences or be carried out at the same time.Next, those skilled in the art should also know that, Embodiment described in this description belongs to preferred embodiment, and not necessarily the present invention must for involved action and module Must.
In addition, in the above embodiments, all emphasizing particularly on different fields to the description of each embodiment, without detailed in some embodiment The part stated may refer to the associated description of other embodiments.
In short, using scheme described in above method embodiment, can in ccf layer simultaneously to protobuf categorical datas into The STRING categorical datas and structure obtained after row serializing defines description information and is stored, and can be automatically completed sequence Change and unserializing operates, to simplify user's operation etc..
Moreover, using scheme described in above method embodiment, compiling can be released and relied on, realize decoupling.
In addition, using scheme described in above method embodiment, without specially realizing a system for protobuf categorical datas The interface of row simplifies the mode etc. that user uses interface to unify user-interface realization.
It is the introduction about embodiment of the method above, below by way of device embodiment, to scheme of the present invention into traveling One step explanation.
Fig. 4 is the composed structure schematic diagram of data storage device embodiment of the present invention.As shown in figure 4, including:First Acquiring unit 401, second acquisition unit 402 and storage unit 403.
First acquisition unit 401, for obtaining first kind data to be stored.
Second acquisition unit 402, the structure for obtaining first kind data define description information.
Storage unit 403, for according to pre-defined general parameter storage organization, first kind data to be carried out sequence The Second Type data obtained after change and obtained structure define description information and are carried out at the same time storage.
Preferably, first kind data can be protobuf categorical datas, Second Type data can be STRING number of types According to.
In the present embodiment, second acquisition unit 402 gets the protobuf to be stored from the first storage unit 401 After categorical data, the structure that can further obtain protobuf categorical datas defines description information, and structure defines in description information Include type definition (i.e. data type) description, each field description etc. to data.
Protobuf categorical data sequences further can be turned to STRING categorical datas by second acquisition unit 402, in turn By storage unit 403 by after serializing STRING categorical datas and structure define description information, according to pre-defined logical With parameter storage organization, it is carried out at the same time storage.
In addition, general parameter storage organization at least also supports the storage of following categorical data:BOOL categorical datas, INT classes Type data, DOUBLE categorical datas, BYTES categorical datas etc..
General parameter storage organization described in the present embodiment can be as follows:
Fig. 5 is the composed structure schematic diagram of digital independent device embodiment of the present invention.As shown in figure 5, including:Third Acquiring unit 501 and processing unit 502.
Third acquiring unit 501, for obtaining stored according to pre-defined general parameter storage organization second Categorical data and the corresponding structure of Second Type data define description information;Second Type data be by first kind data into It is obtained after row serializing, structure defines the structure that description information is first kind data and defines description information.
Processing unit 502 carries out unserializing to Second Type data, obtains for defining description information according to structure First kind data.
Preferably, first kind data can be protobuf categorical datas, Second Type data can be STRING number of types According to.
When being stored to protobuf categorical datas, obtained after protobuf categorical datas being serialized The structure of STRING categorical datas and protobuf categorical datas defines description information, according to general parameter storage organization, together Shi Jinhang is stored.
General parameter storage organization at least also supports the storage of following categorical data:BOOL categorical datas, INT number of types According to, DOUBLE categorical datas, BYTES categorical datas.
In this way, when needing to read protobuf categorical datas, third acquiring unit 501 can obtain respectively to be stored The STRING categorical datas and structure that protobuf categorical datas obtain after being serialized define description information, and then can be by Processing unit 502 defines description information according to the structure got, and unserializing is carried out to the STRING categorical datas got, To obtain required protobuf categorical datas.
The present invention discloses a kind of automatic driving vehicle data processing systems, including:Data storage dress as shown in Figure 4 It sets, and, digital independent device as shown in Figure 5.
The specific workflow of above-mentioned apparatus and system embodiment please refers to the respective description in preceding method embodiment, no It repeats again.
Fig. 6 shows the block diagram of the exemplary computer system/server 12 suitable for being used for realizing embodiment of the present invention. The computer system/server 12 that Fig. 6 is shown is only an example, should not be to the function and use scope of the embodiment of the present invention Bring any restrictions.
As shown in fig. 6, computer system/server 12 is showed in the form of universal computing device.Computer system/service The component of device 12 can include but is not limited to:One or more processor (processing unit) 16, memory 28 connect not homology The bus 18 of system component (including memory 28 and processor 16).
Bus 18 indicates one or more in a few class bus structures, including memory bus or Memory Controller, Peripheral bus, graphics acceleration port, processor or the local bus using the arbitrary bus structures in a variety of bus structures.It lifts For example, these architectures include but not limited to industry standard architecture (ISA) bus, microchannel architecture (MAC) Bus, enhanced isa bus, Video Electronics Standards Association (VESA) local bus and peripheral component interconnection (PCI) bus.
Computer system/server 12 typically comprises a variety of computer system readable media.These media can be appointed What usable medium that can be accessed by computer system/server 12, including volatile and non-volatile media, it is moveable and Immovable medium.
Memory 28 may include the computer system readable media of form of volatile memory, such as random access memory Device (RAM) 30 and/or cache memory 32.Computer system/server 12 may further include it is other it is removable/no Movably, volatile/non-volatile computer system storage medium.Only as an example, storage system 34 can be used for reading and writing Immovable, non-volatile magnetic media (Fig. 6 do not show, commonly referred to as " hard disk drive ").It, can although being not shown in Fig. 6 To provide for the disc driver to moving non-volatile magnetic disk (such as " floppy disk ") read-write, and to removable non-volatile Property CD (such as CD-ROM, DVD-ROM or other optical mediums) read and write CD drive.In these cases, each to drive Dynamic device can be connected by one or more data media interfaces with bus 18.Memory 28 may include at least one program There is one group of (for example, at least one) program module, these program modules to be configured to perform the present invention for product, the program product The function of each embodiment.
Program/utility 40 with one group of (at least one) program module 42 can be stored in such as memory 28 In, such program module 42 includes --- but being not limited to --- operating system, one or more application program, other programs Module and program data may include the realization of network environment in each or certain combination in these examples.Program mould Block 42 usually executes function and/or method in embodiment described in the invention.
Computer system/server 12 can also be (such as keyboard, sensing equipment, aobvious with one or more external equipments 14 Show device 24 etc.) communication, it is logical that the equipment interacted with the computer system/server 12 can be also enabled a user to one or more Letter, and/or any set with so that the computer system/server 12 communicated with one or more of the other computing device Standby (such as network interface card, modem etc.) communicates.This communication can be carried out by input/output (I/O) interface 22.And And computer system/server 12 can also pass through network adapter 20 and one or more network (such as LAN (LAN), wide area network (WAN) and/or public network, such as internet) communication.As shown in fig. 6, network adapter 20 passes through bus 18 communicate with other modules of computer system/server 12.It should be understood that although not shown in the drawings, computer can be combined Systems/servers 12 use other hardware and/or software module, including but not limited to:Microcode, device driver, at redundancy Manage unit, external disk drive array, RAID system, tape drive and data backup storage system etc..
Processor 16 is stored in the program in memory 28 by operation, to perform various functions at application and data Reason, such as realize the method in Fig. 1 or 2 illustrated embodiments.
The present invention discloses a kind of computer readable storage mediums, are stored thereon with computer program, the program quilt The method in embodiment as shown in the figures 1 and 2 will be realized when processor executes.
The arbitrary combination of one or more computer-readable media may be used.Computer-readable medium can be calculated Machine readable signal medium or computer readable storage medium.Computer readable storage medium for example can be --- but it is unlimited In --- electricity, system, device or the device of magnetic, optical, electromagnetic, infrared ray or semiconductor, or the arbitrary above combination.It calculates The more specific example (non exhaustive list) of machine readable storage medium storing program for executing includes:Electrical connection with one or more conducting wires, just It takes formula computer disk, hard disk, random access memory (RAM), read-only memory (ROM), erasable type and may be programmed read-only storage Device (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device, Or above-mentioned any appropriate combination.In this document, can be any include computer readable storage medium or storage journey The tangible medium of sequence, the program can be commanded the either device use or in connection of execution system, device.
Computer-readable signal media may include in a base band or as the data-signal that a carrier wave part is propagated, Wherein carry computer-readable program code.Diversified forms may be used in the data-signal of this propagation, including --- but It is not limited to --- electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be Any computer-readable medium other than computer readable storage medium, which can send, propagate or Transmission for by instruction execution system, device either device use or program in connection.
The program code for including on computer-readable medium can transmit with any suitable medium, including --- but it is unlimited In --- wireless, electric wire, optical cable, RF etc. or above-mentioned any appropriate combination.
It can be write with one or more programming languages or combinations thereof for executing the computer that operates of the present invention Program code, described program design language include object oriented program language-such as Java, Smalltalk, C++, Further include conventional procedural programming language-such as " C " language or similar programming language.Program code can be with It fully executes, partly execute on the user computer on the user computer, being executed as an independent software package, portion Divide and partly executes or executed on a remote computer or server completely on the remote computer on the user computer. Be related in the situation of remote computer, remote computer can pass through the network of any kind --- including LAN (LAN) or Wide area network (WAN)-be connected to subscriber computer, or, it may be connected to outer computer (such as carried using Internet service It is connected by internet for quotient).
In several embodiments provided by the present invention, it should be understood that disclosed device and method etc. can pass through Other modes are realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, Only a kind of division of logic function, formula that in actual implementation, there may be another division manner.
The unit illustrated as separating component may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, you can be located at a place, or may be distributed over multiple In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme 's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also It is that each unit physically exists alone, it can also be during two or more units be integrated in one unit.Above-mentioned integrated list The form that hardware had both may be used in member is realized, can also be realized in the form of hardware adds SFU software functional unit.
The above-mentioned integrated unit being realized in the form of SFU software functional unit can be stored in one and computer-readable deposit In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions are used so that a computer It is each that equipment (can be personal computer, server or the network equipment etc.) or processor (processor) execute the present invention The part steps of embodiment the method.And storage medium above-mentioned includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. it is various The medium of program code can be stored.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention With within principle, any modification, equivalent substitution, improvement and etc. done should be included within the scope of protection of the invention god.

Claims (19)

1. a kind of date storage method, which is characterized in that including:
Obtain first kind data to be stored;
The structure for obtaining the first kind data defines description information;
According to pre-defined general parameter storage organization, the second class obtained after the first kind data are serialized Type data and the structure define description information and are carried out at the same time storage.
2. date storage method according to claim 1, which is characterized in that
The first kind data include:Protobuf categorical datas;
The Second Type data include:STRING categorical datas.
3. date storage method according to claim 2, which is characterized in that
The general parameter storage organization at least also supports the storage of following categorical data:BOOL categorical datas, INT number of types According to, DOUBLE categorical datas, BYTES categorical datas.
4. date storage method according to claim 1, which is characterized in that
The date storage method is realized in ccf layer.
5. a kind of method for reading data, which is characterized in that including:
Obtain the Second Type data stored according to pre-defined general parameter storage organization and the Second Type The corresponding structure of data defines description information;The Second Type data are to be obtained after being serialized first kind data , the structure defines the structure that description information is the first kind data and defines description information;
Description information is defined according to the structure, unserializing is carried out to the Second Type data, obtains the first kind Data.
6. method for reading data according to claim 5, which is characterized in that
The first kind data include:Protobuf categorical datas;
The Second Type data include:STRING categorical datas.
7. method for reading data according to claim 6, which is characterized in that
The general parameter storage organization at least also supports the storage of following categorical data:BOOL categorical datas, INT number of types According to, DOUBLE categorical datas, BYTES categorical datas.
8. method for reading data according to claim 5, which is characterized in that
The method for reading data is realized in ccf layer.
9. a kind of data storage device, which is characterized in that including:First acquisition unit, second acquisition unit and storage unit;
The first acquisition unit, for obtaining first kind data to be stored;
The second acquisition unit, the structure for obtaining the first kind data define description information;
The storage unit, for according to pre-defined general parameter storage organization, the first kind data to be carried out sequence The Second Type data and the structure obtained after rowization define description information and are carried out at the same time storage.
10. data storage device according to claim 9, which is characterized in that
The first kind data include:Protobuf categorical datas;
The Second Type data include:STRING categorical datas.
11. data storage device according to claim 10, which is characterized in that
The general parameter storage organization at least also supports the storage of following categorical data:BOOL categorical datas, INT number of types According to, DOUBLE categorical datas, BYTES categorical datas.
12. data storage device according to claim 9, which is characterized in that
The data storage device is applied to ccf layer.
13. a kind of digital independent device, which is characterized in that including:Third acquiring unit and processing unit;
The third acquiring unit, for obtaining the Second Type stored according to pre-defined general parameter storage organization Data and the corresponding structure of the Second Type data define description information;The Second Type data are by first kind number According to what is obtained after being serialized, the structure defines the structure definition description letter that description information is the first kind data Breath;
The processing unit carries out unserializing for defining description information according to the structure to the Second Type data, Obtain the first kind data.
14. digital independent device according to claim 13, which is characterized in that
The first kind data include:Protobuf categorical datas;
The Second Type data include:STRING categorical datas.
15. digital independent device according to claim 14, which is characterized in that
The general parameter storage organization at least also supports the storage of following categorical data:BOOL categorical datas, INT number of types According to, DOUBLE categorical datas, BYTES categorical datas.
16. digital independent device according to claim 13, which is characterized in that
The digital independent device is realized in ccf layer.
17. a kind of automatic driving vehicle data processing system, which is characterized in that including:
Data storage device described in any one of claim 9~12, and, described in any one of claim 13~16 Digital independent device.
18. a kind of computer equipment, including memory, processor and it is stored on the memory and can be on the processor The computer program of operation, which is characterized in that the processor is realized when executing described program as any in claim 1~8 Method described in.
19. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that described program is handled Such as method according to any one of claims 1 to 8 is realized when device executes.
CN201810233189.7A 2018-03-21 2018-03-21 Data store and read method, device, system and storage medium Pending CN108595209A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810233189.7A CN108595209A (en) 2018-03-21 2018-03-21 Data store and read method, device, system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810233189.7A CN108595209A (en) 2018-03-21 2018-03-21 Data store and read method, device, system and storage medium

Publications (1)

Publication Number Publication Date
CN108595209A true CN108595209A (en) 2018-09-28

Family

ID=63626890

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810233189.7A Pending CN108595209A (en) 2018-03-21 2018-03-21 Data store and read method, device, system and storage medium

Country Status (1)

Country Link
CN (1) CN108595209A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110298449A (en) * 2019-07-03 2019-10-01 成都天钥科技有限公司 Computer carries out the method, apparatus and computer readable storage medium of general study
CN114070892A (en) * 2021-11-25 2022-02-18 维沃移动通信有限公司 Data transmission method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104077335A (en) * 2013-05-07 2014-10-01 腾讯科技(深圳)有限公司 Methods, devices and system for serializing and deserializing structured data
CN105095268A (en) * 2014-05-12 2015-11-25 深圳市同洲电子股份有限公司 Method and apparatus for accessing structured data

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104077335A (en) * 2013-05-07 2014-10-01 腾讯科技(深圳)有限公司 Methods, devices and system for serializing and deserializing structured data
CN105095268A (en) * 2014-05-12 2015-11-25 深圳市同洲电子股份有限公司 Method and apparatus for accessing structured data

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110298449A (en) * 2019-07-03 2019-10-01 成都天钥科技有限公司 Computer carries out the method, apparatus and computer readable storage medium of general study
CN110298449B (en) * 2019-07-03 2023-04-14 成都天钥科技有限公司 Method and device for computer to carry out general learning and computer readable storage medium
CN114070892A (en) * 2021-11-25 2022-02-18 维沃移动通信有限公司 Data transmission method and device

Similar Documents

Publication Publication Date Title
CN107977268A (en) Method for scheduling task, device and the computer-readable recording medium of the isomerization hardware of artificial intelligence
CN108416744B (en) Image processing method, device, equipment and computer readable storage medium
CN109213611A (en) The striding course means of communication, device, terminal and storage medium
CN102223363B (en) System and method for generating persistent sessions in a graphical interface for managing communication sessions
CN108170792A (en) Question and answer bootstrap technique, device and computer equipment based on artificial intelligence
CN109189666A (en) Interface test method, device and computer equipment
CN109960541A (en) Start method, equipment and the computer storage medium of small routine
CN108363556A (en) A kind of method and system based on voice Yu augmented reality environmental interaction
CN110363810A (en) Establish the method, apparatus, equipment and computer storage medium of image detection model
CN104395882A (en) Creation and context-aware presentation of customized emoticon item sets
CN109656706A (en) Distributed task dispatching method, system, equipment and medium
CN109933269A (en) Method, equipment and the computer storage medium that small routine is recommended
CN110457038A (en) Card display methods, device, equipment and the storage medium of attached application end
CN107423055A (en) Method, apparatus, equipment and the storage medium of adaptive terminal device resolution
CN108595209A (en) Data store and read method, device, system and storage medium
CN101326513B (en) Method for utilizing alternative graphics pipe
CN109471674A (en) It spreads its tail information displaying method, computer equipment and storage medium using starting
CN109815481A (en) Method, apparatus, equipment and the computer storage medium of event extraction are carried out to text
CN114879551A (en) Intelligent cabin domain controller based on CPU hard isolation system design method
CN106569874A (en) Operation method of storage device and physical server
CN110471740A (en) Execute method, apparatus, equipment and the computer storage medium of machine learning task
CN108153904A (en) Language material collection method, device and computer equipment
CN108829646A (en) Data storage and analytic method, device, system and storage medium
CN108255504A (en) Method for updating software in storage system and storage system
CN108495160A (en) Intelligent control method, system, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180928