Sensor message channel identification method, device, electronic device and storage medium

The sensor message channel identification method addresses sensor wiring errors by determining unique and valid transmission channels, enhancing data management and maintenance efficiency across different vehicle models.

CN116208521BActive Publication Date: 2024-12-17WEICHAI POWER CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211579865.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-09
Publication Date
2024-12-17
Estimated Expiration
2042-12-09

AI Technical Summary

Technical Problem

The increasing number of sensors in automobile after-treatment assemblies leads to sensor wiring errors and difficulties in managing and maintaining CAN channel configurations, affecting data management efficiency and compatibility across different vehicle models.

Method used

A sensor message channel identification method that determines a unique and valid transmission channel by parsing message information, setting preset conditions, and storing target data, which adapts to various vehicle models, reducing wiring errors and improving maintenance efficiency.

Benefits of technology

This method enables accurate and universal sensor data management and maintenance by ensuring each sensor has a unique transmission channel, reducing errors and simplifying data management across all vehicle models.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116208521B_ABST
    Figure CN116208521B_ABST
Patent Text Reader

Abstract

The present application provides a sensor message channel identification method, device, electronic device and storage medium, which relates to the field of data transmission. The method includes: obtaining message information on a transmission channel; determining that the transmission channel is a target channel when the message information meets a preset condition, wherein the preset condition includes that the message information has a unique transmission channel and the message information is valid; using the target channel and the sensor information corresponding to the message information as target data, and storing the target data. The present application can improve the management and maintenance efficiency of vehicle post-processing sensor data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data transmission, and in particular to a sensor message channel identification method, device, electronic equipment and storage medium. Background Art

[0002] With the upgrade of national road vehicle emission stages, the functions of automobile after-treatment assemblies used to process engine exhaust are increasing, and the corresponding number of sensors of the after-treatment assemblies is large. The sensors are used to collect exhaust gas. The automobile after-treatment assembly processes the exhaust gas so that the exhaust gas discharged by the engine is non-toxic and harmless and meets national standards.

[0003] At present, the sensors of the automobile post-processing assembly are connected to the engine ECU through the corresponding CAN channels, and the temperature, concentration value and other parameters in each component are sent to the ECU. However, as the number of sensors increases, the number of channels also increases, which may cause sensor wiring errors, making the ECU unable to receive or receiving incorrect sensor messages. It will also cause the engine factory to have trouble managing the data of each sensor CAN channel configuration, difficulty in later vehicle maintenance, and the inability to be compatible with multiple models. These problems directly affect the efficiency of vehicle post-processing sensor data management and maintenance. Summary of the invention

[0004] In view of this, the purpose of the present application is to propose a sensor message channel identification method, device, electronic device and storage medium, which can specifically solve the problem of low efficiency in data management and maintenance of existing vehicle post-processing sensors.

[0005] Based on the above-mentioned purpose, in the first aspect, the present application proposes a sensor message channel identification method, the method comprising: obtaining message information on a transmission channel; when the message information meets preset conditions, determining that the transmission channel is a target channel, wherein the preset conditions include that the message information has a unique transmission channel and the message information is valid; taking the target channel and the sensor information corresponding to the message information as target data, and storing the target data.

[0006] Optionally, the message information includes request messages and periodic messages, and obtaining the message information on the transmission channel includes: after sending a message request to the sensor through the transmission channel, receiving the request message sent by the sensor; and receiving the periodic message sent by the sensor.

[0007] Optionally, after obtaining the message information on the transmission channel, the method further includes: obtaining pre-stored sensor data, the sensor data including a one-to-one correspondence between sensor information, message information and transmission channel; and executing the step of determining the target channel when the message information on the transmission channel is inconsistent with the message information in the sensor data.

[0008] Optionally, when the message information satisfies a preset condition, determining the transmission channel as the target channel includes: detecting whether there is a preset sensor message in the message information, and if so, detecting the transmission channel information where the message information is located; when the transmission channel information indicates that the message information is transmitted through a unique transmission channel, determining the transmission channel as the target channel; when the transmission channel information indicates that the message information is transmitted through multiple transmission channels, detecting the validity of the message information, and taking the transmission channel where the valid message information is located as the target channel.

[0009] Optionally, detecting the validity of the message information includes: parsing the message information to obtain sensor parameters; and determining that the message information is valid when the sensor parameters are within a first preset range and a difference between the sensor parameters and a comparison parameter is within a second preset range.

[0010] Optionally, taking the transmission channel where the valid message information is located as the target channel includes: when there is only one transmission channel for the valid message information, taking the transmission channel where the valid message information is located as the target channel; when there are multiple transmission channels for the valid message information, taking any transmission channel where the valid message information is located as the target channel.

[0011] Optionally, the method further includes: issuing an alarm message when a sensor message channel identification fails; wherein the sensor message channel identification fails include that the message information does not contain a preset sensor message; or, the message information is invalid; or, valid message information exists on multiple transmission channels.

[0012] In the second aspect, a sensor message channel identification device is also provided, including: an information acquisition module, used to acquire message information on a transmission channel; a target channel determination module, used to determine that the transmission channel is a target channel when the message information meets preset conditions, wherein the preset conditions include that the message information has a unique transmission channel and the message information is valid; a storage module, used to take the target channel and the sensor information corresponding to the message information as target data, and store the target data.

[0013] In a third aspect, an electronic device is also provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the method described in the first aspect.

[0014] According to a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored, and the program is executed by a processor to implement any method described in the first aspect.

[0015] In general, this application has at least the following beneficial effects:

[0016] The present embodiment provides a sensor message channel identification method, which obtains message information on a transmission channel and determines whether the message information meets preset conditions. The preset conditions include that the message information has a unique transmission channel and the message information is valid. When the message information meets the preset conditions, the transmission channel is determined to be a target channel, and then the target channel and sensor information corresponding to the message information are stored as target data. This can achieve adaptive identification of the sensor and its message information transmission channel, making it universal for all vehicle models. ECU manufacturers no longer need to generate multiple data for different post-processing sensors. A set of sensor channel address message data maintenance data can be merged for all vehicles, greatly reducing the trouble in data management and improving the management and maintenance efficiency of vehicle post-processing sensor data. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In the accompanying drawings, unless otherwise specified, the same reference numerals throughout the multiple drawings represent the same or similar parts or elements. These drawings are not necessarily drawn to scale. It should be understood that these drawings only depict some embodiments disclosed in the present application and should not be regarded as limiting the scope of the present application.

[0018] Figure 1 A flow chart showing the steps of a sensor message channel identification method of the present application is shown;

[0019] Figure 2 A flowchart showing the steps of determining a target channel according to an embodiment of the present application is shown;

[0020] Figure 3 A schematic diagram showing the structure of a sensor message channel identification device according to an embodiment of the present application is shown;

[0021] Figure 4 A schematic diagram showing the structure of an electronic device provided in an embodiment of the present application is shown;

[0022] Figure 5 A schematic diagram showing a storage medium provided in an embodiment of the present application. DETAILED DESCRIPTION

[0023] The present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the relevant invention, rather than to limit the invention. It is also necessary to explain that, for ease of description, only the parts related to the relevant invention are shown in the accompanying drawings.

[0024] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0025] The execution subject of the sensor message channel identification method of the present application can be an engine control unit (Electronic Control Unit, ECU). A plurality of sensors are installed on the vehicle, and the sensors are used to monitor the temperature, concentration value and other parameters in each component of the vehicle's post-processing assembly. These parameters are then sent to the bus (Controller Area Network, CAN) through messages. The ECU reads the data on the bus, processes different messages according to the message address, and updates the value to the program to monitor the composition of the vehicle's exhaust gas.

[0026] Figure 1 A flow chart showing the steps of a sensor message channel identification method of the present application is shown. Figure 1 , a sensor message channel identification method includes the following steps S101 to S103:

[0027] S101. Obtain message information on a transmission channel.

[0028] In this embodiment, the ECU includes multiple message hardware channels, for example, CAN1, CAN2, and CAN3. Each sensor can be connected to a certain message hardware channel to send the collected sensor parameters to the ECU. The sensor parameters are sent in the form of messages. Each message has a sensor address corresponding to the sensor, that is, the message information includes the sensor address and the sensor parameters.

[0029] Among them, the ways in which the sensor sends message information include request type and periodic sending type. The request type means that the sensor does not actively send message information, and the sensor sends the message after the ECU sends a request. The periodic sending type means that the sensor actively sends messages continuously at a certain period. Therefore, the message information includes request type messages and periodic messages.

[0030] In this embodiment, obtaining the message information on the transmission channel includes: after sending a message request to the sensor through the transmission channel, receiving the request message sent by the sensor; and receiving the periodic message sent by the sensor. That is, there are two ways for the ECU to obtain the message information on the transmission channel. One is to actively send a message request to the sensor, and after the sensor responds to the message request, it sends the message information, and the ECU then obtains the message information. The other is that the ECU passively receives the periodic message sent by the sensor. In the above way, the ECU can monitor the message information sent by the sensors on all transmission channels.

[0031] After acquiring the message information on the transmission channel, this embodiment also includes: acquiring pre-stored sensor data, the sensor data including a one-to-one correspondence between sensor information, message information and transmission channel; when the message information on the transmission channel is inconsistent with the message information in the sensor data, executing the step of determining the target channel.

[0032] It is understandable that during the first use or update of the vehicle, the ECU needs to be adapted to the vehicle for the first time, that is, initialized. The purpose of initialization is to determine the corresponding relationship between the vehicle post-processing sensor and its corresponding message transmission channel and store it in the ECU. The ECU can pre-select and store sensor data, that is, the relationship between the vehicle's sensor and its corresponding transmission channel is pre-stored in the ECU. When the vehicle is initialized, the message information on the transmission channel obtained by the ECU can be directly compared with the pre-stored sensor data to see if they are consistent. If they are consistent, the message information is directly parsed. If they are inconsistent, it means that some sensor data of the current vehicle does not exist in the ECU, and step S102 is executed to store all sensor data of the current vehicle and the corresponding transmission channel of the sensor message in the ECU.

[0033] In this embodiment, if the message information on the transmission channel is consistent with the message information in the sensor data, the pre-stored sensor data can meet the common data of most vehicles, thereby speeding up the speed of sensor message channel recognition and reducing the initialization time. If the message information on the transmission channel is inconsistent with the message information in the sensor data, adaptive recognition of the sensor and the transmission channel is performed, that is, step S102 is executed, which can adapt to the post-processing sensors of different vehicles and make them universal for all models.

[0034] S102: When the message information meets a preset condition, determine the transmission channel as a target channel.

[0035] It is understandable that when the number of sensors and buses is too large, wiring errors are likely to occur, such as connecting a sensor to multiple buses, or connecting the buses of multiple sensors to each other incorrectly. In this case, sensor data errors will occur. In this regard, the present embodiment identifies the message information by setting preset conditions. The preset conditions include that the message information has a unique transmission channel and the message information is valid, thereby ensuring that each sensor has a unique transmission channel and that the message information received from the transmission channel is valid. When the vehicle first collects parameters, the transmission channel corresponding to each sensor can be identified, and the correspondence between the sensor and the transmission channel can be determined. When the parameters are collected next time, the sensor parameters can be automatically obtained from the transmission channel corresponding to the sensor, thereby greatly improving the accuracy and completeness of sensor parameter collection.

[0036] in, Figure 2 A flowchart of the steps of determining the target channel according to an embodiment of the present application is shown. When the message information meets the preset conditions, the transmission channel is determined to be the target channel. Figure 2 , determining the target channel includes the following steps S201 to S203:

[0037] S201. Detect whether there is a preset sensor message in the message information. If yes, detect the transmission channel information where the message information is located.

[0038] In this embodiment, the preset sensor message is the message information in the above-mentioned pre-stored sensor data, which can be the address information or sensor type corresponding to the various sensors set by the management personnel according to the information of the current vehicle. For example, the preset sensor message in the ECU includes the address and temperature parameters of the temperature sensor A, the address and temperature parameters of the temperature sensor B, the address and concentration parameters of the concentration sensor C, and the address and concentration parameters of the concentration sensor D. The message information obtained by the ECU through the transmission channel includes the address and temperature parameters of the temperature sensor A, the address and concentration parameters of the concentration sensor C, and the address and concentration parameters of the concentration sensor D. Then, the message information corresponding to the temperature sensor A, the concentration sensor C, and the concentration sensor D are all consistent with the preset sensor message. At this time, the transmission channel information where the message information corresponding to the temperature sensor A, the concentration sensor C, and the concentration sensor D is located, and the detected message information does not include the message information of the temperature sensor B. At this time, the transmission channel information where the message information corresponding to the temperature sensor A, the concentration sensor C, and the concentration sensor D is located is detected, and an alarm message that the message information of the temperature sensor B does not exist is issued.

[0039] S202: When the transmission channel information indicates that the message information is transmitted through a unique transmission channel, determine the transmission channel as a target channel.

[0040] In this embodiment, the transmission channel information where the message information is located includes bus information of the transmission channel where the message information is located and the number of the transmission channels where the message information is located. The message information may be transmitted to the ECU through one transmission channel or through multiple transmission channels. When the message information is transmitted to the ECU through one transmission channel, the transmission channel information indicates that the message information is transmitted through a unique transmission channel. Combined with step S201, it can be seen that at this time, the message information is consistent with the preset sensor message and is transmitted through a unique transmission channel, indicating that this transmission channel is the correct transmission channel for the corresponding sensor, and the transmission channel is determined to be the target channel.

[0041] When the message information is transmitted to the ECU through multiple transmission channels, the validity of the message information needs to be verified, that is, step S203 is executed.

[0042] S203: When the transmission channel information indicates that the message information is transmitted through multiple transmission channels, detect the validity of the message information, and use the transmission channel where the valid message information is located as the target channel.

[0043] Specifically, detecting the validity of the message information includes: parsing the message information to obtain sensor parameters; and determining that the message information is valid when the sensor parameters are within a first preset range and the difference between the sensor parameters and the comparison parameters is within a second preset range.

[0044] The first preset range of this embodiment can be set according to the type of sensor. For example, the first preset range corresponding to the temperature parameter of the temperature sensor is -40°C to 40°C, and the first preset range corresponding to the concentration parameter of the concentration sensor is 32% to 33%.

[0045] In this embodiment, the comparison parameter may be a sensor parameter of the same type at other locations of the vehicle. For example, the message information includes the temperature parameter of the urea tank temperature sensor on the post-processing assembly of the vehicle, and the comparison parameter is other comparison temperature values ​​such as the ambient temperature of the engine on the vehicle or the engine water temperature. The comparison parameter may also be a standard value set according to the vehicle performance.

[0046] When the sensor parameter is within the first preset range, and the difference between the sensor parameter and the comparison parameter is within the second preset range, the message information is determined to be valid. For example, the message information includes the temperature parameter of the urea tank temperature sensor on the post-processing assembly of the vehicle, the message information is transmitted via the CAN5 bus, the temperature parameter is within the first preset range, the comparison parameter is the standard value, and the difference between the temperature parameter and the standard value is within the second preset range, then the message information of the urea tank temperature sensor is valid, and the CAN5 bus transmission channel where the message information of the urea tank temperature sensor is located is used as the target channel.

[0047] In this embodiment, taking the transmission channel where the valid message information is located as the target channel includes: when there is only one transmission channel for the valid message information, taking the transmission channel where the valid message information is located as the target channel; when there are multiple transmission channels for the valid message information, taking any transmission channel where the valid message information is located as the target channel.

[0048] For example, the ECU collects message information S on transmission channels CAN1, CAN2, and CAN3. In order to determine the only transmission channel for the message information S, the validity of the message information S on CAN1, CAN2, and CAN3 is verified respectively. Through the above validity verification method, it is found that only the message information S on CAN2 is valid, and CAN2 is set as the target transmission channel for the message information S.

[0049] If it is obtained through the above validity verification method that the message information S on CAN1 and CAN2 are both valid, then any transmission channel of CAN1 and CAN2 can be selected as the target transmission channel of the message information S.

[0050] It should be noted that, in order to make one sensor correspond to one transmission channel, in the above example, if the message information S on CAN1 and CAN2 are both valid, then after selecting CAN1 as the target transmission channel for the message information S, the message information S on CAN1 and CAN2 is continuously obtained. When the parameters contained in the message information S of CAN1 differ greatly from the parameters contained in the message information S on CAN2, the validity of the message information S on CAN1 and CAN2 is re-verified until the unique transmission channel for the message information S is obtained and used as the target channel for the message information S.

[0051] S103: Take the target channel and the sensor information corresponding to the message information as target data, and store the target data.

[0052] For example, the target channel of the message information S is CAN2, and the sensor corresponding to the message information S is the urea tank temperature sensor. Then, CAN2 is bound to the address of the urea tank temperature sensor and stored in the ECU as permanent data. During driving, the vehicle can automatically receive the sensor parameters according to the transmission channel corresponding to the sensor.

[0053] The method of this embodiment also includes: issuing an alarm message when a sensor message channel identification fails; wherein the sensor message channel identification fails include that the message information does not exist in the preset sensor message; or, the message information is invalid; or, valid message information exists on multiple transmission channels.

[0054] For example, if the ECU detects that the preset sensor messages do not exist in the messages on all sensor channels, it will issue a message timeout fault alarm. For example, if the sensor parameters obtained by parsing the message information are not within the first preset range, it will issue a data unreliable alarm. For another example, if the ECU collects message information S on the transmission channels CAN1, CAN2, and CAN3, it will issue a channel error alarm. It should be noted that if the ECU reports a fault, it will periodically re-monitor the message, and delete the alarm information when the fault is repaired.

[0055] The above is a sensor message channel identification method provided by this embodiment. By acquiring the message information on the transmission channel, it is determined whether the message information meets the preset conditions. The preset conditions include that the message information has a unique transmission channel and the message information is valid. When the message information meets the preset conditions, the transmission channel is determined to be the target channel, and then the target channel and the sensor information corresponding to the message information are stored as target data. This can realize adaptive identification of the sensor and its message information transmission channel, making it universal for all vehicle models and avoiding problems caused by sensor wiring errors. Moreover, since this embodiment can adaptively identify the transmission channel, ECU manufacturers no longer need to generate multiple data for different post-processing sensors. A set of maintenance data of sensor channel address message data can merge all vehicles, greatly reducing the trouble in data management and improving the management and maintenance efficiency of vehicle post-processing sensor data.

[0056] This embodiment further provides a sensor message channel identification device, which is used to execute the sensor message channel identification method described in the above embodiment. Figure 3 A schematic diagram of the structure of a sensor message channel identification device according to an embodiment of the present application is shown as follows: Figure 3 As shown, the sensor message channel identification device 300 includes:

[0057] The information acquisition module 301 is used to acquire the message information on the transmission channel;

[0058] A target channel determination module 302, configured to determine the transmission channel as a target channel when the message information satisfies a preset condition, wherein the preset condition includes that the message information has a unique transmission channel and the message information is valid;

[0059] The storage module 303 is used to take the target channel and the sensor information corresponding to the message information as target data and store the target data.

[0060] In a feasible example, the message information includes request messages and periodic messages, and the information acquisition module 301 is further used to receive request messages sent by the sensor after sending a message request to the sensor through the transmission channel; and receive periodic messages sent by the sensor.

[0061] In a feasible example, the target channel determination module 302 is also used to obtain pre-stored sensor data after obtaining the message information on the transmission channel, and the sensor data includes a one-to-one correspondence between sensor information, message information and transmission channel; when the message information on the transmission channel is inconsistent with the message information in the sensor data, the step of determining the target channel is executed.

[0062] In a feasible example, the target channel determination module 302 is also used to detect whether there is a preset sensor message in the message information. If so, detect the transmission channel information where the message information is located; when the transmission channel information indicates that the message information is transmitted through a unique transmission channel, determine that the transmission channel is the target channel; when the transmission channel information indicates that the message information is transmitted through multiple transmission channels, detect the validity of the message information and use the transmission channel where the valid message information is located as the target channel.

[0063] In a feasible example, the target channel determination module 302 is also used to parse the message information to obtain sensor parameters; when the sensor parameters are within a first preset range and the difference between the sensor parameters and the comparison parameters is within a second preset range, the message information is determined to be valid.

[0064] In a feasible example, the target channel determination module is also used to, when there is only one transmission channel for the valid message information, use the transmission channel where the valid message information is located as the target channel; when there are multiple transmission channels for the valid message information, use any transmission channel where the valid message information is located as the target channel.

[0065] In a feasible example, the target channel determination module 302 is also used to issue an alarm message when a sensor message channel identification fails; wherein the sensor message channel identification failure includes that the message information does not exist in the preset sensor message; or, the message information is invalid; or, valid message information exists on multiple transmission channels.

[0066] The sensor message channel identification device provided in the above-mentioned embodiment of the present application and the sensor message channel identification method provided in the embodiment of the present application are based on the same inventive concept and have the same beneficial effects as the methods adopted, run or implemented by the application programs stored therein.

[0067] The embodiment of the present application further provides an electronic device corresponding to the sensor message channel identification method provided in the above embodiment, so as to execute the above sensor message channel identification method. The embodiment of the present application is not limited.

[0068] Please refer to Figure 4 , which shows a schematic diagram of an electronic device provided by some embodiments of the present application. Figure 4 As shown, the electronic device 20 includes: a processor 200, a memory 201, a bus 202 and a communication interface 203, and the processor 200, the communication interface 203 and the memory 201 are connected via the bus 202; the memory 201 stores a computer program that can be run on the processor 200, and the processor 200 executes the method provided in any of the aforementioned embodiments of the present application when running the computer program.

[0069] The memory 201 may include a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk memory. The communication connection between the system network element and at least one other network element is realized through at least one communication interface 203 (which may be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. may be used.

[0070] The bus 202 may be an ISA bus, a PCI bus, or an EISA bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. The memory 201 is used to store a program, and the processor 200 executes the program after receiving an execution instruction. The sensor message channel identification method disclosed in any implementation of the embodiment of the present application may be applied to the processor 200, or implemented by the processor 200.

[0071] The processor 200 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 200. The above processor 200 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a readily available programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiments of the present application can be directly embodied as a hardware decoding processor to be executed, or the hardware and software modules in the decoding processor can be executed. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 201, and the processor 200 reads the information in the memory 201 and completes the steps of the above method in combination with its hardware.

[0072] The electronic device provided in the embodiment of the present application and the sensor message channel identification method provided in the embodiment of the present application are based on the same inventive concept and have the same beneficial effects as the methods adopted, operated or implemented therein.

[0073] The present application also provides a computer-readable storage medium corresponding to the sensor message channel identification method provided in the above embodiment. Figure 5 The computer-readable storage medium shown is a CD 30 on which a computer program (ie, a program product) is stored. When the computer program is run by a processor, the sensor message channel identification method provided in any of the aforementioned embodiments will be executed.

[0074] It should be noted that examples of the computer-readable storage medium may also include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other optical or magnetic storage media, which are not listed here one by one.

[0075] The computer-readable storage medium provided in the above-mentioned embodiment of the present application and the sensor message channel identification method provided in the embodiment of the present application are based on the same inventive concept and have the same beneficial effects as the method adopted, run or implemented by the application program stored therein.

[0076] It should be noted that:

[0077] The algorithms and displays provided herein are not inherently related to any particular computer, virtual system or other device. Various general purpose systems may also be used together with the teachings based thereon. It is apparent from the above description that the structure required for constructing such systems is not intended for any particular programming language. In addition, the present application is not intended for any particular programming language either. It should be understood that the content of the present application described herein may be implemented using various programming languages, and the description of the particular language above is intended to disclose the best mode of implementation of the present application.

[0078] In the description provided herein, a large number of specific details are described. However, it is understood that the embodiments of the present application can be practiced without these specific details. In some instances, well-known methods, structures and techniques are not shown in detail so as not to obscure the understanding of this description.

[0079] Similarly, it should be understood that in order to streamline the present application and help understand one or more of the various inventive aspects, in the above description of the exemplary embodiments of the present application, the various features of the present application are sometimes grouped together into a single embodiment, figure, or description thereof. However, the disclosed method should not be interpreted as reflecting the following intention: the claimed application requires more features than the features clearly stated in each claim. More specifically, as reflected in the claims below, the inventive aspects are less than all the features of the single embodiment disclosed above. Therefore, the claims following the specific embodiment are hereby expressly incorporated into the specific embodiment, wherein each claim itself serves as a separate embodiment of the present application.

[0080] Those skilled in the art will appreciate that the modules in the devices in the embodiments may be adaptively changed and arranged in one or more devices different from the embodiments. The modules or units or components in the embodiments may be combined into one module or unit or component, and in addition they may be divided into a plurality of submodules or subunits or subcomponents. Except that at least some of such features and / or processes or units are mutually exclusive, all features disclosed in this specification (including the accompanying claims, abstracts and drawings) and all processes or units of any method or device disclosed in this manner may be combined in any combination. Unless otherwise expressly stated, each feature disclosed in this specification (including the accompanying claims, abstracts and drawings) may be replaced by an alternative feature providing the same, equivalent or similar purpose.

[0081] In addition, those skilled in the art will appreciate that, although some embodiments described herein include certain features included in other embodiments but not other features, the combination of features of different embodiments is meant to be within the scope of the present application and form different embodiments. For example, in the claims below, any one of the claimed embodiments may be used in any combination.

[0082] The various component embodiments of the present application can be implemented in hardware, or implemented in software modules running on one or more processors, or implemented in a combination thereof. It should be understood by those skilled in the art that a microprocessor or digital signal processor (DSP) can be used in practice to implement some or all functions of some or all components in the creation system of the virtual machine according to the embodiment of the present application. The application can also be implemented as a device or system program (for example, a computer program and a computer program product) for performing a part or all of the methods described herein. Such a program implementing the present application can be stored on a computer-readable medium, or can have the form of one or more signals. Such a signal can be downloaded from an Internet website, or provided on a carrier signal, or provided in any other form.

[0083] It should be noted that the above embodiments illustrate the present application rather than limit the present application, and that those skilled in the art may design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference symbol between brackets should not be constructed as a limitation to the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "one" or "an" preceding an element does not exclude the presence of multiple such elements. The present application may be implemented by means of hardware including several different elements and by means of appropriately programmed computers. In a unit claim that lists several systems, several of these systems may be embodied by the same hardware item. The use of the words first, second, and third, etc. does not indicate any order. These words may be interpreted as names.

[0084] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of various changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A sensor message channel identification method, characterized in that: The method comprises: Get the message information on the transmission channel; In the case where the message information meets a preset condition, determining the transmission channel as a target channel; Taking the target channel and the sensor information corresponding to the message information as target data, and storing the target data; Wherein, when the message information satisfies a preset condition, determining the transmission channel as the target channel includes: detecting whether there is a preset sensor message in the message information, and if so, detecting the transmission channel information where the message information is located; the preset sensor message is the message information in the pre-stored sensor data; when the transmission channel information indicates that the message information is transmitted through a unique transmission channel, determining the transmission channel as the target channel; when the transmission channel information indicates that the message information is transmitted through multiple transmission channels, detecting the validity of the message information, and taking the transmission channel where the valid message information is located as the target channel.

2. The sensor message channel identification method according to claim 1, characterized in that: The message information includes request messages and periodic messages, and the acquiring of message information on the transmission channel includes: After sending a message request to the sensor through the transmission channel, receiving a request message sent by the sensor; and Receive periodic messages sent by sensors.

3. The sensor message channel identification method according to claim 1, characterized in that: After acquiring the message information on the transmission channel, the method further includes: Acquire pre-stored sensor data, wherein the sensor data includes a one-to-one correspondence between sensor information, message information, and a transmission channel; In the case where the message information on the transmission channel is inconsistent with the message information in the sensor data, the step of determining the target channel is performed.

4. The sensor message channel identification method according to claim 1, characterized in that: The detecting the validity of the message information includes: Parsing the message information to obtain sensor parameters; When the sensor parameter is within a first preset range and the difference between the sensor parameter and the comparison parameter is within a second preset range, it is determined that the message information is valid.

5. The sensor message channel identification method according to claim 1, characterized in that: The transmission channel where the valid message information is located is used as the target channel, including: In the case that the valid message information has only one transmission channel, the transmission channel where the valid message information is located is used as the target channel; In the case that the valid message information has multiple transmission channels, any transmission channel where the valid message information is located is used as the target channel.

6. The sensor message channel identification method according to claim 1, characterized in that: The method further comprises: issuing an alarm message in case of a failure in the sensor message channel identification; The sensor message channel identification failure situation includes that the message information does not contain the preset sensor message; or the message information is invalid.

7. A sensor message channel identification device, characterized in that: include: An information acquisition module is used to obtain message information on the transmission channel; A target channel determination module, configured to determine the transmission channel as a target channel when the message information meets a preset condition; Detect whether the message information contains a preset sensor message, and if so, detect the transmission channel information where the message information is located; The preset sensor message is message information in pre-stored sensor data; In a case where the transmission channel information indicates that the message information is transmitted through a unique transmission channel, determining the transmission channel as a target channel; In the case where the transmission channel information indicates that the message information is transmitted through multiple transmission channels, detecting the validity of the message information, and taking the transmission channel where the valid message information is located as the target channel; The storage module is used to take the target channel and the sensor information corresponding to the message information as target data and store the target data.

8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: The processor runs the computer program to implement the method according to any one of claims 1 to 6.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: The program is executed by a processor to implement the method according to any one of claims 1 to 6.