Vehicle information configuration method, slave node, master node and vehicle

By using the CAN or Canfd protocol with a high transmission rate in the vehicle information configuration method, and configure the identity identification from the node, the problem of poor timeliness when the main node and the lin protocol are communicated from the node, which significantly improves communication timeliness.

CN115473762BActive Publication Date: 2025-01-24GREAT WALL MOTOR CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202211124675.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-15
Publication Date
2025-01-24
Estimated Expiration
2042-09-15

AI Technical Summary

Technical Problem

The problem of poor timeliness when master and slave nodes use LIN protocol to communicate.

Method used

Communication protocols with transmission rates higher than the LIN protocol, such as the CAN or Canfd protocol, and configure the identity identification from the node through the vehicle diagnostic device to solve the problem of node identity identification configuration.

Benefits of technology

It improved the communication timeliness of the master node and the communication of the node, solved the problem of poor timeliness of the LIN protocol communication, and reduced the cost of the keyless entry function.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115473762B_ABST
    Figure CN115473762B_ABST
Patent Text Reader

Abstract

The present application provides a vehicle information configuration method, a slave node, a master node, and a vehicle. The method includes: when the slave node is powered on for the first time after being assembled, the slave node detects whether the communication network is connected; when the communication network is not connected, when the slave node receives a preset number corresponding to the installation position of the slave node sent by the vehicle diagnostic equipment through a contactless communication method, the slave node configures its own identity in the communication network according to the preset number. The present application can improve the communication timeliness of the master node and the slave node.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle control technology, and in particular to a vehicle information configuration method, a slave node, a master node and a vehicle. Background Art

[0002] With the progress of social productivity, cars have entered thousands of households and gradually become one of the necessities of people's lives. At present, the intelligence of vehicles is getting higher and higher, and a large number of functions are integrated into the vehicles, such as the Passive Keyless Enter (PKE) function.

[0003] In order to realize the keyless entry function, a master node and multiple slave nodes are usually equipped on the vehicle. The master node locates the vehicle key through the signal strength sent by each slave node. However, the master node and the slave node often use the LIN (Local Interconnect Network) protocol for communication. Due to the defect of low transmission rate of the LIN protocol, the communication timeliness between the master node and the slave node is poor. Summary of the invention

[0004] The embodiments of the present application provide a vehicle information configuration method, a slave node, a master node, and a vehicle to solve the problem of poor timeliness when the master node and the slave node communicate using the LIN protocol.

[0005] In a first aspect, an embodiment of the present application provides a vehicle information configuration method, which is applied to a slave node; a communication network formed by a master node and at least one slave node adopts a preset communication protocol, and the transmission rate of the preset communication protocol is higher than the local area interconnection network protocol; the vehicle information configuration method includes:

[0006] When the slave node is powered on for the first time after being assembled, the slave node detects whether the communication network is connected;

[0007] When the communication network is not connected, when the slave node receives a preset number corresponding to the installation position of the slave node sent by the vehicle diagnostic device via contactless communication, the slave node configures its own identity in the communication network according to the preset number.

[0008] In a second aspect, an embodiment of the present application provides a vehicle information configuration method, which is applied to a master node; a communication network formed by the master node and at least one slave node adopts a preset communication protocol, and the transmission rate of the preset communication protocol is higher than the local area interconnection network protocol; the vehicle information configuration method includes:

[0009] When the master node is powered on for the first time after being assembled, the master node records the communication identifications of all slave nodes in the communication network;

[0010] When the master node receives the identification configuration request message in the communication network, the master node determines the identity of the slave node that has disappeared in the current communication network according to the recorded communication identifications of all slave nodes in the communication network;

[0011] The master node returns a configuration command carrying the identity of the disappeared slave node, so that the slave node that sent the identity configuration request message configures the identity of the disappeared slave node as its identity in the communication network.

[0012] In a third aspect, an embodiment of the present application provides a slave node, wherein a communication network formed by a master node and at least one slave node adopts a preset communication protocol, and a transmission rate of the preset communication protocol is higher than a local area interconnection network protocol; the slave node includes:

[0013] A detection module, used to detect whether the communication network is connected when the slave node is powered on for the first time after being assembled;

[0014] The configuration module is used to configure its own identity in the communication network according to the preset number when receiving a preset number corresponding to the installation position of the slave node sent by the vehicle diagnostic equipment through non-contact communication when the communication network is not connected.

[0015] In a fourth aspect, an embodiment of the present application provides a master node, wherein a communication network formed by the master node and at least one slave node adopts a preset communication protocol, and a transmission rate of the preset communication protocol is higher than a local area interconnection network protocol; the master node comprises:

[0016] A recording module, used to record the communication identifications of all slave nodes in the communication network when the master node is powered on for the first time after being assembled;

[0017] A determination module, configured to determine the identity of the slave node that has disappeared in the current communication network according to the recorded communication identifiers of all slave nodes in the communication network when the communication network receives the identifier configuration request message;

[0018] The configuration module is used to return a configuration command carrying the identity of the disappeared slave node, so that the slave node that sent the identity configuration request message configures the identity of the disappeared slave node as its identity in the communication network.

[0019] In a fifth aspect, an embodiment of the present application provides a vehicle, which includes an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, it implements the steps of the method described in the first aspect, the second aspect, or the third aspect above.

[0020] The embodiments of the present application provide a vehicle information configuration method, a slave node, a master node and a vehicle, which can configure the identity of the slave node under non-LIN protocols such as CAN, so that the master node and the slave node can communicate using communication protocols with higher transmission rates such as CAN. In this way, the problem of poor timeliness caused by communicating using the LIN protocol is solved, and the communication timeliness between the master node and the slave node is greatly improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0022] Figure 1 It is a flow chart of a vehicle information configuration method provided in an embodiment of the present application;

[0023] Figure 2 It is a schematic diagram of a communication network structure provided by an embodiment of the present application;

[0024] Figure 3 is a flowchart of another vehicle information configuration method provided in an embodiment of the present application;

[0025] Figure 4 is a structural diagram of a slave node provided in an embodiment of the present application;

[0026] Figure 5 It is a structural diagram of a master node provided in an embodiment of the present application;

[0027] Figure 6 is a schematic diagram of an electronic device provided in an embodiment of the present application;

[0028] Figure 7 It is a schematic diagram of a vehicle provided in an embodiment of the present application. DETAILED DESCRIPTION

[0029] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.

[0030] In order to make the purpose, technical solutions and advantages of the present application clearer, specific embodiments will be described below in conjunction with the accompanying drawings.

[0031] As described in the related art, a master node and multiple slave nodes equipped on a vehicle for realizing the keyless entry function often use the LIN protocol for communication. However, the LIN protocol has the defect of low transmission rate. When a large amount of information is transmitted between the master node and the slave node, the information needs to be divided into multiple frames and then transmitted on the LIN network, which makes the communication timeliness between the master node and the slave node poor.

[0032] In order to solve the problems in the prior art, the embodiments of the present application provide a vehicle information configuration method, a slave node, a master node and a vehicle. The vehicle information configuration method provided by the embodiments of the present application is first introduced below.

[0033] In order to solve the problem of poor timeliness when the master node and the slave node communicate using the LIN protocol, a communication protocol with a transmission rate higher than the LIN protocol can be used, such as the CAN (Controller Area Network) protocol and the CANFD (CAN with Flexible Data-Rate) protocol.

[0034] However, since protocols such as CAN or CANFD do not have the function of configuring the node identity (ID), and considering the production line assembly requirements of the master node and the slave node, it is also impossible to pre-configure the identity of the slave node before the master and slave nodes are assembled and networked. Therefore, before the master and slave nodes communicate using protocols such as CAN or CANFD, the configuration problem of the identity used by the slave node for communication needs to be solved. In addition, in order not to affect the positioning of the car key, the master node also needs to be able to identify the installation location of the slave node.

[0035] It should be noted that the reason why the identity of the slave node cannot be configured in advance before the master and slave nodes are assembled and networked is that when the master node locates the car key, it needs to know the installation position of the slave node in advance, so that the slave node close to the car key can be located based on the signal strength sent by each slave node. However, since the node devices used as slave nodes are all universal devices, if the identity of the node device is configured in advance before assembly, it is difficult to ensure that the node device is installed in the installation position corresponding to the identity, which will lead to subsequent car key positioning errors. In addition, even if the slave nodes are divided into different batches in advance according to different vehicle positions, and the identity of the corresponding vehicle position is pre-set for the same batch, it is easy to assemble incorrectly during assembly due to the same appearance of the slave node devices, and it is impossible to ensure that the node device is installed in the installation position corresponding to the identity. Therefore, it is necessary to configure the identity of the slave node after the master and slave nodes are assembled and networked.

[0036] In this regard, an embodiment of the present application provides a vehicle information configuration method to solve the configuration problem of the identity identifier used for communication by the slave node after changing the communication protocol, thereby solving the problem of poor timeliness when the master node and the slave node communicate using the LIN protocol.

[0037] See also Figure 1 , which shows an implementation flow chart of the vehicle information configuration method provided in an embodiment of the present application. The vehicle information configuration method can be implemented by a slave node, and the communication network composed of a master node and at least one slave node adopts a preset communication protocol. Specifically, the preset communication protocol can be a protocol with a transmission rate higher than the local interconnection network protocol, such as the CAN protocol or the CANFD protocol. It should be noted that the communication network is a network for information exchange between the master node and the slave node, whether it is the information exchange during the identity configuration process or the subsequent information exchange for the keyless entry function, all are carried out in the communication network.

[0038] like Figure 1 As shown, the vehicle information configuration method includes the following processing:

[0039] Step 110: When the slave node is powered on for the first time after being assembled, the slave node detects whether the communication network is connected.

[0040] After the master node and at least one slave node are assembled in the vehicle, such as in the assembly stage of the production line, the slave node can be powered on. In this way, when the slave node detects that it is powered on for the first time, the slave node can execute a built-in program to detect whether the communication network is connected, and perform corresponding processing according to the detection result.

[0041] In some embodiments, the vehicle can be any type of vehicle, such as a gasoline vehicle, a diesel vehicle, or other vehicles with a fuel system, or a new energy vehicle such as an EV (Electric Vehicle), an HEV (Hybrid Electric Vehicle), or a PHEV (Plug-in Hybrid Electric Vehicle).

[0042] Step 120: When the communication network is not connected, when the slave node receives a preset number corresponding to the installation position of the slave node sent by the vehicle diagnostic device via contactless communication, the slave node configures its own identity in the communication network according to the preset number.

[0043] In some embodiments, the contactless communication connection can be any contactless type of communication connection, such as NFC (Near Field Communication) connection or RFID (Radio Frequency Identification) connection. Accordingly, the slave node needs to be a node device with contactless communication function, such as Figure 2 As shown, a communication network is provided, which includes a master node and three slave nodes with NFC function.

[0044] When the slave node detects that the communication network is not connected, it indicates that it is in the initial configuration stage. At this time, the slave node waits for a signal that triggers it to perform identity identification configuration processing, which can be a connection signal of the vehicle diagnostic device. Specifically, when the vehicle diagnostic device receives an identity configuration instruction, such as a configuration operation instruction input by a production line worker on the display interface of the vehicle diagnostic device, the vehicle diagnostic device can establish a non-contact communication connection with each slave node respectively, such as the production line worker can place the vehicle diagnostic device near each slave node in a certain order. Taking a vehicle equipped with 5 slave nodes as an example, assuming that the installation positions of the 5 slave nodes are the main driver's door, the co-driver's door, the rear left door, the rear right door and the trunk door, non-contact communication connections can be established with the 5 slave nodes in a clockwise order, starting from the slave node installed on the main driver's door. When the vehicle diagnostic device establishes a non-contact connection with a slave node, the vehicle diagnostic device can authenticate the identity of the slave node to determine whether the slave node is a node device corresponding to the vehicle to be installed. When the authentication is passed, the vehicle diagnostic device will write the preset number corresponding to the installation position of the slave node into the slave node. Still taking the above-mentioned vehicle equipped with 5 slave nodes as an example, the preset numbers corresponding to different installation positions can be pre-configured, such as the numbers 1, 2, 3, 4, and 5 can be configured in the order of the main driver's door, the co-driver's door, the rear left door, the rear right door, and the trunk door. It should be noted that the numbers 1-5 are only for examples, and the purpose of configuring the numbers is to refer to the installation position of the slave node. Therefore, any digital information that can refer to the installation position of the slave node can be used as a number.

[0045] In this way, the slave node can receive the preset number corresponding to its installation position. In this way, the slave node can obtain the preset identity corresponding to the preset number, such as Ox01, according to the preset correspondence relationship of the preset identity corresponding to the preset number stored in advance, and configure the preset identity as its identity in the communication network. In this way, the problem that communication protocols such as CAN cannot configure the identity of the node is solved, so that the slave node using communication protocols such as CAN completes the configuration of the identity, and then the master node and the slave node can communicate using communication protocols such as CAN with a higher transmission rate, which solves the problem of poor timeliness caused by using LIN protocol communication, and greatly improves the communication timeliness of the master node and the slave node.

[0046] It should be noted that the master node pre-stores the installation positions of slave nodes corresponding to different preset identity identifiers. In this way, since the slave node is configured with an identity identifier based on a preset number corresponding to its installation position, after receiving the signal strength information sent by each slave node, the master node can determine the installation position of each slave node based on the identity identifier of the slave node and in combination with the pre-stored installation positions of the slave nodes corresponding to different preset identity identifiers, and then locate the vehicle key based on the signal strength information corresponding to different installation positions.

[0047] In one possible implementation, for the scenario of replacing a slave node after the vehicle is assembled off the assembly line, such as in the vehicle after-sales or maintenance scenario, in addition to the identity configuration of the slave node using the preset number written by the vehicle diagnostic device as mentioned above, the identity configuration can also be performed according to the following processing procedure: when the slave node detects that the communication network is connected, the slave node configures its own temporary identity in the communication network according to a preset method, and broadcasts an identity configuration request message in the communication network based on the temporary identity, so that the master node returns a configuration command carrying the identity of the slave node that has disappeared in the current communication network; the slave node configures the identity of the disappeared slave node as its own identity in the communication network.

[0048] In some embodiments, when a slave node detects that the communication network is connected, it indicates that the slave node is newly added to the communication network as a replacement node. At this time, the slave node can first configure its own temporary identity in the communication network in a preset manner, such as configuring a randomly generated identity as a temporary identity, or configuring a pre-stored identity as a temporary identity. Afterwards, the above-mentioned slave node can broadcast an identity configuration request message in the communication network according to the temporary identity to instruct the master node to return a configuration command carrying the identity of the slave node that has disappeared in the current communication network. Finally, the above-mentioned slave node can configure the identity of the received disappeared slave node as its own identity in the communication network. In this way, the newly added slave node will perform the car key positioning process normally according to the identity of the replaced slave node.

[0049] In order to facilitate understanding of the vehicle information configuration process provided by this application, the processing of the master node in the vehicle information configuration process is introduced below.

[0050] like Figure 3 As shown, a vehicle information configuration method is provided, which is applied to a slave node, and its specific processing includes:

[0051] Step 310: When the master node is powered on for the first time after being assembled, the master node records the communication identifiers of all slave nodes in the communication network.

[0052] In some embodiments, the master node may read and record the communication identifiers of all slave nodes in the communication network according to a preset communication protocol adopted by the communication network, such as the CAN communication protocol.

[0053] Step 320: When the master node receives the identification configuration request message in the communication network, the master node determines the identity of the slave node that has disappeared in the current communication network based on the recorded communication identifications of all slave nodes in the communication network.

[0054] In some embodiments, after receiving an identification configuration request message in the communication network, the master node can obtain the communication identification of all slave nodes in the current communication network, and then compare the communication identification of all slave nodes obtained with the communication identification of all slave nodes previously recorded. The non-overlapping identity identification obtained by the comparison is the identity identification of the slave node to be replaced, that is, the identity identification of the slave node that has disappeared.

[0055] Step 330: The master node returns a configuration command carrying the identity of the disappeared slave node, so that the slave node that sent the identity configuration request message configures the identity of the disappeared slave node as its identity in the communication network.

[0056] In some embodiments, the slave node that sends the identification configuration request message is a slave node that has newly joined the communication network. In this way, after the master node sends a configuration command carrying the identity of the disappeared slave node to the newly joined slave node, the newly joined slave node can configure the identity of the disappeared slave node as its identity in the communication network, so that the car key positioning process can be performed normally according to the identity of the replaced slave node.

[0057] In the embodiment of the present application, a method for configuring the identity of a slave node in a communication network of a non-LIN protocol such as CAN is provided, which enables the master node and the slave node to communicate using a communication protocol with a higher transmission rate such as CAN, solves the problem of poor timeliness caused by the communication using the LIN protocol, and greatly improves the communication timeliness of the master node and the slave node. In addition, due to the use of non-LIN communication protocols such as CAN, the hard wires arranged between the slave nodes in the LIN protocol are omitted, reducing the implementation cost of the keyless entry function.

[0058] In order to facilitate understanding of the processing of the above vehicle information configuration, a production line assembly method applying the vehicle information configuration method is given below.

[0059] First, each slave node has a default NFC key. After the production line has assembled the master and slave nodes and other components, the production line workers and other operators carry diagnostic instruments with NFC functions and approach the slave nodes on the vehicle in a clockwise order to make NFC connections. When the diagnostic instrument reads the NFC information of the slave node, the slave node is manually numbered, and then the number is written into the slave node through the diagnostic instrument. The specific process is as follows:

[0060] step1. The operator clicks the slave node configuration option on the diagnostic instrument, and a prompt box pops up on the diagnostic instrument, such as "Please scan the vehicle frame number and move the device clockwise toward the vehicle slave node";

[0061] Step 2. The operator brings the diagnostic instrument close to the vehicle slave node. After the diagnostic instrument recognizes the slave node, it reads the NFC device information according to the standard NFC protocol. After that, the slave node encrypts the stored vehicle information and device number with the existing NFC key and passes it to the diagnostic instrument;

[0062] Step 3. After receiving the information from the slave node, the diagnostic instrument decrypts the information and obtains the vehicle information transmitted from the slave node, and then compares it with the frame number scanned by itself to authenticate the slave node. If they are consistent, the diagnostic instrument pops up a prompt box to prompt the operator to number the current slave node;

[0063] Step 4. After the operator numbers the current slave node, click the write command of the diagnostic instrument, and the diagnostic instrument will pass the number, the device number and the frame number to the current slave node. It is worth mentioning that in order to facilitate assembly, the numbering can be carried out according to fixed rules, such as the slave node installed on the main driver's door is No. 1, and the slave node installed on the co-driver's door is No. 2;

[0064] step5. After the current slave node receives the information, it determines that the frame number and device number are consistent with its own, then it records the current number and changes its own identity according to the number; if they are inconsistent, it feeds back the error to the diagnostic instrument. After receiving the information, the diagnostic instrument prompts the error and exits the process.

[0065] Step 6. Repeat the above steps 2 to 5 for the remaining slave nodes to complete the identity configuration of all slave nodes. After all slave nodes are configured, the operator places the diagnostic instrument at each slave node in turn and establishes a Bluetooth connection between the diagnostic instrument and the master node. After that, the master node uses the signal strength sent by each slave node to confirm whether each slave node is configured correctly. For example, if the diagnostic instrument is placed at slave node No. 1, the signal sent by slave node No. 1 is the strongest.

[0066] Step 7. After the configuration is completed, each slave node sends a signal according to the configured identity. In addition, each slave node can also configure a specific identity in the signal to indicate that its identity has been configured.

[0067] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0068] The following is an embodiment of the device of the present application. For details not described in detail, please refer to the corresponding method embodiment described above.

[0069] Figure 4 A schematic diagram of the structure of a slave node provided in an embodiment of the present invention is shown. For ease of description, only the part related to the embodiment of the present application is shown, which is described in detail as follows:

[0070] like Figure 4 As shown, an embodiment of the present application provides a slave node, a communication network formed by a master node and at least one slave node adopts a preset communication protocol, and the transmission rate of the preset communication protocol is higher than the local interconnection network protocol; the slave node includes:

[0071] A detection module 410, used to detect whether the communication network is connected when the slave node is powered on for the first time after being assembled;

[0072] The configuration module 420 is used to configure its own identity in the communication network according to the preset number when receiving a preset number corresponding to the installation position of the slave node sent by the vehicle diagnostic equipment through non-contact communication when the communication network is not connected.

[0073] In a possible implementation manner, the contactless communication connection includes a near field communication connection or a radio frequency identification connection; and the preset communication protocol includes a controller area network protocol or a controller area network-flexible data rate protocol.

[0074] In a possible implementation, the configuration module is further used to:

[0075] According to the pre-stored preset corresponding relationship, a preset identity corresponding to the preset number is obtained; wherein the preset corresponding relationship records the preset identity corresponding to the preset number;

[0076] The slave node configures the preset identity as its own identity in the communication network.

[0077] In a possible implementation, the configuration module is further used to:

[0078] When the communication network is connected, the slave node configures its own temporary identity in the communication network in a preset manner, and broadcasts an identity configuration request message in the communication network according to the temporary identity, so that the master node returns a configuration command carrying the identity of the slave node that has disappeared in the current communication network;

[0079] The slave node configures the identity of the disappeared slave node as its own identity in the communication network.

[0080] In a possible implementation, the configuration module is further used to:

[0081] The slave node configures the randomly generated identity as a temporary identity;

[0082] Alternatively, the slave node configures a pre-stored identity as a temporary identity.

[0083] Figure 5 A schematic diagram of the structure of a node device provided in an embodiment of the present application is shown. For ease of explanation, only the parts related to the embodiment of the present application are shown, which are described in detail as follows:

[0084] like Figure 5 As shown, an embodiment of the present application provides a master node, wherein a communication network formed by the master node and at least one slave node adopts a preset communication protocol, and the transmission rate of the preset communication protocol is higher than the local interconnection network protocol; the master node includes:

[0085] The recording module 510 is used to record the communication identifications of all slave nodes in the communication network when the master node is powered on for the first time after being assembled;

[0086] The determination module 520 is used to determine the identity of the slave node that has disappeared in the current communication network according to the recorded communication identifiers of all slave nodes in the communication network when the communication network receives the identifier configuration request message;

[0087] The configuration module 530 is used to return a configuration command carrying the identity of the disappeared slave node, so that the slave node that sent the identity configuration request message configures the identity of the disappeared slave node as its identity in the communication network.

[0088] In a possible implementation, the determination module is further configured to:

[0089] Get the communication identification of all slave nodes in the current communication network;

[0090] The non-overlapping identity identifiers between the recorded communication identifiers of all slave nodes and the acquired communication identifiers of all slave nodes are determined as the identity identifiers of the slave nodes that have disappeared in the current communication network.

[0091] The present application also provides a computer program product having a program code, which executes the steps of any of the above vehicle information configuration method embodiments when the program code is run in a corresponding processor, controller, computing device or terminal, such as Figure 1 Steps 110 to 120 shown, or Figure 3 Steps 310 to 330 shown. It will be appreciated by those skilled in the art that the method and the device proposed in the embodiment of the present application can be implemented in various forms of hardware, software, firmware, a dedicated processor or a combination thereof. The dedicated processor may include an application specific integrated circuit (ASIC), a reduced instruction set computer (RISC) and / or a field programmable gate array (FPGA). The proposed method and device are preferably implemented as a combination of hardware and software. The software is preferably installed on a program storage device as an application. It is typically based on a machine with a computer platform having hardware, such as one or more central processing units (CPUs), random access memories (RAMs) and one or more input / output (I / O) interfaces. An operating system is also typically installed on the computer platform. The various processes and functions described herein may be part of an application, or a part thereof may be executed by an operating system.

[0092] Figure 6 Schematic diagram of an electronic device 6 provided in an embodiment of the present application. Figure 6As shown, the electronic device 6 of this embodiment includes: a processor 60, a memory 61, and a computer program 62 stored in the memory 61 and executable on the processor 60. When the processor 60 executes the computer program 62, the steps in the above-mentioned vehicle information configuration method embodiments are implemented, for example Figure 1 Steps 110 to 120 shown, or Figure 3 Alternatively, when the processor 60 executes the computer program 62, the functions of each module in the above-mentioned device embodiments are realized, for example, Figure 4 The functions of the modules 410 to 420 shown, or Figure 5 Functions of modules 510 to 530 are shown.

[0093] Exemplarily, the computer program 62 may be divided into one or more modules, which are stored in the memory 61 and executed by the processor 60 to complete the present application. The one or more modules may be a series of computer program instruction segments that can complete specific functions, and the instruction segments are used to describe the execution process of the computer program 62 in the electronic device 6. For example, the computer program 62 may be divided into Figure 4 The modules 410 to 420 shown, or Figure 5 Functions of modules 510 to 530 are shown.

[0094] The electronic device 6 may include, but is not limited to, a processor 60 and a memory 61. Those skilled in the art will appreciate that Figure 6 It is only an example of the electronic device 6 and does not constitute a limitation of the electronic device 6. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the electronic device may also include input and output devices, network access devices, buses, etc.

[0095] The processor 60 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0096] The memory 61 may be an internal storage unit of the electronic device 6, such as a hard disk or memory of the electronic device 6. The memory 61 may also be an external storage device of the electronic device 6, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the electronic device 6. Further, the memory 61 may also include both an internal storage unit and an external storage device of the electronic device 6. The memory 61 is used to store the computer program and other programs and data required by the electronic device. The memory 61 may also be used to temporarily store data that has been output or is to be output.

[0097] The present application also provides a vehicle, such as Figure 7 As shown, the vehicle 7 includes the aforementioned electronic device 6 .

[0098] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0099] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0100] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0101] In the embodiments provided in the present application, it should be understood that the disclosed devices / terminal equipment and methods can be implemented in other ways. For example, the device / terminal equipment embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0102] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0103] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0104] If the integrated module is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, the steps of the above-mentioned vehicle information configuration method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device that can carry the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium.

[0105] In addition, the features of the embodiments shown in the drawings of the present application or the various embodiments mentioned in this specification are not necessarily understood as independent embodiments. Instead, each feature described in one example of an embodiment can be combined with one or more other desired features from other embodiments to produce other embodiments not described in words or with reference to the drawings.

[0106] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A vehicle information configuration method, characterized in that: The method is applied to a slave node; a communication network formed by a master node and at least one slave node adopts a preset communication protocol, and the transmission rate of the preset communication protocol is higher than the local interconnection network protocol; the method comprises: When the slave node is powered on for the first time after being assembled, the slave node detects whether the communication network is connected; When the communication network is not connected and the identity authentication between the slave node and the vehicle diagnostic device is passed, when the slave node receives a preset number corresponding to the installation position of the slave node sent by the vehicle diagnostic device through non-contact communication, the slave node configures its own identity in the communication network according to the preset number.

2. The vehicle information configuration method according to claim 1, characterized in that: The contactless communication connection includes a near field communication connection or a radio frequency identification connection; and the preset communication protocol includes a controller area network protocol or a controller area network-flexible data rate protocol.

3. The vehicle information configuration method according to claim 1, characterized in that: The slave node configures its own identity in the communication network according to the preset number, including: The slave node obtains a preset identity corresponding to the preset number according to a pre-stored preset corresponding relationship; wherein the preset corresponding relationship records the preset identity corresponding to the preset number; The slave node configures the preset identity as its own identity in the communication network.

4. The vehicle information configuration method according to claim 1, characterized in that: After the slave node detects whether the communication network is connected, the method further includes: When the communication network is connected, the slave node configures its own temporary identity in the communication network in a preset manner, and broadcasts an identity configuration request message in the communication network according to the temporary identity, so that the master node returns a configuration command carrying the identity of the slave node that has disappeared from the communication network; The slave node configures the identity of the disappeared slave node as its own identity in the communication network.

5. The vehicle information configuration method according to claim 4, characterized in that: The slave node configures its own temporary identity in the communication network in a preset manner, including: The slave node configures the randomly generated identity as the temporary identity; Alternatively, the slave node configures a pre-stored identity as the temporary identity.

6. A slave node, characterized in that: The communication network formed by the master node and at least one slave node adopts a preset communication protocol, the transmission rate of the preset communication protocol is higher than the local interconnection network protocol; the slave node includes: A detection module, used to detect whether the communication network is connected when the slave node is powered on for the first time after being assembled; A configuration module is used to configure its own identity in the communication network according to the preset number when receiving a preset number corresponding to the installation position of the slave node sent by the vehicle diagnostic equipment through a contactless communication method when the communication network is not connected and the identity authentication between the slave node and the vehicle diagnostic equipment is passed.

7. A vehicle, comprising an electronic device, the electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 5 are implemented.

Citation Information

Patent Citations

  • Card writing method and card writing device based on NFC (Near Field Communication)

    CN103366140A

  • Automatic allocation and management method of IDs of smart home system node devices based on CAN bus

    CN108123860A

  • Method for identifying power supply communication bus ID in power supplying and distributing system

    CN108319564A