A method, device and equipment for uploading data

By determining the data scope and collection rules based on business needs and project needs, and performing data classification and full collection, the problems of incomplete data collection and long upload cycle in the Internet of Vehicles system are solved, and the effectiveness and utilization of data are improved.

CN114679697BActive Publication Date: 2024-11-22BEIJING ELECTRIC VEHICLE
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110599801.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-05-31
Publication Date
2024-11-22
Estimated Expiration
2041-05-31

AI Technical Summary

Technical Problem

The existing Internet of Vehicles systems have imperfect strategies in data collection and upload, resulting in low data effectiveness, long upload cycles, and inability to cover all amounts, which in turn affects the later utilization rate of the data.

Method used

According to the preset business needs and project needs, determine the data scope, data items, data sources and data types, formulate data collection rules and upload strategies, including data collection cycles, timeout rules and validity rules, perform data classification and full collection, And shorten the upload cycle according to business needs.

Benefits of technology

The full collection and upload of vehicle data is realized, the data upload cycle is shortened, and the subsequent utilization and processing efficiency of data is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114679697B_ABST
    Figure CN114679697B_ABST
Patent Text Reader

Abstract

The present invention provides a data uploading method, device and equipment, the data uploading method comprising: determining the data range according to preset business requirements; determining the data items in the data range according to preset project requirements; determining the data source and data type for the data items; the data source comprises: signal data sent by the controller area network CAN bus and signal data collected by the sensor; the data types comprise: periodic data and event-triggered data; data collection is performed according to the data source and the data type; and data uploading is performed on the collected data according to the data source, the data type and the business requirements. The scheme of the present invention can realize the full collection of data, shorten the data uploading cycle, and is conducive to the subsequent use and processing of data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] Currently, enterprises upload a large amount of vehicle data through the vehicle networking system (Telematics BOX, T-BOX), and the data range is large, and the data types and data sources are different. When T-BOX collects data, it uses a fixed frequency, such as 100ms, to collect once, and when uploading data, it also uses a fixed frequency, such as 10s, to upload once. This data collection method leads to an imperfect data collection strategy, and the validity of the data is not fully guaranteed. In addition, the uploaded data is based on the collected data from the time point of the first data upload, and all the collected data items are combined into a group of data packets uploaded to the platform side every 10 seconds. In this data upload method, the logic of the uploaded data is not strict, and the actual situation of the data collection on the vehicle cannot be reflected, which is not very meaningful for problem location. At the same time, due to the long upload of key data items and the long upload cycle, the data range is not fully covered, resulting in low availability and availability of the data in the later stage. Summary of the invention

[0003] The embodiments of the present invention provide a data uploading method, device and equipment, which are used to solve the problems in the prior art of imperfect vehicle data collection, long data uploading cycle and low later utilization rate of uploaded data.

[0004] In order to solve the above technical problems, the embodiments of the present invention provide the following technical solutions:

[0005] An embodiment of the present invention provides a data uploading method, including:

[0006] Determine the data scope based on preset business requirements;

[0007] Determine the data items in the data range according to preset project requirements;

[0008] For the data item, determine the data source and data type; the data source includes: controller area network CAN bus sent signal data and sensor collected signal data; the data type includes: periodic data and event triggered data;

[0009] Collecting data according to the data source and the data type;

[0010] The collected data is uploaded according to the data source, the data type and the business requirements.

[0011] Optionally, collecting data according to the data source and the data type includes:

[0012] Determine data collection rules according to the data source and the data type;

[0013] Performing data collection according to the data collection rules;

[0014] The data collection rules include: data collection cycle, data timeout rules and data validity rules.

[0015] Optionally, determining data collection rules according to the data source and the data type includes:

[0016] Determining a data collection period for the periodic data according to a preset data update period for the periodic data;

[0017] Determine the data timeout rule of the periodic data according to the data update cycle and the data upload cycle; the data upload cycle is determined according to the data collection cycle;

[0018] According to the data update cycle and the data upload cycle, the data timeout rule of the periodic data is determined; the data upload cycle is determined according to the data collection cycle;

[0019] The data validity rule is determined according to the controller area network CAN bus or the communication signal sent by the sensor.

[0020] Optionally, performing data collection according to the data collection rule includes:

[0021] When it is determined that the data is valid according to the data validity rule, and when it is determined that the periodic data has not timed out according to the data timeout rule, collecting the periodic data according to the data collection period;

[0022] When the data is determined to be valid according to the data validity rule, the event-triggered data is collected according to the triggering time of the event-triggered data.

[0023] Optionally, uploading the collected data according to the data source, the data type and the business requirement includes:

[0024] Determine a data upload strategy according to the data source, the data type and the business requirements;

[0025] Uploading the collected data according to the data uploading strategy;

[0026] The data upload strategy includes: data upload cycle, vehicle status change information and instruction query information.

[0027] Optionally, uploading the collected data according to the data uploading strategy includes:

[0028] Uploading the periodic data according to the data uploading cycle;

[0029] When the vehicle state change information indicates that the vehicle state has changed, uploading the periodic data and the event-triggered data;

[0030] When the instruction query information sent by the target electronic device is received, the periodic data and the event-triggered data are uploaded; the instruction query information is sent by the target electronic device according to business requirements.

[0031] Optionally, uploading the periodic data according to a preset data upload cycle further includes:

[0032] When a fault signal sent by the controller area network CAN bus or the sensor is received, the periodic data is uploaded according to a preset fault uploading cycle.

[0033] Optionally, after collecting data according to the data source and the data type, the method further includes:

[0034] The collected data is stored according to the data source, the data type and the collection time.

[0035] Optionally, uploading the collected data according to the data source, the data type and the business requirement includes:

[0036] Uploading the stored data according to a preset first upload cycle or a preset file capacity;

[0037] When a fault signal sent by the controller area network CAN bus or the sensor is received, the stored data is uploaded according to the reception time of the fault signal.

[0038] The embodiment of the present invention further provides a data uploading device, comprising:

[0039] A first determination module is used to determine the data range according to preset business requirements;

[0040] A second determination module, used to determine data items in the data range according to preset project requirements;

[0041] The third determination module is used to determine the data source and data type for the data item; the data source includes: signal data sent by the controller area network CAN bus and signal data collected by the sensor; the data type includes: periodic data and event-triggered data;

[0042] A data collection module, used for collecting data according to the data source and the data type;

[0043] The data upload module is used to upload the collected data according to the data source, the data type and the business requirements.

[0044] Optionally, the data acquisition module includes:

[0045] A first determining unit, configured to determine a data collection rule according to the data source and the data type;

[0046] A data collection unit, used for collecting data according to the data collection rules;

[0047] The data collection rules include: data collection cycle, data timeout rules and data validity rules.

[0048] Optionally, the first determining unit is specifically configured to:

[0049] Determining a data collection period for the periodic data according to a preset data update period for the periodic data;

[0050] Determine the data timeout rule of the periodic data according to the data update cycle and the data upload cycle; the data upload cycle is determined according to the data collection cycle;

[0051] According to the data update cycle and the data upload cycle, the data timeout rule of the periodic data is determined; the data upload cycle is determined according to the data collection cycle;

[0052] The data validity rule is determined according to the controller area network CAN bus or the communication signal sent by the sensor.

[0053] Optionally, the data acquisition unit is specifically used for:

[0054] When it is determined that the data is valid according to the data validity rule, and when it is determined that the periodic data has not timed out according to the data timeout rule, collecting the periodic data according to the data collection period;

[0055] When the data is determined to be valid according to the data validity rule, the event-triggered data is collected according to the triggering time of the event-triggered data.

[0056] Optionally, the data uploading module includes:

[0057] A second determining unit, configured to determine a data upload strategy according to the data source, the data type and the business requirement;

[0058] A first uploading unit, configured to upload the collected data according to the data uploading strategy;

[0059] The data upload strategy includes: data upload cycle, vehicle status change information and instruction query information.

[0060] Optionally, the first uploading unit is specifically used for:

[0061] Uploading the periodic data according to the data uploading cycle;

[0062] When the vehicle state change information indicates that the vehicle state has changed, uploading the periodic data and the event-triggered data;

[0063] When the instruction query information sent by the target electronic device is received, the periodic data and the event-triggered data are uploaded; the instruction query information is sent by the target electronic device according to business requirements.

[0064] Optionally, the first uploading unit is further configured to:

[0065] When a fault signal sent by the controller area network CAN bus or the sensor is received, the periodic data is uploaded according to a preset fault uploading cycle.

[0066] Optionally, the device further comprises:

[0067] The data storage module is used to store the collected data according to the data source, the data type and the collection time.

[0068] Optionally, the data uploading module includes:

[0069] A second uploading unit, used for uploading the stored data according to a preset first uploading period or a preset file capacity;

[0070] The third uploading unit is used to upload the stored data according to the reception time of the fault signal when receiving the fault signal sent by the controller area network CAN bus or the sensor.

[0071] An embodiment of the present invention further provides a data uploading device, comprising: a processor, a memory, and a program stored in the memory and executable on the processor, wherein when the program is executed by the processor, the data uploading method as described in any one of the above items is implemented.

[0072] An embodiment of the present invention further provides a vehicle, comprising the data uploading device as described above.

[0073] The beneficial effects of the present invention are:

[0074] The scheme of the present invention can classify data by determining the data range according to preset business requirements; determining the data items in the data range according to preset project requirements; and determining the data source and data type for the data items, so as to facilitate subsequent data collection and uploading; collect data according to the data source and the data type, so as to realize full collection of data; and upload the collected data according to the data source, the data type and the business requirements, so as to shorten the data upload cycle and facilitate the subsequent use and processing of the uploaded data. BRIEF DESCRIPTION OF THE DRAWINGS

[0075] Figure 1 A flow chart showing a data uploading method provided by an embodiment of the present invention;

[0076] Figure 2 A schematic diagram showing data collection information provided by an embodiment of the present invention;

[0077] Figure 3 A schematic diagram showing the structure of a data uploading device provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0078] In order to make the objectives, technical solutions and advantages of the present invention more clear, the present invention will be described in detail below with reference to the accompanying drawings and specific embodiments.

[0079] The present invention aims to solve the problems in the prior art that vehicle data collection is imperfect, data uploading cycle is long, and the later utilization rate of uploaded data is low, and provides a data uploading method, device and equipment.

[0080] like Figure 1 As shown, an embodiment of the present invention provides a data uploading method, including:

[0081] Step 101: Determine the data scope according to preset business requirements.

[0082] It should be noted that the data uploading method provided in the embodiment of the present invention is applied to the Internet of Vehicles system TBOX on the vehicle.

[0083] In the embodiment of the present invention, in order to clarify the data scope, it is necessary to start from the business level to determine the data scope. According to the preset business needs, it can basically be divided into vehicle operation data, business application data and R&D application data. Vehicle operation data is used to locate the cause of vehicle failure, business application data is used to monitor and obtain vehicle status information, such as remote control of vehicle door unlocking, which requires obtaining the vehicle's real door status data, and R&D application data is used to monitor the operation status of the vehicle and key components, such as the power battery pack, in real time.

[0084] Step 102: Determine the data items in the data range according to preset project requirements.

[0085] In an embodiment of the present invention, after confirming the data range according to the preset business requirements, it is necessary to confirm the specific data items according to the preset project requirements. The door status data used for remote control of the vehicle in the business application data needs to confirm the specific data items including the four-door lock status, the vehicle power mode status, the vehicle defense status, etc.

[0086] Step 103: for the data item, determine the data source and data type; the data source includes: controller area network CAN bus sent signal data and sensor collected signal data; the data type includes: periodic data and event triggered data.

[0087] In an embodiment of the present invention, for each data item, the data source of the data item is confirmed, including the signal data sent by the CAN bus and the signal collected by the sensor. For example, the door status data required for remotely controlling the door unlocking of the vehicle is derived from the transmission of the Controller Area Network (CAN) bus in the vehicle. Another example is that the vehicle position information in the vehicle operation data used to locate the cause of a vehicle failure is derived from the Global Positioning System (GPS) module installed on the vehicle, and the GPS module receives the vehicle position information via satellite. Another example is the button triggering of the vehicle emergency call system (ECALL) or the collision CAN signal automatically triggered by the airbag controller after detecting a vehicle collision.

[0088] For each data item, it is also necessary to confirm the data type of the data item. For example, the door status data is periodic data, the vehicle position information is also periodic data, and the vehicle collision signal is event-triggered data.

[0089] The embodiments of the present invention can classify data and facilitate subsequent data collection and uploading by determining the data range according to preset business requirements, determining the data items in the data range according to preset project requirements, and determining the data source and data type for the data items.

[0090] Step 104: Collect data according to the data source and the data type.

[0091] In the embodiment of the present invention, the periodic data and event-triggered data are collected in combination with the data items themselves, that is, the data source and the data type, so that the full amount of data can be collected.

[0092] Step 105: Upload the collected data according to the data source, the data type and the business requirement.

[0093] In the embodiment of the present invention, the collected data is uploaded for all data items in combination with the data source, data type and pre-set business requirements of the data items, which can shorten the data upload cycle and facilitate the subsequent use and processing of the uploaded data.

[0094] Optionally, collecting data according to the data source and the data type includes:

[0095] Determine data collection rules according to the data source and the data type;

[0096] Performing data collection according to the data collection rules;

[0097] The data collection rules include: data collection cycle, data timeout rules and data validity rules.

[0098] In an embodiment of the present invention, the data collection period, data timeout rules and data validity rules are determined based on the CAN bus sending signal data and sensor acquisition signal data in the data source, as well as the periodic data and event-triggered data in the data type. Among them, the collection of periodic data needs to be carried out according to the three rules of data collection period, data timeout rules and data validity rules, and the collection of event-triggered data needs to be carried out according to the data validity rules.

[0099] Optionally, determining data collection rules according to the data source and the data type includes:

[0100] Determining a data collection period for the periodic data according to a preset data update period for the periodic data;

[0101] Determine the data timeout rule of the periodic data according to the data update cycle and the data upload cycle; the data upload cycle is determined according to the data collection cycle;

[0102] According to the data update cycle and the data upload cycle, the data timeout rule of the periodic data is determined; the data upload cycle is determined according to the data collection cycle;

[0103] The data validity rule is determined according to the controller area network CAN bus or the communication signal sent by the sensor.

[0104] In the embodiment of the present invention, the three major data ranges are specifically refined into each data item, and the periodic data in the data item is summarized as variable 1-variable N, N is the maximum number of variables allowed to be uploaded by the vehicle TBOX, and according to the data update cycle of variable n (1≤n≤N), a data collection information schematic diagram is listed, such as Figure 2 As shown, the update period of variable 1 is preset to be 10 ms, the update period of variable 2 is preset to be 100 ms, the update period of variable 3 is preset to be 200 ms, the update period of variable 4 is preset to be 1000 ms, and the update period of variable 5 is preset to be 2000 ms. Figure 2 The leftmost vertical line in the figure indicates that the trigger condition for the normal operation of the vehicle TBOX is receiving the KL 15 ON signal. According to the update period of variables 1 to 5, it can be determined that the data collection period in the embodiment of the present invention is 1000ms.

[0105] It should be noted that the variable n can be a CAN bus sending signal variable or a sensor collecting signal variable.

[0106] According to the data update cycle and data upload cycle, the periodic data is divided into two categories. The classification standard is based on the size relationship between the data sending cycle and the data upload cycle: the first category is variables whose data update cycle is less than the data upload cycle; the second category is variables whose data update cycle is greater than or equal to the data upload cycle.

[0107] In the embodiment of the present invention, according to the CAN network timeout mechanism, the data timeout rule is defined. According to the update cycle of the variable, it is defined that when TBOX does not receive the signal value of the current variable in 3 signal message cycles, the signal variable timeout is recorded, and the variable timeout flag position is set to 1, until TBOX receives the updated value of the variable, the variable timeout flag position is set to 0, after the variable timeout flag position is set to 1, TBOX data acquisition cannot obtain the updated value of this variable, and data upload does not upload this value, and only the timeout flag of this variable is uploaded.

[0108] It should be noted that the data timeout rule is not only applicable to the signal data sent by the CAN bus, but also to the signal data collected by the sensor.

[0109] In an embodiment of the present invention, the data validity rule is determined according to the communication signal sent by the CAN bus or the sensor. If the data is valid, the data is collected and subsequently uploaded. If the data is invalid, the data is not collected to avoid wasting resources. If the communication signal sent by the CAN bus or the sensor is received, the data is determined to be valid. If the communication signal sent by the CAN bus or the sensor is not received, the data is determined to be invalid.

[0110] Optionally, performing data collection according to the data collection rule includes:

[0111] When it is determined that the data is valid according to the data validity rule, and when it is determined that the periodic data has not timed out according to the data timeout rule, collecting the periodic data according to the data collection period;

[0112] When the data is determined to be valid according to the data validity rule, the event-triggered data is collected according to the triggering time of the event-triggered data.

[0113] In an embodiment of the present invention, the collection of periodic data needs to consider three rules: data validity rule, data timeout rule and data collection cycle. When it is determined that the data is valid and the periodic data has not timed out, the periodic data is collected according to the data collection cycle.

[0114] The collection of event-triggered data can only consider the data validity rules. When the data is determined to be valid, the event-triggered data can be collected according to the trigger time of the event-triggered data.

[0115] The data variable collection table of periodic data is shown in Table 1. Table 1 records the variable names of variables 1 to 5, the start time of TBOX receiving the variables, the update cycle of the variables, the state change of the variable values, the variable timeout flag and the variable values.

[0116] Table 1 Data variable collection table

[0117]

[0118] Optionally, uploading the collected data according to the data source, the data type and the business requirement includes:

[0119] Determine a data upload strategy according to the data source, the data type and the business requirements;

[0120] Uploading the collected data according to the data uploading strategy;

[0121] The data upload strategy includes: data upload cycle, vehicle status change information and instruction query information.

[0122] In the embodiment of the present invention, data uploading can be subdivided into three situations according to business needs, namely, periodic uploading, vehicle status change uploading and instruction query uploading.

[0123] Periodic upload refers to data upload with a fixed data upload cycle. Data is uploaded to the platform for storage. The platform can perform data statistical analysis and use it in various business scenarios based on the uploaded data. Vehicle status change upload is mainly for status changes with a limited variable value range and occurring under default special working conditions, such as door and vehicle status. Command query upload refers to the business platform or electronic equipment side having a business need to instantly obtain the vehicle status, and data is uploaded immediately based on the command query information.

[0124] Optionally, uploading the collected data according to the data uploading strategy includes:

[0125] Uploading the periodic data according to the data uploading cycle;

[0126] When the vehicle state change information indicates that the vehicle state has changed, uploading the periodic data and the event-triggered data;

[0127] When the instruction query information sent by the target electronic device is received, the periodic data and the event-triggered data are uploaded; the instruction query information is sent by the target electronic device according to business requirements.

[0128] In an embodiment of the present invention, periodic data is uploaded according to a preset data upload cycle. Generally speaking, the data upload cycle is determined according to the data acquisition cycle. In this embodiment, the set data upload cycle is 10s, and the upload data packet is generated by referring to each field in the data variable acquisition table of Table 1, such as the variable name, the start time of TBOX receiving the variable, etc. The value logic for the variable is: (the start time of the first data upload-the start time of TBOX receiving the variable) / data update cycle. After the periodic data is uploaded, it is used for conventional data analysis and data statistics.

[0129] In an embodiment of the present invention, in order to monitor the state changes of the vehicle, data is uploaded when the opening and closing states of devices on the vehicle, such as doors or windows, change. The state change upload is for uploading the full amount of data.

[0130] In an embodiment of the present invention, for a target electronic device, such as a remote control function on an APP side of a mobile phone, the mobile phone APP side needs to obtain the vehicle's status changes at any time. As a prerequisite for remote control of the vehicle, for specific variable signals, the data upload platform internally receives and parses variable values ​​in real time to cache the valid value after the last reception and parsing of TBOX. Within a preset period, such as 1s, the data upload platform will obtain the latest vehicle status variable value and push it to the mobile phone APP side for display of the vehicle status, which can also serve as a prerequisite for remote control of the vehicle.

[0131] Optionally, uploading the periodic data according to a preset data upload cycle further includes:

[0132] When a fault signal sent by the controller area network CAN bus or the sensor is received, the periodic data is uploaded according to a preset fault uploading cycle.

[0133] In the embodiment of the present invention, during the process of uploading periodic data, under the condition of fault triggering, periodic uploading is performed according to a preset fault uploading period, such as 1s.

[0134] Optionally, after collecting data according to the data source and the data type, the method further includes:

[0135] The collected data is stored according to the data source, the data type and the collection time.

[0136] In the embodiment of the present invention, data service processing is divided into local storage and data upload. Local storage and data upload are independent data processing services. The premise is that they are subsequent services performed under normal data collection, analysis and variable storage. Local storage and data upload services are independent data processing services.

[0137] Optionally, uploading the collected data according to the data source, the data type and the business requirement includes:

[0138] Uploading the stored data according to a preset first upload cycle or a preset file capacity;

[0139] When a fault signal sent by the controller area network CAN bus or the sensor is received, the stored data is uploaded according to the reception time of the fault signal.

[0140] In the embodiment of the present invention, local storage is divided into full data storage and customized data storage. Full data storage is stored according to the name of the quantity variable and the start time, variable update cycle and variable value of the relevant TBOX receiving variable. The full amount of full data storage is mainly reflected in two aspects. On the one hand, it is the number of all variables that need to be stored locally, and on the other hand, it is the data variable collection table shown in Table 1 for each variable generated. Full data storage can provide data support for problem location analysis for occasional vehicle failures and abnormal conditions.

[0141] Compared with full data storage, customized data storage is a deletion of full storage data. The deletion is mainly reflected in two aspects: on the one hand, it can be reflected in the number of variables that need to be stored, and on the other hand, it can be reflected in the data variable collection table shown in Table 1 each time the variable is generated. If you want to reduce the resource consumption of platform data processing, you can consider reducing the number of variables stored in the terminal or the data variable collection table.

[0142] It should be noted that TBOX stores all collected variables in the local memory according to the variable name. The data stored in the memory has an abnormal power-off protection mechanism and is polled and overwritten according to the capacity of the memory. When the remaining capacity of the memory is less than 10% of the storage capacity, the later collected data will overwrite the earlier collected data according to the order of collection time.

[0143] It should also be noted that TBOX receives CAN signals sent on the CAN bus, parses the received signal values ​​through the CAN communication matrix built into TBOX, and extracts all data that TBOX needs to process for local storage or upload or other business for backup.

[0144] After the data is stored locally, a reporting mechanism for locating problems can be established for the full data storage. Since the local storage data capacity is large, the locally stored data can be uploaded according to the preset first upload cycle, such as half an hour, or according to the preset file capacity, such as 50M. If a problem occurs at a certain moment, data analysis must be performed on the full amount of locally stored data. The corresponding vehicle identification number (Vin) and the time range of the fault are entered in the network side platform, and the file directory of the terminal is obtained. According to the time of the fault, the full amount of locally stored data is obtained for upload. The network side platform analyzes the uploaded data according to the time of the fault.

[0145] The data upload method provided by the embodiment of the present invention is a complete data collection and upload mechanism, which achieves full data collection and local storage at the data receiving level, and proposes different data collection rules and data upload logic according to different application scenarios. The solution of actively initiating data acquisition and data reporting by the network platform side can cover the location of vehicle problems and the acquisition of full data. After the data is acquired and downloaded, offline tools can be used to analyze and locate the problem, preventing the situation where no data can be collected in the event of occasional problems.

[0146] The data upload method provided in the embodiment of the present invention adopts full data storage, and can intercept the original data of all controllers intercepted by the terminal in real time within the capacity of the local storage for data analysis; and, through the acquisition method of fixed variables of the 1s status data cache, report with a 1s data update cycle when the vehicle status changes, which provides the premise for conditional judgment of vehicle remote control, and at the same time, timely update of information on pages such as mobile phone APP to avoid logical disorder of remote control.

[0147] After full data collection and local storage, you can choose to upload incomplete data to the network platform, which will cause traffic and consumption of terminal microprocessor (MPU) resources. When a problem occurs, the file directory stored locally on the terminal is obtained through tags such as the time when the problem occurred, and the specific file with the problem is matched. The specific file is remotely reported to the network platform in a targeted manner for problem location and analysis, avoiding the inability to analyze the cause of sporadic problems due to the lack of storage of full data. At the same time, the remote method also avoids the inability to obtain data to analyze the cause of the problem due to the vehicle and engineers being in different locations.

[0148] like Figure 3 As shown, an embodiment of the present invention further provides a data uploading device, comprising:

[0149] The first determination module 301 is used to determine the data range according to preset business requirements;

[0150] A second determination module 302 is used to determine data items in the data range according to preset project requirements;

[0151] The third determination module 303 is used to determine the data source and data type for the data item; the data source includes: controller area network CAN bus sent signal data and sensor collected signal data; the data type includes: periodic data and event triggered data;

[0152] A data collection module 304, used for collecting data according to the data source and the data type;

[0153] The data upload module 305 is used to upload the collected data according to the data source, the data type and the business demand.

[0154] The device provided by the embodiment of the present invention can classify data by determining the data range according to preset business requirements; determining the data items in the data range according to preset project requirements; and determining the data source and data type for the data items, so as to facilitate subsequent data collection and uploading; by collecting data according to the data source and the data type, full data collection can be achieved; by uploading the collected data according to the data source, the data type and the business requirements, the data upload cycle can be shortened, and it is also beneficial to the subsequent use and processing of the uploaded data.

[0155] Optionally, the data acquisition module 304 includes:

[0156] A first determining unit, configured to determine a data collection rule according to the data source and the data type;

[0157] A data collection unit, used for collecting data according to the data collection rules;

[0158] The data collection rules include: data collection cycle, data timeout rules and data validity rules.

[0159] Optionally, the first determining unit is specifically configured to:

[0160] Determining a data collection period for the periodic data according to a preset data update period for the periodic data;

[0161] Determine the data timeout rule of the periodic data according to the data update cycle and the data upload cycle; the data upload cycle is determined according to the data collection cycle;

[0162] According to the data update cycle and the data upload cycle, the data timeout rule of the periodic data is determined; the data upload cycle is determined according to the data collection cycle;

[0163] The data validity rule is determined according to the controller area network CAN bus or the communication signal sent by the sensor.

[0164] Optionally, the data acquisition unit is specifically used for:

[0165] When it is determined that the data is valid according to the data validity rule, and when it is determined that the periodic data has not timed out according to the data timeout rule, collecting the periodic data according to the data collection period;

[0166] When the data is determined to be valid according to the data validity rule, the event-triggered data is collected according to the triggering time of the event-triggered data.

[0167] Optionally, the data uploading module 305 includes:

[0168] A second determining unit, configured to determine a data upload strategy according to the data source, the data type and the business requirement;

[0169] A first uploading unit, configured to upload the collected data according to the data uploading strategy;

[0170] The data upload strategy includes: data upload cycle, vehicle status change information and instruction query information.

[0171] Optionally, the first uploading unit is specifically used for:

[0172] Uploading the periodic data according to the data uploading cycle;

[0173] When the vehicle state change information indicates that the vehicle state has changed, uploading the periodic data and the event-triggered data;

[0174] When the instruction query information sent by the target electronic device is received, the periodic data and the event-triggered data are uploaded; the instruction query information is sent by the target electronic device according to business requirements.

[0175] Optionally, the first uploading unit is further configured to:

[0176] When a fault signal sent by the controller area network CAN bus or the sensor is received, the periodic data is uploaded according to a preset fault uploading cycle.

[0177] Optionally, the device further comprises:

[0178] The data storage module is used to store the collected data according to the data source, the data type and the collection time.

[0179] Optionally, the data uploading module 305 includes:

[0180] A second uploading unit, used for uploading the stored data according to a preset first uploading period or a preset file capacity;

[0181] The third uploading unit is used to upload the stored data according to the reception time of the fault signal when receiving the fault signal sent by the controller area network CAN bus or the sensor.

[0182] It should be noted that the data upload device provided in the embodiment of the present invention is a device capable of executing the above-mentioned data upload method, and all embodiments of the above-mentioned data upload method are applicable to the device and can achieve the same or similar technical effects.

[0183] An embodiment of the present invention further provides a data uploading device, comprising: a processor, a memory, and a program stored in the memory and executable on the processor, wherein when the program is executed by the processor, the data uploading method as described in any one of the above items is implemented.

[0184] An embodiment of the present invention further provides a vehicle, comprising the data uploading device as described above.

[0185] The above is a preferred embodiment of the present invention. It should be pointed out that for ordinary personnel in this technical field, several improvements and modifications can be made without departing from the principles described in the present invention. These improvements and modifications are also within the scope of protection of the present invention.

Claims

1. A data uploading method, characterized in that: include: Determine the data scope according to the preset business requirements; the data scope includes vehicle operation data for locating the cause of vehicle failure, business application data for locating the cause of vehicle failure, and research and development application data for monitoring and obtaining vehicle status information; Determine the data items in the data range according to preset project requirements; For the data item, determine the data source and data type; The data sources include: Controller Area Network (CAN) bus sending signal data and sensor acquisition signal data; the data types include: periodic data and event-triggered data; Collecting data according to the data source and the data type; Uploading the collected data according to the data source, the data type and the business requirements; Wherein, collecting data according to the data source and the data type includes: Determining data collection rules according to the data source and the data type; Performing data collection according to the data collection rules; Wherein, the data collection rules include: data collection cycle, data timeout rules and data validity rules; Wherein, determining the data collection rules according to the data source and the data type includes: Determining a data collection period for the periodic data according to a preset data update period for the periodic data; Determine the data timeout rule of the periodic data according to the data update cycle and the data upload cycle; the data upload cycle is determined according to the data collection cycle; Determine the data timeout rule of the periodic data according to the data update cycle and the data upload cycle; the data upload cycle is determined according to the data collection cycle; The data validity rule is determined according to the controller area network CAN bus or the communication signal sent by the sensor.

2. The data uploading method according to claim 1, characterized in that: The step of collecting data according to the data collection rule includes: When it is determined that the data is valid according to the data validity rule, and when it is determined that the periodic data has not timed out according to the data timeout rule, collecting the periodic data according to the data collection period; When the data is determined to be valid according to the data validity rule, the event-triggered data is collected according to the triggering time of the event-triggered data.

3. The data uploading method according to claim 1, characterized in that: The uploading of the collected data according to the data source, the data type and the business requirement includes: Determine a data upload strategy according to the data source, the data type and the business requirements; Uploading the collected data according to the data uploading strategy; The data upload strategy includes: data upload cycle, vehicle status change information and instruction query information.

4. The data uploading method according to claim 3, characterized in that: The step of uploading the collected data according to the data uploading strategy includes: Uploading the periodic data according to the data uploading cycle; When the vehicle state change information indicates that the vehicle state has changed, uploading the periodic data and the event-triggered data; When the instruction query information sent by the target electronic device is received, the periodic data and the event-triggered data are uploaded; the instruction query information is sent by the target electronic device according to business requirements.

5. The data uploading method according to claim 4, characterized in that: The step of uploading the periodic data according to a preset data uploading cycle further includes: When a fault signal sent by the controller area network CAN bus or the sensor is received, the periodic data is uploaded according to a preset fault uploading cycle.

6. The data uploading method according to claim 1, characterized in that: After collecting data according to the data source and the data type, the method further includes: The collected data is stored according to the data source, the data type and the collection time.

7. The data uploading method according to claim 6, characterized in that: The uploading of the collected data according to the data source, the data type and the business requirement includes: Uploading the stored data according to a preset first upload cycle or a preset file capacity; When a fault signal sent by the controller area network CAN bus or the sensor is received, the stored data is uploaded according to the reception time of the fault signal.

8. A data uploading device, characterized in that: include: A first determination module is used to determine a data range according to preset business requirements; the data range includes vehicle operation data for locating the cause of a vehicle failure, business application data for locating the cause of a vehicle failure, and research and development application data for monitoring and obtaining vehicle status information; A second determination module, used to determine data items in the data range according to preset project requirements; A third determination module is used to determine the data source and data type for the data item; The data sources include: Controller Area Network (CAN) bus sending signal data and sensor acquisition signal data; the data types include: periodic data and event-triggered data; A data collection module, used for collecting data according to the data source and the data type; A data uploading module, used to upload the collected data according to the data source, the data type and the business requirements; Wherein, the data acquisition module includes: A first determining unit, configured to determine a data collection rule according to the data source and the data type; A data collection unit, used for collecting data according to the data collection rules; Wherein, the data collection rules include: data collection cycle, data timeout rules and data validity rules; Wherein, the first determining unit is specifically used for: Determining a data collection period for the periodic data according to a preset data update period for the periodic data; Determine the data timeout rule of the periodic data according to the data update cycle and the data upload cycle; the data upload cycle is determined according to the data collection cycle; Determine the data timeout rule of the periodic data according to the data update cycle and the data upload cycle; the data upload cycle is determined according to the data collection cycle; The data validity rule is determined according to the controller area network CAN bus or the communication signal sent by the sensor.

9. A data uploading device, characterized in that: include: A processor, a memory, and a program stored in the memory and executable on the processor, wherein when the program is executed by the processor, the data uploading method according to any one of claims 1 to 7 is implemented.

10. A vehicle, characterized in that: It comprises the data uploading device as claimed in claim 8.