CN110460653B - Method and device for automatically transmitting vehicle data - Google Patents

Method and device for automatically transmitting vehicle data Download PDF

Info

Publication number
CN110460653B
CN110460653B CN201910692848.8A CN201910692848A CN110460653B CN 110460653 B CN110460653 B CN 110460653B CN 201910692848 A CN201910692848 A CN 201910692848A CN 110460653 B CN110460653 B CN 110460653B
Authority
CN
China
Prior art keywords
data
queue
priority
vehicle
address
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.)
Active
Application number
CN201910692848.8A
Other languages
Chinese (zh)
Other versions
CN110460653A (en
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.)
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 CN201910692848.8A priority Critical patent/CN110460653B/en
Publication of CN110460653A publication Critical patent/CN110460653A/en
Application granted granted Critical
Publication of CN110460653B publication Critical patent/CN110460653B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME 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/00Registering or indicating the working of vehicles
    • G07C5/08Registering or indicating performance data other than driving, working, idle, or waiting time, with or without registering driving, working, idle or waiting time
    • G07C5/0808Diagnosing performance data
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME 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/00Registering or indicating the working of vehicles
    • G07C5/08Registering or indicating performance data other than driving, working, idle, or waiting time, with or without registering driving, working, idle or waiting time
    • G07C5/0841Registering performance data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/61Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources taking into account QoS or priority requirements

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Abstract

The embodiment of the application provides a method and a device for automatically transmitting vehicle data, and relates to the field of automatic driving. It can be understood that the information sent by the user can indicate the information related to the data helpful for the analysis and research and development of the autonomous vehicle, and when the server acquires the data, the data with high priority can be preferentially acquired, so that the data helpful for the analysis and research and development of the autonomous vehicle can be preferentially obtained, the autonomous vehicle can be preferentially analyzed according to the data helpful for the analysis and research and development of the autonomous vehicle, and the efficiency of analyzing the data is improved.

Description

Method and device for automatically transmitting vehicle data
Technical Field
The application relates to the technical field of automatic driving, in particular to a method and a device for transmitting data of an automatic driving vehicle.
Background
Currently, autonomous driving is also in a research and development testing stage, and when an autonomous vehicle (also referred to as an unmanned vehicle) is tested, data generated by the autonomous vehicle needs to be collected so as to further analyze and research the autonomous vehicle according to the collected data of the autonomous vehicle.
In the prior art, an autonomous vehicle generates a large amount of data every day, the data are stored in a hard disk arranged in the autonomous vehicle, a server acquires the data in the hard disk of the autonomous vehicle after the autonomous vehicle completes a running task, and when the server acquires the data in the hard disk, the data are generally acquired according to a time sequence mode generated by the data in the hard disk.
However, in the prior art, the data is acquired according to the data generation time sequence, so that data helpful for analysis and research and development of the autonomous vehicle can be obtained only after all the data in the hard disk is acquired, and the efficiency of analyzing the data is low.
Disclosure of Invention
The embodiment of the application provides a method and a device for automatically transmitting vehicle data, and aims to solve the technical problem that the efficiency of analyzing the automatically driven vehicle data in the prior art is low.
In a first aspect, an embodiment of the present application provides an autonomous vehicle data transmission method, applied to a first server, where the first server is configured to connect to at least one storage device, and the at least one storage device is configured to store vehicle data of an autonomous vehicle, where the method includes:
determining the priority of the vehicle data according to information sent by a user under the condition that the at least one storage device is connected to the first server;
the vehicle data is retrieved from the at least one storage device according to the priority.
After at least one storage device used for storing vehicle data of the automatic driving vehicle is connected to the first server, the first server determines the priority of the vehicle data according to information sent by a user, and then obtains the vehicle data from the at least one storage device according to the priority. It can be understood that the information sent by the user can indicate the information related to the data helpful for the analysis and research and development of the autonomous vehicle, and when the server acquires the data, the data with high priority can be preferentially acquired, so that the data helpful for the analysis and research and development of the autonomous vehicle can be preferentially obtained, the autonomous vehicle can be preferentially analyzed according to the data helpful for the analysis and research and development of the autonomous vehicle, and the efficiency of analyzing the data is improved.
Optionally, the information sent by the user includes time information, and the vehicle data includes a data generation time identifier; determining the priority of the vehicle data according to information sent by a user, comprising:
according to the time information, determining the priority of the vehicle data with the data generation time identification matched with the time information as a first priority;
determining the priority of data except the data corresponding to the first priority in the vehicle data as a second priority; wherein the first priority is higher than the second priority.
Optionally, the acquiring the data from the at least one storage device according to the priority includes:
inserting an address of the first priority data into a first queue;
acquiring the first priority data from the first queue according to the address of the first priority data;
and after the acquisition of the first priority data is finished, acquiring the second priority data.
Optionally, when the number of the storage devices is multiple, each storage device corresponds to one slot in the first queue, and the slot corresponding to the address of the adjacent first priority data in the first queue is different;
the obtaining the first priority data from the first queue according to the address of the first priority data includes:
determining current first head of queue data of the first queue through a first stepping pointer;
and when the first queue head data is acquired, determining second queue head data in the first queue through the first further pointer.
In the embodiment of the application, the first priority data acquired by the two adjacent processes correspond to different storage devices, which is equivalent to sequentially consuming data on different storage devices, so that a waiting process of different processes for acquiring data of the same storage device can be avoided, the overall data throughput in data transmission is maximized, and the efficiency of data transmission is improved.
Optionally, the acquiring the second priority data includes:
inserting an address of first data in the second priority data into a second queue; the first data is: among the second priority data, data stored in a storage device having a high reading speed among the plurality of storage devices;
acquiring the first data from the second queue according to the address of the first data;
inserting an address of second data in the second priority data into a third queue; the second data is: among the second priority data, data stored in a storage device having a low reading speed among the plurality of storage devices;
and acquiring the second data from the third queue according to the address of the second data.
In the embodiment of the application, the disk data with similar reading speed are arranged in one queue, so that the phenomenon that the process corresponding to the storage device with high reading speed is waiting for the storage device with low reading speed after reading is finished due to the fact that the disk data with different reading speeds are arranged in one queue can be avoided, and the transmission rate can be improved.
Optionally, when the number of the storage devices is multiple, each storage device with a high reading speed corresponds to one slot in the second queue, and the slot corresponding to the address of the adjacent first data in the second queue is different;
the obtaining the first data from the second queue according to the address of the first data includes:
determining current third queue head data of the second queue through a second stepping pointer;
and when the third queue head data is obtained, determining fourth queue head data in the second queue through the second stepping pointer.
Optionally, when the number of the storage devices is multiple, each storage device with a low reading speed corresponds to one slot in the third queue, and the slots corresponding to the addresses of adjacent second data in the third queue are different;
the obtaining the second data from the third queue according to the address of the second data includes:
determining current fifth queue head data of the third queue through a third stepping pointer;
and when the fifth queue head data is acquired, determining sixth queue head data in the third queue through the third step pointer.
Optionally, the first queue, the second queue, and the third queue are arranged in a task pool, and the method further includes:
receiving an adjustment request; the adjustment request includes: the identification of the data to be adjusted and a target queue; the target queue is any one of the first queue, the second queue and the third queue;
according to the identification of the data to be adjusted, inquiring a current queue where the address of the data to be adjusted is located in the task pool;
and adjusting the address of the data to be adjusted from the current queue to the target queue.
Optionally, the determining the priority of the vehicle data according to the information sent by the user includes:
uploading a data identifier of the vehicle data to a second server;
and receiving the priority determined by the second server for the vehicle data according to the information sent by the user.
In a second aspect, an apparatus for autonomous vehicle data transmission is provided, where the apparatus is applied to a first server, where the first server is configured to connect to at least one storage device, and the at least one storage device is configured to store vehicle data of an autonomous vehicle, and the apparatus includes:
the priority determining module is used for determining the priority of the vehicle data according to information sent by a user under the condition that the at least one storage device is connected to the first server;
and the vehicle data acquisition module is used for acquiring the vehicle data from the at least one storage device according to the priority.
Optionally, the information sent by the user includes time information, and the vehicle data includes a data generation time identifier; the priority determination module includes:
the priority determining submodule is used for determining the priority of the vehicle data of which the data generation time identification is matched with the time information as a first priority according to the time information; determining the priority of data except the data corresponding to the first priority in the vehicle data as a second priority; wherein the first priority is higher than the second priority.
Optionally, the vehicle data corresponding to the first priority is first priority data, the vehicle data corresponding to the second priority is second priority data, and the vehicle data acquiring module includes:
the first priority data acquisition submodule is used for inserting the address of the first priority data into a first queue; acquiring the first priority data from the first queue according to the address of the first priority data;
and the second priority data acquisition submodule is used for acquiring the second priority data after the acquisition of the first priority data is finished.
Optionally, when the number of the storage devices is multiple, each storage device corresponds to one slot in the first queue, and the slots corresponding to the addresses of the adjacent first priority data in the first queue are different;
the first priority data obtaining sub-module is further configured to:
determining current first head of queue data of the first queue through a first stepping pointer;
and when the first queue head data is acquired, determining second queue head data in the first queue through the first further pointer.
Optionally, the second priority data obtaining sub-module includes:
a first data obtaining unit, configured to insert an address of first data in the second priority data into a second queue; the first data is: among the second priority data, data stored in a storage device having a high reading speed among the plurality of storage devices; acquiring the first data from the second queue according to the address of the first data;
a second data obtaining unit, configured to insert an address of second data in the second priority data into a third queue; the second data is: among the second priority data, data stored in a storage device having a low reading speed among the plurality of storage devices; and acquiring the second data from the third queue according to the address of the second data.
Optionally, when the number of the storage devices is multiple, each storage device with a high reading speed corresponds to one slot in the second queue, and the slot corresponding to the address of the adjacent first data in the second queue is different;
the first data obtaining unit is further configured to:
determining current third queue head data of the second queue through a second stepping pointer;
and when the third queue head data is acquired, determining fourth queue head data in the second queue through the second stepping pointer.
Optionally, when the number of the storage devices is multiple, each storage device with a low reading speed corresponds to one slot in the third queue, and the slots corresponding to the addresses of adjacent second data in the third queue are different;
the second data obtaining unit is further configured to:
determining current fifth queue head data of the third queue through a third stepping pointer;
and when the fifth queue head data is acquired, determining sixth queue head data in the third queue through the third step pointer.
Optionally, the first queue, the second queue, and the third queue are arranged in a task pool, and the apparatus further includes:
an adjustment module for receiving an adjustment request; the adjustment request includes: the identification of the data to be adjusted and a target queue; the target queue is any one of the first queue, the second queue and the third queue; according to the identification of the data to be adjusted, inquiring a current queue where the address of the data to be adjusted is located in the task pool; and adjusting the address of the data to be adjusted from the current queue to the target queue.
Optionally, the priority determining module is further configured to: uploading a data identifier of the vehicle data to a second server; and receiving the priority determined by the second server for the vehicle data according to the information sent by the user.
A third aspect of the embodiments of the present application provides an electronic device, including: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of the preceding first aspects.
A fourth aspect of embodiments of the present application provides a non-transitory computer-readable storage medium having stored thereon computer instructions for causing the computer to perform the method of any one of the preceding first aspects.
In summary, the embodiment of the present application has the following beneficial effects with respect to the prior art:
after at least one storage device used for storing vehicle data of the automatic driving vehicle is connected to a first server, the first server determines the priority of the vehicle data according to information sent by a user, and then obtains the vehicle data from the at least one storage device according to the priority. It can be understood that the information sent by the user can indicate the information related to the data helpful for the analysis and research and development of the autonomous vehicle, and when the server acquires the data, the data with high priority can be preferentially acquired, so that the data helpful for the analysis and research and development of the autonomous vehicle can be preferentially obtained, the autonomous vehicle can be preferentially analyzed according to the data helpful for the analysis and research and development of the autonomous vehicle, and the efficiency of analyzing the data is improved.
Drawings
FIG. 1 is a schematic flow chart diagram illustrating a method for autonomous vehicle data transmission according to an embodiment of the present disclosure;
FIG. 2 is another schematic flow chart diagram of a method for autonomous vehicle data transmission provided by an embodiment of the present application;
FIG. 3 is a first queue diagram illustrating a method for autonomous vehicle data transmission according to an embodiment of the present application;
FIG. 4 is a task pool diagram of a data transmission method for an autonomous vehicle according to an embodiment of the present disclosure;
FIG. 5 is a schematic structural diagram of an autonomous vehicle data transmission device according to an embodiment of the present application;
FIG. 6 is a block diagram of an electronic device for implementing a method of autonomous vehicle data transmission according to an embodiment of the present application.
Detailed Description
The following description of the exemplary embodiments of the present application, taken in conjunction with the accompanying drawings, includes various details of the embodiments of the application for the understanding of the same, which are to be considered exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present application. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness. The embodiments described below and the features of the embodiments can be combined with each other without conflict.
After at least one storage device used for storing vehicle data of the automatic driving vehicle is connected to a first server, the first server determines the priority of the vehicle data according to information sent by a user, and then obtains the vehicle data from the at least one storage device according to the priority. It can be understood that the information sent by the user can indicate the information related to the data helpful for the analysis and research and development of the autonomous vehicle, and when the server acquires the data, the data with high priority can be preferentially acquired, so that the data helpful for the analysis and research and development of the autonomous vehicle can be preferentially obtained, the autonomous vehicle can be preferentially analyzed according to the data helpful for the analysis and research and development of the autonomous vehicle, and the efficiency of analyzing the data is improved.
The server described in the embodiment of the present application may be an electronic device for providing an autonomous vehicle data transmission service, and specifically may include: electronic equipment such as mobile phones, tablet computers, notebook computers, desktop computers and the like.
The storage device that this application embodiment described can be the pluggable equipment that is used for saving the vehicle data of autopilot vehicle, specifically can include: hard disks, magnetic disks, memories, etc. using the Universal Serial Bus (USB) protocol; Non-Volatile Memory host controller interface specification (NVMe) hard disks, magnetic disks, Memory, etc. are used.
The vehicle data of the autonomous vehicle described in the embodiment of the application is data generated by the autonomous vehicle during running, and the running state of the autonomous vehicle can be fed back through the vehicle data of the autonomous vehicle. The vehicle data of the autonomous vehicle may specifically include: various sensor data of the autonomous vehicle, log data of each control module of the autonomous vehicle, and the like.
The First queue, the second queue, and the third queue described in the embodiments of the present application may all be First In First Out (FIFO) queues.
As shown in fig. 1, fig. 1 is a schematic flowchart of a method for transmitting data of an autonomous vehicle according to an embodiment of the present disclosure. The method is applied to a first server, wherein the first server is used for being connected with at least one storage device, the at least one storage device is used for storing vehicle data of an automatic driving vehicle, and the method specifically comprises the following steps:
step S101: determining the priority of the vehicle data according to information sent by a user in a case where the at least one storage device is connected to the first server.
In an embodiment of the application, the first server may be used as a work node (agent) in the automatic driving vehicle control system, at least one interface for connecting the storage device may be arranged in the first server, and after the automatic driving vehicle runs, the at least one storage device of the automatic driving vehicle may be pulled out and connected to the first server. For example, the at least one storage device may be directly inserted into the transmission interface of the first server, or the at least one storage device may be connected to the transmission interface of the first server through a data connection line, which is not specifically limited in this embodiment of the present application.
In this embodiment, after the at least one storage device is connected to the first server, the first server may preview the vehicle data stored in the at least one storage device, and specifically, the first server may read a data identifier of the vehicle data stored in the at least one storage device, and read a storage address of the vehicle data in the at least one storage device, and the like. Further, the first server may determine the priority of the vehicle data according to the information transmitted by the user.
In the embodiment of the application, the first server may receive information input by a user and determine the priority of the vehicle data through the information, for example, the user may input a time period in which the data is expected to be transmitted first, and the first server may set the priority of the data in the time period to be the highest priority; the first server may also receive the priority of the vehicle data determined by the other servers according to the information sent by the user, and the embodiment of the application does not limit the specific manner in which the first server determines the priority of the vehicle data according to the information sent by the user.
As an optional implementation manner of the embodiment of the present application, the determining the priority of the vehicle data according to the information sent by the user includes: uploading a data identifier of the vehicle data to a second server; and receiving the priority determined by the second server for the vehicle data according to the information sent by the user.
In specific application, in a management system of an automatic driving vehicle, a central control node is usually set, the central control node can be used for scheduling each working node, and a second server in the embodiment of the present application can be used as a central control node (master).
In the running process of the automatic driving vehicle, if abnormal running or unexpected other conditions occur, the automatic driving vehicle is usually taken over manually, and the vehicle number of the automatic driving vehicle and the time point of taking over manually are reported to the second server through the network. For example, the time period may be a time within the first 10 minutes to 30 minutes of the manual takeover time point.
After the at least one storage device is connected to the first server, the first server may send the preview condition of the vehicle data stored in the at least one storage device and the vehicle number of the autonomous vehicle to the second server, and the server may set data generated by the autonomous vehicle in the time period as data with the highest priority according to a correspondence between the vehicle number stored before and the time period, and set the priority as the first server, and then the first server receives the priority and further obtains the data according to the priority.
Step S102: the vehicle data is retrieved from the at least one storage device according to the priority.
In this embodiment, the first server may obtain the vehicle data from the at least one storage device according to the order of priority from high to low. Specifically, the first server may copy or cut the vehicle data from the at least one storage device according to an order of priority from high to low, which is not specifically limited in the embodiment of the present application.
In summary, the present application provides a method and an apparatus for transmitting vehicle data automatically, after at least one storage device for storing vehicle data of an automatically driven vehicle is connected to a first server, the first server first determines a priority of the vehicle data according to information sent by a user, and then obtains the vehicle data from the at least one storage device according to the priority. It can be understood that the information sent by the user can indicate information related to data helpful for analysis and research and development of the autonomous vehicle, and when the server acquires the data, the data with high priority can be preferentially acquired, so that the data helpful for analysis and research and development of the autonomous vehicle can be preferentially acquired, the autonomous vehicle can be preferentially analyzed according to the data helpful for analysis and research and development of the autonomous vehicle, and the efficiency of analyzing the data is improved.
Optionally, on the basis of the embodiment corresponding to fig. 1, in the method for automatically transmitting data of a vehicle provided in the embodiment of the present application:
the information comprises time information, and the vehicle data comprises a data generation time identifier; determining the priority of the vehicle data according to information sent by a user, comprising: according to the time information, determining the priority of the vehicle data with the data generation time identification matched with the time information as a first priority; determining the priority of data except the data corresponding to the first priority in the vehicle data as a second priority; wherein the first priority is higher than the second priority. The vehicle data corresponding to the first priority is first priority data, and the vehicle data corresponding to the second priority is second priority data.
As a specific implementation manner of the embodiment of the application, the information sent by the user includes time information, and the vehicle data includes a data generation time identifier, so that the data generation time identifier of the vehicle data may be matched with the event information, if the data generation time identifier is matched with the time information, the vehicle data whose data generation time identifier is matched with the time information may be used as first priority data, data other than the first priority data in the vehicle data is used as second priority data, and the priority of the first priority data is higher than that of the second priority data. Therefore, the first priority data can be acquired by the first server first, and the second server can further finish acquiring the second priority data after finishing acquiring the first priority data.
Optionally, as shown in fig. 2, the step S102 of obtaining the vehicle data from the at least one storage device according to the priority includes:
step S1021: and inserting the address of the first priority data into a first queue.
In the embodiment of the present application, the address of the first priority data may be inserted into the first queue in an adaptive manner according to an actual application scenario. For example, the addresses of the first priority data may be inserted into the first queue in order of the generation time of the first priority data from the morning to the evening. For example, the addresses of the first priority data may be inserted into the first queue in order from the late to the early of the generation time of the first priority data. For example, the address of the first priority data may also be randomly inserted into the first queue, which is not specifically limited in this embodiment of the present application.
Step S1022: and acquiring the first priority data from the first queue according to the address of the first priority data.
In this embodiment, the first queue may include a first step pointer, and the vehicle data may be acquired from an address corresponding to the head position of the first queue by specification of the first step pointer.
Optionally, when the number of the storage devices is multiple, each storage device corresponds to one slot in the first queue, and the slots corresponding to the addresses of the adjacent first priority data in the first queue are different; the acquiring the first priority data from the first queue according to the address of the first priority data in step S1022 includes: determining current first head of queue data of the first queue through a first stepping pointer; and when the first queue head data is acquired, determining second queue head data in the first queue through the first further pointer.
In the embodiment of the application, a concept of slot (slot) is introduced into the first queue, and each storage device corresponds to one slot in the first queue, so that when the number of the storage devices is multiple, multiple slots exist in the first queue in parallel, and when the first priority data is inserted into the first queue, the slots corresponding to the addresses of the adjacent first priority data in the first queue may be different according to a certain rule.
For example, as shown in fig. 3, taking the case that there are two storage devices, namely a first storage device and a second storage device, the slots of the first storage device and the second storage device corresponding to the first queue in turn are: slot 1 and slot 2, which can be sequentially corresponding to each position in the first queue in a loop manner, when the address of the first priority data is inserted into the first queue, the first priority data stored in the first storage device is inserted into the first slot, and the first priority data stored in the second storage device is inserted into the second slot. Adaptively, when the first server acquires data through a plurality of processes, the first server may first point to the head of line task 1 of the slot position 1 through the first stepping pointer, when the first process acquires data according to the address corresponding to the task 1, the first stepping pointer may point to the head of line task 3 of the slot position 2, the second process may acquire data according to the address corresponding to the task 3, when the second process acquires data according to the address corresponding to the task 3, the first stepping pointer may point to the next head of line task 2 of the slot position 1, the third process may acquire data according to the address corresponding to the task 2, and so on. In this embodiment of the present application, the first priority data acquired by two adjacent processes correspond to different storage devices, which is equivalent to sequentially consuming data on different storage devices, so that a waiting process when different processes acquire data of the same storage device can be avoided, thereby maximizing overall data throughput in data transmission and improving data transmission efficiency.
For example, if multiple processes consume (i.e., acquire) data of one storage device at the same time, the maximum throughput is an input/output (I/O) bandwidth of the storage device, and if multiple processes respectively consume data of multiple storage devices, the maximum throughput is a sum of I/O of all storage devices in the queue at this time.
Step S1023: and acquiring the second priority data after the acquisition of the first priority data is finished.
In the embodiment of the application, after the acquisition of the first priority data is completed, the analysis and the research and the development can be carried out according to the first priority data, and the efficiency of analyzing and researching and developing the automatic driving vehicle is improved.
After the acquisition of the first priority data is completed, the acquisition of the second priority data may be further completed.
It can be understood that, in an actual application scenario, data transmission is usually dynamic, for example, after transmission of first priority data corresponding to an address in a first queue is completed, second priority data is transmitted through an address in a second queue, however, if an address corresponding to the first priority data is inserted into the first queue while the second priority data is transmitted according to the second queue, a transmission process of the second queue may be terminated, and after first priority data of data in the first queue is processed preferentially, a corresponding process of the second queue is performed.
In specific application, the second priority data can be acquired in an adaptive manner according to an actual application scene. For example, the second priority data may be acquired according to a time sequence of generation of the second priority data, or the second priority data may be acquired from each storage device in sequence according to a storage device in which the second priority data is stored, or the second priority data may be acquired randomly, which is not specifically limited in this embodiment of the application.
Optionally, the acquiring the second priority data includes: inserting an address of first data in the second priority data into a second queue; the first data is: among the second priority data, data stored in a storage device having a high reading speed among the plurality of storage devices; acquiring the first data from the second queue according to the address of the first data; inserting an address of second data in the second priority data into a third queue; the second data is: among the second priority data, data stored in a storage device having a low reading speed among the plurality of storage devices; and acquiring the second data from the third queue according to the address of the second data.
In the embodiment of the application, it is considered that the reading speeds corresponding to different storage devices may be different, for example, the reading speed of the NVMe disk is much faster than that of the USB slot disk, and if the disk data with different reading speeds are set in one queue, a phenomenon may occur in which a process corresponding to a storage device with a fast reading speed waits for a storage device with a slow reading speed after the reading is completed, so that the transmission rate is affected. Therefore, in this embodiment of the present application, the second priority data may be further divided according to the reading speed of the storage device, and specifically, the second priority data is further divided according to the reading speed of the storage device: first data in a storage device with a high reading speed, and second data in a storage device with a low reading speed. And further inserting the address of the first data into the second queue, acquiring the first data from the second queue, inserting the address of the second data into the third queue, and acquiring the second data from the third queue.
In the embodiment of the application, the address of the first data can be inserted into the second queue in an adaptive manner according to the actual application scenario. For example, the addresses of the first data may be inserted into the second queue in order from the morning to the evening of the generation time of the first data. For example, the address of the first data may be inserted into the second queue in order from the late to the early of the generation time of the first data. For example, the address of the first data may also be randomly inserted into the second queue, which is not specifically limited in this embodiment of the present application.
In the embodiment of the present application, the address of the second data may be inserted into the third queue in an adaptive manner according to an actual application scenario. For example, the addresses of the second data may be inserted into the third queue in order from the morning to the evening of the generation time of the second data. For example, the address of the second data may be inserted into the third queue in order from the late to the early of the generation time of the second data. For example, the address of the second data may also be randomly inserted into the third queue, which is not specifically limited in this embodiment of the application.
In a specific application, the second queue may include a second step pointer, and the vehicle data may be acquired from an address corresponding to the head position of the second queue by the designation of the second step pointer. The third queue may include a third step pointer, and the vehicle data may be acquired from an address corresponding to the head position of the third queue by designation of the third step pointer.
Optionally, when the number of the storage devices is multiple, each storage device with a high reading speed corresponds to one slot in the second queue, and the slot corresponding to the address of the adjacent first data in the second queue is different; the obtaining the first data from the second queue according to the address of the first data includes: determining current third queue head data of the second queue through a second stepping pointer; and when the third queue head data is acquired, determining fourth queue head data in the second queue through the second stepping pointer.
In the embodiment of the application, a slot (slot) concept is introduced into the second queue, and each storage device corresponds to one slot in the second queue, so that when the number of the storage devices is multiple, multiple slots exist in the second queue in parallel, and when the first data is inserted into the second queue, the slots corresponding to the addresses of the adjacent first data in the second queue are different according to a certain rule. Adaptively, when the first server acquires data through a plurality of processes, the first data acquired by two adjacent processes correspond to different storage devices, which is equivalent to sequentially consuming data on different storage devices, so that a waiting process of different processes for acquiring data of the same storage device can be avoided, the overall data throughput in data transmission is maximized, and the data transmission efficiency is improved.
Optionally, when the number of the storage devices is multiple, each storage device with a low reading speed corresponds to one slot in the third queue, and the slots corresponding to the addresses of adjacent second data in the third queue are different; the obtaining the second data from the third queue according to the address of the second data includes: determining current fifth queue head data of the third queue through a third stepping pointer; and when the fifth queue head data is acquired, determining sixth queue head data in the third queue through the third step pointer.
In the embodiment of the application, a slot (slot) concept is introduced into the third queue, and each storage device corresponds to one slot in the third queue, so that when the number of the storage devices is multiple, multiple slots exist in the third queue in parallel, and when second data is inserted into the third queue, the slots corresponding to addresses of adjacent second data in the third queue may be different according to a certain rule. Adaptively, when the first server acquires data through a plurality of processes, the second data acquired by two adjacent processes correspond to different storage devices, which is equivalent to sequentially consuming data on different storage devices, so that a waiting process of different processes for acquiring data of the same storage device can be avoided, the overall data throughput in data transmission is maximized, and the data transmission efficiency is improved.
It can be understood that, in practical applications, when the first server acquires the first priority data, the addresses of the first priority data may be respectively inserted into different queues according to an actual application scenario and according to the reading speed of the storage device in which the first priority data is stored, which is similar to the process of acquiring the second priority data, and are not described herein again.
It should be noted that, in this embodiment of the present application, the insertion of the address in the first queue, the insertion of the address in the second queue, and the insertion of the address in the third queue are all independent processes, and the three processes may be inserted simultaneously or sequentially, which is not specifically limited in this embodiment of the present application. In the embodiment of the present application, address insertion and data extraction are also independent processes, after address insertion, adaptive extraction may be performed in a manner of "rotating" a stepping pointer between slots in each queue through a corresponding process, and for example, when an address is inserted in the second queue, first priority data may be acquired through a corresponding process according to an address of the first queue.
Optionally, the first queue, the second queue, and the third queue are arranged in a task pool, and the method further includes:
receiving an adjustment request; the adjustment request includes: the identification of the data to be adjusted and a target queue; the target queue is any one of the first queue, the second queue and the third queue; according to the identification of the data to be adjusted, inquiring a current queue where the address of the data to be adjusted is located in the task pool; and adjusting the address of the data to be adjusted from the current queue to the target queue.
In this embodiment of the application, as shown in fig. 4, the task pool includes a first queue, a second queue, and a third queue, and specific structures of the first queue, the second queue, and the third queue may be hash tables, and a key and a value may be set in the hash tables, where the key is a slot number and the value is a HashQueue. The HashQueue in each queue forms a bidirectional circular linked list, and the current position of the circular linked list is pointed by a first step pointer, a second step pointer and a third step pointer. The HashQueue is a FIFO queue with a hash function, supports efficient queue tail insertion, queue head data taking out, and data query and taking out operations according to keywords, and can be realized by a double linked list and a hash table.
Generally, a task dictionary is further arranged in the task pool, and a mapping relationship between a task and a position of the task corresponding to the queue is recorded in the task dictionary, so that when a user wishes to adjust the queue where an address (equivalent to the task) of vehicle data is located, the user can send an adjustment request including an identifier of the data to be adjusted and a target queue, the first server can search the queue and a slot position number where the address of the data to be adjusted is located in the task dictionary according to the identifier of the data to be adjusted, find the address of the data to be adjusted in the queue, adjust the address to be adjusted to the corresponding target queue, and adapt to the corresponding relationship in the task dictionary. In the embodiment of the application, a task can be inserted and searched in a short time by using the task pool, and the data address in the queue can be efficiently adjusted.
Fig. 5 is a schematic structural diagram of an embodiment of an apparatus for automatically transmitting data of a vehicle according to the present disclosure. As shown in fig. 5, the apparatus for transmitting data of an autonomous vehicle according to the present embodiment is applied to a first server, where the first server is configured to be connected to at least one storage device, and the at least one storage device is configured to store vehicle data of an autonomous vehicle, and the apparatus includes:
a priority determination module 31, configured to determine a priority of the vehicle data according to information sent by a user in a case where the at least one storage device is connected to the first server;
a vehicle data acquisition module 32 configured to acquire the vehicle data from the at least one storage device according to the priority.
Optionally, the information sent by the user includes time information, and the vehicle data includes a data generation time identifier; the priority determination module includes:
the priority determining submodule is used for determining the priority of the vehicle data of which the data generation time identification is matched with the time information as a first priority according to the time information; determining the priority of data except the data corresponding to the first priority in the vehicle data as a second priority; wherein the first priority is higher than the second priority.
Optionally, the vehicle data corresponding to the first priority is first priority data, the vehicle data corresponding to the second priority is second priority data, and the vehicle data acquiring module includes:
the first priority data acquisition submodule is used for inserting the address of the first priority data into a first queue; acquiring the first priority data from the first queue according to the address of the first priority data;
and the second priority data acquisition submodule is used for acquiring the second priority data after the acquisition of the first priority data is finished.
Optionally, when the number of the storage devices is multiple, each storage device corresponds to one slot in the first queue, and the slot corresponding to the address of the adjacent first priority data in the first queue is different;
the first priority data obtaining sub-module is further configured to:
determining current first head of queue data of the first queue through a first stepping pointer;
and when the first queue head data is acquired, determining second queue head data in the first queue through the first further pointer.
Optionally, the second priority data obtaining sub-module includes:
a first data obtaining unit, configured to insert an address of first data in the second priority data into a second queue; the first data is: among the second priority data, data stored in a storage device having a high reading speed among the plurality of storage devices; acquiring the first data from the second queue according to the address of the first data;
a second data obtaining unit, configured to insert an address of second data in the second priority data into a third queue; the second data is: among the second priority data, data stored in a storage device having a low reading speed among the plurality of storage devices; and acquiring the second data from the third queue according to the address of the second data.
Optionally, when the number of the storage devices is multiple, each storage device with a high reading speed corresponds to one slot in the second queue, and the slot corresponding to the address of the adjacent first data in the second queue is different;
the first data obtaining unit is further configured to:
determining current third queue head data of the second queue through a second stepping pointer;
and when the third queue head data is acquired, determining fourth queue head data in the second queue through the second stepping pointer.
Optionally, when the number of the storage devices is multiple, each storage device with a low reading speed corresponds to one slot in the third queue, and the slots corresponding to the addresses of adjacent second data in the third queue are different;
the second data obtaining unit is further configured to:
determining current fifth queue head data of the third queue through a third stepping pointer;
and when the fifth queue head data is acquired, determining sixth queue head data in the third queue through the third step pointer.
Optionally, the first queue, the second queue, and the third queue are arranged in a task pool, and the apparatus further includes:
an adjustment module for receiving an adjustment request; the adjustment request includes: the identification of the data to be adjusted and a target queue; the target queue is any one of the first queue, the second queue and the third queue; according to the identification of the data to be adjusted, inquiring a current queue where the address of the data to be adjusted is located in the task pool; and adjusting the address of the data to be adjusted from the current queue to the target queue.
Optionally, the priority determining module is further configured to: uploading a data identifier of the vehicle data to a second server; and receiving the priority determined by the second server for the vehicle data according to the information sent by the user.
After at least one storage device used for storing vehicle data of the automatic driving vehicle is connected to a first server, the first server determines the priority of the vehicle data according to information sent by a user, and then obtains the vehicle data from the at least one storage device according to the priority. It can be understood that the information sent by the user can indicate the information related to the data helpful for the analysis and research and development of the autonomous vehicle, and when the server acquires the data, the data with high priority can be preferentially acquired, so that the data helpful for the analysis and research and development of the autonomous vehicle can be preferentially obtained, the autonomous vehicle can be preferentially analyzed according to the data helpful for the analysis and research and development of the autonomous vehicle, and the efficiency of analyzing the data is improved.
The device for automatically transmitting data of a vehicle according to the embodiments of the present application can be used to perform the method according to the corresponding embodiments, and the implementation manner and principle thereof are the same and will not be described again.
According to an embodiment of the present application, an electronic device and a readable storage medium are also provided.
As shown in fig. 6, a block diagram of an electronic device of a method of autonomous vehicle data transmission according to an embodiment of the application is shown. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the applications described and/or claimed herein.
As shown in fig. 6, the electronic apparatus includes: one or more processors 601, memory 602, and interfaces for connecting the various components, including a high-speed interface and a low-speed interface. The various components are interconnected using different buses and may be mounted on a common motherboard or in other manners as desired. The processor may process instructions for execution within the electronic device, including instructions stored in or on the memory to display graphical information of a GUI on an external input/output apparatus (such as a display device coupled to the interface). In other embodiments, multiple processors and/or multiple buses may be used, along with multiple memories and multiple memories, as desired. Also, multiple electronic devices may be connected, with each device providing portions of the necessary operations (e.g., as a server array, a group of blade servers, or a multi-processor system). In fig. 6, one processor 601 is taken as an example.
The memory 602 is a non-transitory computer readable storage medium as provided herein. Wherein the memory stores instructions executable by at least one processor to cause the at least one processor to perform the method of autonomous vehicle data transmission provided herein. The non-transitory computer readable storage medium of the present application stores computer instructions for causing a computer to perform the method of autonomous vehicle data transmission provided herein.
The memory 602, which is a non-transitory computer readable storage medium, may be used to store non-transitory software programs, non-transitory computer executable programs, and modules, such as program instructions/modules corresponding to the method of autonomous vehicle data transmission in the embodiments of the present application (e.g., the priority determination module 31 and the vehicle data acquisition module 32 shown in fig. 5). The processor 601 executes various functional applications of the server and data processing, i.e., implementing the method of autonomous vehicle data transmission in the above-described method embodiments, by executing non-transitory software programs, instructions, and modules stored in the memory 602.
The memory 602 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created from use of the electronic device for autonomous vehicle data transmission, and the like. Further, the memory 602 may include high speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, memory 602 optionally includes memory remotely located from processor 601, which may be connected over a network to autonomous vehicle data transmission electronics. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The electronic device of the method of autonomous vehicle data transmission may further include: an input device 603 and an output device 604. The processor 601, the memory 602, the input device 603 and the output device 604 may be connected by a bus or other means, and fig. 6 illustrates the connection by a bus as an example.
The input device 603 may receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic equipment for autonomous vehicle data transmission, such as a touch screen, keypad, mouse, track pad, touch pad, pointer stick, one or more mouse buttons, track ball, joystick, or other input device. The output devices 604 may include a display device, auxiliary lighting devices (e.g., LEDs), and tactile feedback devices (e.g., vibrating motors), among others. The display device may include, but is not limited to, a Liquid Crystal Display (LCD), a Light Emitting Diode (LED) display, and a plasma display. In some implementations, the display device can be a touch screen.
Various implementations of the systems and techniques described here can be realized in digital electronic circuitry, integrated circuitry, application specific ASICs (application specific integrated circuits), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
These computer programs (also known as programs, software applications, or code) include machine instructions for a programmable processor, and may be implemented using high-level procedural and/or object-oriented programming languages, and/or assembly/machine languages. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and/or device (e.g., magnetic discs, optical disks, memory, Programmable Logic Devices (PLDs)) used to provide machine instructions and/or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal used to provide machine instructions and/or data to a programmable processor.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), and the Internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.
According to the technical scheme of the embodiment of the application, after at least one storage device used for storing the vehicle data of the automatic driving vehicle is connected to the first server, the first server firstly determines the priority of the vehicle data according to the information sent by the user, and then obtains the vehicle data from the at least one storage device according to the priority. It can be understood that the information sent by the user can indicate information related to data helpful for analysis and research and development of the autonomous vehicle, and when the server acquires the data, the data with high priority can be preferentially acquired, so that the data helpful for analysis and research and development of the autonomous vehicle can be preferentially acquired, the autonomous vehicle can be preferentially analyzed according to the data helpful for analysis and research and development of the autonomous vehicle, and the efficiency of analyzing the data is improved.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present application may be executed in parallel, sequentially, or in different orders, as long as the desired results of the technical solutions disclosed in the present application can be achieved, and the present invention is not limited herein.
The above-described embodiments should not be construed as limiting the scope of the present application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (16)

1. A method of autonomous vehicle data transmission, applied to a first server, the first server being configured to connect to a plurality of storage devices, the plurality of storage devices being configured to store vehicle data for an autonomous vehicle, the method comprising:
determining the priority of the vehicle data according to information sent by a user under the condition that the plurality of storage devices are connected to the first server, wherein the information sent by the user comprises time information, and the vehicle data comprises a data generation time identifier;
acquiring the vehicle data from the plurality of storage devices according to the priority;
wherein the determining the priority of the vehicle data according to the information sent by the user comprises:
according to the time information, determining the priority of the vehicle data with the data generation time identification matched with the time information as a first priority;
determining the priority of data except the data corresponding to the first priority in the vehicle data as a second priority; the first priority is higher than the second priority, the vehicle data corresponding to the first priority is first priority data, and the vehicle data corresponding to the second priority is second priority data;
the obtaining the data from the plurality of storage devices according to the priority comprises:
inserting the address of the first priority data into a first queue, wherein each storage device corresponds to a slot in the first queue, and the slots corresponding to the addresses of the adjacent first priority data in the first queue are different;
acquiring the first priority data from the first queue according to the address of the first priority data;
and after the acquisition of the first priority data is finished, acquiring the second priority data.
2. The method of claim 1, wherein the retrieving the first priority data from the first queue according to the address of the first priority data comprises:
determining current first head of queue data of the first queue through a first stepping pointer;
and when the first queue head data is acquired, determining second queue head data in the first queue through the first further pointer.
3. The method of claim 1, wherein the obtaining the second priority data comprises:
inserting an address of first data in the second priority data into a second queue; the first data is: among the second priority data, data stored in a storage device having a high reading speed among the plurality of storage devices;
acquiring the first data from the second queue according to the address of the first data;
inserting an address of second data in the second priority data into a third queue; the second data is: among the second priority data, data stored in a storage device having a low reading speed among the plurality of storage devices;
and acquiring the second data from the third queue according to the address of the second data.
4. The method according to claim 3, wherein, when the number of the storage devices is multiple, each storage device with a high reading speed corresponds to one slot in the second queue, and the slots corresponding to the addresses of the adjacent first data in the second queue are different;
the obtaining the first data from the second queue according to the address of the first data includes:
determining current third queue head data of the second queue through a second stepping pointer;
and when the third queue head data is acquired, determining fourth queue head data in the second queue through the second stepping pointer.
5. The method according to claim 3 or 4, wherein, when the number of the storage devices is multiple, each storage device with a low reading speed corresponds to one slot in the third queue, and the slots corresponding to the addresses of the adjacent second data in the third queue are different;
the obtaining the second data from the third queue according to the address of the second data includes:
determining current fifth queue head data of the third queue through a third stepping pointer;
and when the fifth queue head data is obtained, determining sixth queue head data in the third queue through the third step pointer.
6. The method of claim 5, wherein the first queue, the second queue, and the third queue are disposed in a task pool, the method further comprising:
receiving an adjustment request; the adjustment request includes: the identification of the data to be adjusted and a target queue; the target queue is any one of the first queue, the second queue and the third queue;
inquiring a current queue where the address of the data to be adjusted is located in the task pool according to the identifier of the data to be adjusted;
and adjusting the address of the data to be adjusted from the current queue to the target queue.
7. The method of claim 1, wherein the prioritizing the vehicle data based on information sent by a user further comprises:
uploading a data identifier of the vehicle data to a second server;
and receiving the priority determined by the second server for the vehicle data according to the information sent by the user.
8. An autonomous vehicle data transmission apparatus, for use with a first server, the first server being configured to be coupled to a plurality of storage devices, the plurality of storage devices being configured to store vehicle data for an autonomous vehicle, the apparatus comprising:
the priority determining module is used for determining the priority of the vehicle data according to information sent by a user under the condition that the plurality of storage devices are connected to the first server, wherein the information sent by the user comprises time information, and the vehicle data comprises a data generation time identifier;
the vehicle data acquisition module is used for acquiring the vehicle data from the plurality of storage devices according to the priority;
the priority determination module comprises: the priority determining submodule is used for determining the priority of the vehicle data of which the data generation time identification is matched with the time information as a first priority according to the time information; determining the priority of data except the data corresponding to the first priority in the vehicle data as a second priority; the first priority is higher than the second priority, the vehicle data corresponding to the first priority is first priority data, and the vehicle data corresponding to the second priority is second priority data;
the vehicle data acquisition module includes:
the first priority data acquisition submodule is used for inserting the address of the first priority data into a first queue, each storage device corresponds to a slot position in the first queue, and the slot positions corresponding to the addresses of the adjacent first priority data in the first queue are different; acquiring the first priority data from the first queue according to the address of the first priority data;
and the second priority data acquisition submodule is used for acquiring the second priority data after the acquisition of the first priority data is finished.
9. The apparatus of claim 8, wherein the first priority data acquisition sub-module is further configured to:
determining current first head of queue data of the first queue through a first stepping pointer;
and when the first queue head data is obtained, determining second queue head data in the first queue through the first further pointer.
10. The apparatus of claim 8, wherein the second priority data acquisition sub-module comprises:
a first data obtaining unit, configured to insert an address of first data in the second priority data into a second queue; the first data is: among the second priority data, data stored in a storage device having a high reading speed among the plurality of storage devices; acquiring the first data from the second queue according to the address of the first data;
a second data obtaining unit, configured to insert an address of second data in the second priority data into a third queue; the second data is: among the second priority data, data stored in a storage device having a low reading speed among the plurality of storage devices; and acquiring the second data from the third queue according to the address of the second data.
11. The apparatus according to claim 10, wherein, when the number of the storage devices is plural, each storage device with a high reading speed corresponds to a slot in the second queue, and the slots corresponding to the addresses of the adjacent first data in the second queue are different;
the first data obtaining unit is further configured to:
determining current third queue head data of the second queue through a second stepping pointer;
and when the third queue head data is obtained, determining fourth queue head data in the second queue through the second stepping pointer.
12. The apparatus according to claim 10 or 11, wherein, when the number of the storage devices is plural, each storage device with a low reading speed corresponds to one slot in the third queue, and the slots corresponding to the addresses of the adjacent second data in the third queue are different;
the second data obtaining unit is further configured to:
determining current fifth queue head data of the third queue through a third stepping pointer;
and when the fifth queue head data is acquired, determining sixth queue head data in the third queue through the third step pointer.
13. The apparatus of claim 12, wherein the first queue, the second queue, and the third queue are disposed in a task pool, the apparatus further comprising:
an adjustment module for receiving an adjustment request; the adjustment request includes: the identification of the data to be adjusted and a target queue; the target queue is any one of the first queue, the second queue and the third queue; according to the identification of the data to be adjusted, inquiring a current queue where the address of the data to be adjusted is located in the task pool; and adjusting the address of the data to be adjusted from the current queue to the target queue.
14. The apparatus of claim 8, wherein the priority determination module is further configured to: uploading a data identifier of the vehicle data to a second server; and receiving the priority determined by the second server for the vehicle data according to the information sent by the user.
15. An electronic device, comprising:
at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-7.
16. A non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method of any one of claims 1-7.
CN201910692848.8A 2019-07-30 2019-07-30 Method and device for automatically transmitting vehicle data Active CN110460653B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910692848.8A CN110460653B (en) 2019-07-30 2019-07-30 Method and device for automatically transmitting vehicle data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910692848.8A CN110460653B (en) 2019-07-30 2019-07-30 Method and device for automatically transmitting vehicle data

Publications (2)

Publication Number Publication Date
CN110460653A CN110460653A (en) 2019-11-15
CN110460653B true CN110460653B (en) 2022-08-30

Family

ID=68483999

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910692848.8A Active CN110460653B (en) 2019-07-30 2019-07-30 Method and device for automatically transmitting vehicle data

Country Status (1)

Country Link
CN (1) CN110460653B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111694647A (en) * 2020-06-08 2020-09-22 北京百度网讯科技有限公司 Task scheduling method, device and storage medium for automatic driving vehicle
CN111667605B (en) * 2020-06-10 2022-07-19 阿波罗智能技术(北京)有限公司 Automatic driving test data storage method and device and electronic equipment
CN112116226B (en) * 2020-09-07 2022-07-15 腾讯科技(深圳)有限公司 Control method and device for simulated vehicle, computer equipment and storage medium
CN112435464A (en) * 2020-10-23 2021-03-02 江苏大学 Q reinforcement learning-based takeover time prediction system and prediction method for vehicles running on main line of highway
CN112764916B (en) * 2020-12-18 2023-08-22 北京百度网讯科技有限公司 Data acquisition method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105141649A (en) * 2014-06-03 2015-12-09 现代自动车株式会社 System and method for transmitting data of vehicle
CN106470169A (en) * 2015-08-19 2017-03-01 阿里巴巴集团控股有限公司 A kind of service request method of adjustment and equipment
CN109215170A (en) * 2017-07-04 2019-01-15 百度在线网络技术(北京)有限公司 Storage method, device and the equipment of travelling data
CN109640294A (en) * 2019-01-15 2019-04-16 北京百度网讯科技有限公司 Unmanned vehicle data transmission method, device, system and storage medium
CN109756547A (en) * 2018-01-24 2019-05-14 启迪云控(北京)科技有限公司 For the data processing method of car networking system, device and equipment
CN109983449A (en) * 2018-06-30 2019-07-05 华为技术有限公司 The method and storage system of data processing

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3761486B2 (en) * 2002-03-29 2006-03-29 Necインフロンティア株式会社 Wireless LAN system, main device and program

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105141649A (en) * 2014-06-03 2015-12-09 现代自动车株式会社 System and method for transmitting data of vehicle
CN106470169A (en) * 2015-08-19 2017-03-01 阿里巴巴集团控股有限公司 A kind of service request method of adjustment and equipment
CN109215170A (en) * 2017-07-04 2019-01-15 百度在线网络技术(北京)有限公司 Storage method, device and the equipment of travelling data
CN109756547A (en) * 2018-01-24 2019-05-14 启迪云控(北京)科技有限公司 For the data processing method of car networking system, device and equipment
CN109983449A (en) * 2018-06-30 2019-07-05 华为技术有限公司 The method and storage system of data processing
CN109640294A (en) * 2019-01-15 2019-04-16 北京百度网讯科技有限公司 Unmanned vehicle data transmission method, device, system and storage medium

Also Published As

Publication number Publication date
CN110460653A (en) 2019-11-15

Similar Documents

Publication Publication Date Title
CN110460653B (en) Method and device for automatically transmitting vehicle data
US11601378B2 (en) Method and apparatus for allocating server resource, electronic device and storage medium
US10120820B2 (en) Direct memory access transmission control method and apparatus
CN111897638B (en) Distributed task scheduling method and system
US8434085B2 (en) Scalable scheduling of tasks in heterogeneous systems
CN111694646A (en) Resource scheduling method and device, electronic equipment and computer readable storage medium
US20190196875A1 (en) Method, system and computer program product for processing computing task
US11311722B2 (en) Cross-platform workload processing
JP7282823B2 (en) MEMORY ACCESS REQUEST SCHEDULING METHOD, APPARATUS, ELECTRONIC DEVICE, COMPUTER READABLE MEDIUM AND COMPUTER PROGRAM
CN111259205A (en) Graph database traversal method, device, equipment and storage medium
GB2558394A (en) Data processing
CN111461343A (en) Model parameter updating method and related equipment thereof
CN110851276A (en) Service request processing method, device, server and storage medium
US9542459B2 (en) Adaptive data collection
CN110688229B (en) Task processing method and device
JP2020053013A (en) Request processing method and device
US9436608B1 (en) Memory nest efficiency with cache demand generation
CN111930539A (en) Task management method, device and equipment based on label engine and storage medium
CA2631255A1 (en) Scalable scheduling of tasks in heterogeneous systems
CN113760638A (en) Log service method and device based on kubernets cluster
CN109656709B (en) Codis cluster capacity expansion method and device
CN112270412B (en) Network operator processing method and device, electronic equipment and storage medium
WO2021174791A1 (en) Task migration method and apparatus, and electronic device and storage medium
CN110837412B (en) Method, device, equipment and storage medium for judging operation ready state
EP3657331B1 (en) Module assignment management

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