Can signal reserved field processing method and apparatus, electronic device, and storage medium

By generating a list of CAN signal reserved fields and using cloud service modules to share information, the complexity and diversity of CAN signal reserved fields are solved, and flexible display strategies and the effect of reducing development costs are achieved.

WO2025145633A1PCT designated stage expired Publication Date: 2025-07-10CHINA FAW CO LTD +1
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/115105
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-01-05
Filing Date
2024-08-28
Publication Date
2025-07-10

AI Technical Summary

Technical Problem

In the prior art, the reserved fields of CAN signals are complex and lack flexibility, resulting in high development costs and difficult to adapt to the functional specification requirements of different vehicle models.

Method used

By generating and maintaining a list of reserved fields in CAN signal, setting display policies based on reserved fields in vehicle functions and status, and using cloud service modules to share information, the unified processing of reserved fields and dynamic update of display policies are realized.

Benefits of technology

It effectively solves the display confusion caused by overlapping reserved fields, reduces programming difficulties, ensures that users can timely understand the vehicle's functional status, and reduces development costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024115105_10072025_PF_FP_ABST
    Figure CN2024115105_10072025_PF_FP_ABST
Patent Text Reader

Abstract

A CAN signal reserved field processing method and apparatus, an electronic device, a storage medium, and a vehicle. The method comprises: registering a reserved field in a list on the basis of a vehicle function and state currently integrated on a bus; acquiring CAN signal information corresponding to the vehicle function and state, wherein the CAN signal information of the vehicle function and state comprises a reserved field corresponding to a preset vehicle function and state; on the basis of the reserved field of the preset vehicle function and state, correspondingly setting a display strategy for the vehicle function and state; identifying a reserved field of the vehicle function and state corresponding to the CAN signal information; on the basis of the identified reserved field, executing the display strategy corresponding to the vehicle function and state; and sharing reserved field information by means of a cloud service. By means of the described solution, when a signal is displayed in gray because the reserved field information is contained, it is convenient to search for a corresponding specific device or function, thereby avoiding display chaos caused by overlapping of reserved fields, and the compatibility problem caused by an unclear reserved field is solved.
Need to check novelty before this filing date? Find Prior Art

Description

CAN signal reserved field processing method, device, electronic device and storage medium Technical Field

[0001] The present application relates to the field of reserved word processing, and in particular to a CAN signal reserved field processing method, a CAN signal reserved field processing device, an electronic device, a storage medium and a vehicle. Background Art

[0002] Smart cars are developing rapidly, and more and more functions are being integrated into the central control system via the CAN bus. Software on the system, such as vehicle settings, driving settings, air conditioning, charging, and panoramic imaging, inevitably needs to receive signal instructions from the controller and generate corresponding interface displays. For software developers, handling controller anomalies is equally important and even more complex. These anomalies include path interruptions, no controller feedback, and reporting abnormal values. The most difficult to handle is when the signal reports a reserved field. This is primarily due to two reasons:

[0003] Different signals have different value ranges, and their corresponding Reserved fields are also different. For example, in a certain car model, the power mode signal (PowerMode) ranges from 0 to 15, with 1-3 and 5-14 being the Reserved fields; the atmosphere light brightness signal (AtmosphereLightBrightnessSt) also ranges from 0 to 15, with 8-15 being the Reserved field.

[0004] Most functional specifications require that the interface gray out after receiving the Reserved field, but the functional specifications of some models require that the Reserved field of some signals be treated as OFF.

[0005] The diversity of the aforementioned signals and requirements complicates exception handling for the Reserved field. Specific graying out is required for specific signals based on requirements, which significantly increases development workload and lacks flexibility, leading to increased development costs.

[0006] Therefore, a CAN signal reserved field processing solution is needed to effectively solve the development difficulties caused by the above-mentioned signal overlap, confusion and diversity of requirements.

[0007] Summary of the Invention

[0008] The object of the present invention is to provide a CAN signal reserved field processing method, a CAN signal reserved field processing device, an electronic device, a storage medium and a vehicle, so as to solve at least one of the above-mentioned technical problems.

[0009] The present invention provides the following solutions:

[0010] According to one aspect of the present invention, a method for processing a reserved field of a CAN signal is provided, the method comprising:

[0011] Obtain CAN signal information corresponding to vehicle functions and status;

[0012] The CAN signal information of the vehicle function and status includes reserved fields corresponding to preset vehicle functions and status;

[0013] According to the reserved fields of preset vehicle functions and status, the display strategy of vehicle functions and status is set accordingly;

[0014] Among them, the reserved field for identifying the vehicle function and status corresponding to the CAN signal information;

[0015] Based on the identification of the reserved fields, a display strategy corresponding to the vehicle function and status is executed.

[0016] Furthermore, executing a display strategy corresponding to the vehicle function according to the identified vehicle function and status of the CAN signal information includes:

[0017] Generate a list based on the reserved fields corresponding to the preset vehicle functions and status;

[0018] Add an item showing the policy to the list;

[0019] The items of the display strategy correspond to items of preset vehicle functions, states and reserved fields;

[0020] Retrieving items from the list based on obtaining CAN signal information corresponding to vehicle functions and status;

[0021] If the search result is an item corresponding to the preset vehicle function, status and reserved field, the corresponding display strategy is executed.

[0022] Furthermore, based on the reserved fields corresponding to the preset vehicle functions and states, a list is generated including:

[0023] Get vehicle model information;

[0024] Corresponding to the vehicle model, obtaining CAN signal information corresponding to the vehicle function and status;

[0025] Add items for vehicle models based on the list generated by the reserved fields corresponding to the preset vehicle functions and status;

[0026] Retrieving items from the list based on obtaining CAN signal information corresponding to vehicle functions and status;

[0027] If the search result is an item corresponding to a preset vehicle function or status, then searching for an item in the reserved field in the list according to the vehicle type;

[0028] If the search result is an item of a reserved field corresponding to the vehicle model, the vehicle model executes a display strategy corresponding to the reserved field.

[0029] Furthermore, the display strategy includes:

[0030] Obtain the reserved field according to the items retrieved from the list, and display the vehicle function interface of the corresponding vehicle model in gray;

[0031] According to the gray display of the vehicle function interface of the corresponding vehicle model, the information of the corresponding vehicle function and status is uploaded synchronously.

[0032] According to two aspects of the present invention, there is provided a CAN abnormality information system, the CAN abnormality information system comprising: a controller module and a vehicle-mounted function module;

[0033] The vehicle-mounted function module is used to control the functions of the vehicle;

[0034] The controller module is used to connect the vehicle computer and the vehicle-mounted functional module;

[0035] The vehicle computer monitors the working status of the controller module and the vehicle-mounted functional module;

[0036] The vehicle-mounted functional module or the controller module sends a reserved field according to an abnormal working state;

[0037] The vehicle computer monitors the working status of the controller module and the vehicle-mounted functional module, including monitoring whether a reserved field is received;

[0038] If the vehicle computer receives the reserved field, it identifies the vehicle function and status corresponding to the reserved field;

[0039] If the vehicle function and status corresponding to the reserved field are identified, the preset display strategy corresponding to the vehicle function and status is executed.

[0040] Furthermore, it also includes: cloud service module;

[0041] The cloud service module is used to update the reserved fields of corresponding vehicle functions and status;

[0042] The cloud service module is further used to update the preset display strategy corresponding to the vehicle function and status;

[0043] The cloud service module is connected to the vehicle computer to receive vehicle model information from the vehicle system;

[0044] The cloud service module sends a reserved field corresponding to the vehicle model according to the vehicle model information;

[0045] The reserved fields corresponding to the vehicle models include reserved fields corresponding to vehicle functions and states and preset display strategies.

[0046] According to three aspects of the present invention, a CAN signal reserved field processing device is provided, the CAN signal reserved field processing device comprising:

[0047] A signal acquisition module, configured to acquire CAN signal information corresponding to a vehicle function and status, wherein the CAN signal information corresponding to the vehicle function and status includes reserved fields corresponding to preset vehicle functions and statuses;

[0048] A display strategy module is used to set the display strategy of the vehicle function and status according to the reserved fields of the preset vehicle function and status;

[0049] A reserved field module is used to identify the reserved fields of vehicle functions and states corresponding to CAN signal information;

[0050] The strategy execution module is used to execute the display strategy corresponding to the vehicle function and status based on the identification of the reserved fields.

[0051] According to four aspects of the present invention, there is provided an electronic device, comprising: a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other via the communication bus;

[0052] A computer program is stored in the memory, and when the computer program is executed by the processor, the processor executes the steps of the CAN signal reserved field processing method.

[0053] According to five aspects of the present invention, a computer-readable storage medium is provided, comprising: a computer program that can be executed by an electronic device is stored therein, and when the computer program runs on the electronic device, the electronic device executes the steps of the CAN signal reserved field processing method.

[0054] According to a sixth aspect of the present invention, there is provided a vehicle comprising:

[0055] An electronic device, configured to implement the steps of the method for processing a reserved field of a CAN signal;

[0056] A processor, wherein the processor runs a program and executes the steps of the CAN signal reserved field processing method based on data output by the electronic device when the program runs;

[0057] The storage medium is used to store a program, and when the program is running, it executes the steps of the CAN signal reserved field processing method for data output from the electronic device.

[0058] Through the above solution, the following beneficial technical effects are achieved:

[0059] This application parses out the reserved fields and registers them in a list according to the vehicle functions and status currently integrated on the bus, so that when the signal is displayed in gray, it is convenient to retrieve the corresponding specific device or function and prevent the reserved fields from overlapping and causing display confusion.

[0060] This application displays the vehicle function interface of the corresponding vehicle model in gray, so that users can promptly understand the missing status of the vehicle function and avoid misunderstanding the vehicle status and causing incorrect operations.

[0061] This application uses cloud services to share reserved field information among multiple vehicle models, so that when the vehicle configuration is increased or decreased, compatibility issues caused by unclear reserved fields can be resolved, reducing programming difficulties. BRIEF DESCRIPTION OF THE DRAWINGS

[0062] FIG1 is a flowchart of a method for processing a reserved field of a CAN signal provided by one or more embodiments of the present invention.

[0063] FIG2 is a structural diagram of a CAN abnormality information system provided by one or more embodiments of the present invention.

[0064] FIG3 is a structural diagram of a CAN signal reserved field processing device provided by one or more embodiments of the present invention.

[0065] FIG4 is a schematic diagram of a CAN signal reserved field map according to a specific embodiment of the present invention.

[0066] FIG5 is a schematic diagram of generating a CAN signal reserved field map according to a specific embodiment of the present invention.

[0067] FIG6 is a schematic diagram of updating a CAN signal reserved field map according to a specific embodiment of the present invention.

[0068] FIG7 is a schematic diagram of the use of a CAN signal reserved field map according to a specific embodiment of the present invention.

[0069] FIG8 is a block diagram of an electronic device structure of a method for processing a CAN signal reserved field provided by one or more embodiments of the present invention. DETAILED DESCRIPTION

[0070] The technical solution of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the embodiments described are only some embodiments of the present invention, not all embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making any creative efforts shall fall within the scope of protection of the present invention.

[0071] FIG1 is a flowchart of a method for processing a reserved field of a CAN signal provided by one or more embodiments of the present invention.

[0072] The CAN signal reserved field processing method shown in FIG1 includes:

[0073] Step S1, obtaining CAN signal information corresponding to vehicle function and status;

[0074] Step S2, the CAN signal information of the vehicle function and status includes a reserved field corresponding to the preset vehicle function and status;

[0075] Step S3, setting a display strategy for the vehicle function and status according to the reserved fields for the preset vehicle function and status;

[0076] Step S4, wherein the reserved fields corresponding to the vehicle functions and states of the CAN signal information are identified;

[0077] Step S5: executing a display strategy corresponding to the vehicle function and status based on the identified reserved fields.

[0078] Specifically, multiple on-board devices or software modules are connected to the same CAN bus, each with a preset function that generates reserved fields. These reserved fields corresponding to the preset vehicle functions and status are displayed on the display terminal. Display policies, such as graying out or displaying them as off, are used. Typically, reserved fields correspond to states where the on-board device or software module is not functioning properly. However, different on-board devices may conflict on the same CAN bus. For example, for a certain vehicle model, the power mode signal (PowerMode) ranges from 0 to 15, with fields 1-3 and 5-14 representing the Reserved fields. The ambient light brightness signal (AtmosphereLightBrightnessSt) also ranges from 0 to 15, with fields 8-15 representing the Reserved fields. Therefore, a display policy for these vehicle functions and statuses is set based on the reserved fields for the preset vehicle functions and statuses, enabling differentiation between the on-board devices or software modules referenced by the reserved fields and implementing the display policy.

[0079] In this embodiment, based on the vehicle function and status corresponding to the identified CAN signal information, executing the display strategy corresponding to the vehicle function includes:

[0080] Generate a list based on the reserved fields corresponding to the preset vehicle functions and status;

[0081] Add an item showing the strategy to the list;

[0082] The items showing the strategy correspond to the items of preset vehicle functions, status and reserved fields;

[0083] Retrieve items from the list based on the CAN signal information corresponding to the vehicle function and status;

[0084] If the search result is an item corresponding to the preset vehicle function, status and reserved field, the corresponding display strategy is executed.

[0085] Specifically, based on the Can Matrix matrix table (i.e., list), the signal name and Reserved field (reserved field) of the corresponding vehicle-mounted equipment or software module are parsed out, and dynamic updating means are used to distinguish the vehicle-mounted equipment or software module pointed to by the reserved field, so as to solve the difficulties caused by the different signal and display strategy requirements of the vehicle-mounted equipment or software module.

[0086] The list already lists the signal name, the value of the reserved field, the signal status, etc., and then adds a display strategy item to the list so that the pointed vehicle device or software module can implement the corresponding display strategy according to the value of the reserved field.

[0087] In this embodiment, based on the reserved fields corresponding to the preset vehicle functions and states, the generated list includes:

[0088] Get vehicle model information;

[0089] Corresponding to the vehicle model, obtain the CAN signal information of the corresponding vehicle function and status;

[0090] Add items for vehicle models based on the list generated by the reserved fields corresponding to the preset vehicle functions and status;

[0091] Retrieve items from the list based on the CAN signal information corresponding to the vehicle function and status;

[0092] If the search result is an item corresponding to the preset vehicle function and status, then the item in the reserved field in the search list is retrieved according to the vehicle model;

[0093] If the search result is an item in the reserved field of the corresponding vehicle model, the vehicle model executes the display strategy of the corresponding reserved field.

[0094] Specifically, when using the list, the system first retrieves CAN signal information corresponding to the vehicle's functions and status based on the vehicle model. The list is then searched and a display strategy is implemented based on the search results. For example, the system first searches for items corresponding to the preset vehicle functions and status, finds items with reserved fields, and then determines the display strategy for those items within the reserved fields. Executing the display strategy can then align the vehicle's onboard devices and software modules to the vehicle model, preventing display conflicts.

[0095] In this embodiment, the display strategy includes:

[0096] Get the reserved fields based on the items in the retrieved list, and display the vehicle function interface of the corresponding model in gray;

[0097] According to the gray display of the vehicle function interface of the corresponding vehicle model, the information of the corresponding vehicle function and status is uploaded synchronously.

[0098] Specifically, a gray display indicates that the corresponding onboard device or software module on the bus is not functioning properly. Touch input on the display terminal will not produce the expected results. In this case, the vehicle computer can upload the gray display to the cloud, providing information and assistance to the vehicle.

[0099] FIG2 is a structural diagram of a CAN abnormality information system provided by one or more embodiments of the present invention.

[0100] The CAN abnormal information system shown in FIG2 includes: a controller module and an on-board function module;

[0101] On-board function module, used to control vehicle functions;

[0102] Controller module, used to connect the vehicle computer and the onboard functional modules;

[0103] The vehicle computer monitors the working status of the controller module and the vehicle function module;

[0104] The vehicle function module or controller module sends a reserved field according to abnormal working status;

[0105] The vehicle computer monitors the working status of the controller module and the vehicle function module, including monitoring whether the reserved field is received;

[0106] If the vehicle computer receives the reserved field, it identifies the vehicle function and status corresponding to the reserved field;

[0107] If the vehicle function and status corresponding to the reserved field are identified, the preset display strategy corresponding to the vehicle function and status is executed.

[0108] Specifically, the vehicle-mounted function module or controller module is part of the vehicle computer system, and will have abnormal working status. Corresponding to the abnormal working status, the reserved field of the corresponding vehicle-mounted function module or controller module is sent. The vehicle computer receives the reserved field and identifies the vehicle function and status corresponding to the reserved field. If the reserved field of the vehicle-mounted function module is identified, the reserved field of the corresponding vehicle function module is displayed in gray on the display terminal. For example, if the vehicle air conditioner fails, the reserved field of the corresponding air conditioner is sent, and the buttons for controlling the air conditioner are all displayed in gray, so that the user can immediately understand that the vehicle air conditioner cannot be used, instead of trying repeatedly. For example, if the reserved field of the controller module is identified, the CAN bus is completely paralyzed, and in the display strategy, directly select the display off (OFF).

[0109] In this embodiment, it also includes: a cloud service module;

[0110] The cloud service module is used to update the reserved fields of the corresponding vehicle functions and status;

[0111] The cloud service module is also used to update the preset display strategy corresponding to the vehicle function and status;

[0112] The cloud service module connects to the vehicle computer and receives vehicle model information from the vehicle system;

[0113] The cloud service module sends the reserved fields corresponding to the vehicle model based on the vehicle model information;

[0114] The reserved fields corresponding to the vehicle model include, the reserved fields corresponding to the vehicle function and status and the preset display strategy.

[0115] Specifically, when the vehicle computer receives the reserved field, it simultaneously sends the vehicle status information to the cloud server. The cloud server can pre-store information corresponding to various vehicle models, including reserved fields corresponding to vehicle functions and status, as well as preset more display strategies.

[0116] FIG3 is a structural diagram of a CAN signal reserved field processing device provided by one or more embodiments of the present invention.

[0117] As shown in Figure 3, the CAN signal reserved field processing device includes: a signal acquisition module, a display strategy module, a reserved field module, and a strategy execution module;

[0118] A signal acquisition module, configured to acquire CAN signal information corresponding to a vehicle function and status, wherein the CAN signal information corresponding to a vehicle function and status includes reserved fields corresponding to preset vehicle functions and statuses;

[0119] A display strategy module is used to set the display strategy of the vehicle function and status according to the reserved fields of the preset vehicle function and status;

[0120] A reserved field module is used to identify the reserved fields of vehicle functions and states corresponding to CAN signal information;

[0121] The strategy execution module is used to execute the display strategy corresponding to the vehicle function and status based on the identification of the reserved fields.

[0122] It is worth noting that although this system only discloses a signal acquisition module, a display strategy module, a reserved field module, and a strategy execution module, relatively speaking, what the present invention wants to express is that, based on the above-mentioned basic functional modules, those skilled in the art can arbitrarily add one or more functional modules in combination with the existing technology to form an infinite number of embodiments or technical solutions. In other words, this system is open rather than closed. Just because this embodiment only discloses individual basic functional modules, it cannot be considered that the scope of protection of the claims of the present invention is limited to the above-mentioned basic functional modules.

[0123] Through the above solution, the following beneficial technical effects are achieved:

[0124] This application parses out the reserved fields and registers them in a list according to the vehicle functions and status currently integrated on the bus, so that when the signal is displayed in gray, it is convenient to retrieve the corresponding specific device or function and prevent the reserved fields from overlapping and causing display confusion.

[0125] This application displays the vehicle function interface of the corresponding vehicle model in gray, so that users can promptly understand the missing status of the vehicle function and avoid misunderstanding the vehicle status and causing incorrect operations.

[0126] This application uses cloud services to share reserved field information among multiple vehicle models, so that when the vehicle configuration is increased or decreased, compatibility issues caused by unclear reserved fields can be resolved, reducing programming difficulties.

[0127] FIG4 is a schematic diagram of a CAN signal reserved field map according to a specific embodiment of the present invention.

[0128] FIG5 is a schematic diagram of generating a CAN signal reserved field map according to a specific embodiment of the present invention.

[0129] FIG6 is a schematic diagram of updating a CAN signal reserved field map according to a specific embodiment of the present invention.

[0130] FIG7 is a schematic diagram of the use of a CAN signal reserved field map according to a specific embodiment of the present invention.

[0131] In a specific embodiment, based on the Can Matrix matrix table, the signal name and the Reserved field (reserved field) are parsed out, and at the same time, dynamic update means are used to uniformly solve the interface display problem of the Reserved field, that is, to effectively solve the software editing difficulties caused by inconsistent signals and diverse vehicle equipment requirements.

[0132] The core of this embodiment is to generate and maintain a Map (equivalent to a list), which records the Reserved fields corresponding to all signals to be grayed out. For example, it can be defined that the key of the Map is the signal name, and the value is the Reserved field value of the signal, separated by a semicolon. Both Key and value are of String type. For example, the signal of the ambient light brightness of a certain car model is AtmosphereLightBrightnessSt, which occupies 4 bits in the Can matrix table. As shown in Figure 4, it can be seen that the definitions of 8-15 (binary 1000-1111) are all Reserved. Then the definition of the signal in the Map is<AtmosphereLightBrightnessSt,8;9;10;11;12;13;14;15> .

[0133] In another specific embodiment, generating and maintaining a Map mainly includes three steps: Map generation, Map update, and Map use.

[0134] As shown in Figure 5, map generation: Each vehicle model has its own corresponding Can matrix table. First, save the Can matrix table as a CSV file (a text file). CSV files are suitable for input during code execution. The code then parses the CSV file to obtain the name of each signal and its Reserved field, populating the signal reserved field map created in memory.

[0135] As shown in Figure 6, Map Update: When the central control application receives the Reserved value, it is usually grayed out. However, sometimes it does not need to be grayed out. In this case, the signal reservation field Map must be updated in advance. This update mainly occurs in two scenarios:

[0136] In scenario A, the functional specification clearly states that when the controller reports the Reserved value for certain signals, the interface does not need to be grayed out. In this case, these signals need to be removed from the signal reserved field Map based on the vehicle model.

[0137] In scenario B, if a controller has undergone a software update and a reserved field is enabled, the new function can be enabled without modifying the system ROM. Only application-level modifications and upgrades are required, greatly reducing R&D costs. Specifically, a change item is configured in the cloud and sent to the central control application, which then stores it in the database. After the system restarts and generates the signal reserved field map, the change item saved in the database is read and the map is updated. Based on this, the interface can directly and correctly display the new function.

[0138] As shown in Figure 7, Map usage: When the resident service receives a signal reported by the controller, it needs to first query the Map.

[0139] If it can be found, it means that the function corresponding to the signal needs to be grayed out. At this time, the received signal value must be converted into a pre-defined abnormal value (usually -0xFFFFFFFF) and reported to the corresponding application, which will then gray out the function on the interface.

[0140] If it cannot be found, it means that the function corresponding to the signal should be displayed normally. At this time, just report the received signal value directly to the corresponding application.

[0141] FIG8 is a block diagram of an electronic device structure of a method for processing a CAN signal reserved field provided by one or more embodiments of the present invention.

[0142] As shown in FIG8 , the present application provides an electronic device, including: a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other via the communication bus;

[0143] A computer program is stored in the memory. When the computer program is executed by the processor, the processor executes the steps of a method for processing a reserved field of a CAN signal.

[0144] The present application also provides a computer-readable storage medium storing a computer program executable by an electronic device. When the computer program runs on the electronic device, the electronic device executes the steps of a method for processing a reserved field of a CAN signal.

[0145] The present application also provides a vehicle, comprising:

[0146] An electronic device for implementing the steps of a method for processing a reserved field of a CAN signal;

[0147] A processor, wherein the processor runs a program and executes the steps of the CAN signal reserved field processing method based on data output by the electronic device when the program runs;

[0148] The storage medium is used to store a program, and when the program is running, it executes the steps of the CAN signal reserved field processing method for data output from the electronic device.

[0149] The communication bus mentioned in the electronic device mentioned above may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. This communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is used in the figure, but this does not mean that there is only one bus or only one type of bus.

[0150] The electronic device includes a hardware layer, an operating system layer running on the hardware layer, and an application layer running on the operating system. The hardware layer includes hardware such as a central processing unit (CPU), a memory management unit (MMU), and memory. The operating system can be any one or more computer operating systems that control electronic devices through processes, such as the Linux operating system, the Unix operating system, the Android operating system, the iOS operating system, or the Windows operating system. In the embodiments of the present invention, the electronic device can be a handheld device such as a smartphone or a tablet computer, or an electronic device such as a desktop computer or a portable computer, which is not particularly limited in the embodiments of the present invention.

[0151] The execution subject of the electronic device control in the embodiment of the present invention can be an electronic device, or a functional module in the electronic device that can call a program and execute the program. The electronic device can obtain the firmware corresponding to the storage medium. The firmware corresponding to the storage medium is provided by the supplier. The firmware corresponding to different storage media can be the same or different, and is not limited here. After the electronic device obtains the firmware corresponding to the storage medium, it can write the firmware corresponding to the storage medium into the storage medium, specifically, burn the firmware corresponding to the storage medium into the storage medium. The process of burning the firmware into the storage medium can be implemented using existing technology and will not be described in detail in the embodiment of the present invention.

[0152] The electronic device can also obtain a reset command corresponding to the storage medium. The reset command corresponding to the storage medium is provided by the supplier. The reset commands corresponding to different storage media can be the same or different, and are not limited here.

[0153] In this case, the storage medium of the electronic device is a storage medium in which the corresponding firmware is written. The electronic device can respond to the reset command corresponding to the storage medium in which the corresponding firmware is written, thereby resetting the storage medium in which the corresponding firmware is written according to the reset command corresponding to the storage medium. The process of resetting the storage medium according to the reset command can be implemented in the existing technology and will not be described in detail in the embodiments of the present invention.

[0154] For the convenience of description, the above devices are described as various units and modules according to their functions. Of course, when implementing this application, the functions of each unit and module can be implemented in the same or multiple software and / or hardware.

[0155] Those skilled in the art will understand that, unless otherwise defined, all terms used herein (including technical and scientific terms) have the same meaning as commonly understood by those skilled in the art in the art to which the present invention pertains. It should also be understood that terms such as those defined in common dictionaries should be understood to have meanings consistent with those in the context of the prior art and, unless specifically defined, will not be interpreted in an idealized or overly formal sense.

[0156] For simplicity of description, the method embodiments are described as a series of actions. However, those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because certain steps can be performed in other orders or simultaneously according to the embodiments of the present invention. Secondly, those skilled in the art should also be aware that the embodiments described in this specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.

[0157] Through the description of the above embodiments, it can be seen that those skilled in the art can clearly understand that the present application can be implemented by means of software plus a necessary general-purpose hardware platform. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product. The computer software product can be stored in a storage medium, such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in various embodiments of the present application or certain parts of the embodiments.

[0158] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the above embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for processing reserved fields of CAN signals, characterized in that, The method for processing the reserved field of the CAN signal includes: Obtaining the CAN signal information corresponding to the vehicle functions and states; The CAN signal information of the vehicle functions and states includes the reserved fields corresponding to the preset vehicle functions and states; Correspondingly setting the display strategy of the vehicle functions and states according to the reserved fields of the preset vehicle functions and states; Among them, identifying the reserved fields of the vehicle functions and states corresponding to the CAN signal information; Executing the corresponding display strategy of the vehicle functions and states according to the identified reserved fields.

2. The CAN signal reserved field processing method according to claim 1, characterized in that, The executing the corresponding display strategy of the vehicle functions according to the identified vehicle functions and states corresponding to the CAN signal information includes: Generating a list according to the reserved fields of the preset vehicle functions and states; Adding items of the display strategy to the list; The items of the display strategy correspond to the items of the preset vehicle functions, states and reserved fields; Retrieving the items in the list according to the obtained CAN signal information corresponding to the vehicle functions and states; If the retrieval result is the item corresponding to the preset vehicle functions, states and reserved fields, then execute the corresponding display strategy.

3. The CAN signal reserved field processing method according to claim 2, wherein Generating a list according to the reserved fields of the preset vehicle functions and states includes: Obtaining the vehicle model information; Corresponding to the vehicle model, obtaining the CAN signal information corresponding to the vehicle functions and states; Adding the item of the vehicle model to the list generated according to the reserved fields of the preset vehicle functions and states; Retrieving the items in the list according to the obtained CAN signal information corresponding to the vehicle functions and states; If the retrieval result is the item corresponding to the preset vehicle functions and states, then retrieving the item of the reserved field in the list according to the vehicle model; If the retrieval result is the item of the reserved field corresponding to the vehicle model, then the vehicle model executes the display strategy corresponding to the reserved field.

4. The CAN signal reserved field processing method according to claim 1, characterized in that The display strategy includes: Obtaining the reserved field according to the item retrieved in the list, and gray-displaying the vehicle function interface of the corresponding vehicle model; Synchronously uploading the information of the corresponding vehicle functions and states according to the gray-displayed vehicle function interface of the corresponding vehicle model.

5. A CAN exception information system, characterized in that, The CAN exception information system includes: a controller module and an in-vehicle function module; The in-vehicle function module is used to control the functions of the vehicle; The controller module is used to connect the communication between the vehicle head unit and the in-vehicle function module; The vehicle head unit monitors the working states of the controller module and the in-vehicle function module; The in-vehicle function module or the controller module sends the reserved field according to the abnormal working state; The vehicle head unit monitoring the working states of the controller module and the in-vehicle function module includes monitoring whether the reserved field is received; If the vehicle head unit receives the reserved field, then identifying the vehicle functions and states corresponding to the reserved field; If the vehicle functions and states corresponding to the identified reserved field are recognized, execute the preset display strategy of the corresponding vehicle functions and states.

6. The CAN exception information system according to claim 1, characterized in that, It further includes: a cloud service module; The cloud service module is used to update the reserved fields of the corresponding vehicle functions and states; The cloud service module is further used to update the preset display strategy of the corresponding vehicle functions and states; The cloud service module is connected to the vehicle head unit and receives the vehicle model information of the vehicle system; The cloud service module sends the reserved fields corresponding to the vehicle model according to the vehicle model information; The reserved fields corresponding to the vehicle model include the vehicle functions and status corresponding to the reserved fields and the preset display strategies.

7. A CAN signal reserved field processing device, characterized in that The CAN signal reserved field processing device includes: A signal acquisition module, configured to acquire CAN signal information corresponding to vehicle functions and status, where the CAN signal information of the vehicle functions and status includes the reserved fields corresponding to preset vehicle functions and status; A display strategy module, configured to correspondingly set the display strategies of vehicle functions and status according to the reserved fields of preset vehicle functions and status; A reserved field module, configured to identify the reserved fields of vehicle functions and status corresponding to the CAN signal information; A strategy execution module, configured to execute the display strategies of corresponding vehicle functions and status according to the identified reserved fields.

8. An electronic device, characterized in that, Comprising: A processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete mutual communication through the communication bus; The memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the CAN signal reserved field processing method according to any one of claims 1 to 4.

9. A computer-readable storage medium, characterized in that, Comprising: It stores a computer program executable by an electronic device, and when the computer program runs on the electronic device, the electronic device executes the steps of the CAN signal reserved field processing method according to any one of claims 1 to 4.

10. A vehicle, characterized in that, Comprising: An electronic device, configured to implement the steps of the CAN signal reserved field processing method according to any one of claims 1 to 4; A processor, where the processor runs a program, and when the program runs, it executes the steps of the CAN signal reserved field processing method according to any one of claims 1 to 4 for the data output from the electronic device; A storage medium, configured to store a program, and when the program runs, it executes the steps of the CAN signal reserved field processing method according to any one of claims 1 to 4 for the data output from the electronic device.

Citation Information

Patent Citations

  • Car fault diagnosis remote alarming system and method

    CN101859476A

  • Vehicle condition data processing method, processing system and vehicle

    CN108737363A

  • Remote fault diagnosis method and system for new energy vehicle

    CN110109447A

  • Vehicle control method and device

    CN115107442A

  • Range-extending type automobile fault processing method, device and equipment and medium

    CN116714571A