WO2021217630A1 - Vehicle data uploading method and apparatus, computer device, and storage medium - Google Patents

Vehicle data uploading method and apparatus, computer device, and storage medium Download PDF

Info

Publication number
WO2021217630A1
WO2021217630A1 PCT/CN2020/088449 CN2020088449W WO2021217630A1 WO 2021217630 A1 WO2021217630 A1 WO 2021217630A1 CN 2020088449 W CN2020088449 W CN 2020088449W WO 2021217630 A1 WO2021217630 A1 WO 2021217630A1
Authority
WO
WIPO (PCT)
Prior art keywords
event
basic
uploaded
data
vehicle data
Prior art date
Application number
PCT/CN2020/088449
Other languages
French (fr)
Chinese (zh)
Inventor
沈亮
Original Assignee
上海华东汽车信息技术有限公司
上海欧菲智能车联科技有限公司
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 上海华东汽车信息技术有限公司, 上海欧菲智能车联科技有限公司 filed Critical 上海华东汽车信息技术有限公司
Priority to PCT/CN2020/088449 priority Critical patent/WO2021217630A1/en
Publication of WO2021217630A1 publication Critical patent/WO2021217630A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Debugging And Monitoring (AREA)

Abstract

A vehicle data uploading method, comprising: acquiring original data of a vehicle, and performing signal parsing on the original data of the vehicle; classifying, compressing and calculating the parsed original data of the vehicle to obtain basic events; performing event judgment on the basic events according to a preset rule to obtain an event to be uploaded; and uploading said event to a server.

Description

车辆数据上传方法、装置、计算机设备和存储介质Vehicle data upload method, device, computer equipment and storage medium 技术领域Technical field
本申请一种车辆数据上传方法、装置、计算机设备和存储介质。The present application provides a method, device, computer equipment and storage medium for uploading vehicle data.
背景技术Background technique
现代汽车工业快速发展,自动驾驶,车联网,远程等各种新型功能和用户体验被引入到汽车中,汽车的复杂度几何级的提升,车内通信负载从原先的30-40%到现在70-90%,翻了一倍多,从而对于车辆的运行监控和异常行为的捕获带来了很大的困扰,自从有了车联网之后,数据可以实时上传到云端,大量的数据上传之后进行汇总,利用数据统计和模型算法进行各种大数据分析。一台车一天的数据量就可以达到几GB,需要消耗大量的数据流量进行数据上传。With the rapid development of the modern automobile industry, various new functions and user experiences such as autonomous driving, Internet of Vehicles, and remote are introduced into the automobile. The complexity of the automobile has increased geometrically, and the communication load in the car has increased from 30-40% to 70%. -90%, more than doubled, which has caused great troubles for vehicle operation monitoring and abnormal behavior capture. Since the Internet of Vehicles, data can be uploaded to the cloud in real time, and a large amount of data can be aggregated after uploading , Use data statistics and model algorithms for various big data analysis. The data volume of a car can reach several gigabytes a day, which requires a large amount of data traffic to upload data.
发明内容Summary of the invention
根据本申请公开的各种实施例,提供一种车辆数据上传方法、装置、计算机设备和存储介质。According to various embodiments disclosed in the present application, a method, device, computer device, and storage medium for uploading vehicle data are provided.
一种车辆数据上传方法,包括:A method for uploading vehicle data, including:
采集车辆原始数据,并对所述车辆原始数据进行信号解析;Collect raw vehicle data, and perform signal analysis on the raw vehicle data;
对解析后的车辆原始数据进行分类压缩计算得到基本事件;Perform classification and compression calculations on the parsed raw vehicle data to obtain basic events;
根据预设规则对所述基本事件进行事件判断得到待上传事件;及Perform event judgment on the basic event according to preset rules to obtain the event to be uploaded; and
将所述待上传事件上传至服务器。Upload the event to be uploaded to the server.
一种车辆数据上传装置,所述装置包括:A vehicle data uploading device, the device comprising:
采集模块,用于采集车辆原始数据,并对所述车辆原始数据进行信号解析;The acquisition module is used to collect original vehicle data and perform signal analysis on the original vehicle data;
压缩模块,用于对解析后的车辆原始数据进行分类压缩计算得到基本事件;The compression module is used to classify and compress the parsed raw vehicle data to obtain basic events;
待上传事件获取模块,用于根据预设规则对所述基本事件进行事件判断得到待上传事件;及The event to be uploaded acquisition module is used to perform event judgment on the basic event according to preset rules to obtain the event to be uploaded; and
上传模块,用于将所述待上传事件上传至服务器。The upload module is used to upload the event to be uploaded to the server.
一种计算机设备,包括存储器和一个或多个处理器,所述存储器中储存有计算机可读指令,所述计算机可读指令被所述处理器执行时,使得所述一个或多个处理器执行以下步骤:A computer device, including a memory and one or more processors, the memory stores computer readable instructions, and when the computer readable instructions are executed by the processor, the one or more processors execute The following steps:
采集车辆原始数据,并对所述车辆原始数据进行信号解析;Collect raw vehicle data, and perform signal analysis on the raw vehicle data;
对解析后的车辆原始数据进行分类压缩计算得到基本事件;Perform classification and compression calculations on the parsed raw vehicle data to obtain basic events;
根据预设规则对所述基本事件进行事件判断得到待上传事件;及Perform event judgment on the basic event according to preset rules to obtain the event to be uploaded; and
将所述待上传事件上传至服务器。Upload the event to be uploaded to the server.
一个或多个存储有计算机可读指令的非易失性计算机可读指令存储介质,计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器执行以下步骤:One or more non-volatile computer-readable instruction storage media storing computer-readable instructions. When the computer-readable instructions are executed by one or more processors, the one or more processors perform the following steps:
采集车辆原始数据,并对所述车辆原始数据进行信号解析;Collect raw vehicle data, and perform signal analysis on the raw vehicle data;
对解析后的车辆原始数据进行分类压缩计算得到基本事件;Perform classification and compression calculations on the parsed raw vehicle data to obtain basic events;
根据预设规则对所述基本事件进行事件判断得到待上传事件;及Perform event judgment on the basic event according to preset rules to obtain the event to be uploaded; and
将所述待上传事件上传至服务器。Upload the event to be uploaded to the server.
本申请的一个或多个实施例的细节在下面的附图和描述中提出。本申请的其它特征和优点将从说明书、附图以及权利要求书变得明显。The details of one or more embodiments of the present application are set forth in the following drawings and description. Other features and advantages of this application will become apparent from the description, drawings and claims.
附图说明Description of the drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图。In order to more clearly describe the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings needed in the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. A person of ordinary skill in the art can obtain other drawings based on these drawings without creative work.
图1为根据一个或多个实施例中车辆数据上传方法的应用环境图。Fig. 1 is an application environment diagram of a method for uploading vehicle data according to one or more embodiments.
图2为根据一个或多个实施例中车辆数据上传方法的流程示意图。Fig. 2 is a schematic flowchart of a method for uploading vehicle data according to one or more embodiments.
图3为根据一个或多个实施例中的待上传事件计算方法的流程示意图。Fig. 3 is a schematic flowchart of a method for calculating a to-be-uploaded event according to one or more embodiments.
图4为根据另一个或多个实施例中车辆数据上传方法的流程示意图。Fig. 4 is a schematic flowchart of a method for uploading vehicle data according to another or more embodiments.
图5为根据一个或多个实施例中车辆数据上传装置的框图。Fig. 5 is a block diagram of a device for uploading vehicle data according to one or more embodiments.
图6为根据一个或多个实施例中计算机设备的框图。Figure 6 is a block diagram of a computer device according to one or more embodiments.
具体实施方式Detailed ways
为了使本申请的技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the technical solutions and advantages of the present application clearer, the following further describes the present application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, and are not used to limit the present application.
本申请提供的车辆数据上传方法,可以应用于如图1所示的应用环境中。车辆终端102通过网络与服务器104进行通信。其中车辆终端102采集车辆原始数据,并对车辆原始数据进行信号解析;然后对解析后的车辆原始数据进行分类压缩计算得到基本事件;这样车辆终端102可以根据预设规则对基本事件进行事件判断得到待上传事件;最后车辆终端102将待上传事件上传至服务器104。上述车辆数据上传方法,在采集得到车辆原始数据后,首先对车辆原始数据进行信号解析,然后通过对解析后的车辆原始数据进行分类压缩计算得到基本事件,这样可以将原有的数据量较大的数据压缩为数据量较少的数据,且更进一步地根据预设规则对基本事件进行事件判断得到待上传事件,进一步地对基本事件进行了筛选,减少了待上传数据的量,且由于事先进行了计算,保证了信息量的同时减少数据上传量,从而不需要消耗大量的数据流量进行数据上传。车辆终端102可以但不限于是安装在车辆上的各种个人计算机、笔记本电脑、智能手机、平板电脑等,且每一台车内 配置一个专用终端或者是一个满足采集需求替代控制器为载体,可以是硬件形式也可以以软件为载体植入已有终端,只要能获得车内网络数据和连接到云端,有配套数据记录载体即可。服务器104可以用独立的服务器或者是多个服务器组成的服务器集群来实现。The vehicle data upload method provided in this application can be applied to the application environment as shown in FIG. 1. The vehicle terminal 102 communicates with the server 104 through the network. The vehicle terminal 102 collects the original vehicle data and performs signal analysis on the original vehicle data; then classifies and compresses the parsed vehicle raw data to obtain basic events; in this way, the vehicle terminal 102 can perform event judgments on the basic events according to preset rules. Event to be uploaded; finally, the vehicle terminal 102 uploads the event to be uploaded to the server 104. In the above vehicle data upload method, after the original vehicle data is collected, the original vehicle data is first analyzed by signal, and then the basic event is obtained by classifying and compressing the parsed original vehicle data, so that the original data volume can be larger. The data is compressed into data with a small amount of data, and the event to be uploaded is obtained by event judgment on the basic event according to the preset rules, and the basic event is further filtered to reduce the amount of data to be uploaded. The calculation is performed to ensure the amount of information while reducing the amount of data upload, so that there is no need to consume a large amount of data traffic for data upload. The vehicle terminal 102 can be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers, etc. installed on the vehicle, and each vehicle is equipped with a dedicated terminal or a replacement controller that meets the collection requirements as a carrier. It can be in the form of hardware or software as a carrier to be implanted in an existing terminal, as long as it can obtain network data in the car and connect to the cloud, and there is a supporting data recording carrier. The server 104 may be implemented as an independent server or a server cluster composed of multiple servers.
在其中一个实施例中,如图2所示,提供了一种车辆数据上传方法,以该方法应用于图1中的终端为例进行说明,包括以下步骤:In one of the embodiments, as shown in FIG. 2, a method for uploading vehicle data is provided. Taking the method applied to the terminal in FIG. 1 as an example for description, the method includes the following steps:
S202:采集车辆原始数据,并对车辆原始数据进行信号解析。S202: Collect raw data of the vehicle, and perform signal analysis on the raw data of the vehicle.
具体地,车辆原始数据是指车辆上各个传感器以及控制器所采集的数据,例如车速等。车辆终端可以实时采集车辆原始数据并将该车辆原始数据进行存储,例如存储到一缓存队列中。Specifically, vehicle raw data refers to data collected by various sensors and controllers on the vehicle, such as vehicle speed. The vehicle terminal can collect the raw data of the vehicle in real time and store the raw data of the vehicle, for example, in a buffer queue.
且在车辆终端在启动,也就是上电后,车辆终端完成软硬件的初始化,以及事件的分拣策略的记载后,采集车辆原始数据,其中事件的分拣策略也就是下文的步骤S204和S206所涉及的内容,该策略可以是服务器下发的。And after the vehicle terminal is started, that is, after power-on, the vehicle terminal completes the initialization of the software and hardware, and the event sorting strategy is recorded, and the original vehicle data is collected. The event sorting strategy is the following steps S204 and S206 For the content involved, the policy can be issued by the server.
S204:对解析后的车辆原始数据进行分类压缩计算得到基本事件。S204: Perform classification and compression calculation on the parsed original vehicle data to obtain basic events.
具体地,本申请的构思是在保证信息量不丢失的前提下,减少数据的传输量,也就是说在车辆终端采集了车辆原始数据后,需要对车辆原始数据进行处理,从而保证信息量的前提下,减少数据传输量,例如将表示同一状态的数据进行计算仅得到状态,将基本数据进行统计得到统计数据等,这样将车辆原始数据进行分类压缩计算得到基本事件,这些基本事件的数据量相比较车辆原始数据的量要少非常多,几百个字节的原始数据可以压缩到仅仅几个事件十几个字节,缩小10倍以上。Specifically, the idea of this application is to reduce the amount of data transmission under the premise of ensuring that the amount of information is not lost, that is, after the original vehicle data is collected by the vehicle terminal, the original vehicle data needs to be processed to ensure the amount of information. Under the premise, reduce the amount of data transmission, for example, calculate the data representing the same state to obtain only the state, and calculate the basic data to obtain statistical data. In this way, the original vehicle data is classified and compressed to calculate the basic events. The amount of data of these basic events Compared with the original data of the vehicle, the amount of raw data is much smaller. A few hundred bytes of raw data can be compressed to only a few events and a dozen bytes, which is more than 10 times smaller.
其中分类压缩计算是指首先对车辆原始数据进行分类,然后每一分类对应一数据处理规则,从而根据数据处理规则对同一类的车辆原始数据进行压缩处理得到基本事件。其中可选地,车辆终端可以并行对每一分类的车辆原始数据进行压缩处理。Among them, classification compression calculation refers to first classifying the original vehicle data, and then each classification corresponds to a data processing rule, so that the original data of the same type of vehicle is compressed according to the data processing rule to obtain the basic event. Optionally, the vehicle terminal can perform compression processing on the original vehicle data of each category in parallel.
S206:根据预设规则对基本事件进行事件判断得到待上传事件。S206: Perform event judgment on the basic event according to the preset rule to obtain the event to be uploaded.
具体地,预设规则可以是预先设置的,例如由服务器下发的,或者是由用户预先设置的,且可以根据使用过程中的动态需求进行迭代更新的,也即是指上文中的分拣策略。Specifically, the preset rules can be preset, for example, issued by the server, or preset by the user, and can be updated iteratively according to the dynamic needs in the use process, that is, the sorting mentioned above. Strategy.
该预设规则可以对基本事件进行事件判断,从而确定基本事件中是否存在需要上传的事件,或者是对基本事件进行二次分拣,以生成新的事件,从而将新的事件上传至服务器。The preset rule can perform event judgment on basic events to determine whether there are events that need to be uploaded in the basic events, or perform secondary sorting of the basic events to generate new events, thereby uploading the new events to the server.
其中通过对基本事件进行二次分拣,也就是说将多个基本事件进行处理得到一个或者是得到较少的事件量,从而达到保证信息量的同时减少数据的传输量。Among them, the basic events are sorted twice, that is, multiple basic events are processed to obtain one or a smaller amount of events, so as to ensure the amount of information while reducing the amount of data transmission.
S208:将待上传事件上传至服务器。S208: Upload the event to be uploaded to the server.
具体地,车辆终端在计算得到待上传事件后,可以将待上传事件进行缓存,然后由专门的上传线程来从缓存中读取到后,再上传至服务器。Specifically, after the vehicle terminal calculates the event to be uploaded, it can cache the event to be uploaded, and then read it from the cache by a dedicated upload thread, and then upload it to the server.
可选地,上述的各个步骤可以是通过多线程并行进行的,例如可以设置专门的采集线程、解析线程、基本事件计算线程、待上传事件获取线程以及上传线程。这样采集线程采集到车辆原始数据后,解析线程则可以读取到,然后进行解析处理,并缓存解析处理的结 果,基本事件计算线程则读取缓存中的解析后的车辆原始数据,然后再进行分类压缩处理得到基本事件,从而待上传事件获取线程可以从缓存中读取到基本事件以进行二次分拣得到待上传事件,最后由上传线程读取待上传事件来上传到服务器。Optionally, each of the above steps may be performed in parallel through multiple threads, for example, a special collection thread, a parsing thread, a basic event calculation thread, a to-be-uploaded event acquisition thread, and an upload thread may be set. In this way, after the collection thread collects the raw data of the vehicle, the parsing thread can read it, then perform the analysis processing, and cache the results of the analysis processing, and the basic event calculation thread reads the parsed raw vehicle data in the cache, and then performs The basic events are obtained through classification and compression processing, so that the event-to-be-upload acquisition thread can read the basic events from the cache to perform secondary sorting to obtain the events to be uploaded. Finally, the upload thread reads the events to be uploaded and uploads them to the server.
上述车辆数据上传方法,在采集得到车辆原始数据后,首先对车辆原始数据进行信号解析,然后通过对解析后的车辆原始数据进行分类压缩计算得到基本事件,这样可以将原有的数据量较大的数据压缩为数据量较少的数据,且更进一步地根据预设规则对基本事件进行事件判断得到待上传事件,进一步地对基本事件进行了筛选,减少了待上传数据的量,且由于事先进行了计算,保证了信息量的同时减少数据上传量,从而不需要消耗大量的数据流量进行数据上传。In the above vehicle data upload method, after the original vehicle data is collected, the original vehicle data is first analyzed by signal, and then the basic event is obtained by classifying and compressing the parsed original vehicle data, so that the original data volume can be larger. The data is compressed into data with a small amount of data, and the event to be uploaded is obtained by event judgment on the basic event according to the preset rules, and the basic event is further filtered to reduce the amount of data to be uploaded. The calculation is performed to ensure the amount of information while reducing the amount of data upload, so that there is no need to consume a large amount of data traffic for data upload.
在其中一个实施例中,采集车辆原始数据,并对车辆原始数据进行信号解析,包括:采集车辆中的总线的车辆原始数据,将所采集到的车辆原始数据按照采集时间缓存至缓存队列中;按照采集时间从缓存队列中提取车辆原始数据,并对所提取的车辆原始数据进行信号解析。In one of the embodiments, collecting raw vehicle data and performing signal analysis on the raw vehicle data includes: collecting raw vehicle data on the bus in the vehicle, and buffering the collected raw vehicle data in a buffer queue according to the collection time; Extract the original vehicle data from the buffer queue according to the collection time, and perform signal analysis on the extracted original vehicle data.
具体地,车辆终端的车辆原始数据的采集就是将车内总线的原始网络报文全部采集,并记录采集时的时间戳,存入“环形缓冲队列”,从而环形缓冲队列按照采集的时间戳的前后时间配置要求持续记录,确保24小时数据循环覆盖。Specifically, the collection of the original vehicle data of the vehicle terminal is to collect all the original network messages of the in-vehicle bus, record the time stamp at the time of collection, and store it in the "ring buffer queue", so that the ring buffer queue is based on the collected time stamp. Before and after time configuration requires continuous recording to ensure 24-hour data loop coverage.
这样车辆终端则可以通过数据解析车辆原始数据,即将环形缓冲队列中的报文数据提取出来,按照整车网络的信号定义和解析公式进行信号解析,也就是从一条总线报文中将信号提取出来,解析成为信号量,例如一个总线报文8个字节data,64位bit,可以按照字节来定义信号,也可以按照位定义信号,车辆终端根据信号的定义方式来解析对应的车辆原始数据得到解析后的数据。In this way, the vehicle terminal can analyze the original vehicle data through the data, that is, extract the message data in the ring buffer queue, and analyze the signal according to the signal definition and analysis formula of the entire vehicle network, that is, extract the signal from a bus message , Parsed into a semaphore, for example, a bus message with 8 bytes data, 64-bit bit, can define the signal according to bytes, or define the signal according to bits, and the vehicle terminal analyzes the corresponding original vehicle data according to the definition of the signal Get the parsed data.
上述实施例中,并不是直接采集后进行处理,而是将采集到数据缓存到缓存队列中,然后从缓存队列中提取车辆原始数据,并对所提取的车辆原始数据进行信号解析,这样可以缓解数据采集和信号解析之间的速度问题,避免存在大量的数据未解析,从而占用大量的内存,且还可以避免信号解析出现故障时,数据的丢失。In the above embodiment, the collected data is not directly collected and processed, but the collected data is buffered in the buffer queue, and then the original vehicle data is extracted from the buffer queue, and signal analysis is performed on the extracted original vehicle data, which can relieve The speed problem between data acquisition and signal analysis avoids a large amount of unanalyzed data, which takes up a lot of memory, and can also avoid data loss when signal analysis fails.
在其中一个实施例中,对解析后的车辆原始数据进行分类压缩计算得到基本事件,包括:根据预设的数据类型对解析后的车辆原始数据进行分类;获取各预设的信号类型对应的数据压缩规则;根据数据压缩规则对相应的车辆原始数据,进行数据压缩处理得到基本事件。In one of the embodiments, classifying and compressing the parsed raw data of the vehicle to obtain the basic event includes: classifying the parsed raw data of the vehicle according to a preset data type; obtaining data corresponding to each preset signal type Compression rules: According to the data compression rules, perform data compression processing on the corresponding original vehicle data to get the basic events.
上述实施例中,首先对解析后的车辆原始数据进行分类,然后再分别对每一类数据进行压缩,这样可以将原有的数据量较大的数据压缩为数据量较少的数据,从而减少数据上传的量。In the above embodiment, the parsed original vehicle data is first classified, and then each type of data is compressed separately, so that the original data with a larger amount of data can be compressed into data with a smaller amount of data, thereby reducing The amount of data uploaded.
在其中一个实施例中,预设的信号类型包括事件型信号、数值型信号以及故障信号中的至少一个。In one of the embodiments, the preset signal type includes at least one of an event signal, a numerical signal, and a fault signal.
上述实施例中给出了信号类型的分类,这样将信号分为离散的事件型信号、连续的数 值型信号以及故障信号,可以分别处理,特别是对于故障信号单独列出,便于后续的故障事件的判断。The signal types are classified in the above embodiments, so that the signals are divided into discrete event-type signals, continuous numerical-type signals, and fault signals, which can be processed separately, especially for fault signals are listed separately to facilitate subsequent fault events Judgment.
具体地,预设的信号类型可以包括事件型信号、数值型信号以及故障信号其中的至少一个,这样该些预设的信号类型对应有数据压缩规则,例如,事件型信号的压缩规则,比如刹车,开关门窗等信号量按照次数进行计数压缩得到基本事件。数值型信号的压缩规则,比如燃油量,发动机转速,车速等按照数值变化进行记录得到基本事件;故障型信号的压缩规则,比如监测到故障信号之后记录故障事件,并且获取故障码记录以得到基本事件。Specifically, the preset signal types may include at least one of event-type signals, numeric-type signals, and fault signals, so that these preset signal types correspond to data compression rules, for example, compression rules for event-type signals, such as brakes. , Signals such as opening and closing doors and windows are counted and compressed according to the number of times to obtain basic events. The compression rules of numerical signals, such as fuel quantity, engine speed, vehicle speed, etc., are recorded according to numerical changes to obtain basic events; the compression rules of fault signals, such as recording fault events after detecting fault signals, and obtaining fault code records to obtain basic events event.
且可选地,车辆终端首先根据上述分类对解析后的车辆原始数据进行分类,这样可以根据分类的组别数来开启相同数量的线程,从而每一个线程则相应地获取到预设的信号类型对应的数据压缩规则,根据数据压缩规则对相应的车辆原始数据,进行数据压缩处理得到基本事件,这样可以提高处理的效率。And optionally, the vehicle terminal first classifies the parsed raw vehicle data according to the above classification, so that the same number of threads can be opened according to the number of classified groups, so that each thread can obtain the preset signal type accordingly Corresponding data compression rules, perform data compression processing on the corresponding original vehicle data according to the data compression rules to obtain basic events, which can improve processing efficiency.
本实施例中,首先对解析后的车辆原始数据进行分类,然后再分别对每一类数据进行压缩,这样可以将原有的数据量较大的数据压缩为数据量较少的数据,从而减少数据上传的量。In this embodiment, the parsed raw data of the vehicle is first classified, and then each type of data is compressed separately, so that the original data with a larger amount of data can be compressed into data with a smaller amount of data, thereby reducing The amount of data uploaded.
在其中一个实施例中,根据预设规则对基本事件进行事件判断得到待上传事件,包括:判断基本事件是否为异常事件;当基本事件为异常事件时,则判定异常事件为待上传事件。In one of the embodiments, performing event judgment on the basic event according to a preset rule to obtain the event to be uploaded includes: determining whether the basic event is an abnormal event; when the basic event is an abnormal event, determining that the abnormal event is an event to be uploaded.
上述实施例汇总,将异常事件单独进行判断,这样由于车辆在行驶的时候正常的数据的价值是小于故障的数据的价值的,因此首先进行异常的判断,可以保证故障的数据都进行上传,减少服务器的处理。The above embodiments summarized and judged abnormal events separately. In this way, since the value of normal data is less than the value of faulty data when the vehicle is driving, the abnormal judgment is first performed to ensure that all faulty data is uploaded, reducing Server processing.
在其中一个实施例中,根据预设规则对基本事件进行事件判断得到待上传事件,还包括:当基本事件不为异常事件时,则根据预设事件提取规则对基本事件进行提取得到待上传事件。In one of the embodiments, performing event judgment on the basic event according to a preset rule to obtain the event to be uploaded, further includes: when the basic event is not an abnormal event, extracting the basic event according to the preset event extraction rule to obtain the event to be uploaded .
上述实施例中,根据预设规则对基本事件进行事件判断得到待上传事件,进一步地对基本事件进行了筛选,减少了待上传数据的量。In the foregoing embodiment, the event to be uploaded is obtained by performing event judgment on the basic event according to the preset rules, and the basic event is further screened to reduce the amount of data to be uploaded.
在其中一个实施例中,根据预设事件提取规则对基本事件进行提取得到待上传事件,包括:根据预设事件提取规则,判断基本事件是否为直接上传事件;当基本事件为直接上传事件时,则将直接上传事件判定为待上传事件。In one of the embodiments, extracting the basic event according to the preset event extraction rule to obtain the event to be uploaded includes: judging whether the basic event is a direct upload event according to the preset event extraction rule; when the basic event is a direct upload event, Then the direct upload event is judged as a pending upload event.
上述实施例中,由于基本事件中也是存在有价值的事件的,该部分事件可以直接上传,因此可以预先进行提取出来,减少后续的处理。In the above-mentioned embodiment, since there are also valuable events in the basic events, this part of the events can be directly uploaded, so they can be extracted in advance, reducing subsequent processing.
在其中一个实施例中,根据预设事件提取规则对基本事件进行提取得到待上传事件,还包括:当基本事件不为直接上传事件时,则对基本事件进行事件提炼得到新的事件,将新的事件作为待上传事件。In one of the embodiments, the basic event is extracted according to the preset event extraction rules to obtain the event to be uploaded, which also includes: when the basic event is not a direct upload event, then the basic event is refined to obtain a new event, and the new event is extracted. The event is to be uploaded.
上述实施例中,根据基本事件计算得出新的事件,进一步地进行了事件的提炼,减少了待上传数据的量。In the foregoing embodiment, a new event is calculated based on the basic event, which further refines the event and reduces the amount of data to be uploaded.
在其中一个实施例中,将直接上传事件判定为待上传事件之后,还包括:将直接上传 事件对应的日志进行缓存;将待上传事件上传至服务器之后,还包括:接收服务器发送的日志提取指令;根据日志提取指令将缓存后的日志上传至服务器。In one of the embodiments, after determining the direct upload event as the event to be uploaded, it further includes: caching the log corresponding to the direct upload event; after uploading the event to be uploaded to the server, it further includes: receiving the log extraction instruction sent by the server ; Upload the cached log to the server according to the log extraction instruction.
上述实施例中,预先对存在异常的事件的日志进行缓存,这样当服务器需要该些事件对应的日志时,可以直接上传,不需要再次查询,提高了效率。In the above embodiment, the logs of abnormal events are cached in advance, so that when the server needs the logs corresponding to these events, it can be directly uploaded without re-querying, which improves efficiency.
请参阅图3所示,图3为一个实施例中的待上传事件计算方法的流程示意图,在该实施例中,车辆终端首先判断基本事件是否为异常事件,例如可以通过数据范围异常、平均值偏离异常、信号缺失异常以及故障触发等方式进行简单的判断,如果基本事件时异常事件,则可以将异常事件判定为待上传事件,且还可以将待上传事件对应的日志log进行缓存,并与异常事件进行关联,这样可以在车辆终端接收到服务器发送的日志上传指令时,根据异常事件查询到对应的日志,并直接进行上传,不需要再次查询,提高了效率,从而服务器可以根据上传的日志来确定该些异常事件是否后续直接上传等。且可选地,上述的异常事件,是指不在预设规则中所设置的事件,仅是在异常的时候需要上传的事件。这样后续服务器可以根据异常事件的日志来进行处理,以判断是否将该些异常事件添加到预设规则中,从而后续车辆终端直接进行上传等。Please refer to FIG. 3, which is a schematic flow chart of the method for calculating the event to be uploaded in an embodiment. In this embodiment, the vehicle terminal first determines whether the basic event is an abnormal event, for example, through abnormal data range, average value Make simple judgments by deviating abnormalities, signal missing abnormalities, and failure triggers. If the basic event is an abnormal event, the abnormal event can be judged as an event to be uploaded, and the log corresponding to the event to be uploaded can be cached and combined with Correlation of abnormal events, so that when the vehicle terminal receives the log upload instruction sent by the server, the corresponding log can be inquired according to the abnormal event, and the log can be directly uploaded without re-inquiring, which improves efficiency, so that the server can follow the uploaded log To determine whether these abnormal events are directly uploaded later and so on. And optionally, the aforementioned abnormal event refers to an event that is not set in a preset rule, but only an event that needs to be uploaded when abnormal. In this way, the subsequent server can process according to the log of the abnormal event to determine whether to add the abnormal event to the preset rule, so that the subsequent vehicle terminal directly uploads it.
当基本事件不为直接上传事件时,则对基本事件进行事件提炼得到新的事件,将新的事件作为待上传事件,具体地,车辆终端对基本事件进行一个二次分拣,判定哪些是需要直接上传的,哪些是需要根据基本事件计算得出新的事件的。其中此处的二次分拣的策略可以是提供一个二次开发的接口,可以由云端下发一些函数或者算法进行处理,该二次开发可以根据终端的运算量以及代码规范性来进行设置,以不能是死循环以及不能影响车辆终端的任务运行处理为限。When the basic event is not a direct upload event, the basic event is refined to obtain a new event, and the new event is regarded as the event to be uploaded. Specifically, the vehicle terminal performs a secondary sorting of the basic event to determine which are needed Directly uploaded, which ones need to be calculated based on basic events to get new events. Among them, the secondary sorting strategy here can be to provide a secondary development interface, which can be processed by some functions or algorithms issued by the cloud, and the secondary development can be set according to the terminal's calculation amount and code standardization. It is limited to the task operation processing that cannot be an endless loop and cannot affect the vehicle terminal.
其中直接上传的基本事件可以是由服务器根据后续事件的用途来确定的,例如若用途需要该基本事件,则直接将该基本事件进行上传,而计算新的事件也是根据后续事件的用途来确定的,例如服务器可以下发一部分计算给车辆终端,车辆终端预先对基本事件进行初步的简单的计算,从而减少数据传输量等。The basic event directly uploaded can be determined by the server according to the purpose of the subsequent event. For example, if the basic event is required for the purpose, the basic event is directly uploaded, and the calculation of the new event is also determined according to the purpose of the subsequent event For example, the server can deliver part of the calculations to the vehicle terminal, and the vehicle terminal performs preliminary simple calculations on basic events in advance, thereby reducing the amount of data transmission.
也就是说车辆终端实时采集车辆原始数据,进行“事件”抽象,周期性将事件包和相关log上传云端,。相比较传统的采集原始数据的方法来说,车辆终端数据预加工,从原材料变成半成品,所以很多原始数据经过边缘计算之后可能只有一个数值或者一条事件记录,减少数据的传输量。That is to say, the vehicle terminal collects the original vehicle data in real time, abstracts the "event", and periodically uploads the event package and related logs to the cloud. Compared with the traditional method of collecting raw data, the vehicle terminal data is pre-processed from raw materials to semi-finished products, so many raw data may have only one value or one event record after edge calculation, reducing the amount of data transmission.
上述实施例中,根据预设规则对基本事件进行事件判断得到待上传事件,进一步地对基本事件进行了筛选,减少了待上传数据的量,且由于事先进行了计算,保证了信息量的同时减少数据上传量,从而不需要消耗大量的数据流量进行数据上传。In the above-mentioned embodiment, the event to be uploaded is obtained by judging the basic event according to the preset rules, and the basic event is further filtered to reduce the amount of data to be uploaded, and because the calculation is carried out in advance, the amount of information is guaranteed at the same time. Reduce the amount of data upload, so there is no need to consume a large amount of data traffic for data upload.
在其中一个实施例中,将待上传事件上传至服务器,包括:将待上传事件进行打包后缓存;按照预设周期,将缓存后的待上传事件上传至服务器。In one of the embodiments, uploading the events to be uploaded to the server includes: packaging and caching the events to be uploaded; and uploading the cached events to be uploaded to the server according to a preset period.
具体地,车辆终端在计算得到待上传事件后,首先对待上传事件进行“事件打包保存”,打包好的数据将会按照固定的周期比如1分钟/次的频率上传服务器,也可以支持二次开 发,提供可编程逻辑实现一些算法,使得通用性更强。Specifically, after calculating the event to be uploaded, the vehicle terminal first performs "event package and save" for the uploaded event. The packaged data will be uploaded to the server at a fixed cycle such as 1 minute/time, and it can also support secondary development. , Provide programmable logic to implement some algorithms, making it more versatile.
上述实施例中,打包好的待上传事件预先进行缓存,且将会按照固定的周期比如1分钟/次的频率上传服务器,这样可以按照顺序进行上传,保证不会出现紊乱等。In the above embodiment, the packaged events to be uploaded are cached in advance, and will be uploaded to the server according to a fixed period, such as 1 minute/time, so that uploads can be performed in order to ensure that there will be no disorder.
请参照图4所示,图4为另一个实施例中的车辆数据上传方法的步骤流程图。在该实施例中,首先,车终端上电完成“软硬件初始化”,预设规则“配置加载”;然后车辆终端开启几个任务,“原始数据采集”任务,“信号解析”和“基本事件提取”任务,事件判断(基础事件和预设规则)任务,事件记录保存和上传任务,多任务并行方式运行。具体地,原始数据采集功能的主要工作就是将车内总线的原始网络报文全部采集,记录时间戳,存入“环形缓冲队列”,环形缓冲队列按照前后时间配置要求持续记录,确保24小时数据循环覆盖。信号解析功能将环形缓冲队列中的报文数据提取出来,按照整车网络的信号定义和解析公式进行信号解析。Please refer to FIG. 4, which is a flowchart of steps of a method for uploading vehicle data in another embodiment. In this embodiment, first, the vehicle terminal is powered on to complete the "software and hardware initialization", and the preset rule is "configuration loading"; then the vehicle terminal starts several tasks, "raw data collection" tasks, "signal analysis" and "basic events" "Extraction" tasks, event judgment (basic events and preset rules) tasks, event record saving and upload tasks, and multitasking run in parallel. Specifically, the main work of the original data collection function is to collect all the original network messages of the bus in the car, record the timestamp, and store them in the "ring buffer queue". The ring buffer queue continues to record according to the requirements of the before and after time configuration to ensure 24-hour data. Loop coverage. The signal analysis function extracts the message data in the ring buffer queue, and analyzes the signal according to the signal definition and analysis formula of the vehicle network.
基本事件提取按照三种类型对信号进行分类,保存到基本事件缓存,包括:事件型信号:比如刹车,开关门窗等信号量按照次数进行计数;数值型信号:比如燃油量,发动机转速,车速等按照数值变化进行记录;故障信号:监测到故障信号之后记录故障事件,并且获取故障码记录。基本判定用于在终端进行异常行为的判定,通过数值范围异常;平均值偏离异常;信号缺失异常;故障触发等方式进行简单判断,如果有异常将原始log暂存,并与事件挂钩。The basic event extraction classifies the signals according to three types and saves them to the basic event buffer, including: event-type signals: signals such as brakes, opening and closing doors and windows are counted according to the number of times; numerical signals: such as fuel quantity, engine speed, vehicle speed, etc. Record according to the change of the value; fault signal: record the fault event after the fault signal is monitored, and obtain the fault code record. Basic judgment is used to judge abnormal behavior in the terminal, through the abnormal value range; the average deviation is abnormal; the signal is missing abnormal; the fault trigger and other methods are simple judgments. If there is an abnormality, the original log is temporarily stored and linked to the event.
预设规则是根据服务器分派的预设规则,对基本事件进行一个二次分拣,判定哪些是需要上传的,哪些是需要根据基本事件计算得出新的事件的(事件提炼),然后进行“事件打包保存”,打包好的数据将会按照固定的周期比如1分钟/次的频率上传云端,也可以支持二次开发,提供可编程逻辑实现一些算法,使得通用性更强。The preset rule is to sort the basic events a second time according to the preset rules assigned by the server, determine which ones need to be uploaded and which ones need to be calculated based on the basic events to get new events (event extraction), and then proceed to " "Event packaged and saved", the packaged data will be uploaded to the cloud at a fixed cycle, such as 1 minute/time. It can also support secondary development and provide programmable logic to implement some algorithms, making it more versatile.
此外,当服务器发现事件有异常,可以从服务器立即下发请求日志获取指令,车辆终端收到指令之后,将日志log上传,抓取事件现场进行深入分析。In addition, when the server finds that the event is abnormal, it can immediately issue a request log acquisition instruction from the server. After receiving the instruction, the vehicle terminal uploads the log log and captures the incident site for in-depth analysis.
上述实施例中,在采集得到车辆原始数据后,首先对车辆原始数据进行信号解析,然后通过对解析后的车辆原始数据进行分类压缩计算得到基本事件,这样可以将原有的数据量较大的数据压缩为数据量较少的数据,且更进一步地根据预设规则对基本事件进行事件判断得到待上传事件,进一步地对基本事件进行了筛选,减少了待上传数据的量,且由于事先进行了计算,保证了信息量的同时减少数据上传量,从而不需要消耗大量的数据流量进行数据上传。In the above embodiment, after the original vehicle data is collected, the original vehicle data is first analyzed by signal, and then the basic event is obtained by classifying and compressing the parsed original vehicle data, so that the original data volume can be larger. The data is compressed into data with a small amount of data, and the event to be uploaded is obtained by event judgment on the basic event according to the preset rules, and the basic event is further filtered to reduce the amount of data to be uploaded. In order to ensure the amount of information and reduce the amount of data upload, it does not need to consume a large amount of data traffic for data upload.
应该理解的是,虽然图2-4的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,图2-4中的至少一部分步骤可以包括多个步骤或者多个阶段,这些步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤中的步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that although the various steps in the flowcharts of FIGS. 2-4 are displayed in sequence as indicated by the arrows, these steps are not necessarily performed in sequence in the order indicated by the arrows. Unless specifically stated in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least part of the steps in Figures 2-4 may include multiple steps or multiple stages. These steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution of these steps or stages The sequence is not necessarily performed sequentially, but may be performed alternately or alternately with other steps or at least a part of the steps or stages in other steps.
在其中一个实施例中,如图5所示,提供了一种车辆数据上传装置,包括:采集模块100、压缩模块200、待上传事件获取模块300和上传模块400,其中:In one of the embodiments, as shown in FIG. 5, a vehicle data uploading device is provided, which includes: a collection module 100, a compression module 200, a to-be-uploaded event acquisition module 300, and an upload module 400, wherein:
采集模块100,用于采集车辆原始数据,并对车辆原始数据进行信号解析;The collection module 100 is used to collect raw vehicle data and perform signal analysis on the raw vehicle data;
压缩模块200,用于对解析后的车辆原始数据进行分类压缩计算得到基本事件;The compression module 200 is used to classify and compress the parsed raw vehicle data to obtain basic events;
待上传事件获取模块300,用于根据预设规则对基本事件进行事件判断得到待上传事件;The to-be-uploaded event obtaining module 300 is used to perform event judgment on basic events according to preset rules to obtain the to-be-uploaded event;
上传模块400,用于将待上传事件上传至服务器。The upload module 400 is used to upload events to be uploaded to the server.
在其中一个实施例中,上述的采集模块100可以包括:In one of the embodiments, the aforementioned collection module 100 may include:
第一缓存单元,用于采集车辆中的总线的车辆原始数据,将所采集到的车辆原始数据按照采集时间缓存至缓存队列中;The first buffer unit is used to collect the original vehicle data of the bus in the vehicle, and buffer the collected original vehicle data into the buffer queue according to the collection time;
解析单元,用于按照采集时间从缓存队列中提取车辆原始数据,并对所提取的车辆原始数据进行信号解析。The parsing unit is used to extract the original vehicle data from the buffer queue according to the collection time, and perform signal analysis on the extracted original vehicle data.
在其中一个实施例中,上述的压缩模块200可以包括:In one of the embodiments, the aforementioned compression module 200 may include:
分类单元,用于根据预设的数据类型对解析后的车辆原始数据进行分类;The classification unit is used to classify the parsed original vehicle data according to the preset data type;
压缩规则获取单元,用于获取各预设的信号类型对应的数据压缩规则;The compression rule obtaining unit is used to obtain the data compression rule corresponding to each preset signal type;
压缩处理单元,用于根据数据压缩规则对相应的车辆原始数据,进行数据压缩处理得到基本事件。The compression processing unit is used to perform data compression processing on the corresponding original vehicle data according to the data compression rules to obtain basic events.
在其中一个实施例中,预设的信号类型包括事件型信号、数值型信号以及故障信号中的至少一个。In one of the embodiments, the preset signal type includes at least one of an event signal, a numerical signal, and a fault signal.
在其中一个实施例中,上述的待上传事件获取模块300可以包括:In one of the embodiments, the aforementioned event-to-be-uploaded acquisition module 300 may include:
第一判断单元,用于判断基本事件是否为异常事件;The first judgment unit is used to judge whether the basic event is an abnormal event;
第一上传单元,用于当基本事件为异常事件时,则判定异常事件为待上传事件。The first upload unit is used to determine that the abnormal event is an event to be uploaded when the basic event is an abnormal event.
在其中一个实施例中,上述的待上传事件获取模块300还可以包括:In one of the embodiments, the aforementioned event-to-be-uploaded acquisition module 300 may further include:
第二上传单元,用于当基本事件不为异常事件时,则根据预设事件提取规则对基本事件进行提取得到待上传事件。The second upload unit is used to extract the basic event according to the preset event extraction rule to obtain the event to be uploaded when the basic event is not an abnormal event.
在其中一个实施例中,上述的第二上传单元可以包括:In one of the embodiments, the above-mentioned second upload unit may include:
第二判断单元,用于根据预设事件提取规则,判断基本事件是否为直接上传事件;The second judgment unit is used to judge whether the basic event is a direct upload event according to the preset event extraction rule;
直接上传单元,用于当基本事件为直接上传事件时,则将直接上传事件判定为待上传事件。The direct upload unit is used to determine the direct upload event as a pending upload event when the basic event is a direct upload event.
在其中一个实施例中,上述的第二上传单元还可以包括:In one of the embodiments, the above-mentioned second upload unit may further include:
提炼上传单元,用于当基本事件不为直接上传事件时,则对基本事件进行事件提炼得到新的事件,将新的事件作为待上传事件。The refine upload unit is used to refine the basic event to obtain a new event when the basic event is not a direct upload event, and use the new event as the event to be uploaded.
在其中一个实施例中,上述车辆数据上传模块400还可以包括:In one of the embodiments, the aforementioned vehicle data uploading module 400 may further include:
缓存模块,用于将直接上传事件对应的日志进行缓存;Cache module, used to cache the log corresponding to the directly uploaded event;
接收模块,用于接收服务器发送的日志提取指令;The receiving module is used to receive the log extraction instruction sent by the server;
日志传输模块,用于根据日志提取指令将缓存后的日志上传至服务器。The log transmission module is used to upload the cached log to the server according to the log extraction instruction.
在其中一个实施例中,上述的上传模块400可以包括:In one of the embodiments, the aforementioned upload module 400 may include:
第二缓存单元,用于将待上传事件进行打包后缓存;The second cache unit is used to package and cache the events to be uploaded;
周期上传单元,用于按照预设周期,将缓存后的待上传事件上传至服务器。The periodic upload unit is used to upload the cached events to be uploaded to the server according to a preset period.
关于车辆数据上传装置的具体限定可以参见上文中对于车辆数据上传方法的限定,在此不再赘述。上述车辆数据上传装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。For the specific limitation of the vehicle data uploading device, please refer to the above limitation of the vehicle data uploading method, which will not be repeated here. Each module in the above vehicle data uploading device can be implemented in whole or in part by software, hardware, and a combination thereof. The above-mentioned modules may be embedded in the form of hardware or independent of the processor in the computer equipment, or may be stored in the memory of the computer equipment in the form of software, so that the processor can call and execute the operations corresponding to the above-mentioned modules.
在其中一个实施例中,提供了一种计算机设备,该计算机设备可以是终端,其内部结构图可以如图6所示。该计算机设备包括通过系统总线连接的处理器、存储器、通信接口、显示屏和输入装置。其中,该计算机设备的处理器用于提供计算和控制能力。该计算机设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统和计算机可读指令。该内存储器为非易失性存储介质中的操作系统和计算机可读指令的运行提供环境。该计算机设备的通信接口用于与外部的终端进行有线或无线方式的通信,无线方式可通过WIFI、运营商网络、NFC(近场通信)或其他技术实现。该计算机可读指令被处理器执行时以实现一种车辆数据上传方法。该计算机设备的显示屏可以是液晶显示屏或者电子墨水显示屏,该计算机设备的输入装置可以是显示屏上覆盖的触摸层,也可以是计算机设备外壳上设置的按键、轨迹球或触控板,还可以是外接的键盘、触控板或鼠标等。In one of the embodiments, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as shown in FIG. 6. The computer equipment includes a processor, a memory, a communication interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide calculation and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and computer readable instructions. The internal memory provides an environment for the operation of the operating system and computer-readable instructions in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, an operator's network, NFC (near field communication) or other technologies. When the computer-readable instructions are executed by the processor, a method for uploading vehicle data is realized. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, or it can be a button, trackball or touch pad set on the housing of the computer equipment , It can also be an external keyboard, touchpad, or mouse.
本领域技术人员可以理解,图6中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。Those skilled in the art can understand that the structure shown in FIG. 6 is only a block diagram of part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may Including more or fewer parts than shown in the figure, or combining some parts, or having a different arrangement of parts.
一种计算机设备,包括存储器和一个或多个处理器,存储器中储存有计算机可读指令,计算机可读指令被处理器执行时,使得一个或多个处理器执行以下步骤:采集车辆原始数据,并对车辆原始数据进行信号解析;对解析后的车辆原始数据进行分类压缩计算得到基本事件;根据预设规则对基本事件进行事件判断得到待上传事件;将待上传事件上传至服务器。A computer device includes a memory and one or more processors. The memory stores computer-readable instructions. When the computer-readable instructions are executed by the processor, the one or more processors perform the following steps: collecting raw vehicle data, And perform signal analysis on the original vehicle data; perform classification and compression calculation on the parsed original vehicle data to obtain the basic event; perform event judgment on the basic event according to preset rules to obtain the event to be uploaded; upload the event to be uploaded to the server.
在其中一个实施例中,处理器执行计算机可读指令时所实现的采集车辆原始数据,并对车辆原始数据进行信号解析,包括:采集车辆中的总线的车辆原始数据,将所采集到的车辆原始数据按照采集时间缓存至缓存队列中;按照采集时间从缓存队列中提取车辆原始数据,并对所提取的车辆原始数据进行信号解析。In one of the embodiments, when the processor executes the computer-readable instructions, the collection of vehicle raw data and signal analysis of the vehicle raw data include: collecting the vehicle raw data of the bus in the vehicle, and converting the collected vehicle data The raw data is buffered into the buffer queue according to the collection time; the original vehicle data is extracted from the buffer queue according to the collection time, and the extracted vehicle raw data is signal analyzed.
在其中一个实施例中,处理器执行计算机可读指令时所实现的对解析后的车辆原始数据进行分类压缩计算得到基本事件,包括:根据预设的数据类型对解析后的车辆原始数据 进行分类;获取各预设的信号类型对应的数据压缩规则;根据数据压缩规则对相应的车辆原始数据,进行数据压缩处理得到基本事件。In one of the embodiments, when the processor executes the computer-readable instructions, the parsed raw vehicle data is classified and compressed to obtain the basic event, which includes: classifying the parsed raw vehicle data according to a preset data type ; Obtain data compression rules corresponding to each preset signal type; perform data compression processing on the corresponding original vehicle data according to the data compression rules to obtain basic events.
在其中一个实施例中,处理器执行计算机可读指令时所涉及的预设的信号类型包括事件型信号、数值型信号以及故障信号中的至少一个。In one of the embodiments, the preset signal type involved when the processor executes the computer-readable instruction includes at least one of an event signal, a numerical signal, and a fault signal.
在其中一个实施例中,处理器执行计算机可读指令时所实现的根据预设规则对基本事件进行事件判断得到待上传事件,包括:判断基本事件是否为异常事件;当基本事件为异常事件时,则判定异常事件为待上传事件。In one of the embodiments, when the processor executes the computer-readable instruction, the event judgment on the basic event according to the preset rules to obtain the event to be uploaded includes: judging whether the basic event is an abnormal event; when the basic event is an abnormal event , The abnormal event is determined to be an event to be uploaded.
在其中一个实施例中,处理器执行计算机可读指令时所实现的根据预设规则对基本事件进行事件判断得到待上传事件,还包括:当基本事件不为异常事件时,则根据预设事件提取规则对基本事件进行提取得到待上传事件。In one of the embodiments, when the processor executes the computer-readable instruction, the basic event is determined according to preset rules to obtain the event to be uploaded, which further includes: when the basic event is not an abnormal event, then according to the preset event The extraction rule extracts the basic events to obtain the events to be uploaded.
在其中一个实施例中,处理器执行计算机可读指令时所实现的根据预设事件提取规则对基本事件进行提取得到待上传事件,包括:根据预设事件提取规则,判断基本事件是否为直接上传事件;当基本事件为直接上传事件时,则将直接上传事件判定为待上传事件。In one of the embodiments, when the processor executes the computer-readable instruction, extracting the basic event according to the preset event extraction rule to obtain the event to be uploaded includes: judging whether the basic event is a direct upload according to the preset event extraction rule Event; when the basic event is a direct upload event, the direct upload event is judged as a pending upload event.
在其中一个实施例中,处理器执行计算机可读指令时所实现的根据预设事件提取规则对基本事件进行提取得到待上传事件,还包括:当基本事件不为直接上传事件时,则对基本事件进行事件提炼得到新的事件,将新的事件作为待上传事件。In one of the embodiments, when the processor executes the computer-readable instruction, the basic event is extracted according to the preset event extraction rule to obtain the event to be uploaded, and further includes: when the basic event is not a direct upload event, the basic event is The event refines the event to obtain a new event, and uses the new event as the event to be uploaded.
在其中一个实施例中,处理器执行计算机可读指令时所实现的将直接上传事件判定为待上传事件之后,还包括:将直接上传事件对应的日志进行缓存;处理器执行计算机可读指令时所实现的将待上传事件上传至服务器之后,还包括:接收服务器发送的日志提取指令;根据日志提取指令将缓存后的日志上传至服务器。In one of the embodiments, after the processor executes the computer-readable instruction to determine the direct upload event as a pending upload event, the method further includes: caching the log corresponding to the direct upload event; when the processor executes the computer-readable instruction After uploading the event to be uploaded to the server, it also includes: receiving the log extraction instruction sent by the server; and uploading the cached log to the server according to the log extraction instruction.
在其中一个实施例中,处理器执行计算机可读指令时所实现的将待上传事件上传至服务器,包括:将待上传事件进行打包后缓存;按照预设周期,将缓存后的待上传事件上传至服务器。In one of the embodiments, the uploading of the event to be uploaded to the server implemented by the processor when the processor executes the computer-readable instruction includes: packaging the event to be uploaded and buffering it; and uploading the buffered event to be uploaded according to a preset cycle To the server.
一个或多个存储有计算机可读指令的非易失性计算机可读存储介质,计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器执行以下步骤:采集车辆原始数据,并对车辆原始数据进行信号解析;对解析后的车辆原始数据进行分类压缩计算得到基本事件;根据预设规则对基本事件进行事件判断得到待上传事件;将待上传事件上传至服务器。One or more non-volatile computer-readable storage media storing computer-readable instructions. When the computer-readable instructions are executed by one or more processors, the one or more processors perform the following steps: collect raw vehicle data , And perform signal analysis on the original vehicle data; perform classification and compression calculation on the parsed original vehicle data to obtain the basic event; perform event judgment on the basic event according to preset rules to obtain the event to be uploaded; upload the event to be uploaded to the server.
在其中一个实施例中,计算机可读指令被处理器执行时所实现的采集车辆原始数据,并对车辆原始数据进行信号解析,包括:采集车辆中的总线的车辆原始数据,将所采集到的车辆原始数据按照采集时间缓存至缓存队列中;按照采集时间从缓存队列中提取车辆原始数据,并对所提取的车辆原始数据进行信号解析。In one of the embodiments, when the computer-readable instructions are executed by the processor, the collection of raw data of the vehicle and the signal analysis of the raw data of the vehicle include: collecting the raw vehicle data of the bus in the vehicle and combining the collected data The original vehicle data is cached in the cache queue according to the collection time; the original vehicle data is extracted from the cache queue according to the collection time, and signal analysis is performed on the extracted original vehicle data.
在其中一个实施例中,计算机可读指令被处理器执行时所实现的对解析后的车辆原始数据进行分类压缩计算得到基本事件,包括:根据预设的数据类型对解析后的车辆原始数据进行分类;获取各预设的信号类型对应的数据压缩规则;根据数据压缩规则对相应的车辆原始数据,进行数据压缩处理得到基本事件。In one of the embodiments, when the computer-readable instructions are executed by the processor, the parsed raw data of the vehicle is classified and compressed to obtain the basic event, including: performing the parsed raw data of the vehicle according to a preset data type Classification; obtain the data compression rules corresponding to each preset signal type; perform data compression processing on the corresponding original vehicle data according to the data compression rules to obtain the basic events.
在其中一个实施例中,计算机可读指令被处理器执行时所涉及的预设的信号类型包括事件型信号、数值型信号以及故障信号中的至少一个。In one of the embodiments, the preset signal type involved when the computer-readable instruction is executed by the processor includes at least one of an event signal, a numerical signal, and a fault signal.
在其中一个实施例中,计算机可读指令被处理器执行时所实现的根据预设规则对基本事件进行事件判断得到待上传事件,包括:判断基本事件是否为异常事件;当基本事件为异常事件时,则判定异常事件为待上传事件。In one of the embodiments, when the computer-readable instruction is executed by the processor, the basic event is determined according to preset rules to obtain the event to be uploaded, including: determining whether the basic event is an abnormal event; when the basic event is an abnormal event At the time, the abnormal event is determined to be an event to be uploaded.
在其中一个实施例中,计算机可读指令被处理器执行时所实现的根据预设规则对基本事件进行事件判断得到待上传事件,还包括:当基本事件不为异常事件时,则根据预设事件提取规则对基本事件进行提取得到待上传事件。In one of the embodiments, when the computer-readable instruction is executed by the processor, the basic event is determined according to preset rules to obtain the event to be uploaded. The event extraction rule extracts the basic event to obtain the event to be uploaded.
在其中一个实施例中,计算机可读指令被处理器执行时所实现的根据预设事件提取规则对基本事件进行提取得到待上传事件,包括:根据预设事件提取规则,判断基本事件是否为直接上传事件;当基本事件为直接上传事件时,则将直接上传事件判定为待上传事件。In one of the embodiments, when the computer-readable instruction is executed by the processor, extracting the basic event according to the preset event extraction rule to obtain the event to be uploaded includes: judging whether the basic event is direct according to the preset event extraction rule Upload event; when the basic event is a direct upload event, the direct upload event is judged as a pending upload event.
在其中一个实施例中,计算机可读指令被处理器执行时所实现的根据预设事件提取规则对基本事件进行提取得到待上传事件,还包括:当基本事件不为直接上传事件时,则对基本事件进行事件提炼得到新的事件,将新的事件作为待上传事件。In one of the embodiments, when the computer-readable instruction is executed by the processor, the basic event is extracted according to the preset event extraction rule to obtain the event to be uploaded, and it also includes: when the basic event is not a direct upload event, then The basic event is refined to obtain a new event, and the new event is regarded as the event to be uploaded.
在其中一个实施例中,计算机可读指令被处理器执行时所实现的将直接上传事件判定为待上传事件之后,还包括:将直接上传事件对应的日志进行缓存;处理器执行计算机可读指令时所实现的将待上传事件上传至服务器之后,还包括:接收服务器发送的日志提取指令;根据日志提取指令将缓存后的日志上传至服务器。In one of the embodiments, after the computer-readable instruction is executed by the processor to determine the direct upload event as a pending upload event, the method further includes: caching the log corresponding to the direct upload event; and the processor executes the computer-readable instruction After uploading the event to be uploaded to the server implemented at time, it also includes: receiving a log extraction instruction sent by the server; and uploading the cached log to the server according to the log extraction instruction.
在其中一个实施例中,计算机可读指令被处理器执行时所实现的将待上传事件上传至服务器,包括:将待上传事件进行打包后缓存;按照预设周期,将缓存后的待上传事件上传至服务器。In one of the embodiments, the uploading of the events to be uploaded to the server realized when the computer-readable instructions are executed by the processor includes: packaging and caching the events to be uploaded; and storing the cached events to be uploaded according to a preset cycle Upload to the server.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机可读指令来指令相关的硬件来完成,所述的计算机可读指令可存储于一非易失性计算机可读取存储介质中,该计算机可读指令在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和易失性存储器中的至少一种。非易失性存储器可包括只读存储器(Read-Only Memory,ROM)、磁带、软盘、闪存或光存储器等。易失性存储器可包括随机存取存储器(Random Access Memory,RAM)或外部高速缓冲存储器。作为说明而非局限,RAM可以是多种形式,比如静态随机存取存储器(Static Random Access Memory,SRAM)或动态随机存取存储器(Dynamic Random Access Memory,DRAM)等。A person of ordinary skill in the art can understand that all or part of the processes in the methods of the foregoing embodiments can be implemented by instructing relevant hardware through computer-readable instructions. The computer-readable instructions can be stored in a non-volatile computer. In a readable storage medium, when the computer-readable instructions are executed, they may include the processes of the above-mentioned method embodiments. Wherein, any reference to memory, storage, database or other media used in the embodiments provided in this application may include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (Read-Only Memory, ROM), magnetic tape, floppy disk, flash memory, or optical storage. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not a limitation, RAM may be in various forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), etc.
以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above embodiments can be combined arbitrarily. In order to make the description concise, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, they should be It is considered as the range described in this specification.
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能 因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only express a few implementation modes of the present application, and their descriptions are more specific and detailed, but they cannot therefore be understood as limiting the scope of invention patents. It should be pointed out that for those of ordinary skill in the art, without departing from the concept of this application, several modifications and improvements can be made, and these all fall within the protection scope of this application. Therefore, the scope of protection of the patent of this application shall be subject to the appended claims.

Claims (20)

  1. 一种车辆数据上传方法,包括:A method for uploading vehicle data, including:
    采集车辆原始数据,并对所述车辆原始数据进行信号解析;Collect raw vehicle data, and perform signal analysis on the raw vehicle data;
    对解析后的车辆原始数据进行分类压缩计算得到基本事件;Perform classification and compression calculations on the parsed raw vehicle data to obtain basic events;
    根据预设规则对所述基本事件进行事件判断得到待上传事件;及Perform event judgment on the basic event according to preset rules to obtain the event to be uploaded; and
    将所述待上传事件上传至服务器。Upload the event to be uploaded to the server.
  2. 根据权利要求1所述的方法,其特征在于,所述采集车辆原始数据,并对所述车辆原始数据进行信号解析,包括:The method according to claim 1, wherein the collecting raw vehicle data and performing signal analysis on the raw vehicle data comprises:
    采集车辆中的总线的车辆原始数据,将所采集到的车辆原始数据按照采集时间缓存至缓存队列中;及Collect the original vehicle data of the bus in the vehicle, and buffer the collected original data of the vehicle into the buffer queue according to the collection time; and
    按照采集时间从所述缓存队列中提取车辆原始数据,并对所提取的车辆原始数据进行信号解析。Extract the original vehicle data from the buffer queue according to the collection time, and perform signal analysis on the extracted original vehicle data.
  3. 根据权利要求1所述的方法,其特征在于,所述对解析后的车辆原始数据进行分类压缩计算得到基本事件,包括:The method according to claim 1, wherein said performing classification and compression calculation on the parsed original vehicle data to obtain the basic event comprises:
    根据预设的数据类型对解析后的所述车辆原始数据进行分类;Classify the parsed original vehicle data according to the preset data type;
    获取各所述预设的信号类型对应的数据压缩规则;及Acquiring data compression rules corresponding to each of the preset signal types; and
    根据所述数据压缩规则对相应的车辆原始数据,进行数据压缩处理得到基本事件。Perform data compression processing on the corresponding original vehicle data according to the data compression rule to obtain basic events.
  4. 根据权利要求3所述的方法,其特征在于,预设的信号类型包括事件型信号、数值型信号以及故障信号中的至少一个所述预设的信号类型包括事件型信号、数值型信号以及故障信号中的至少一个。The method according to claim 3, wherein the preset signal type includes at least one of an event signal, a numeric signal, and a fault signal, and the preset signal type includes an event signal, a numeric signal, and a fault signal. At least one of the signals.
  5. 根据权利要求1至4任意一项所述的方法,其特征在于,所述根据预设规则对所述基本事件进行事件判断得到待上传事件,包括:The method according to any one of claims 1 to 4, wherein said performing event judgment on said basic event according to a preset rule to obtain the event to be uploaded comprises:
    判断所述基本事件是否为异常事件;及Determine whether the basic event is an abnormal event; and
    当所述基本事件为异常事件时,则判定所述异常事件为待上传事件。When the basic event is an abnormal event, it is determined that the abnormal event is an event to be uploaded.
  6. 根据权利要求5所述的方法,其特征在于,所述根据预设规则对所述基本事件进行事件判断得到待上传事件,还包括:The method according to claim 5, wherein said performing event judgment on said basic event according to a preset rule to obtain the event to be uploaded further comprises:
    当所述基本事件不为异常事件时,则根据预设事件提取规则对所述基本事件进行提取得到待上传事件。When the basic event is not an abnormal event, the basic event is extracted according to a preset event extraction rule to obtain the event to be uploaded.
  7. 根据权利要求6所述的方法,其特征在于,所述根据预设事件提取规则对所述基本事件进行提取得到待上传事件,包括:The method according to claim 6, wherein said extracting said basic event according to a preset event extraction rule to obtain the event to be uploaded comprises:
    根据预设事件提取规则,判断所述基本事件是否为直接上传事件;及According to preset event extraction rules, determine whether the basic event is a direct upload event; and
    当所述基本事件为直接上传事件时,则将所述直接上传事件判定为待上传事件。When the basic event is a direct upload event, the direct upload event is determined as a pending upload event.
  8. 根据权利要求7所述的方法,其特征在于,根据预设事件提取规则对所述基本事件进行提取得到待上传事件,还包括:The method according to claim 7, characterized in that, extracting the basic event according to a preset event extraction rule to obtain the event to be uploaded, further comprising:
    当所述基本事件不为直接上传事件时,则对所述基本事件进行事件提炼得到新的事 件,将新的事件作为待上传事件。When the basic event is not a direct upload event, the basic event is refined to obtain a new event, and the new event is regarded as the event to be uploaded.
  9. 根据权利要求7所述的方法,其特征在于,所述将所述直接上传事件判定为待上传事件之后,还包括:8. The method according to claim 7, wherein after determining the direct upload event as a pending upload event, the method further comprises:
    将所述直接上传事件对应的日志进行缓存;及Cache the log corresponding to the direct upload event; and
    所述将所述待上传事件上传至服务器之后,还包括:After uploading the event to be uploaded to the server, the method further includes:
    接收服务器发送的日志提取指令;Receive log extraction instructions sent by the server;
    根据所述日志提取指令将缓存后的日志上传至服务器。Upload the cached log to the server according to the log extraction instruction.
  10. 根据权利要求1至4任意一项所述的方法,其特征在于,所述将所述待上传事件上传至服务器,包括:The method according to any one of claims 1 to 4, wherein the uploading the event to be uploaded to a server comprises:
    将所述待上传事件进行打包后缓存;及Cache the event to be uploaded after packaging; and
    按照预设周期,将缓存后的待上传事件上传至服务器。Upload the cached events to be uploaded to the server according to the preset cycle.
  11. 一种车辆数据上传装置,包括:A vehicle data uploading device, including:
    采集模块,用于采集车辆原始数据,并对所述车辆原始数据进行信号解析;The acquisition module is used to collect original vehicle data and perform signal analysis on the original vehicle data;
    压缩模块,用于对解析后的车辆原始数据进行分类压缩计算得到基本事件;The compression module is used to classify and compress the parsed raw vehicle data to obtain basic events;
    待上传事件获取模块,用于根据预设规则对所述基本事件进行事件判断得到待上传事件;及The event to be uploaded acquisition module is used to perform event judgment on the basic event according to preset rules to obtain the event to be uploaded; and
    上传模块,用于将所述待上传事件上传至服务器。The upload module is used to upload the event to be uploaded to the server.
  12. 一种计算机设备,包括存储器及一个或多个处理器,所述存储器中储存有计算机可读指令,所述计算机可读指令被所述一个或多个处理器执行时,使得所述一个或多个处理器执行以下步骤:A computer device includes a memory and one or more processors. The memory stores computer-readable instructions. When the computer-readable instructions are executed by the one or more processors, the one or more Each processor performs the following steps:
    采集车辆原始数据,并对所述车辆原始数据进行信号解析;Collect raw vehicle data, and perform signal analysis on the raw vehicle data;
    对解析后的车辆原始数据进行分类压缩计算得到基本事件;Perform classification and compression calculations on the parsed raw vehicle data to obtain basic events;
    根据预设规则对所述基本事件进行事件判断得到待上传事件;及Perform event judgment on the basic event according to preset rules to obtain the event to be uploaded; and
    将所述待上传事件上传至服务器。Upload the event to be uploaded to the server.
  13. 根据权利要求12所述的计算机设备,其特征在于,所述处理器执行所述计算机可读指令时所实现的所述采集车辆原始数据,并对所述车辆原始数据进行信号解析,包括:The computer device according to claim 12, wherein the collecting vehicle raw data and performing signal analysis on the vehicle raw data, which is implemented when the processor executes the computer-readable instructions, comprises:
    采集车辆中的总线的车辆原始数据,将所采集到的车辆原始数据按照采集时间缓存至缓存队列中;及Collect the original vehicle data of the bus in the vehicle, and buffer the collected original data of the vehicle into the buffer queue according to the collection time; and
    按照采集时间从所述缓存队列中提取车辆原始数据,并对所提取的车辆原始数据进行信号解析。Extract the original vehicle data from the buffer queue according to the collection time, and perform signal analysis on the extracted original vehicle data.
  14. 根据权利要求12所述的计算机设备,其特征在于,所述处理器执行所述计算机可读指令时所实现的所述对解析后的车辆原始数据进行分类压缩计算得到基本事件,包括:The computer device according to claim 12, wherein the basic event obtained by performing classification and compression calculation on the parsed raw vehicle data, which is realized when the processor executes the computer-readable instruction, comprises:
    根据预设的数据类型对解析后的所述车辆原始数据进行分类;Classify the parsed original vehicle data according to the preset data type;
    获取各所述预设的信号类型对应的数据压缩规则;及Acquiring data compression rules corresponding to each of the preset signal types; and
    根据所述数据压缩规则对相应的车辆原始数据,进行数据压缩处理得到基本事件。Perform data compression processing on the corresponding original vehicle data according to the data compression rule to obtain basic events.
  15. 根据权利要求14所述的计算机设备,其特征在于,所述处理器执行所述计算机可读指令时所涉及的所述预设的信号类型包括事件型信号、数值型信号以及故障信号中的至少一个。The computer device according to claim 14, wherein the preset signal type involved when the processor executes the computer-readable instruction includes at least one of an event signal, a numerical signal, and a fault signal. one.
  16. 根据权利要求12至15任意一项所述的计算机设备,其特征在于,所述处理器执行所述计算机可读指令时所实现的所述根据预设规则对所述基本事件进行事件判断得到待上传事件,包括:The computer device according to any one of claims 12 to 15, characterized in that, when the processor executes the computer-readable instructions, the event judgment on the basic event according to a preset rule is performed to obtain a waiting Upload events, including:
    判断所述基本事件是否为异常事件;及Determine whether the basic event is an abnormal event; and
    当所述基本事件为异常事件时,则判定所述异常事件为待上传事件。When the basic event is an abnormal event, it is determined that the abnormal event is an event to be uploaded.
  17. 根据权利要求16所述的计算机设备,其特征在于,所述处理器执行所述计算机可读指令时所实现的所述根据预设规则对所述基本事件进行事件判断得到待上传事件,还包括:The computer device according to claim 16, wherein the event to be uploaded is obtained by performing event judgment on the basic event according to a preset rule when the processor executes the computer-readable instruction, further comprising: :
    当所述基本事件不为异常事件时,则根据预设事件提取规则对所述基本事件进行提取得到待上传事件。When the basic event is not an abnormal event, the basic event is extracted according to a preset event extraction rule to obtain the event to be uploaded.
  18. 根据权利要求17所述的计算机设备,其特征在于,所述处理器执行所述计算机可读指令时所实现的所述根据预设事件提取规则对所述基本事件进行提取得到待上传事件,包括:18. The computer device according to claim 17, wherein the extraction of the basic event according to a preset event extraction rule implemented when the processor executes the computer-readable instruction to obtain the event to be uploaded comprises :
    根据预设事件提取规则,判断所述基本事件是否为直接上传事件;及According to preset event extraction rules, determine whether the basic event is a direct upload event; and
    当所述基本事件为直接上传事件时,则将所述直接上传事件判定为待上传事件。When the basic event is a direct upload event, the direct upload event is determined as a pending upload event.
  19. 根据权利要求18所述的计算机设备,其特征在于,所述处理器执行所述计算机可读指令时所实现的根据预设事件提取规则对所述基本事件进行提取得到待上传事件,还包括:18. The computer device according to claim 18, wherein the extraction of the basic event according to a preset event extraction rule implemented when the processor executes the computer-readable instruction to obtain the event to be uploaded further comprises:
    当所述基本事件不为直接上传事件时,则对所述基本事件进行事件提炼得到新的事件,将新的事件作为待上传事件。When the basic event is not a direct upload event, event extraction is performed on the basic event to obtain a new event, and the new event is regarded as the event to be uploaded.
  20. 一个或多个存储有计算机可读指令的非易失性计算机可读存储介质,所述计算机可读指令被一个或多个处理器执行时,使得所述一个或多个处理器执行以下步骤:One or more non-volatile computer-readable storage media storing computer-readable instructions. When the computer-readable instructions are executed by one or more processors, the one or more processors execute the following steps:
    采集车辆原始数据,并对所述车辆原始数据进行信号解析;Collect raw vehicle data, and perform signal analysis on the raw vehicle data;
    对解析后的车辆原始数据进行分类压缩计算得到基本事件;Perform classification and compression calculations on the parsed raw vehicle data to obtain basic events;
    根据预设规则对所述基本事件进行事件判断得到待上传事件;及Perform event judgment on the basic event according to preset rules to obtain the event to be uploaded; and
    将所述待上传事件上传至服务器。Upload the event to be uploaded to the server.
PCT/CN2020/088449 2020-04-30 2020-04-30 Vehicle data uploading method and apparatus, computer device, and storage medium WO2021217630A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/088449 WO2021217630A1 (en) 2020-04-30 2020-04-30 Vehicle data uploading method and apparatus, computer device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/088449 WO2021217630A1 (en) 2020-04-30 2020-04-30 Vehicle data uploading method and apparatus, computer device, and storage medium

Publications (1)

Publication Number Publication Date
WO2021217630A1 true WO2021217630A1 (en) 2021-11-04

Family

ID=78331651

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/088449 WO2021217630A1 (en) 2020-04-30 2020-04-30 Vehicle data uploading method and apparatus, computer device, and storage medium

Country Status (1)

Country Link
WO (1) WO2021217630A1 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114401289A (en) * 2021-12-31 2022-04-26 深圳市麦谷科技有限公司 Task batch uploading method and system
CN114419875A (en) * 2021-12-08 2022-04-29 斑马网络技术有限公司 Vehicle travel segmentation method and device and storage medium
CN114785784A (en) * 2022-04-14 2022-07-22 中国第一汽车股份有限公司 Data processing method and device and electronic equipment
CN115116224A (en) * 2022-06-24 2022-09-27 山东旗帜信息有限公司 Edge terminal data acquisition and transmission system and method
CN115250268A (en) * 2022-06-10 2022-10-28 重庆长安汽车股份有限公司 Automatic driving data acquisition method based on pull mode and automobile
CN115858326A (en) * 2023-02-15 2023-03-28 天翼交通科技有限公司 Performance monitoring method, system, storage medium and equipment based on vehicle-road cooperation

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013188150A1 (en) * 2012-06-11 2013-12-19 Qualcomm Incorporated Technique for adapting device tasks based on the available device resources
CN106364424A (en) * 2015-07-24 2017-02-01 广州汽车集团股份有限公司 Vehicle abnormal information transmission system, vehicle abnormal information transmission method and intelligent vehicle-mounted box
CN109308749A (en) * 2017-07-26 2019-02-05 比亚迪股份有限公司 Vehicle defect diagnostic method, automobile and server
CN109600448A (en) * 2018-12-23 2019-04-09 上海上实龙创智慧能源科技股份有限公司 A kind of simplification local big data method for uploading
CN110764972A (en) * 2019-10-31 2020-02-07 重庆长安汽车股份有限公司 Method for removing embedded points of APP vehicle

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013188150A1 (en) * 2012-06-11 2013-12-19 Qualcomm Incorporated Technique for adapting device tasks based on the available device resources
CN106364424A (en) * 2015-07-24 2017-02-01 广州汽车集团股份有限公司 Vehicle abnormal information transmission system, vehicle abnormal information transmission method and intelligent vehicle-mounted box
CN109308749A (en) * 2017-07-26 2019-02-05 比亚迪股份有限公司 Vehicle defect diagnostic method, automobile and server
CN109600448A (en) * 2018-12-23 2019-04-09 上海上实龙创智慧能源科技股份有限公司 A kind of simplification local big data method for uploading
CN110764972A (en) * 2019-10-31 2020-02-07 重庆长安汽车股份有限公司 Method for removing embedded points of APP vehicle

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114419875A (en) * 2021-12-08 2022-04-29 斑马网络技术有限公司 Vehicle travel segmentation method and device and storage medium
CN114419875B (en) * 2021-12-08 2023-12-22 斑马网络技术有限公司 Vehicle travel segmentation method, device and storage medium
CN114401289A (en) * 2021-12-31 2022-04-26 深圳市麦谷科技有限公司 Task batch uploading method and system
CN114785784A (en) * 2022-04-14 2022-07-22 中国第一汽车股份有限公司 Data processing method and device and electronic equipment
CN114785784B (en) * 2022-04-14 2023-10-24 中国第一汽车股份有限公司 Data processing method and device and electronic equipment
CN115250268A (en) * 2022-06-10 2022-10-28 重庆长安汽车股份有限公司 Automatic driving data acquisition method based on pull mode and automobile
CN115250268B (en) * 2022-06-10 2023-06-06 重庆长安汽车股份有限公司 Automatic driving data acquisition method based on pull mode and automobile
CN115116224A (en) * 2022-06-24 2022-09-27 山东旗帜信息有限公司 Edge terminal data acquisition and transmission system and method
CN115116224B (en) * 2022-06-24 2023-08-18 山东旗帜信息有限公司 Edge end data acquisition and transmission system and method
CN115858326A (en) * 2023-02-15 2023-03-28 天翼交通科技有限公司 Performance monitoring method, system, storage medium and equipment based on vehicle-road cooperation
CN115858326B (en) * 2023-02-15 2023-09-22 天翼交通科技有限公司 Performance monitoring method, system, storage medium and equipment based on vehicle-road cooperation

Similar Documents

Publication Publication Date Title
WO2021217630A1 (en) Vehicle data uploading method and apparatus, computer device, and storage medium
CN111586150A (en) Vehicle data uploading method and device, computer equipment and storage medium
CN111221702B (en) Log analysis-based exception handling method, system, terminal and medium
CN110347116B (en) Machine tool state monitoring system and monitoring method based on operation data flow
CN107729210B (en) Distributed service cluster abnormity diagnosis method and device
CN111077870A (en) Intelligent OPC data real-time acquisition and monitoring system and method based on stream calculation
CN102799514B (en) Method and system for managing log records
WO2021217637A1 (en) Terminal policy configuration method and apparatus, and computer device and storage medium
WO2021217624A1 (en) Vehicle data processing method and system
CN111061628B (en) Data analysis method, system, device, computer equipment and storage medium
CN107809467B (en) Method for deleting container mirror image data in cloud environment
CN102708037B (en) Method and device for checking running state of application program
CN113176771B (en) Method for monitoring running state of vehicle domain controller
US8935039B2 (en) Method for reducing detection data of a monitoring device in a vehicle, and method for monitoring a vehicle defect in near real time using same
US20210035381A1 (en) Method and apparatus for processing diagnosis data, diagnosis device and server
CN112506097A (en) Jig frame remote monitoring system and method based on industrial internet
CN110662024A (en) Video quality diagnosis method and device based on multiple frames and electronic equipment
CN111462351A (en) Vehicle driving data processing method, system and equipment based on automatic driving platform
CN111583442B (en) Terminal policy configuration method and device, computer equipment and storage medium
WO2021217626A1 (en) Vehicle data processing method and apparatus, computer device, and storage medium
CN114253806A (en) Access stratum log collection, analysis and early warning system
CN114154035A (en) Data processing system for dynamic loop monitoring
US8126943B2 (en) Autonomic virtual log configuration
CN115525392A (en) Container monitoring method and device, electronic equipment and storage medium
CN106817233A (en) A kind of cloud computing management platform alarm method and measurement monitoring platform

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20933369

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20933369

Country of ref document: EP

Kind code of ref document: A1