CN113472560A - Method of managing vehicle local area network, vehicle and storage medium - Google Patents

Method of managing vehicle local area network, vehicle and storage medium Download PDF

Info

Publication number
CN113472560A
CN113472560A CN202010245971.8A CN202010245971A CN113472560A CN 113472560 A CN113472560 A CN 113472560A CN 202010245971 A CN202010245971 A CN 202010245971A CN 113472560 A CN113472560 A CN 113472560A
Authority
CN
China
Prior art keywords
mode
forwarding
area network
local area
message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010245971.8A
Other languages
Chinese (zh)
Other versions
CN113472560B (en
Inventor
张鉴
秦帅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BYD Co Ltd
Original Assignee
BYD Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by BYD Co Ltd filed Critical BYD Co Ltd
Priority to CN202010245971.8A priority Critical patent/CN113472560B/en
Publication of CN113472560A publication Critical patent/CN113472560A/en
Application granted granted Critical
Publication of CN113472560B publication Critical patent/CN113472560B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40006Architecture of a communication node
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40208Bus networks characterized by the use of a particular bus standard
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40267Bus for use in transportation systems
    • H04L2012/40273Bus for use in transportation systems the transportation system being a vehicle

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention discloses a method for managing a vehicle local area network, a vehicle and a storage medium, wherein the method for managing the vehicle local area network is applied to a gateway controller and is characterized by comprising the following steps: receiving an application message sent by a function module of a local area network in a bus network of the whole vehicle; obtaining a local area network address of a local area network where the function module is located and a forwarding message flag bit signal according to the application message; and determining to forward or stop forwarding the message of the functional module of the local area network address according to the forwarding message flag bit signal. The method can reduce the development difficulty of the functional module software and save the network ID resources.

Description

Method of managing vehicle local area network, vehicle and storage medium
Technical Field
The present invention relates to the field of vehicle technologies, and in particular, to a method for managing a vehicle local area network, a non-transitory computer storage medium, and a vehicle.
Background
In the related art, a state control method of a multi-bus network implemented from a central gateway controller is used for controlling a vehicle local area network, and the method includes the following steps: when a specific network management message sent by a function controller of a local area network in a whole vehicle bus network in a first sending mode is received, analyzing the specific network management message to obtain a local area network ID (Identifier) of the local area network and current network state demand information; updating the current network state configuration information table according to the local area network ID of the local area network and the current network state demand information; and controlling the state of the corresponding local area network according to the updated network state configuration information table.
In the above manner, each function controller of the vehicle needs to send a specific network management message of the local area network, so that the gateway can obtain the network state information, and the message needs to be identified by using a local area network address, which wastes local area network address resources. And by using the scheme, all nodes are required to send network management messages, which is not suitable for master-slave indirect network management.
Disclosure of Invention
The present invention is directed to solving at least one of the problems of the prior art. Therefore, an object of the present invention is to provide a method for managing a vehicle lan, which can reduce the difficulty of software development of functional modules and save network ID resources.
It is a further object of the present invention to provide a non-transitory computer storage medium.
The invention also aims to provide a vehicle.
In order to solve the above problem, an embodiment of a first aspect of the present invention provides a method for managing a vehicle local area network, which is applied to a gateway controller, and includes: receiving an application message sent by a function module of a local area network in a bus network of the whole vehicle; obtaining a local area network address of a local area network where the function module is located and a forwarding message flag bit signal according to the application message; and determining to forward or stop forwarding the message of the functional module of the local area network address according to the forwarding message flag bit signal.
According to the method for managing the vehicle local area network, the gateway controller receives the application message sent by the function module, the local area network address and the forwarding message flag bit signal of the local area network where the function module is located are obtained according to the application message, whether the message of the function module is forwarded or not is determined according to the forwarding message flag bit signal, namely the gateway controller is used as a control processing unit of the local area network, the function module only needs to change the corresponding signal value according to the state change of the function module, the states of other modules do not need to be detected, the software development difficulty of the function module is favorably reduced, the forwarding message flag signal of the function module is contained in the application message, the address does not need to be additionally used for identifying the message, and the network ID resource is saved.
In some embodiments, the method further comprises: recording the local area network address of the local area network where the functional module is located; and if the local area network address is an undefined local area network address, forwarding all the received messages. The system meets the requirement of the function expansion of the vehicle and has better compatibility.
In some embodiments, the method further comprises: detecting a current working mode and acquiring a vehicle power supply gear signal; and determining a target working mode according to the forwarded message flag bit signal, the vehicle power supply gear signal and the current working mode, and switching the current working mode to the target working mode.
In some embodiments, the operating modes include a sleep mode, a normal forwarding mode, and an OFF-range forwarding mode, determining a target operating mode according to the forwarded message flag signal, the vehicle power shift signal, and the current operating mode, and switching the current operating mode to the target operating mode includes: in the sleep mode, responding to an effective ON gear signal, and switching from the sleep mode to the normal forwarding mode to forward a message; or in the sleep mode, receiving any message and not detecting a valid ON gear signal, switching from the sleep mode to the OFF gear forwarding mode, and starting a sleep waiting timer.
In some embodiments, the determining a target operating mode according to the forwarded packet flag signal, the vehicle power shift signal, and the current operating mode, and switching the current operating mode to the target operating mode further includes: in the OFF gear forwarding mode, detecting that the waiting dormancy timer is overtime, and switching from the OFF gear forwarding mode to the dormancy mode; or in the OFF gear forwarding mode, receiving a valid ON gear signal, and switching from the OFF gear forwarding mode to the normal forwarding mode; or, in the OFF gear forwarding mode, receiving any message, and resetting or restarting the dormancy waiting timer.
In some embodiments, the determining a target operating mode according to the forwarded packet flag signal, the vehicle power shift signal, and the current operating mode, and switching the current operating mode to the target operating mode further includes: and in the normal forwarding mode, receiving an OFF gear signal or a non-effective ON gear signal, and switching from the normal forwarding mode to the OFF gear forwarding mode.
In some embodiments, the OFF range forwarding mode includes an OFF range normal forwarding mode and an on-demand forwarding mode, and the method further includes: in the OFF gear normal forwarding mode, if the forwarding of the corresponding message of the functional module is stopped according to the forwarding message flag bit signal, switching from the OFF gear normal forwarding mode to the on-demand forwarding mode, and starting a configuration signal timeout timer corresponding to the functional module; or, in the on-demand forwarding mode, if the forwarding message flag bit signal determines that the forwarding of the corresponding message of the functional module is stopped, resetting a configuration signal timeout timer corresponding to the functional module; or, when the on-demand forwarding mode is in the on-demand forwarding mode, determining that the message corresponding to the functional module is forwarded according to the forwarded message flag bit signal, and switching from the on-demand forwarding mode to an OFF-gear normal forwarding mode.
In some embodiments, the method further comprises: and switching from the normal forwarding mode or the sleep mode to the OFF gear forwarding mode, and entering the OFF gear normal forwarding mode.
A second aspect embodiment of the present invention provides a non-transitory computer storage medium having a computer program stored thereon, the computer program, when executed, implementing the method for managing a vehicle local area network described in the above embodiments.
An embodiment of a third aspect of the invention provides a vehicle comprising: the system comprises a plurality of functional modules, a forwarding module and a processing module, wherein the functional modules are used for sending application messages, and the application messages at least comprise local area network addresses of local area networks where the functional modules are located and forwarding message flag bit signals; and the gateway controller is in communication connection with a plurality of the functional modules and is used for executing the method for managing the vehicle local area network in the embodiment.
According to the vehicle provided by the embodiment of the invention, the gateway controller is in communication connection with the plurality of functional modules, and the method for managing the vehicle local area network provided by the embodiment is adopted, so that the difficulty in developing the functional module software can be reduced, and the network ID resource can be saved.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The above and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
FIG. 1 is a flow diagram of a method of managing a vehicle local area network according to one embodiment of the present invention;
FIG. 2 is a schematic diagram of a gateway controller connected to a plurality of functional modules according to one embodiment of the present invention;
FIG. 3 is a schematic diagram of an application message sent by a functional module according to an embodiment of the invention;
FIG. 4 is a diagram of a message signal timeout configuration, according to one embodiment of the present invention;
FIG. 5 is a schematic diagram of switching vehicle operating modes according to one embodiment of the present invention.
Detailed Description
Embodiments of the present invention will be described in detail below, the embodiments described with reference to the drawings being illustrative, and the embodiments of the present invention will be described in detail below.
The following describes a method for managing a vehicle local area network according to an embodiment of the first aspect of the present invention, with reference to the accompanying drawings, which can reduce the difficulty of developing software for functional modules and save network ID resources.
Fig. 1 illustrates a method for managing a vehicle local area network according to an embodiment of the first aspect of the present invention, which is applied to a gateway controller, and as shown in fig. 1, the method for managing a vehicle local area network according to an embodiment of the present invention at least includes steps S1-S2.
And step S1, receiving an application message sent by a function module of a local area network in the whole bus network.
In some embodiments, the entire bus network may adopt a master-slave network management strategy, and the network management strategy of each network segment is executed according to the gateway controller during the sleep and wake-up of the network. In order to deal with a plurality of local area networks existing in the entire vehicle bus network, in the embodiment of the present invention, a gateway controller connected to all local area networks is used as a control processing unit of the local area networks, a functional module is used as a local area network node, and a plurality of functional modules are located in the plurality of local area networks, for example, fig. 2 shows a schematic diagram in which the gateway controller is connected to the plurality of functional modules, for example, a functional module a, a functional module B, and a functional module C are located in a local area network of the same network segment. Therefore, the gateway controller receives the application message sent by the function module of the local area network so as to wake up a plurality of local area networks or require sleep operation.
Step S2, according to the application message, obtaining the local area network address of the local area network where the function module is located and the flag bit signal of the forwarding message.
In the embodiment of the invention, the local area network address of the local area network where the functional module is located and the forwarding message flag bit signal are sent in the form of the application message, and the idle storage space in the application message is used for carrying the local area network address of the functional module and the forwarding message flag bit signal, so that the message is different from the message in the form of the network management message and does not need to occupy an independent network ID.
In the embodiment, the gateway controller analyzes the received application message, acquires a local area network address of a local area network where the functional module is located and a forwarding message flag bit signal, so that the gateway controller obtains network state information, wherein the local area network address is the ID of the local area network; the forwarding message flag bit signal can be understood as a message forwarding configuration signal of the functional module. That is, the application packet sent by the functional network in the embodiment of the present invention carries the local area network address and the flag bit signal of the forwarding packet, and it is not necessary to separately identify the address of the flag bit signal of the forwarding packet, so that the ID resource is saved.
Step S3, determining to forward or stop forwarding the message of the function module of the local network address according to the flag bit signal of the forwarding message.
In the embodiment, the gateway controller processes the forwarded packet flag signal, and determines whether the packet sent by the function module needs to be forwarded to another local area network according to the signal, as shown in fig. 3, the forwarded packet flag signal may be understood as a function module packet forwarding configuration signal, and whether forwarding or not forwarding is determined by a flag, for example, 0x0 indicates that the packet corresponding to the function module is forwarded, and 0x1 indicates that the packet corresponding to the function module is not forwarded.
Specifically, when a certain functional module sends a signal for stopping forwarding the application message of the module, the gateway controller immediately stops forwarding the application message sent by the module to all other local area networks; or, when a certain functional module sends a signal for determining to forward the application message of the module, the gateway controller immediately resumes forwarding the application message of the module.
And if the current state bit stops forwarding the application message of the function module, but the gateway controller loses the forwarded message flag bit signal of the function module, and the gateway controller monitors that the forwarded message flag bit signal of the function module is overtime, the gateway controller needs to update the recorded forwarded message flag bit signal and resume forwarding the message sent by the function module corresponding to the forwarded message flag bit signal, namely, the gateway controller needs to correspondingly forward or stop forwarding the application message sent by the corresponding function module according to the updated forwarded message flag bit signal.
For example, as shown in fig. 2, if the forwarding packet flag bit signal received by the gateway controller from the function module a is a signal for determining a forwarding packet, the gateway controller only forwards all application packets sent by the function module a to a certain or several local area networks defined in the earlier stage; if the flag bit signal of the forwarding message sent by the functional module A monitored by the gateway controller is overtime or triggered by other signals, all forwarding of the message of the functional module A is resumed. Therefore, the method of the embodiment of the invention uses the gateway controller as a control processing unit of the local area network, and the functional module only needs to change the corresponding signal value according to the state change of the functional module, and does not need to detect the states of other functional modules, thereby reducing the development difficulty of other module software.
According to the method for managing the vehicle local area network, the gateway controller receives the application message sent by the function module, the local area network address and the forwarding message flag bit signal of the local area network where the function module is located are obtained according to the application message, whether the message of the function module is forwarded or not is determined according to the forwarding message flag bit signal, namely the gateway controller is used as a control processing unit of the local area network, the function module only needs to change the corresponding signal value according to the state change of the function module, the states of other modules do not need to be detected, the software development difficulty of the function module is favorably reduced, the forwarding message flag signal of the function module is contained in the application message, the address does not need to be additionally used for identifying the message, and the network ID resource is saved.
In some embodiments, the method of the embodiments of the present invention further includes recording a local area network address of the local area network where the function module is located, and if the local area network address is an undefined local area network address, the gateway controller may forward all received messages. The gateway controller records the local area network addresses of all local area networks, and if the fact that the unrecorded local area network addresses appear in the whole bus network is detected, forwarding of all application messages can be recovered, so that the function of the newly added function module is guaranteed to be achieved when the program of the gateway controller is not updated, the function expansion requirement of the vehicle is met, and compatibility is improved.
In the embodiment, the method of the embodiment of the present invention further includes detecting a current working mode and obtaining a vehicle power supply gear signal, determining a target working mode according to the forwarded message flag signal, the vehicle power supply gear signal and the current working mode, and switching the current working mode to the target working mode.
In an embodiment, the operation modes include a sleep mode, a normal forwarding mode, and an OFF range forwarding mode. When the gateway controller is in a sleep mode, the forwarding function is not started, and the gateway controller can enable each functional module to enter a low power consumption mode in the sleep mode; when the gateway controller is in an OFF gear forwarding mode, independent switching can be performed according to the flag bit signals of the forwarding messages sent by each functional module; in the normal forwarding mode, the whole vehicle is in the ON gear mode, at this time, the gateway controller should normally forward all defined messages, and if the flag bit signal of the forwarded message sent by the functional module is received at this time, the signal should be ignored when the forwarding of the corresponding message of the functional module is stopped.
Further, the mode switching according to the embodiment of the present invention is specifically described with reference to fig. 4 and 5, and the detailed process is as follows.
Fig. 4 is a schematic diagram of a message signal timeout configuration, where a timer 0 indicates that the gateway controller waits for a sleep timer, and when the timer times out, the gateway controller should enter a sleep mode; and the timers 1 to n respectively represent the overtime timers of the configuration signals corresponding to each functional module, and when a flag bit signal of a forwarding message sent by a certain functional module is received and the message of the functional module is not forwarded, the timer corresponding to the functional module is started or reset, or if the timer is overtime, the timer is stopped and the forwarding of the message of the functional module is resumed.
As shown in fig. 5, condition 1 indicates that a valid ON-level signal is detected, and action 1 is to switch to a normal forwarding mode, that is, in a sleep mode, in response to the valid ON-level signal, switch from the sleep mode to the normal forwarding mode, and forward a message normally; or, in the sleep mode, if an arbitrary message is received and a valid ON range signal is not detected, i.e., condition 3, the mode is switched from the sleep mode to the OFF range forwarding mode, and the wait sleep timer 0 is started, i.e., action 3. The effective ON gear signal comprises a hard wire signal and a bus signal, and the forwarding function is not started in the sleep mode, so that the message forwarding can be carried out only after the vehicle power supply gear signal is switched to other working modes.
And, as shown in fig. 5, condition 4 indicates that timer 0 is detected to wait for sleep timeout, and action 4 is to switch to sleep mode, that is, in OFF-gear forwarding mode, when timer 0 is detected to wait for sleep timeout, switch from OFF-gear forwarding mode to sleep mode; or, in the OFF gear transfer mode, when receiving a valid ON gear signal, i.e., condition 1, switching from the OFF gear transfer mode to the normal transfer mode, i.e., action 1; or, in the OFF gear forwarding mode, if any message, i.e., condition 5, is received, the gateway controller should reset or restart the wait dormancy timer 0, i.e., action 5.
And, as shown in fig. 5, when the OFF range signal or the non-valid ON range signal, i.e., condition 2, is received in the normal transfer mode, the normal transfer mode is switched to the OFF range transfer mode, i.e., action 2.
In some embodiments, the OFF gear forwarding mode is further divided into an on-demand forwarding mode and an OFF gear normal forwarding mode. Under the OFF gear normal forwarding mode, the gateway controller normally forwards the message sent by the functional module; under the on-demand forwarding mode, the gateway controller stops forwarding the message sent to the corresponding functional module according to the definition.
Specifically, as shown in fig. 5, in the OFF-gear normal forwarding mode, when the gateway controller forwards a message of a certain functional module, and determines that a corresponding message of the functional module to be stopped from being forwarded, i.e., condition 7, according to a forwarding message flag bit signal, action 7 is executed, i.e., the gateway controller should switch the state of the functional module from the OFF-gear normal forwarding mode to the on-demand forwarding mode, and start a configuration signal timeout timer corresponding to the functional module; or, in the on-demand forwarding mode, when the gateway controller forwards a message of a certain functional module, and determines that the message corresponding to the functional module stops being forwarded according to the condition 8, that is, the forwarded message flag bit signal, the action 8 is executed, that is, the gateway controller should reset the configuration signal timeout timer corresponding to the functional module; or, in the on-demand forwarding mode, when the gateway controller forwards a message of a certain functional module, and determines that the message is a corresponding message of the forwarding functional module according to the condition 6, that is, a forwarding message flag bit signal, or the message sent by the functional module is overtime, or an undefined message in any on-demand forwarding configuration is received, then the action 6 is executed, that is, the on-demand forwarding mode is switched to the OFF-gear normal forwarding mode.
In some embodiments, the method of the present invention further includes switching from the normal forwarding mode or the sleep mode to the OFF-range forwarding mode, and entering the OFF-range normal forwarding mode. That is, in general, when the gateway controller switches from the sleep mode and the normal forwarding mode to the OFF-range forwarding mode, the gateway controller should first enter the OFF-range normal forwarding mode.
Therefore, the method of the embodiment of the invention takes the gateway controller as the control processing unit of the local area network, and the functional module only needs to change the corresponding signal value according to the state change of the functional module, and does not need to detect the states of other modules, thereby being beneficial to reducing the software development difficulty of the functional module. The method of the embodiment of the invention contains the flag bit signal of the forwarded message in the application message, so that no other ID identification is used, and the network ID resource is saved. And recording the received message ID in the gateway controller, and starting to forward all messages if undefined message ID is received, so that the function of the newly added functional module can be realized when the program of the gateway controller is not updated, and the gateway controller has better compatibility.
A second aspect of the present invention provides a non-transitory computer storage medium having a computer program stored thereon, where the computer program is executed to implement the method for managing a vehicle local area network provided by the above embodiments.
In a third aspect of the present invention, a vehicle 10 includes a plurality of functional modules and a gateway controller.
As shown in fig. 2, the plurality of function modules are located in a plurality of local area networks in a bus of the entire vehicle, and the function modules are used for sending application messages, where the application messages at least include local area network addresses of the local area networks where the function modules are located and flag bit signals of forwarding messages; the gateway controller is connected with a plurality of functional modules in a communication mode and is used for executing the method for managing the vehicle local area network provided by the embodiment.
According to the vehicle provided by the embodiment of the invention, the gateway controller is in communication connection with the plurality of functional modules, and the method for managing the vehicle local area network provided by the embodiment is adopted, so that the difficulty in developing the functional module software can be reduced, and the network ID resource can be saved.
In the description of this specification, any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing steps of custom logic functions or processes, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the embodiments of the present invention.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. If implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an illustrative embodiment," "an example," "a specific example," or "some examples" or the like mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example.
While embodiments of the invention have been shown and described, it will be understood by those of ordinary skill in the art that: various changes, modifications, substitutions and alterations can be made to the embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the claims and their equivalents.

Claims (10)

1. A method for managing a vehicle local area network is applied to a gateway controller and is characterized by comprising the following steps:
receiving an application message sent by a function module of a local area network in a bus network of the whole vehicle;
obtaining a local area network address of a local area network where the function module is located and a forwarding message flag bit signal according to the application message;
and determining to forward or stop forwarding the message of the functional module of the local area network address according to the forwarding message flag bit signal.
2. The method of managing a vehicle local area network of claim 1, further comprising:
recording the local area network address of the local area network where the functional module is located;
and if the local area network address is an undefined local area network address, forwarding all the received messages.
3. The method of managing a vehicle local area network of claim 1, further comprising:
detecting a current working mode and acquiring a vehicle power supply gear signal;
and determining a target working mode according to the forwarded message flag bit signal, the vehicle power supply gear signal and the current working mode, and switching the current working mode to the target working mode.
4. The method of managing a vehicle area network according to claim 3, wherein the operation modes include a sleep mode, a normal forwarding mode and an OFF-range forwarding mode;
determining a target working mode according to the forwarded message flag bit signal, the vehicle power supply gear signal and the current working mode, and switching the current working mode to the target working mode, including:
in the sleep mode, responding to an effective ON gear signal, and switching from the sleep mode to the normal forwarding mode to forward a message;
or in the sleep mode, receiving any message and not detecting a valid ON gear signal, switching from the sleep mode to the OFF gear forwarding mode, and starting a sleep waiting timer.
5. The method of managing a vehicle area network according to claim 4, wherein said determining a target operating mode based on said forwarded message flag signal, said vehicle power shift signal, and said current operating mode, and switching said current operating mode to said target operating mode, further comprises:
in the OFF gear forwarding mode, detecting that the waiting dormancy timer is overtime, and switching from the OFF gear forwarding mode to the dormancy mode;
Or in the OFF gear forwarding mode, receiving a valid ON gear signal, and switching from the OFF gear forwarding mode to the normal forwarding mode;
or, in the OFF gear forwarding mode, receiving any message, and resetting or restarting the dormancy waiting timer.
6. The method of managing a vehicle area network according to claim 5, wherein said determining a target operating mode based on said forwarded message flag signal, said vehicle power shift signal, and said current operating mode, and switching said current operating mode to said target operating mode, further comprises:
and in the normal forwarding mode, receiving an OFF gear signal or a non-effective ON gear signal, and switching from the normal forwarding mode to the OFF gear forwarding mode.
7. The method of managing a vehicle area network according to claim 6, wherein the OFF range forwarding mode includes an OFF range normal forwarding mode and an on-demand forwarding mode, the method further comprising:
in the OFF gear normal forwarding mode, if the forwarding of the corresponding message of the functional module is stopped according to the forwarding message flag bit signal, switching from the OFF gear normal forwarding mode to the on-demand forwarding mode, and starting a configuration signal timeout timer corresponding to the functional module;
Or, in the on-demand forwarding mode, if the forwarding message flag bit signal determines that the forwarding of the corresponding message of the functional module is stopped, resetting a configuration signal timeout timer corresponding to the functional module;
or, when the on-demand forwarding mode is in the on-demand forwarding mode, determining that the message corresponding to the functional module is forwarded according to the forwarded message flag bit signal, and switching from the on-demand forwarding mode to an OFF-gear normal forwarding mode.
8. The method of managing a vehicle local area network of claim 7, further comprising:
and switching from the normal forwarding mode or the sleep mode to the OFF gear forwarding mode, and entering the OFF gear normal forwarding mode.
9. A non-transitory computer storage medium having stored thereon a computer program that, when executed, implements the method of managing a vehicle local area network of any one of claims 1-8.
10. A vehicle, characterized by comprising:
the system comprises a plurality of functional modules, a forwarding module and a processing module, wherein the functional modules are used for sending application messages, and the application messages at least comprise local area network addresses of local area networks where the functional modules are located and forwarding message flag bit signals;
A gateway controller, communicatively coupled to a plurality of said functional modules, for performing the method of managing a vehicle area network of any of claims 1-8.
CN202010245971.8A 2020-03-31 2020-03-31 Method of managing vehicle local area network, vehicle and storage medium Active CN113472560B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010245971.8A CN113472560B (en) 2020-03-31 2020-03-31 Method of managing vehicle local area network, vehicle and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010245971.8A CN113472560B (en) 2020-03-31 2020-03-31 Method of managing vehicle local area network, vehicle and storage medium

Publications (2)

Publication Number Publication Date
CN113472560A true CN113472560A (en) 2021-10-01
CN113472560B CN113472560B (en) 2023-01-06

Family

ID=77866070

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010245971.8A Active CN113472560B (en) 2020-03-31 2020-03-31 Method of managing vehicle local area network, vehicle and storage medium

Country Status (1)

Country Link
CN (1) CN113472560B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114745266A (en) * 2022-06-10 2022-07-12 深圳市友恺通信技术有限公司 Network state control management method and system based on big data
CN115167351A (en) * 2022-06-30 2022-10-11 中国第一汽车股份有限公司 Controller function updating method and system, vehicle and server

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130274897A1 (en) * 2010-12-08 2013-10-17 Brose Fahrzeugteile & CO. KG Method for operating an electrical system of a motor vehicle and bus system operating in accordance with the method
WO2015184868A1 (en) * 2014-10-30 2015-12-10 中兴通讯股份有限公司 Device and method for detecting signal failure in service layer
CN106878112A (en) * 2017-03-20 2017-06-20 北京汽车研究总院有限公司 A kind of gateway controller, data transmission method and device
CN108382324A (en) * 2018-01-18 2018-08-10 沈阳中科唯电子技术有限公司 A kind of low-power consumption entire car controller of integrated gateway function
CN109547313A (en) * 2018-12-07 2019-03-29 北京汽车集团有限公司 Network state management method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130274897A1 (en) * 2010-12-08 2013-10-17 Brose Fahrzeugteile & CO. KG Method for operating an electrical system of a motor vehicle and bus system operating in accordance with the method
WO2015184868A1 (en) * 2014-10-30 2015-12-10 中兴通讯股份有限公司 Device and method for detecting signal failure in service layer
CN106878112A (en) * 2017-03-20 2017-06-20 北京汽车研究总院有限公司 A kind of gateway controller, data transmission method and device
CN108382324A (en) * 2018-01-18 2018-08-10 沈阳中科唯电子技术有限公司 A kind of low-power consumption entire car controller of integrated gateway function
CN109547313A (en) * 2018-12-07 2019-03-29 北京汽车集团有限公司 Network state management method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114745266A (en) * 2022-06-10 2022-07-12 深圳市友恺通信技术有限公司 Network state control management method and system based on big data
CN115167351A (en) * 2022-06-30 2022-10-11 中国第一汽车股份有限公司 Controller function updating method and system, vehicle and server

Also Published As

Publication number Publication date
CN113472560B (en) 2023-01-06

Similar Documents

Publication Publication Date Title
CN113472560B (en) Method of managing vehicle local area network, vehicle and storage medium
CN109144728B (en) Occupancy control method and device for camera application
US9276822B2 (en) Method for transmitting messages in a communication network
KR100725406B1 (en) Method and apparatus for saving power by controlling listening periods in wireless network communication system which has plural power saving mode
US9032227B2 (en) Wireless communication apparatus and power management method for the same
CN102045248B (en) Virtual link discovery control method and Ethernet fiber channel protocol system
US20030223436A1 (en) System for managing networks
CN114866365B (en) Arbitration machine election method, device, intelligent equipment and computer readable storage medium
JP6179101B2 (en) Management device, management method, and management program
EP4164197A1 (en) Virtual ip management method and apparatus, electronic device and storage medium
CN114828177A (en) Vehicle-mounted multi-gateway collaborative dormancy and awakening method, system and storage medium
CN110740083A (en) Voice equipment awakening method and device, household appliance and readable storage medium
CN103078756A (en) Mode switching method and CAN (Controller Area Network)
CN112911520A (en) Method, device and storage medium for determining master node in ad hoc network
KR20150104435A (en) Method of performing transition of operation mode for a routing processor
JP2001016222A (en) Network system, electronic equipment and power supply control method
US20220164020A1 (en) Methods for multidrop network system
US20180024843A1 (en) Method and associated apparatus for performing wake-up management on network devices
JPH07295689A (en) Remote control system
CN112491673A (en) Bus network management method, system, vehicle and storage medium
CN116069147A (en) Vehicle-mounted controller dormancy method and device and vehicle
JP2023005936A (en) Relay device, relay system, relay method, and computer program
JP2005020570A (en) Multiplex communication system
JP2001275170A (en) Load control system
JP2019134458A (en) Anchor master AM management method and node

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant