Vehicle data sending method and device, electronic equipment, storage medium and vehicle
Through the cooperation of signal packets and channel selectors, the problem of low vehicle data transmission efficiency is solved, and more data is sent without adding signal channels is realized, reducing costs and improving efficiency.
Patent Information
- Application Number
- CN202411400368.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-09
- Publication Date
- 2025-01-03
AI Technical Summary
The amount of signal data generated by the vehicle during operation is large, but due to the limited number of signal channels, it is difficult for the prior art to send more signal data without adding signal channels.
By acquiring the original vehicle data, signal grouping, arranging it on multiple signal channels, and using the channel selector to send a signal group sequence, ensuring that more signal data is sent without changing the number of signal channels.
It realizes sending more signal data without adding signal channels, reducing signal transmission costs and improving the system's data transmission efficiency.
Smart Images

Figure CN119255224A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of vehicle data communication, and in particular to a vehicle data sending method, device, electronic device, storage medium and vehicle. Background Art
[0002] With the continuous maturity of Internet technology and the widespread application of cloud computing platforms, more and more data is being migrated to the cloud for processing and storage. At the same time, as cars become more and more intelligent, they generate a large amount of signal data during operation, and the number of signals that need to be stored in the cloud is also increasing.
[0003] Currently, due to the limited number of signal channels on vehicles, only limited signal data can be uploaded through the signal channels. Summary of the invention
[0004] The present disclosure provides a vehicle data sending method, device, electronic device, storage medium and vehicle, which are used to send more signal data without changing the number of signal channels.
[0005] A first aspect of an embodiment of the present disclosure provides a vehicle data sending method, comprising:
[0006] Acquire original vehicle data, where the original vehicle data includes multiple signals;
[0007] Grouping the multiple signals to obtain multiple signal groups, each of the signal groups includes at least one signal, and the signals in different signal groups are different;
[0008] Arranging the plurality of signal groups onto a plurality of signal channels to obtain a plurality of channel signal group sequences;
[0009] Among the plurality of signal channels corresponding to the plurality of channel signal groups, the channel selector transmits signals in the channel signal group sequence based on the signal channels corresponding to each of the channel signal group sequences.
[0010] A second aspect of an embodiment of the present disclosure provides a vehicle data sending device, the vehicle data sending device comprising:
[0011] An acquisition module, used for acquiring original vehicle data, wherein the original vehicle data includes a plurality of signals;
[0012] A grouping module, configured to group the plurality of signals to obtain a plurality of signal groups, each of the signal groups including at least one of the signals, and signals in different signal groups are different;
[0013] An arrangement module, used for arranging the plurality of signal groups onto a plurality of signal channels to obtain a plurality of channel signal group sequences;
[0014] The sending module is used to send the signals in the channel signal group sequence based on the signal channels corresponding to each of the channel signal group sequences in the multiple signal channels of the channel selector corresponding to the multiple channel signal groups.
[0015] A third aspect of an embodiment of the present disclosure provides an electronic device, the electronic device comprising a memory and a processor, the memory storing a computer program, and the processor implementing the vehicle data sending method of the first aspect when executing the computer program.
[0016] The fourth aspect of the embodiment of the present disclosure provides a computer-readable storage medium, in which instructions are stored. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the vehicle data sending method of the first aspect mentioned above is implemented.
[0017] A fifth aspect of an embodiment of the present disclosure provides a vehicle, comprising the electronic device as described in the third aspect.
[0018] In the technical solution provided by the embodiment of the present disclosure, original vehicle data is obtained, and the original vehicle data includes multiple signals; the multiple signals are grouped to obtain multiple signal groups, each signal group includes at least one signal, and the signals in different signal groups are different; the multiple signal groups are arranged on multiple signal channels to obtain multiple channel signal group sequences; in the multiple signal channels corresponding to the multiple channel signal groups of the channel selector, based on the signal channels corresponding to each channel signal group sequence, the signals in the channel signal group sequence are sent. In the embodiment of the present disclosure, multiple signals in the original vehicle data are grouped to obtain multiple signal groups, and the multiple signal groups are arranged on each signal channel to obtain a channel signal group sequence corresponding to each signal channel; then the channel signal sequence corresponding to each signal channel is sent through the channel selector, and more signal data can be sent without changing the number of signal channels. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 A schematic diagram of an embodiment of a method for sending vehicle data in an embodiment of the present disclosure;
[0020] Figure 2 It is a schematic diagram of an overall flow of the vehicle data sending method in an embodiment of the present disclosure;
[0021] Figure 3 In the embodiments of the present disclosure Figure 2 A specific flow chart of step 220;
[0022] Figure 4 In the embodiments of the present disclosure Figure 2 A specific flow chart of step 230;
[0023] Figure 5 In the embodiments of the present disclosure Figure 4 A specific flow chart of step 420;
[0024] Figure 6 In the embodiments of the present disclosure Figure 2 A specific flow chart of step 240;
[0025] Figure 7 In the embodiments of the present disclosure Figure 6 A specific flow chart of step 610;
[0026] Figure 8 is a schematic diagram of a vehicle data sending device in an embodiment of the present disclosure;
[0027] Fig. 9 It is a structural schematic diagram of an electronic device in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0028] In order to make the purpose, technical solution and advantages of the present disclosure more clear, the present disclosure is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present disclosure and are not used to limit the present disclosure.
[0029] Before further describing the embodiments of the present disclosure in detail, the nouns and terms involved in the embodiments of the present disclosure are described. The nouns and terms involved in the embodiments of the present disclosure are subject to the following interpretations:
[0030] CAN channel: The full name is Controller Area Network (CAN) channel, which is a serial communication protocol channel commonly used in automotive and industrial control systems. It realizes data transmission and communication by transmitting electrical signals of different voltages on the communication line. The CAN channel consists of one or more buses to connect various nodes; each node contains its own processor and CAN bus interface controller, which is responsible for sending and receiving data. CAN communication uses a frame structure for data transmission. Each CAN frame consists of a start bit, a frame ID, a data field, a CRC checksum, and an end bit.
[0031] Channel selector: A channel selector is a device controller that performs I / O operations. It is responsible for selecting which channel and which device to perform I / O operations. A channel selector is a special processor that has the ability to execute I / O instructions and control I / O operations by executing channel programs. Since channels are expensive, the number of channels set in the machine is small, which often makes it a bottleneck for I / O, resulting in a decrease in the throughput of the entire system. The role of the channel selector is to select a device for I / O operations based on the address, thereby coordinating and managing the data transmission between various devices and channels in the system.
[0032] DBC file: (Database CAN, DBC) file is a standard file format used to describe the CAN communication protocol. Through DBC files, technicians can quickly analyze the signals sent by the CAN bus and understand the physical meaning of the signals in different CAN channels.
[0033] At present, the number of signals generated by vehicles is very large, while the number of signal channels for vehicles to send messages outward is limited. Increasing the number of signal channels will increase hardware costs, so only a small number of signals can be sent. In order to solve the above problem, there is a demand for sending more vehicle signals without changing the number of signal channels. For this reason, the embodiments of the present disclosure can send more signal data without changing the number of signal channels.
[0034] It should be noted that in each specific implementation of the present application, when it comes to the need to perform relevant processing based on data related to the user's identity or characteristics such as vehicle information, vehicle behavior data, vehicle historical data, and vehicle location information, the user's permission or consent will be obtained first, and the collection, use, and processing of these data will comply with relevant laws, regulations, and standards. In addition, when the embodiment of the present application needs to obtain the user's sensitive personal information, the user's separate permission or consent will be obtained through a pop-up window or by jumping to a confirmation page. After clearly obtaining the user's separate permission or consent, the necessary user-related data for the normal operation of the disclosed embodiment will be obtained.
[0035] Description of the system architecture of the present disclosure embodiment
[0036] Figure 1 This is a system architecture diagram of the vehicle data transmission method according to the embodiment of the present disclosure. In this network, the vehicle terminal: various sensors, controllers, communication modules and other equipment installed on the vehicle, responsible for collecting and transmitting vehicle information. The network: includes wireless communication technologies (such as Wi-Fi, Bluetooth, cellular networks, etc.) and wired communication technologies (such as CAN bus, etc.), responsible for realizing information exchange between the vehicle and the cloud. The cloud: is responsible for processing and analyzing the collected vehicle signal data.
[0037] The vehicle can be a private car, such as a sedan, SUV, MPV or pickup truck. The vehicle can also be an operating vehicle, such as a van, bus, small truck or large trailer. The vehicle can be a gasoline vehicle or a new energy vehicle. When the vehicle is a new energy vehicle, it can be a hybrid vehicle or a pure electric vehicle.
[0038] General description of the disclosed embodiments
[0039] See also Figure 2 , a flow chart of a vehicle data sending method provided by an embodiment of the present disclosure, specifically comprising:
[0040] 210. Acquire original vehicle data, where the original vehicle data includes multiple signals;
[0041] 220. Grouping the multiple signals to obtain multiple signal groups, each signal group including at least one signal, and the signals in different signal groups are different;
[0042] 230. Arrange the plurality of signal groups on a plurality of signal channels to obtain a plurality of channel signal group sequences;
[0043] 240. In a plurality of signal channels corresponding to the plurality of channel signal groups of a channel selector, based on signal channels corresponding to each channel signal group sequence, transmit signals in a channel signal group sequence.
[0044] First, the above steps 210 - 240 are briefly described.
[0045] In step 210, the original vehicle data refers to a plurality of signals that the vehicle needs to report, which are collected by sensors installed on the vehicle or generated by controllers installed on the vehicle. For example, signals related to the engine may be collected by corresponding sensors, signals related to the gearbox may be collected by corresponding sensors, and signals related to the lights may be generated by a light controller.
[0046] In step 220, multiple signals are grouped, wherein each signal can only be assigned to one signal group, i.e., there are no identical signals between signal groups. For example, assuming that signal group 1 includes signals 1A, 1B, and 1C, and signal group 2 includes signals 2A, 2B, and 2C, each signal in signal group 1 and signal group 2 is different.
[0047] In step 230, each signal group is arranged on a plurality of signal channels, wherein arranging the signal groups means allocating each signal group to each signal channel in a certain order. For example, the vehicle includes three signal channels, namely signal channel 1, signal channel 2 and signal channel 3; if there are nine signal groups, namely signal groups 1 to 9; the nine signal groups can be allocated to three signal channels, thereby forming a channel signal group sequence corresponding to each signal channel. For example, the signal groups corresponding to signal channel 1 are: signal group 1, signal group 4 and signal group 7; the signal groups corresponding to signal channel 2 are: signal group 2, signal group 5 and signal group 8; the signal groups corresponding to signal channel 3 are: signal group 3, signal group 6 and signal group 9. Assume that the signals in signal group 1 are 1A, 1B, and 1C, the signals in signal group 4 are 4A, 4B, and 4C, and the signals in signal group 7 are 7A, 7B, and 7C, then the channel signal group sequence corresponding to signal channel 1 is: 1A, 1B, 1C, 4A, 4B, 4C, 7A, 7B, and 7C.
[0048] In step 240, the channel signal group sequence corresponding to each signal channel is sent through the channel selector polling. Among them, each signal in the channel signal group sequence has a certain order relationship. For example, the channel signal group sequence corresponding to signal channel 1 is: 1A, 1B, 1C, 4A, 4B, 4C, 7A, 7B, 7C. The channel signal group sequence corresponding to signal channel 2 is: 2A, 2B, 2C, 5A, 5B, 5C, 8A, 8B, 8C.
[0049] It should be noted that the number of signals in each signal group is not fixed, and the above is only an example and does not limit the number of signals in a signal group.
[0050] In the disclosed embodiment, multiple signals in the original vehicle data are grouped to obtain multiple signal groups, and the multiple signal groups are arranged on each signal channel to obtain a channel signal group sequence corresponding to each signal channel; then the channel signal sequence corresponding to each signal channel is sent through a channel selector, and more signal data can be sent without changing the number of signal channels, thereby reducing the signal transmission cost.
[0051] See also Figure 3 In one embodiment, step 220 may include:
[0052] 310. Obtain a signal attribute and a signal type of each signal among the multiple signals, where the signal attribute is used to indicate a purpose of the signal, and the signal type is used to indicate a data type of the signal;
[0053] 320. Classify the plurality of signals based on the signal attribute of each signal to obtain a plurality of signal classes, each signal class corresponding to a signal attribute;
[0054] 330. Group each signal class according to the data type of each signal to obtain multiple signal groups, each signal group corresponding to a signal attribute and a data type.
[0055] In step 310, the signal attributes and signal types of each signal in the original vehicle data are first obtained. The signal attribute indicates the purpose of the signal. For example, the signal attribute of signal 1A is engine, indicating that signal 1A is used to reflect the speed of the engine; the signal attribute of signal 1B is engine, indicating that signal 1B is used to reflect whether the engine is started. The signal type of signal 1A is floating point type, and the signal type of signal 1B is Boolean type.
[0056] In step 320, each signal is first classified according to the signal attribute corresponding to it, and the signals with the same signal attribute are regarded as a class of signals to obtain multiple signal classes. For example, the original vehicle data includes 100 signals, among which 30 signals related to the engine (i.e., signals with the signal attribute of the engine) are regarded as signal class 1, 30 signals related to the gearbox (i.e., signals with the signal attribute of the gearbox) are regarded as signal class 2, and 40 signals related to the chassis (i.e., signals with the signal attribute of the chassis) are regarded as signal class 3.
[0057] In step 330, as described above, the signal classes obtained in step 320 are grouped again according to data types, that is, signals with the same data type are grouped into one group, i.e., signal groups. For example, among the 30 signals related to the engine in signal class 1, 25 are floating point type and 5 are Boolean type, then the 25 floating point type signals are grouped as one signal group, and the 5 Boolean type signals are grouped as one signal group.
[0058] The advantage of step 310-step 330 is that for each signal, two divisions are performed. First, a division is performed according to the signal attributes, and then a division is performed according to the data type based on the division result. Each signal group corresponds to a signal attribute and a data type, which increases the correlation between each signal in the signal group and avoids multiple signals with strong correlation from being sent separately during the sending process.
[0059] See also Figure 4 In one embodiment, step 230 may include:
[0060] 410. Sort the multiple signal groups according to the priority of each signal attribute to obtain a target signal group sequence;
[0061] 420. Arrange the target signal group sequence on multiple signal channels in sequence according to a preset arrangement order, and determine the signal channel corresponding to each signal group;
[0062] 430. Determine a channel signal group sequence corresponding to each signal channel based on the signal channel corresponding to each signal group and a preset arrangement order, to obtain a plurality of channel signal group sequences, wherein the channel signal group sequence includes a plurality of sequentially arranged signal groups;
[0063] Step 240 may include:
[0064] 241. Among a plurality of signal channels corresponding to a plurality of channel signal groups of a channel selector, based on signal channels corresponding to each channel signal group sequence, signals in a channel signal group sequence are sequentially sent in a preset arrangement order.
[0065] In step 410, the signal attributes corresponding to the plurality of signal groups are first obtained, and the signal groups are sorted according to the priorities corresponding to the signal attributes, with the signal groups with higher priorities being placed in front and the signal groups with lower priorities being placed in the back, to form a target signal group sequence. For example, among various signal attributes, the signal attributes related to driving safety have a higher priority, such as the engine, brake pedal, and accelerator pedal. The signal attributes not related to driving safety have a lower priority, such as air conditioning, lights, and windows. If the signal attribute of signal group 1 is the engine, the signal attribute of signal group 2 is the air conditioning, the signal attribute of signal group 3 is the light, the signal attribute of signal group 4 is the brake pedal, the signal attribute of signal group 5 is the accelerator pedal, and the signal attribute of signal group 6 is the window. Then the target signal group sequence is: signal group 1, signal group 4, signal group 5, signal group 3, signal group 6, signal group 2.
[0066] In step 420, the number of signal channels available on each vehicle is fixed. Assuming that there are 3 signal channels in the present disclosure, the target signal group sequence generated in step 410 needs to be assigned to any signal channel in order to obtain the signal channel corresponding to each signal group. For example, the target signal group sequence is: signal group 1, signal group 4, signal group 5, signal group 3, signal group 6, signal group 2.
[0067] In step 430, according to the multiple signal groups sequentially allocated on each signal channel, the channel signal group sequence of each signal channel is obtained by sorting them in the order of allocation. For example, signal channel 1 is sequentially allocated with signal group 1, signal group 4, signal group 7, signal group 10, and signal group 13, then the channel signal group sequence of signal channel 1 is: signal group 1, signal group 4, signal group 7, signal group 10, and signal group 13. For another example, signal channel 1 is sequentially allocated with signal group 1, signal group 2, signal group 3, signal group 4, and signal group 5, then the channel signal group sequence of signal channel 1 is: signal group 1, signal group 2, signal group 3, signal group 4, and signal group 5.
[0068] The advantage of step 410-step 430 is that, for each signal channel, the channel signal group sequence of each signal channel is determined according to a preset arrangement order, the sending order of each signal group in each signal channel is determined, and the signal group with a higher signal attribute priority is arranged in front of the channel signal group sequence, thereby improving the timeliness of the signal data in the signal channel.
[0069] See also Figure 5 In one embodiment, step 420 may include:
[0070] 510. Acquire identifiers of multiple signal channels to obtain multiple signal channel identifiers;
[0071] 520. Allocate multiple signal channel identifiers to each signal group in the target signal group sequence in sequence according to a preset arrangement order to obtain a signal channel corresponding to each signal group.
[0072] In step 510, the signal channel identifiers corresponding to different transmission modes are also different. For example, if the signal channel is a CAN channel, the identifiers corresponding to each CAN channel may be CAN1, CAN2, CAN3, etc. If the signal channel is a LIN channel, the identifiers corresponding to each LIN channel may be LIN1, LIN2, LIN3, etc.
[0073] Among them, the LIN channel is the transmission channel in the Local Interconnect Network (LIN) bus. LIN is a low-cost serial communication network specially designed for automotive distributed electronic systems. It is a subsystem under the CAN bus network, mainly used to provide auxiliary functions, and is suitable for application scenarios that do not have high requirements on network bandwidth, performance or fault tolerance.
[0074] In step 520, multiple signal channel identifiers are assigned to each signal group in sequence. For example, there are three signal channel identifiers: CAN1, CAN2, and CAN3. The first round of allocation is performed first: the signal channel identifier CAN1 is assigned to the first signal group in the target signal group sequence, the signal channel identifier CAN2 is assigned to the second signal group in the target signal group sequence, and the signal channel identifier CAN3 is assigned to the third signal group in the target signal group sequence; then the second round of allocation is performed: the signal channel identifier CAN1 is assigned to the fourth signal group in the target signal group sequence, the signal channel identifier CAN2 is assigned to the fifth signal group in the target signal group sequence, and the signal channel identifier CAN3 is assigned to the sixth signal group in the target signal group sequence, and so on, to obtain the signal channel corresponding to each signal group.
[0075] The advantage of step 510 to step 520 is that it provides a way to correspond signal groups and signal channels, and the corresponding relationship can be adjusted as needed, making the configuration more flexible.
[0076] Above Figure 5 A method for corresponding signal groups and signal channels is provided. In another embodiment, step 420 may include:
[0077] Obtain the signal group identifier corresponding to each signal group in the target signal group sequence; each time select the signal group identifiers of a preset number of signal groups from the target signal group sequence and assign them to the signal channel at the head of the signal channel queue until the signal group identifiers of all signal groups in the target signal sequence are assigned, thereby obtaining the signal channel corresponding to each signal group.
[0078] For example, the signal channel queue includes signal channel 1, signal channel 2, and signal channel 3. If the target signal group sequence includes 15 sequentially arranged signal groups, the corresponding signal group identifiers are Group-1, Group-2, ..., Group-15. First, Group-1 to Group-5 are assigned to signal channel 1, then signal groups Group-6 to Group-10 are assigned to signal channel 2, and finally signal groups Group-11 to Group-15 are assigned to signal channel 3. This embodiment provides another way to correspond signal groups and signal channels, and the corresponding relationship can be adjusted as needed, and the configuration is more flexible.
[0079] In another embodiment, step 420 includes:
[0080] Obtain the signal group identifier corresponding to each signal group in the target signal group sequence; assign each signal group identifier to the signal channel at the head of the signal channel queue in sequence according to the order of each signal group in the target signal sequence, until the signal group identifiers of all signal groups in the target signal sequence are assigned, thereby obtaining the signal channel corresponding to each signal group.
[0081] For example, the signal channel sequence is signal channel 1, signal channel 2, and signal channel 3. If the target signal group sequence includes 15 sequentially arranged signal groups, the corresponding signal group identifiers are Group-1, Group-2, ..., Group-15. Then first arrange the signal group identifier Group-1 in signal channel 1, arrange the signal group identifier Group-2 in signal channel 2, arrange the signal group identifier Group-3 in signal channel 3, arrange the signal group identifier Group-4 in signal channel 1, arrange the signal group identifier Group-5 in signal channel 2, arrange the signal group identifier Group-6 in signal channel 3, and so on, until the signal group identifiers Group-1 to Group-15 are all allocated, and the signal channels corresponding to each signal group are obtained. This embodiment provides another way to correspond signal groups and signal channels, and the corresponding relationship can be adjusted as needed, and the configuration is more flexible.
[0082] See also Figure 6 In one embodiment, step 240 may include:
[0083] 610. Generate a plurality of data frames corresponding to each signal channel based on a channel signal group sequence corresponding to each signal channel;
[0084] 620. Send multiple data frames of each signal channel in rotation through a channel selector.
[0085] Step 610: Because there are many signal groups in the channel signal group sequence corresponding to each signal channel, and each signal group includes multiple signals, and the number of signals that can be sent in a data frame at one time is limited, it is necessary to split the channel signal group sequence corresponding to each signal channel into multiple continuous data frames.
[0086] In step 620, the channel selector sends the data frames in each signal channel in sequence according to the order of the signal channels. For example, the channel selector sends the data frames in signal channel 1 for the first time, and sends the data frames in signal channel 2 for the second time, and so on.
[0087] The advantage of step 610-step 620 is that the channel signal group sequence corresponding to each signal channel is split into multiple data frames, thus completing the decoupling of the signal channel and the signal. The receiving end cannot parse the signal only by relying on the DBC file, thus improving the security of the signal.
[0088] See also Figure 7 In one embodiment, step 610 may include:
[0089] 710. Obtain the data type of each signal in the channel signal group sequence corresponding to each signal channel;
[0090] 720. Determine the maximum number of transmittable signals corresponding to each data field based on the data type of each signal;
[0091] 730. Generate multiple data frames corresponding to each signal channel based on the maximum number of transmittable signals corresponding to each data field, wherein the number of signals included in each data frame is the same as the maximum number of transmittable signals.
[0092] In step 710, the data type of each signal to be sent may be determined in the channel signal group sequence corresponding to each signal channel.
[0093] In step 720, based on the data type of each signal, the number of signals that can be sent simultaneously, i.e., the maximum number of signals that can be sent, is determined. For example, if all signals are floating point signals, then the number of bits required is 8. One byte length can be used to send one signal, and then 8 signals can be carried in one data field. If all signals are Boolean signals, then the number of bits required is 1. One byte length can be used to send 8 signals, and then 64 signals can be carried in one data field.
[0094] In step 730, for each signal channel, different data frames are generated according to the data type of the signal. The number of signals carried in each data frame is different. The receiving end can determine the signal data based on the identification information in the data frame.
[0095] The advantage of step 710 to step 730 is that, based on the data type of the signal, a data frame containing different numbers of signals can be generated, which improves the flexibility of the number of signals in the data frame and improves the signal transmission efficiency.
[0096] Description of the apparatus and device of the present disclosure
[0097] It is to be understood that, although the steps in the above-mentioned flowcharts are sequentially displayed according to the characterization of arrows, these steps are not necessarily executed in sequence according to the order of arrow characterization. Unless there is a clear description in the present embodiment, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the above-mentioned flowcharts can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a portion of the steps or stages in other steps.
[0098] It should be noted that in each specific embodiment of the present disclosure, when it comes to relevant processing of signal data related to the characteristics of the target object, the permission or consent of the target object will be obtained first, and the collection, use and processing of these data will comply with relevant laws, regulations and standards. In addition, when the embodiment of the present application needs to obtain original vehicle data, the separate permission or separate consent of the target object will be obtained through a pop-up window or jump to a confirmation page. After clearly obtaining the separate permission or separate consent of the target object, the necessary original vehicle data for the normal operation of the embodiment of the present application is obtained.
[0099] Reference Figure 8 , Figure 8 The structure diagram of the vehicle data sending device 800 provided in the embodiment of the present disclosure includes:
[0100] An acquisition module 810 is used to acquire original vehicle data, where the original vehicle data includes multiple signals;
[0101] A grouping module 820, configured to group the plurality of signals to obtain a plurality of signal groups, each signal group including at least one signal, and the signals in different signal groups are different;
[0102] An arrangement module 830, used to arrange the plurality of signal groups onto a plurality of signal channels to obtain a plurality of channel signal group sequences;
[0103] The sending module 840 is used to send signals in a channel signal group sequence based on the signal channels corresponding to each channel signal group sequence among the multiple signal channels corresponding to the multiple channel signal groups of the channel selector.
[0104] In one embodiment, the grouping module 820 is specifically configured to:
[0105] Get the signal attribute and signal type of each signal among the multiple signals, where the signal attribute is used to indicate the purpose of the signal and the signal type is used to indicate the data type of the signal;
[0106] Classifying multiple signals based on the signal attribute of each signal to obtain multiple signal classes, each signal class corresponding to a signal attribute;
[0107] Each signal class is grouped according to the data type of each signal to obtain multiple signal groups, and each signal group corresponds to a signal attribute and a data type.
[0108] In one embodiment, the arrangement module 830 is specifically used for:
[0109] Sort the multiple signal groups according to the priority of each signal attribute to obtain a target signal group sequence;
[0110] Arrange the target signal group sequence on multiple signal channels in sequence according to a preset arrangement order, and determine the signal channel corresponding to each signal group;
[0111] Determine a channel signal group sequence corresponding to each signal channel based on the signal channel corresponding to each signal group and a preset arrangement order, and obtain a plurality of channel signal group sequences, wherein the channel signal group sequence includes a plurality of sequentially arranged signal groups;
[0112] The sending module 840 is specifically used for:
[0113] Based on the signal channels corresponding to each channel signal group sequence, the signals in the channel signal group sequence are sent in sequence according to a preset arrangement order.
[0114] In one embodiment, the arrangement module 830 is specifically used for:
[0115] Obtaining identifiers of multiple signal channels to obtain multiple signal channel identifiers;
[0116] Multiple signal channel identifiers are sequentially allocated to each signal group in the target signal group sequence according to a preset arrangement order to obtain a signal channel corresponding to each signal group.
[0117] In one embodiment, the sending module 840 is specifically used for:
[0118] Generate multiple data frames corresponding to each signal channel based on the channel signal group sequence corresponding to each signal channel;
[0119] Multiple data frames of each signal channel are sent in rotation through the channel selector.
[0120] In one embodiment, the sending module 840 is specifically used for:
[0121] Get the data type of each signal in the channel signal group sequence corresponding to each signal channel;
[0122] Determine the maximum number of signals that can be sent corresponding to each data field based on the data type of each signal;
[0123] A plurality of data frames corresponding to each signal channel are generated based on the maximum number of transmittable signals corresponding to each data domain, and the number of signals contained in each data frame is the same as the maximum number of transmittable signals.
[0124] See also Fig. 9 The present disclosure also provides a hardware structure of an electronic device, the electronic device comprising:
[0125] The processor 901 may be implemented by a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of the present disclosure;
[0126] The memory 902 can be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 902 can store an operating system and other application programs. When the technical solution provided in the embodiment of this specification is implemented by software or firmware, the relevant program code is stored in the memory 902, and the processor 901 calls and executes the vehicle data sending method of the embodiment of the present disclosure;
[0127] Input / output interface 903, used to implement information input and output;
[0128] Communication interface 904, used to realize communication interaction between the device and other devices, which can be realized by wired mode (such as USB, network cable, etc.) or wireless mode (such as mobile network, WIFI, Bluetooth, etc.);
[0129] A bus 905 that transmits information between the various components of the device (e.g., the processor 901, the memory 902, the input / output interface 903, and the communication interface 904);
[0130] The processor 901 , the memory 902 , the input / output interface 903 and the communication interface 904 are connected to each other in communication within the device via a bus 905 .
[0131] The embodiment of the present disclosure also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the above-mentioned vehicle data sending method is implemented.
[0132] The memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a memory remotely disposed relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0133] The disclosed embodiment also provides an electronic device, the electronic device includes a memory and a processor, the memory stores a computer program, and the processor implements the above-mentioned vehicle data sending method when executing the computer program. The electronic device can be any intelligent terminal including a tablet computer, a vehicle-mounted computer, etc.
[0134] In combination with the electronic device in the above embodiment, an embodiment of the present application further provides a vehicle, which includes the electronic device in the above embodiment.
[0135] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present disclosure, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present disclosure. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0136] In the description of the present disclosure, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present disclosure and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation of the present disclosure. In addition, the terms "first", "second", and "third" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance.
[0137] Finally, it should be noted that the above embodiments are only specific implementation methods of the present disclosure, which are used to illustrate the technical solutions of the present disclosure, rather than to limit them. The protection scope of the present disclosure is not limited thereto. Although the present disclosure is described in detail with reference to the above embodiments, those skilled in the art should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above embodiments within the technical scope disclosed in the present disclosure, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present disclosure, and should be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.
Claims
1. A vehicle data transmission method, characterized in that: The method comprises: Acquire original vehicle data, where the original vehicle data includes multiple signals; Grouping the multiple signals to obtain multiple signal groups, each of the signal groups includes at least one signal, and the signals in different signal groups are different; Arranging the plurality of signal groups onto a plurality of signal channels to obtain a plurality of channel signal group sequences; Among the plurality of signal channels corresponding to the plurality of channel signal groups, the channel selector transmits signals in the channel signal group sequence based on the signal channels corresponding to each of the channel signal group sequences.
2. The vehicle data transmission method according to claim 1, characterized in that: The step of grouping the multiple signals to obtain multiple signal groups includes: Acquire a signal attribute and a signal type of each signal among the multiple signals, wherein the signal attribute is used to indicate a purpose of the signal, and the signal type is used to indicate a data type of the signal; Classifying the plurality of signals based on a signal attribute of each signal to obtain a plurality of signal classes, each signal class corresponding to a signal attribute; Each signal class is grouped according to the data type of each signal to obtain a plurality of signal groups, each of the signal groups corresponds to a signal attribute and a data type.
3. The vehicle data transmission method according to claim 2, characterized in that: Arranging the plurality of signal groups onto a plurality of signal channels to obtain a plurality of channel signal group sequences comprises: Sorting the plurality of signal groups according to the priority of each signal attribute to obtain a target signal group sequence; Arrange the target signal group sequence on the multiple signal channels in sequence according to a preset arrangement order, and determine the signal channel corresponding to each signal group; Determine a channel signal group sequence corresponding to each signal channel based on the signal channel corresponding to each signal group and the preset arrangement order, and obtain a plurality of channel signal group sequences, wherein the channel signal group sequence includes a plurality of sequentially arranged signal groups; The sending of the signals in the channel signal group sequence based on the signal channels corresponding to each of the channel signal group sequences comprises: Based on the signal channels corresponding to each of the channel signal group sequences, the signals in the channel signal group sequence are sent in sequence according to the preset arrangement order.
4. The vehicle data transmission method according to claim 3, characterized in that: The step of sequentially arranging the target signal group sequence on the plurality of signal channels according to a preset arrangement order, and determining the signal channel corresponding to each signal group, comprises: Acquire identifiers of the multiple signal channels to obtain multiple signal channel identifiers; The multiple signal channel identifiers are sequentially allocated to each signal group in the target signal group sequence according to a preset arrangement order to obtain a signal channel corresponding to each signal group.
5. The vehicle data transmission method according to claim 1, characterized in that: The sending of the signals in the channel signal group sequence based on the signal channels corresponding to each of the channel signal group sequences comprises: Generate multiple data frames corresponding to each signal channel based on the channel signal group sequence corresponding to each signal channel; Multiple data frames of each signal channel are sent in rotation through the channel selector.
6. The vehicle data transmission method according to claim 5, characterized in that: The generating a plurality of data frames corresponding to each signal channel based on the channel signal group sequence corresponding to each signal channel comprises: Get the data type of each signal in the channel signal group sequence corresponding to each signal channel; Determine the maximum number of signals that can be sent corresponding to each data field based on the data type of each signal; A plurality of data frames corresponding to each signal channel are generated based on the maximum number of transmittable signals corresponding to each data field, and the number of signals contained in each data frame is the same as the maximum number of transmittable signals.
7. A vehicle data transmitting device, characterized in that: The vehicle data sending device comprises: An acquisition module, used for acquiring original vehicle data, wherein the original vehicle data includes a plurality of signals; A grouping module, configured to group the plurality of signals to obtain a plurality of signal groups, each of the signal groups including at least one of the signals, and signals in different signal groups are different; An arrangement module, used for arranging the plurality of signal groups onto a plurality of signal channels to obtain a plurality of channel signal group sequences; The sending module is used to send the signals in the channel signal group sequence based on the signal channels corresponding to each of the channel signal group sequences in the multiple signal channels of the channel selector corresponding to the multiple channel signal groups.
8. An electronic device, characterized in that: The method comprises a memory and a processor, wherein the memory stores a computer program, and the processor implements the vehicle data sending method according to any one of claims 1 to 6 when executing the computer program.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the vehicle data sending method according to any one of claims 1 to 6 is implemented.
10. A vehicle, characterized in that: Comprising the electronic device as claimed in claim 8.
