CN108986253A - Method, apparatus, equipment and computer readable storage medium for storing data - Google Patents
Method, apparatus, equipment and computer readable storage medium for storing data Download PDFInfo
- Publication number
- CN108986253A CN108986253A CN201810698382.8A CN201810698382A CN108986253A CN 108986253 A CN108986253 A CN 108986253A CN 201810698382 A CN201810698382 A CN 201810698382A CN 108986253 A CN108986253 A CN 108986253A
- Authority
- CN
- China
- Prior art keywords
- data
- computing resources
- sampling
- storage
- vehicle
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
- G07C5/00—Registering or indicating the working of vehicles
- G07C5/08—Registering or indicating performance data other than driving, working, idle, or waiting time, with or without registering driving, working, idle or waiting time
- G07C5/0841—Registering performance data
- G07C5/085—Registering performance data using electronic data carriers
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
- G07C5/00—Registering or indicating the working of vehicles
- G07C5/08—Registering or indicating performance data other than driving, working, idle, or waiting time, with or without registering driving, working, idle or waiting time
- G07C5/0841—Registering performance data
- G07C5/085—Registering performance data using electronic data carriers
- G07C5/0866—Registering performance data using electronic data carriers the electronic data carrier being a digital video recorder in combination with video camera
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Traffic Control Systems (AREA)
Abstract
Embodiment of the disclosure is related to a kind of method, apparatus, equipment and computer readable storage medium for storing data.This method includes obtaining data relevant to the motor behavior of movement entity, sampled.This method further includes determining idle computing resources from the computing resource for movement entity for data, and computing resource corresponds to and the different storage units in the associated storage equipment of movement entity.Later, this method further comprises being stored data to storage unit corresponding with idle computing resources in association at least one in the sampling apparatus and sampling instant for corresponding to data using idle computing resources.The technical solution of the disclosure can make full use of computing resource, and sizes of memory is larger accurately and in time, the higher travelling data of precision, and avoids parallel conflict.
Description
Technical field
The disclosure relates generally to technical field of memory, more particularly, to for storing data method, apparatus, set
Standby and computer readable storage medium.
Background technique
With Vehicular intelligent, the development of net connectionization, the technologies such as DAS (Driver Assistant System), automated driving system, which to drive, is blamed
Appoint main body more complicated.Traffic accident may be derived from human manipulation's fault, vehicle sole mass defect, it is also possible to come
From auxiliary or automatic system perception, prediction, in terms of fault, in some instances it may even be possible to the network attack from hacker.Data
It will be the most important foundation of reduction accident truth, only according to complete reliable data, hair can be just searched when accident is identified
It makes trouble the main reason for former, it is expressly intended that responsible party, so that accident be made to obtain fairly and quickly handling.
In traditional date storage method, data to be stored generally only relate to the relevant number of the driving behavior to vehicle
According to, running speed for example, for recording the data of the behaviors such as the brake, acceleration, steering of vehicle, or for recording vehicle,
The data of road location.Since such data have the characteristics that smaller size, lower accuracy, therefore usually can easily store
Into vehicle-mounted black box.However, the laser point cloud number recorded for video data, laser radar that high-definition camera is recorded
There is larger size, the data of degree of precision according to equal, current storage system can not carry out efficient and stable storage to it
Operation.
Summary of the invention
According to an example embodiment of the present disclosure, a kind of data storage scheme is provided.
In the first aspect of the disclosure, a kind of method for storing data is provided.This method includes obtaining and transporting
Relevant, the sampled data of the motor behavior of dynamic entity.This method further includes from the computing resource for movement entity
Data determine idle computing resources, and computing resource corresponds to single from the different storages in the associated storage equipment of movement entity
Member.This method further comprises by data and being corresponded in the sampling apparatus and sampling instant of data using idle computing resources
At least one of stored in association to storage unit corresponding with idle computing resources.
In the second aspect of the disclosure, a kind of device for storing data is provided.The device includes data acquisition
Module is configured as obtaining data relevant to the motor behavior of movement entity, sampled.The device further includes idle calculating
Resource determination module is configured as determining idle computing resources from the computing resource for movement entity for data, calculates money
Source corresponds to and the different storage units in the associated storage equipment of movement entity.The device further comprises storage processing mould
Block is configured as using idle computing resources by data and corresponding at least one in the sampling apparatus and sampling instant of data
It is stored in association to storage unit corresponding with idle computing resources.
In the third aspect of the disclosure, a kind of electronic equipment is provided.The electronic equipment includes one or more processing
Device;And storage device, for storing one or more programs, when one or more programs are held by one or more processors
Row, so that the method that one or more processors realize the first aspect according to the disclosure.
In the fourth aspect of the disclosure, a kind of computer-readable medium is provided, computer program is stored thereon with, it should
The method of the first aspect according to the disclosure is realized when program is executed by processor.
It should be appreciated that content described in Summary be not intended to limit embodiment of the disclosure key or
Important feature, it is also non-for limiting the scope of the present disclosure.The other feature of the disclosure will become easy reason by description below
Solution.
Detailed description of the invention
It refers to the following detailed description in conjunction with the accompanying drawings, the above and other feature, advantage and aspect of each embodiment of the disclosure
It will be apparent.In the accompanying drawings, the same or similar appended drawing reference indicates the same or similar element, in which:
Multiple embodiments that Fig. 1 shows the disclosure can be in the schematic diagram for the example context wherein realized;
Fig. 2 shows the process executed in computing system inside the vehicle according to an embodiment of the present disclosure or methods
Flow chart;
Fig. 3 shows the flow chart of process or method according to the storage of the data of some embodiments of the present disclosure;
Fig. 4 shows the schematic block of the device executed in computing system inside the vehicle according to an embodiment of the present disclosure
Figure;And
Fig. 5 shows the block diagram that can implement the calculating equipment of multiple embodiments of the disclosure.
Specific embodiment
Embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although showing the certain of the disclosure in attached drawing
Embodiment, it should be understood that, the disclosure can be realized by various forms, and should not be construed as being limited to this
In the embodiment that illustrates, providing these embodiments on the contrary is in order to more thorough and be fully understood by the disclosure.It should be understood that
It is that being given for example only property of the accompanying drawings and embodiments effect of the disclosure is not intended to limit the protection scope of the disclosure.
In the description of embodiment of the disclosure, term " includes " and its similar term should be understood as that opening includes,
I.e. " including but not limited to ".Term "based" should be understood as " being based at least partially on ".Term " one embodiment " or " reality
Apply example " it should be understood as " at least one embodiment ".Term " first ", " second " etc. may refer to different or identical right
As.Hereafter it is also possible that other specific and implicit definition.
As mentioned above, the traditional approach for storing data relevant to vehicle drive is general are as follows: in vehicle airbag
When pop-up (occur traffic accident), vehicle based computing system can by vehicle herein front and back state (such as automobile running speed, become
Gear locating for fast case, brake etc.) it is stored in vehicle-mounted black box.After traffic accident occurs, read by professional technique
Data in vehicle-mounted black box, so that it may truly restore the scene of the accident, provide power for accident responsibility identification, injures and deaths exploration of reasons
Prestige evidence.
Traditional data relevant to vehicle drive have the characteristics that smaller size, lower accuracy, therefore can usually hold very much
It changes places and stores into vehicle-mounted black box.However, with the introducing of laser point cloud technology and high definition automobile data recorder etc., how more
Become a kind of challenge efficiently and rapidly to store these with larger size, the data of degree of precision.
Regarding to the issue above with other potential relevant issues, embodiment of the disclosure, which proposes one kind, can make movement real
The storage equipment (for example, vehicle-mounted black box) of body is quick, concurrently stores the data from multiple sampling apparatuses, these sampling cartridges
The sensor that can be camera, radar, laser radar, global positioning system etc. is set, is also possible to for collecting master control
The monitoring device of computer data.In the present solution, be not as traditional technical solution only to smaller size, compared with
The travelling data of low precision is stored, but parallel real-time storage is carried out to the travelling data of larger size, degree of precision,
Without the demand to computing resource is excessively increased.In this way, it is possible to the computing resource in vehicle based computing system is efficiently used, from
And more quickly and efficiently the travelling data of larger size, degree of precision is stored to vehicle-mounted black box.
Herein, term " movement entity " refers to the entity that can be moved on public transport road, for example, motor vehicle
, non power driven vehicle, wearing have object of wearable device etc..Movement entity can have motor behavior, for example, movement entity
It can advance on road according to the route of planning, it can also be on road according to the driver of motor vehicles, non power driven vehicle
Or wearing has the wish of the object of wearable device to advance.
Term " storage equipment " refers to the equipment for storing data relevant to the motor behavior of movement entity.Some
In embodiment, storage equipment is, for example, vehicle-mounted black box, accident data recorder, and/or any other is appropriate for storing
The device of the exercise data of movement entity.
Hereinafter reference will be made to the drawings to specifically describe embodiment of the disclosure.
Multiple embodiments that Fig. 1 shows the disclosure can be in the schematic diagram for the example context wherein realized.The example ring
Border 100 includes automobile 101, computer 102 and user 103.It should be understood that automobile 101 shown in Fig. 1 is merely exemplary, vapour
Vehicle 101 can also be replaced by other motor vehicles, non power driven vehicle, even wearable device.In addition, user 103 can be vehicle
Main equal related personnel are also possible to handle the related personnel of traffic accident.In general, in response to the request of user 103, automobile 101
It acquires and the data stored is first introduced into computer 102.Computer 102 using special-purpose software read data, so as to
Family 130 is shown.
As shown in Figure 1, including data sampling device 104, computing system 105 and storage equipment 106 inside automobile 101.It answers
Understand, although illustrating only a data sampling apparatus 104 in Fig. 1, actually getting on the car may include multiple data samplings in 101
Device.In certain embodiments, data sampling device 104 may include vehicle-mounted camera, trailer-mounted radar, mobile lidar,
Vehicle-bone global positioning system, monitoring device for collecting vehicle-mounted main control computer data etc..As an example, the vehicle of automobile 101
It carries the every 40ms of camera and samples a frame image data, the every 50ms of the mobile lidar of automobile 101 samples a frame laser point
Cloud data.These acquired data can be collected into computing system 105.
It in embodiment of the disclosure, include multiple thread (not shown) in computing system 105.As an example, calculating system
System 105 can have two threads, can also be referred to as " computing resource ".For the image that will be collected into computing system 105
Data and laser point cloud data timely and effectively store to storage equipment 106, can by the way of multi-threading parallel process
The frame image data from vehicle-mounted camera and one from mobile lidar is independently handled on the two threads
The storage of frame laser point cloud data operates.
The process that data storage is executed at computing system 105 is described in detail in below with reference to Fig. 2.Fig. 2 shows bases
The flow chart of the process or method that are executed in the computing system 105 inside automobile 101 of embodiment of the disclosure.In the disclosure
Embodiment in, at the computing system 105 that method 200 can be for example shown in Fig. 1 realize.
In frame 201, data relevant to the motor behavior of movement entity, sampled are obtained.As an example, movement entity
The motor vehicle that can be such as automobile 101 is also possible to non-motor vehicle or wearable device.In embodiment of the disclosure, may be used
With a sampling apparatus of the reception from such as preposition vehicle-mounted camera, relevant to the motor behavior of an automobile 101 frame figure
As data.Alternatively or additionally, can also receive respectively from such as vehicle-mounted camera, trailer-mounted radar, mobile lidar,
Multiple sampling apparatuses of vehicle-bone global positioning system, monitoring device for collecting vehicle-mounted main control computer data etc. and vapour
The relevant frame image data of the motor behavior of vehicle 101, a frame trailer-mounted radar data, a frame laser point cloud data, a frame GPS number
Accordingly and a frame main control computer director data.It should be understood that the sampling of these data can be not based on same clock, therefore each data
Sampling time can be different.
In embodiment of the disclosure, above-mentioned motor behavior may include with the relative displacement of 101 objects in front of automobile, with
The behaviors such as relative displacement, brake, acceleration, the steering of 101 rear object of automobile.
In frame 202, idle computing resources are determined for data from the computing resource for movement entity, and computing resource is corresponding
In from movement entity it is associated storage equipment 106 in different storage units.As an example, movement entity can be such as vapour
The motor vehicle of vehicle 101 is also possible to non-motor vehicle or wearable device.In embodiment of the disclosure, computing system 105 can be with
Including multiple computing resources.As an example, computing resource can be thread.That is, computing system 105 can use multiple threads simultaneously
The storage operation of data is executed capablely.It should be understood that computing resource can also be the kernel of CPU.That is, computing system 105 can benefit
With multi-core parallel concurrent execute the storage operation of data.It should be understood that computing system 105 can also include that other kinds of calculating provides
Source, the purpose that above-mentioned example is merely to illustrate that, it is not intended to limit the range of embodiment of the disclosure.
When computing system 105 is received from a frame data of data sampling device 104, computing system 105 can be from
An idle thread is determined for the data in multiple threads, so that the idle thread executes the storage operation of the data.In the sky
During idle thread is handling the storage operation of the data, adopted if computing system 105 receives again from same data
When one frame additional data of sampling device or other data sampling devices, computing system 105 can be from remaining multiple threads
The additional data determines an additional free thread, so that the additional free thread executes the storage operation of the additional data.It is logical
Aforesaid operations are crossed, computing system 105 can concurrently handle the storage operation of multiple data.
It should be strongly noted that when computing system 105 is written in parallel to multiple numbers in storage equipment 106 using multiple threads
According to when, in fact it could happen that multiple data are written into the case where same storage region or storage address.I.e., in fact it could happen that parallel conflict.
To solve this problem, in embodiment of the disclosure, storage equipment 106 can be divided into multiple storage units in advance, and
Multiple threads in computing system 105 correspond respectively to these storage units.By aforesaid operations, write performed by different threads
Storage region or the storage address for entering operation are different, thus avoid parallel conflict.
In frame 203, using the idle computing resources determined in frame 202, by the sampled data received with it is corresponding
At least one in the sampling apparatus and sampling instant of the data is stored in association to corresponding with the idle computing resources
Storage unit.
In embodiment of the disclosure, movement entity 101 can have one or more data sampling devices 104, for example,
Vehicle-mounted camera, trailer-mounted radar, mobile lidar, vehicle-bone global positioning system, for collecting vehicle-mounted main control computer data
Monitoring device and/or other data acquisition equipments appropriate.
In embodiment of the disclosure, it when needing to store the data of multiple sampling apparatuses in automobile 101, can will receive
To sampled data with correspond to the data sampling apparatus and sampling instant store to the idle computing resources phase
Corresponding storage unit.Alternatively or additionally, when only needing to store the data of a sampling apparatus in automobile 101, then may be used
Storing the sampled data received with the sampling instant for corresponding to the data to corresponding with the idle computing resources
Storage unit.
In embodiment of the disclosure, the sampling apparatus (example corresponding to the data can be marked in data to be stored
Such as, the identification information of sampling apparatus) and sampling instant information.After the completion of label, labeled data can be stored to
Corresponding storage unit.Alternatively or additionally, data to be stored can also be created and correspond to the sampling apparatus of the data
The mapping table (for example, Hash table) of (for example, identification information of sampling apparatus) and sampling instant.It is created in mapping table
After the completion, which can be stored with the mapping table to corresponding storage unit.By the sampling cartridge for storing each data
Set identification information and sampling instant information, can after accident occurs or user 103 request after to all numbers of storage
According to progress sequential combination.
In embodiment of the disclosure, when idle thread is not present in computing system 105, computing system 105 will be received
To data with correspond to the data sampling apparatus and sampling instant at least one of be maintained in buffer memory device, thus really
Sampled data is protected not to be lost.
By executing aforesaid operations, can making full use of computing resource, sizes of memory is larger accurately and in time, precision is higher
Travelling data, and avoid parallel conflict.
For the preferred embodiment of the date storage method of the disclosure described in more detail, Fig. 3 is shown according to this public affairs
The flow chart of the process or method of the data storage for some embodiments opened.In embodiment of the disclosure, method 300 can be
It is realized in equipment shown in Fig. 4.As an example, method 300 can be shown in Fig. 1 computing system 105 in realize.For the ease of
Understand, the specific data referred in the following description are exemplary, and are not used to limit the protection scope of the disclosure.
In frame 301, storing equipment 106 by computing system 105 first, to be divided into multiple storage units (or multiple and different
Storage region).The multiple storage units divided are corresponding with computing resource (for example, multiple threads) in computing system 105.?
That is some thread in computing system can only write data into corresponding storage unit.
In frame 303, sampling relevant to the motor behavior of movement entity (such as automobile 101) is obtained by computing system 105
Data.The data are usually to be sampled to obtain by data sampling device 104.Later, in frame 305, by computing system 105 into one
Step determines to whether there is idle computing resources in the computing resource in computing system 105.If there is idle computing resources, then into
Enter frame 307.In frame 307, the idle computing resources that utilization determines in block 305, by the sampled data received with it is corresponding
At least one in the sampling apparatus and sampling instant of the data is stored in association to corresponding with the idle computing resources
Storage unit.
Differently with process described in Fig. 2 or method 200, the process or method 300 of Fig. 3 further include: if there is no sky
Not busy computing resource then enters frame 309.In frame 309, computing system 105 is by the data received and corresponds to adopting for the data
At least one in sampling device and sampling instant is maintained in buffer memory device.Alternatively or additionally, when computing system 105 is found
When reappearing idle computing resources in computing resource, the data being maintained in buffer memory device will preferentially be located by idle computing resources
Reason.
In embodiment of the disclosure, the computing resource in computing system 105 can be multiple threads.Work as computing system
105 when receiving from a frame data of data sampling device 104, and computing system 105 can be the data from multiple threads
An idle thread is determined, so that the idle thread executes the storage operation of the data.The number is being handled in the idle thread
According to storage operation during, if computing system 105 is received and is adopted from same data sampling device or other data again
When one frame additional data of sampling device, computing system 105 can determine one from remaining multiple threads for the additional data
Additional free thread, so that the additional free thread executes the storage operation of the additional data.
Further, since storage equipment 106 can be divided into advance corresponding to each computing resource in order to avoid conflicting parallel
Multiple storage units, thus the size of the data stored there may be particular memory location be significantly greater than other storage units, into
And the particular memory location is made not have the case where extra memory space.For this purpose, computing system 105 can be in multiple storage units
The least storage unit of occupied space is found, and its part memory space (for example, half memory space) is divided into the spy
Determine a part of storage unit.
During storing these data, other information (such as data relevant to these data can be also stored
The identification information and sampling instant information of sampling apparatus), to enable computer 102 accurately to merge and recombinate these numbers
According to.For example, the high-definition camera data in each storage unit for being dispersedly stored in storage equipment 106 can be merged and be recombinated
It, can also be by the laser in each storage unit for being dispersedly stored in storage equipment 106 for the video data stream of high-definition camera
Point clouds merging and it is reassembled as laser point cloud data stream, and so on.
In addition, the corresponding sampling apparatus and corresponding sampling instant for each data based on record combine multiple data,
The data combination that can be identical sampling apparatus can be and further will not after completing the data combination of identical sampling apparatus
Combined data flow with sampling apparatus is stitched together.As an example, can be by the video data of preposition high-definition camera
The data flow of the stream sampling apparatus even more with the video data stream of postposition high-definition camera is spliced into a display picture and uses
It is shown in user 103.
It should be appreciated that the purpose that above-mentioned example is merely to illustrate that, and it is not intended to limit the range of embodiment of the disclosure.
By the above scheme of disclosure discussion, the computing resource in computing system 105 can be made full use of, so as to
In time, accurately sizes of memory is larger, the higher travelling data of precision, and avoids parallel conflict.Further, since calculating system
The operation mode for the multi-threading parallel process that system 105 introduces, therefore can also support to the sampling from multiple and different sampling apparatuses
The parallel memorizing of data operates.
Fig. 4 shows the device executed in the computing system 105 according to an embodiment of the present disclosure inside automobile 101
Schematic block diagram.In conjunction with the description of Fig. 2 and Fig. 3, device 400 shown in Fig. 4 includes: data acquisition module 410.Data acquisition module
410 are configured as obtaining data relevant to the motor behavior of movement entity, sampled.The device 400 further includes idle meter
Calculate resource determination module 420.Idle computing resources determining module 420 is configured as from the computing resource for movement entity
Data determine idle computing resources, and computing resource corresponds to single from the different storages in the associated storage equipment of movement entity
Member.The device 400 further includes storage processing module 430.Storage processing module 430 is configured as to count using idle computing resources
According to correspond to data sampling apparatus and sampling instant at least one of store in association to idle computing resources phase
Corresponding storage unit.
In embodiment of the disclosure, device 400 further include: data keep module (not shown), are configured to respond to
There is no idle computing resources by data and corresponding at least one in the sampling apparatus and sampling instant of data in computing resource
Item is maintained in the buffer memory device of movement entity.
In embodiment of the disclosure, data acquisition module 410 be configured as obtain with motor vehicle, non-motor vehicle, can wear
Wear equipment or the relevant data of other equipment.
In embodiment of the disclosure, sampling apparatus 104 includes vehicle-mounted camera, trailer-mounted radar, mobile lidar, vehicle
Carry global positioning system, monitoring device or other sample devices for collecting vehicle-mounted main control computer data.
In embodiment of the disclosure, storage processing module 430 includes mark module (not shown), is configured as in data
Middle label corresponds to sampling apparatus and the sampling instant of data.Storing processing module 430 further includes memory module (not shown), quilt
It is configured to store labeled data to storage unit corresponding with idle computing resources.
In embodiment of the disclosure, storage processing module 430 includes mapping table creation module (not shown), is matched
It is set to the mapping table of creation data with the sampling apparatus and sampling instant that correspond to data.Storage processing module 430 is also wrapped
Memory module (not shown) is included, is configured as with mapping table storing data to storage corresponding with idle computing resources
Unit.
Fig. 5 shows the schematic block diagram that can be used to implement the example apparatus 500 of embodiment of the disclosure.As schemed
Show, equipment 500 includes central processing unit (CPU) 501, can be according to the calculating being stored in read-only memory (ROM) 502
Machine program instruction is loaded into the computer program instructions in random access storage device (RAM) 503 from storage unit 508, comes
Execute various movements appropriate and processing.In RAM 503, it can also store equipment 500 and operate required various programs and data.
CPU 501, ROM 502 and RAM 503 are connected with each other by bus 504.Input/output (I/O) interface 505 is also connected to always
Line 504.
Multiple components in equipment 500 are connected to I/O interface 505, comprising: input unit 506, such as keyboard, mouse etc.;
Output unit 507, such as various types of displays, loudspeaker etc.;Storage unit 508, such as disk, CD etc.;And it is logical
Believe unit 509, such as network interface card, modem, wireless communication transceiver etc..Communication unit 509 allows equipment 500 by such as
The computer network of internet and/or various telecommunication networks exchange information/data with other equipment.
Processing unit 501 executes each method as described above and processing, such as process 200 and/or 300.For example,
In some embodiments, process 200 and/or 300 can be implemented as computer software programs, machine readable by being tangibly embodied in
Medium, such as storage unit 508.In some embodiments, some or all of of computer program can be via ROM 502
And/or communication unit 509 and be loaded into and/or be installed in equipment 500.When computer program loads are to RAM 503 and by CPU
When 501 execution, the one or more steps of procedures described above 200 and/or 300 can be executed.Alternatively, in other implementations
In example, CPU 501 can be configured as implementation procedure 200 by other any modes (for example, by means of firmware) appropriate
And/or 300.
Function described herein can be executed at least partly by one or more hardware logic components.Example
Such as, without limitation, the hardware logic component for the exemplary type that can be used includes: field programmable gate array (FPGA), dedicated
Integrated circuit (ASIC), Application Specific Standard Product (ASSP), the system (SOC) of system on chip, load programmable logic device
(CPLD) etc..
For implement disclosed method program code can using any combination of one or more programming languages come
It writes.These program codes can be supplied to the place of general purpose computer, special purpose computer or other programmable data processing units
Device or controller are managed, so that program code makes defined in flowchart and or block diagram when by processor or controller execution
Function/operation is carried out.Program code can be executed completely on machine, partly be executed on machine, as stand alone software
Is executed on machine and partly execute or executed on remote machine or server completely on the remote machine to packet portion.
In the context of the disclosure, machine readable media can be tangible medium, may include or is stored for
The program that instruction execution system, device or equipment are used or is used in combination with instruction execution system, device or equipment.Machine can
Reading medium can be machine-readable signal medium or machine-readable storage medium.Machine readable media can include but is not limited to electricity
Son, magnetic, optical, electromagnetism, infrared or semiconductor system, device or equipment or above content any conjunction
Suitable combination.The more specific example of machine readable storage medium will include the electrical connection of line based on one or more, portable meter
Calculation machine disk, hard disk, random access memory (RAM), read-only memory (ROM), Erasable Programmable Read Only Memory EPROM (EPROM
Or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage facilities or
Any appropriate combination of above content.
Although this should be understood as requiring operating in this way with shown in addition, depicting each operation using certain order
Certain order out executes in sequential order, or requires the operation of all diagrams that should be performed to obtain desired result.
Under certain environment, multitask and parallel processing be may be advantageous.Similarly, although containing several tools in being discussed above
Body realizes details, but these are not construed as the limitation to the scope of the present disclosure.In the context of individual embodiment
Described in certain features can also realize in combination in single realize.On the contrary, in the described in the text up and down individually realized
Various features can also realize individually or in any suitable subcombination in multiple realizations.
Although having used specific to this theme of the language description of structure feature and/or method logical action, answer
When understanding that theme defined in the appended claims is not necessarily limited to special characteristic described above or movement.On on the contrary,
Special characteristic described in face and movement are only to realize the exemplary forms of claims.
Claims (14)
1. a kind of method for storing data, comprising:
Obtain data relevant to the motor behavior of movement entity, sampled;
It is that the data determine idle computing resources from the computing resource for the movement entity, the computing resource is corresponding
In from the movement entity it is associated storage equipment in different storage units;And
Using the idle computing resources, by the data with correspond to the data sampling apparatus and sampling instant in extremely
One item missing is stored in association to storage unit corresponding with the idle computing resources.
2. according to the method described in claim 1, further include:
In response to the idle computing resources are not present in the computing resource, by the data and the institute for corresponding to the data
At least one stated in sampling apparatus and the sampling instant is maintained in the buffer memory device of the movement entity.
3. according to the method described in claim 1, wherein obtaining the data includes: to obtain and following at least one is associated
Data:
Motor vehicle;
Non-motor vehicle;And
Wearable device.
4. according to the method described in claim 1, wherein the sampling apparatus comprises at least one of the following:
Vehicle-mounted camera;
Trailer-mounted radar;
Mobile lidar;
Vehicle-bone global positioning system;And
For collecting the monitoring device of vehicle-mounted main control computer data.
5. according to the method described in claim 1, wherein by the data with correspond to the data sampling apparatus and sampling
In moment at least one of stored in association to storage unit corresponding with the idle computing resources and include:
Label corresponds to sampling apparatus and the sampling instant of the data in the data;And by the labeled data
It stores to storage unit corresponding with the idle computing resources.
6. according to the method described in claim 1, wherein by the data with correspond to the data sampling apparatus and sampling
In moment at least one of stored in association to storage unit corresponding with the idle computing resources and include:
Create the mapping table of the data with the sampling apparatus and sampling instant that correspond to the data;And
The data are stored with the mapping table to storage unit corresponding with the idle computing resources.
7. a kind of device for storing data, comprising:
Data acquisition module is configured as obtaining data relevant to the motor behavior of movement entity, sampled;
Idle computing resources determining module is configured as from the computing resource for the movement entity being that the data determine
Idle computing resources, the computing resource correspond to single from the different storages in the associated storage equipment of the movement entity
Member;And
Processing module is stored, is configured as using the idle computing resources by the data and corresponding to the sampling of the data
At least one in device and sampling instant is stored in association to storage unit corresponding with the idle computing resources.
8. device according to claim 7, further includes:
Data keep module, are configured to respond to be not present the idle computing resources in the computing resource for the data
The movement entity is maintained at corresponding at least one in the sampling apparatus and the sampling instant of the data
In buffer memory device.
9. device according to claim 7, wherein the data acquisition module be configured as obtaining with it is at least one of following
Associated data:
Motor vehicle;
Non-motor vehicle;And
Wearable device.
10. device according to claim 7, wherein the sampling apparatus comprises at least one of the following:
Vehicle-mounted camera;
Trailer-mounted radar;
Mobile lidar;
Vehicle-bone global positioning system;And
For collecting the monitoring device of vehicle-mounted main control computer data.
11. device according to claim 7, wherein the storage processing module includes:
Mark module is configured as sampling apparatus and sampling instant that the label in the data corresponds to the data;And
Memory module is configured as storing the labeled data single to storage corresponding with the idle computing resources
Member.
12. device according to claim 7, wherein the storage processing module includes:
Mapping table creation module, when being configured as creating the data with the sampling apparatus for corresponding to the data and sampling
The mapping table at quarter;And
Memory module is configured as with the mapping table storing the data to corresponding with the idle computing resources
Storage unit.
13. a kind of electronic equipment, the electronic equipment include:
One or more processors;And
Storage device, for storing one or more programs, when one or more of programs are by one or more of processing
Device executes, so that one or more of processors realize such as method of any of claims 1-6.
14. a kind of computer readable storage medium is stored thereon with computer program, realization when described program is executed by processor
Such as method of any of claims 1-6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810698382.8A CN108986253B (en) | 2018-06-29 | 2018-06-29 | Method and apparatus for storing data for multi-thread parallel processing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810698382.8A CN108986253B (en) | 2018-06-29 | 2018-06-29 | Method and apparatus for storing data for multi-thread parallel processing |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108986253A true CN108986253A (en) | 2018-12-11 |
CN108986253B CN108986253B (en) | 2022-08-30 |
Family
ID=64539544
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810698382.8A Active CN108986253B (en) | 2018-06-29 | 2018-06-29 | Method and apparatus for storing data for multi-thread parallel processing |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108986253B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109921895A (en) * | 2019-02-26 | 2019-06-21 | 成都国科微电子有限公司 | A kind of calculation method and system of data hash value |
CN110619694A (en) * | 2019-09-23 | 2019-12-27 | 北京百度网讯科技有限公司 | Method, apparatus, electronic device, and computer-readable storage medium for storing sensed data |
CN110677623A (en) * | 2019-10-15 | 2020-01-10 | 北京百度网讯科技有限公司 | Data processing method, device, equipment and storage medium |
Citations (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1661349A (en) * | 2004-02-27 | 2005-08-31 | 富士重工业株式会社 | Data recording apparatus and data recording method |
CN1985242A (en) * | 2003-04-23 | 2007-06-20 | 国际商业机器公司 | Accounting method and logic for determining per-thread processor resource utilization in a simultaneous multi-threaded (SMT) processor |
CN101840312A (en) * | 2009-12-31 | 2010-09-22 | 创新科存储技术有限公司 | RAID5 data writing method and device for multi-core processor |
EP2067089A4 (en) * | 2006-05-08 | 2011-01-05 | Drivecam Inc | System and method for selective review of event data |
CN201984555U (en) * | 2011-03-29 | 2011-09-21 | 上海顺多智能科技有限公司 | Vehicle safety information record equipment with GPS timing unit |
WO2014148959A1 (en) * | 2013-03-21 | 2014-09-25 | Telefonaktiebolaget L M Ericsson (Publ) | Method, computer program and node for distribution of sensor data |
CN104536724A (en) * | 2014-12-25 | 2015-04-22 | 华中科技大学 | Hash table concurrent access performance optimization method under multi-core environment |
US20150109145A1 (en) * | 2013-10-22 | 2015-04-23 | At&T Intellectual Property I, Lp | Crowd sourced optimization of vehicle performance based on cloud based data |
CN105205880A (en) * | 2015-07-17 | 2015-12-30 | 广东好帮手电子科技股份有限公司 | Method based on geographic position retrieve data and system thereof |
CN105243702A (en) * | 2015-11-04 | 2016-01-13 | 江苏南亿迪纳数字科技发展有限公司 | Automobile black box data processing method based on cloud storage |
CN105336017A (en) * | 2015-09-29 | 2016-02-17 | 爱培科科技开发(深圳)有限公司 | Driving record information processing method and system based on Storm technology |
CN106004664A (en) * | 2016-07-14 | 2016-10-12 | 深圳市爱培科技术股份有限公司 | Control method and system for front and back double-shooting based on intelligent rearview mirror |
CN107045739A (en) * | 2016-02-05 | 2017-08-15 | 福特全球技术公司 | Vehicle data adjustment diagnostic test based on collection |
CN107393052A (en) * | 2017-06-28 | 2017-11-24 | 深圳市爱培科技术股份有限公司 | A kind of recorder date storage method and its storage device |
US20170358204A1 (en) * | 2016-06-13 | 2017-12-14 | Here Global B.V. | Method, apparatus, and computer program product for processing sensor data |
CN107608914A (en) * | 2017-09-29 | 2018-01-19 | 锤子科技(北京)股份有限公司 | A kind of access method, device and the mobile terminal of multichannel storage device |
CN108022323A (en) * | 2016-10-31 | 2018-05-11 | 比亚迪股份有限公司 | Data storage method, apparatus, system and vehicle |
-
2018
- 2018-06-29 CN CN201810698382.8A patent/CN108986253B/en active Active
Patent Citations (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1985242A (en) * | 2003-04-23 | 2007-06-20 | 国际商业机器公司 | Accounting method and logic for determining per-thread processor resource utilization in a simultaneous multi-threaded (SMT) processor |
CN1661349A (en) * | 2004-02-27 | 2005-08-31 | 富士重工业株式会社 | Data recording apparatus and data recording method |
EP2067089A4 (en) * | 2006-05-08 | 2011-01-05 | Drivecam Inc | System and method for selective review of event data |
CN101840312A (en) * | 2009-12-31 | 2010-09-22 | 创新科存储技术有限公司 | RAID5 data writing method and device for multi-core processor |
CN201984555U (en) * | 2011-03-29 | 2011-09-21 | 上海顺多智能科技有限公司 | Vehicle safety information record equipment with GPS timing unit |
WO2014148959A1 (en) * | 2013-03-21 | 2014-09-25 | Telefonaktiebolaget L M Ericsson (Publ) | Method, computer program and node for distribution of sensor data |
US20150109145A1 (en) * | 2013-10-22 | 2015-04-23 | At&T Intellectual Property I, Lp | Crowd sourced optimization of vehicle performance based on cloud based data |
CN104536724A (en) * | 2014-12-25 | 2015-04-22 | 华中科技大学 | Hash table concurrent access performance optimization method under multi-core environment |
CN105205880A (en) * | 2015-07-17 | 2015-12-30 | 广东好帮手电子科技股份有限公司 | Method based on geographic position retrieve data and system thereof |
CN105336017A (en) * | 2015-09-29 | 2016-02-17 | 爱培科科技开发(深圳)有限公司 | Driving record information processing method and system based on Storm technology |
CN105243702A (en) * | 2015-11-04 | 2016-01-13 | 江苏南亿迪纳数字科技发展有限公司 | Automobile black box data processing method based on cloud storage |
CN107045739A (en) * | 2016-02-05 | 2017-08-15 | 福特全球技术公司 | Vehicle data adjustment diagnostic test based on collection |
US20170358204A1 (en) * | 2016-06-13 | 2017-12-14 | Here Global B.V. | Method, apparatus, and computer program product for processing sensor data |
CN106004664A (en) * | 2016-07-14 | 2016-10-12 | 深圳市爱培科技术股份有限公司 | Control method and system for front and back double-shooting based on intelligent rearview mirror |
CN108022323A (en) * | 2016-10-31 | 2018-05-11 | 比亚迪股份有限公司 | Data storage method, apparatus, system and vehicle |
CN107393052A (en) * | 2017-06-28 | 2017-11-24 | 深圳市爱培科技术股份有限公司 | A kind of recorder date storage method and its storage device |
CN107608914A (en) * | 2017-09-29 | 2018-01-19 | 锤子科技(北京)股份有限公司 | A kind of access method, device and the mobile terminal of multichannel storage device |
Non-Patent Citations (2)
Title |
---|
袁亚欣: "基于Hadoop交通信息并行处理云平台的设计与实现", 《中国优秀硕士学位论文全文数据库》 * |
郝兴伟: "《大学计算机 计算机应用的视角》", 28 February 2018 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109921895A (en) * | 2019-02-26 | 2019-06-21 | 成都国科微电子有限公司 | A kind of calculation method and system of data hash value |
CN110619694A (en) * | 2019-09-23 | 2019-12-27 | 北京百度网讯科技有限公司 | Method, apparatus, electronic device, and computer-readable storage medium for storing sensed data |
CN110677623A (en) * | 2019-10-15 | 2020-01-10 | 北京百度网讯科技有限公司 | Data processing method, device, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN108986253B (en) | 2022-08-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP7268077B2 (en) | Automatic driving test data storage method and device, electronic device, storage medium, and computer program | |
CN109032103B (en) | Method, device and equipment for testing unmanned vehicle and storage medium | |
DE102021206331A1 (en) | IMAGE GENERATION USING ONE OR MORE NEURAL NETWORKS | |
DE102021121560A1 (en) | OBJECT IMAGE COMPLETION | |
CN111258744A (en) | Task processing method based on heterogeneous computation and software and hardware framework system | |
DE102021112247A1 (en) | Content Aware Style Coding Using Neural Networks | |
DE112021001762T5 (en) | GENERATION OF LABELS FOR SYNTHETIC IMAGES USING ONE OR MORE NEURAL NETWORKS | |
CN111626208A (en) | Method and apparatus for detecting small targets | |
DE112021001835T5 (en) | LABELING IMAGES WITH A NEURAL NETWORK | |
DE102021110778A1 (en) | CONTENT MANAGEMENT USING ONE OR MORE NEURONAL NETWORKS | |
US11106933B2 (en) | Method, device and system for processing image tagging information | |
WO2018058888A1 (en) | Street view image recognition method and apparatus, server and storage medium | |
CN108986253A (en) | Method, apparatus, equipment and computer readable storage medium for storing data | |
DE102022108711A1 (en) | TECHNIQUES FOR COMBINING OPERATIONS | |
DE112021001961T5 (en) | Method for training and inference using multiple processor resources | |
US20230306381A1 (en) | Visualization of damage on images | |
CN109147091B (en) | Method, device and equipment for processing data of unmanned vehicle and storage medium | |
CN114415542A (en) | Automatic driving simulation system, method, server and medium | |
US10049487B2 (en) | Identifying duplicate indices in an input index stream | |
CN112859109A (en) | Unmanned aerial vehicle panoramic image processing method and device and electronic equipment | |
CN115061386B (en) | Intelligent driving automatic simulation test system and related equipment | |
CN115578386A (en) | Parking image generation method and device, electronic equipment and storage medium | |
WO2021110659A1 (en) | Data science system for developing machine learning models | |
CN111383337B (en) | Method and device for identifying objects | |
DE102021120621A1 (en) | SYSTEM AND METHOD FOR IMAGE GENERATING WITH JITTERED MOTION VECTORS |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |