CN107465588A - Condition control method, device and the NMS of multiple bus network - Google Patents

Condition control method, device and the NMS of multiple bus network Download PDF

Info

Publication number
CN107465588A
CN107465588A CN201710624831.XA CN201710624831A CN107465588A CN 107465588 A CN107465588 A CN 107465588A CN 201710624831 A CN201710624831 A CN 201710624831A CN 107465588 A CN107465588 A CN 107465588A
Authority
CN
China
Prior art keywords
network
local area
area network
state
network management
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
CN201710624831.XA
Other languages
Chinese (zh)
Other versions
CN107465588B (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.)
Guangzhou Automobile Group Co Ltd
Original Assignee
Guangzhou Automobile Group 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 Guangzhou Automobile Group Co Ltd filed Critical Guangzhou Automobile Group Co Ltd
Priority to CN201710624831.XA priority Critical patent/CN107465588B/en
Publication of CN107465588A publication Critical patent/CN107465588A/en
Application granted granted Critical
Publication of CN107465588B publication Critical patent/CN107465588B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • H04L12/40013Details regarding a bus controller
    • 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/0813Configuration setting characterised by the conditions triggering a change of settings
    • 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/26Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks using dedicated tools for LAN [Local Area Network] management
    • 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

本发明涉及一种多路总线网络的状态控制方法、装置及网络管理系统,其中,从中央网关控制器角度实施的多路总线网络的状态控制方法,包括以下步骤:在接收到整车总线网络中局域网络的功能控制器以第一发送方式发送的特定网络管理报文时,解析特定网络管理报文,得到局域网络的局域网ID以及当前的网络状态需求信息;根据局域网络的局域网ID以及当前的网络状态需求信息,对当前的网络状态配置信息表进行更新;根据更新后的网络状态配置信息表,对相应局域网络的状态进行控制。本发明解决了当前复杂的汽车总线网络的快速更新及功能扩展要求,同时能够解决汽车总线网络中的控制器的实时性唤醒要求。

The present invention relates to a state control method, device and network management system of a multi-way bus network, wherein the state control method of a multi-way bus network implemented from the perspective of a central gateway controller comprises the following steps: When the function controller of the local area network sends a specific network management message in the first sending mode, it analyzes the specific network management message to obtain the local area network ID of the local area network and the current network status requirement information; according to the local area network ID of the local area network and the current The current network status configuration information table is updated; according to the updated network status configuration information table, the status of the corresponding local area network is controlled. The invention solves the requirements of rapid update and function expansion of the current complicated automobile bus network, and simultaneously can solve the real-time awakening requirement of the controller in the automobile bus network.

Description

多路总线网络的状态控制方法、装置及网络管理系统State control method, device and network management system of multi-channel bus network

技术领域technical field

本发明涉及汽车总线网络管理技术领域,特别是涉及一种多路总线网络的状态控制方法、装置及网络管理系统。The invention relates to the technical field of automobile bus network management, in particular to a state control method, device and network management system of a multi-channel bus network.

背景技术Background technique

随着汽车电器架构越来越复杂,整车总线网络的架构一般都包含两个及以上的局域网络,而且不同局域网络根据功能要求的不同使用了不同的网络管理策略。协同各局域网络的网络管理(唤醒和睡眠)成为整车总线网络设计的难点。As the architecture of automotive electrical appliances becomes more and more complex, the architecture of the vehicle bus network generally includes two or more local area networks, and different local area networks use different network management strategies according to different functional requirements. Network management (wake-up and sleep) in coordination with each local area network has become a difficult point in the design of the vehicle bus network.

目前大部分汽车CAN(Controller Area Network)总线网络基本采用的是主从式的网络管理策略,网络的睡眠和唤醒根据主控制器(或网关控制器)来执行各网段的网络管理策略。这种网络管理策略在设计初期就已经确定好,后期变化需要更改主控制器的网络管理方法,因此,这种网络管理方法的可扩展性和兼容性较差。而另外一些采用主主式的网络管理策略中,整车总线网络架构中的不同局域网基本都是独立处理唤醒和睡眠要求,不同局域网对其他局域网的唤醒和睡眠要求基本是根据实际使用过程中的需求来设定,无法实现平台化的网络管理。为此,传统技术提出了通过网关进行多个局域网络唤醒的方法。At present, most automotive CAN (Controller Area Network) bus networks basically adopt a master-slave network management strategy. The sleep and wake-up of the network is based on the master controller (or gateway controller) to implement the network management strategy of each network segment. This network management strategy has been determined at the early stage of design, and later changes need to change the network management method of the main controller. Therefore, this network management method has poor scalability and compatibility. In other master-master network management strategies, different LANs in the vehicle bus network architecture basically handle wake-up and sleep requirements independently, and the wake-up and sleep requirements of different LANs for other LANs are basically based on actual usage. It is set according to requirements, and platform-based network management cannot be realized. For this reason, the traditional technology proposes a method of performing multiple wake-ups on local area networks through a gateway.

在实现过程中,发明人发现传统技术中至少存在如下问题:传统利用网关进行网络唤醒的方式局限性很大,会同时一起唤醒所有网络,不利于后期功能的扩展;同时传统技术受制于网络管理报文发送方式的限制,无法应对实时性的唤醒要求。During the implementation process, the inventor found at least the following problems in the traditional technology: the traditional method of using the gateway to wake up the network has great limitations, and it will wake up all networks at the same time, which is not conducive to the expansion of later functions; at the same time, the traditional technology is restricted by network management. The limitation of the message sending method cannot meet the real-time wake-up requirement.

发明内容Contents of the invention

基于此,有必要针对传统汽车网络唤醒方式不利于后期功能的扩展,无法解决实时性唤醒要求的问题,提供一种多路总线网络的状态控制方法、装置及网络管理系统。Based on this, it is necessary to provide a state control method, device and network management system for a multi-channel bus network in view of the fact that the traditional automobile network wake-up method is not conducive to the expansion of later functions and cannot solve the real-time wake-up requirements.

为了实现上述目的,一方面,本发明实施例提供了一种从中央网关控制器角度实施的多路总线网络的状态控制方法,包括以下步骤:In order to achieve the above object, on the one hand, an embodiment of the present invention provides a method for controlling the state of a multi-channel bus network implemented from the perspective of a central gateway controller, including the following steps:

在接收到整车总线网络中局域网络的功能控制器以第一发送方式发送的特定网络管理报文时,解析特定网络管理报文,得到局域网络的局域网ID以及当前的网络状态需求信息;第一发送方式为功能控制器在检测到局域网络的当前网络状态需求发生改变时、实时发送特定网络管理报文;When receiving the specific network management message sent by the function controller of the local area network in the vehicle bus network in the first sending mode, analyze the specific network management message to obtain the local area network ID of the local area network and the current network status requirement information; the second A sending method is that the function controller sends a specific network management message in real time when it detects that the current network status requirement of the local area network has changed;

根据局域网络的局域网ID以及当前的网络状态需求信息,对当前的网络状态配置信息表进行更新;Update the current network status configuration information table according to the LAN ID of the local area network and the current network status requirement information;

根据更新后的网络状态配置信息表,对相应局域网络的状态进行控制。According to the updated network state configuration information table, the state of the corresponding local area network is controlled.

一方面,本发明实施例提供了一种从功能控制器角度实施的多路总线网络的状态控制方法,包括以下步骤:On the one hand, an embodiment of the present invention provides a method for controlling the state of a multi-channel bus network implemented from the perspective of a function controller, including the following steps:

在检测到接入的局域网络的当前网络状态需求发生改变时,以第一发送方式向中央网关控制器发送特定网络管理报文;特定网络管理报文包含局域网络的局域网ID以及当前的网络状态需求信息;第一发送方式为在检测到所述局域网络的当前网络状态需求发生改变时、实时发送特定网络管理报文。When it is detected that the current network state requirement of the accessed local area network changes, a specific network management message is sent to the central gateway controller in the first sending mode; the specific network management message includes the local area network ID of the local area network and the current network state Requirement information: the first sending method is to send a specific network management message in real time when it is detected that the current network state requirement of the local area network changes.

一方面,本发明实施例还提供了一种从中央网关控制器角度实施的多路总线网络的状态控制装置,包括:On the one hand, an embodiment of the present invention also provides a state control device for a multi-channel bus network implemented from the perspective of a central gateway controller, including:

中央网关解析单元,用于在接收到整车总线网络中局域网络的功能控制器以第一发送方式发送的特定网络管理报文时,解析特定网络管理报文,得到局域网络的局域网ID以及当前的网络状态需求信息;第一发送方式为功能控制器在检测到局域网络的当前网络状态需求发生改变时、实时发送特定网络管理报文;The central gateway analysis unit is used to analyze the specific network management message when receiving the specific network management message sent by the function controller of the local area network in the vehicle bus network in the first transmission mode, and obtain the local area network ID of the local area network and the current The network status requirement information; the first sending method is that the function controller sends a specific network management message in real time when it detects that the current network status requirement of the local area network changes;

中央网关更新单元,用于根据局域网络的局域网ID以及当前的网络状态需求信息,对当前的网络状态配置信息表进行更新;The central gateway update unit is used to update the current network state configuration information table according to the local area network ID of the local area network and the current network state requirement information;

中央网关控制单元,用于根据更新后的网络状态配置信息表,对相应局域网络的状态进行控制。The central gateway control unit is used to control the state of the corresponding local area network according to the updated network state configuration information table.

另一方面,本发明实施例提供了一种从功能控制器角度实施的多路总线网络的状态控制装置,包括:On the other hand, an embodiment of the present invention provides a state control device for a multi-channel bus network implemented from the perspective of a function controller, including:

功能控制器报文发送单元,用于在检测到接入的局域网络的当前网络状态需求发生改变时,以第一发送方式向中央网关控制器发送特定网络管理报文;A function controller message sending unit, configured to send a specific network management message to the central gateway controller in a first sending manner when it is detected that the current network status requirement of the accessed local area network has changed;

特定网络管理报文包含局域网络的局域网ID以及当前的网络状态需求信息;第一发送方式为在检测到局域网络的当前网络状态需求发生改变时、实时发送特定网络管理报文。The specific network management message includes the LAN ID of the local area network and the current network status requirement information; the first sending method is to send the specific network management message in real time when the current network status requirement of the local area network is detected to change.

一方面,本发明提供了一种多路总线网络的网络管理系统,包括接入整车总线网络的中央网关控制器,接入整车总线网络中各局域网络的各功能控制器;On the one hand, the present invention provides a network management system of a multi-channel bus network, including a central gateway controller connected to the vehicle bus network, and various function controllers connected to each local area network in the vehicle bus network;

功能控制器在检测到接入的局域网络的当前网络状态需求发生改变时,以第一发送方式向中央网关控制器发送特定网络管理报文;第一发送方式为功能控制器在检测到局域网络的当前网络状态需求发生改变时、实时发送特定网络管理报文;When the function controller detects that the current network status requirements of the connected local area network have changed, it sends a specific network management message to the central gateway controller in the first sending method; the first sending method is that the function controller detects that the local area network Send specific network management messages in real time when the current network status requirements change;

中央网关控制器在接收到特定网络管理报文时,解析特定网络管理报文,得到局域网络的局域网ID以及当前的网络状态需求信息;根据局域网络的局域网ID以及当前的网络状态需求信息,对当前的网络状态配置信息表进行更新;根据更新后的网络状态配置信息表,对相应局域网络的状态进行控制。When the central gateway controller receives a specific network management message, it parses the specific network management message to obtain the LAN ID of the local area network and the current network status requirement information; according to the LAN ID of the local area network and the current network status requirement information, the The current network state configuration information table is updated; according to the updated network state configuration information table, the state of the corresponding local area network is controlled.

一方面,本发明实施例提供了一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,处理器执行程序时实现上述从中央网关控制器角度实施的多路总线网络的状态控制方法的步骤。On the one hand, an embodiment of the present invention provides a computer device, including a memory, a processor, and a computer program stored on the memory and operable on the processor. When the processor executes the program, the above-mentioned implementation from the perspective of the central gateway controller Steps of a state control method for a multi-way bus network.

另一方面,本发明实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现上述从中央网关控制器角度实施的多路总线网络的状态控制方法的步骤。On the other hand, an embodiment of the present invention also provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the above-mentioned state control of the multi-channel bus network implemented from the perspective of the central gateway controller is realized. method steps.

一方面,本发明实施例提供了一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,处理器执行程序时实现上述从功能控制器角度实施的多路总线网络的状态控制方法的步骤。On the one hand, an embodiment of the present invention provides a computer device, including a memory, a processor, and a computer program stored in the memory and operable on the processor. The steps of the state control method of road bus network.

另一方面,本发明实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现上述从功能控制器角度实施的多路总线网络的状态控制方法的步骤。On the other hand, an embodiment of the present invention also provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the above method for controlling the state of a multi-channel bus network implemented from the perspective of a function controller is implemented. A step of.

本发明具有如下优点和有益效果:The present invention has following advantage and beneficial effect:

本发明多路总线网络的状态控制方法、装置及网络管理系统,基于特定网络管理报文,报文中携带有所有局域网络的ID及对应的网络需求信息(唤醒、可睡眠),通过分配各局域网络ID来标识网络,各功能控制器将需要保持通讯网络的ID发送给中央网关控制器;中央网关控制器接收所有局域网络上的网络管理报文,形成一个网络状态配置表,中央网关控制器根据这个网络状态配置表实现多路总线网络的睡眠和唤醒动作。本发明提供了一种协同汽车车载局域网络的睡眠唤醒策略,通过一个连接所有局域网络的中央网关控制器,协调多路总线网络的唤醒和睡眠;通过参与网络通讯的各功能控制器根据自身的通讯要求,向中央网关控制器发送网络状态信息;中央网关控制器根据接收到的所有网络状态信息控制连接的各局域网络的唤醒和睡眠。本发明具有较好的兼容性及可扩展性,对于不同的车型平台和同一个平台的功能扩展,对原平台的网络架构中控制器没有任何影响;基于本发明,可以通过新增控制器来支持本发明的网络控制策略,即可实现整车各局域网络的协同睡眠和唤醒功能。本发明解决了当前复杂的汽车总线网络的快速更新及功能扩展要求,同时能够解决汽车总线网络中的控制器的实时性唤醒要求。控制器通过特定网络管理报文发送需求网络ID,不用增加额外报文,不影响原来总线的负载率。The state control method, device and network management system of the multi-channel bus network of the present invention are based on specific network management messages, which carry IDs of all local area networks and corresponding The local area network ID is used to identify the network, and each functional controller sends the ID of the communication network that needs to be maintained to the central gateway controller; the central gateway controller receives all network management messages on the local area network to form a network status configuration table, and the central gateway controls According to the network state configuration table, the device realizes the sleep and wake-up actions of the multi-way bus network. The present invention provides a sleep-wake-up strategy for coordinated vehicle-mounted local area networks. A central gateway controller that connects all local area networks coordinates the wake-up and sleep of multiple bus networks; Communication requirements, send network status information to the central gateway controller; the central gateway controller controls the wake-up and sleep of each connected local area network according to all received network status information. The present invention has better compatibility and expandability, and for different model platforms and function expansion of the same platform, it has no influence on the controller in the network architecture of the original platform; based on the present invention, new controllers can be added By supporting the network control strategy of the present invention, the coordinated sleep and wake-up functions of the local area networks of the vehicle can be realized. The invention solves the requirements of rapid update and function expansion of the current complex automobile bus network, and simultaneously can solve the real-time awakening requirement of the controller in the automobile bus network. The controller sends the required network ID through a specific network management message, without adding additional messages, and without affecting the load rate of the original bus.

附图说明Description of drawings

图1为本发明从中央网关控制器角度实施的多路总线网络的状态控制方法实施例1的流程示意图;Fig. 1 is the schematic flow chart of embodiment 1 of the state control method of the multi-channel bus network implemented from the perspective of the central gateway controller of the present invention;

图2为本发明从功能控制器角度实施的多路总线网络的状态控制方法实施例1的流程示意图;Fig. 2 is the schematic flow chart of Embodiment 1 of the state control method of the multi-channel bus network implemented from the perspective of the functional controller of the present invention;

图3为本发明多路总线网络的状态控制方法中特定网络管理报文的报文数据场示意图;Fig. 3 is the message data field schematic diagram of specific network management message in the state control method of multi-channel bus network of the present invention;

图4为本发明从中央网关控制器角度实施的多路总线网络的状态控制装置实施例1的结构示意图;Fig. 4 is the structural schematic diagram of embodiment 1 of the state control device of the multi-channel bus network implemented from the perspective of the central gateway controller of the present invention;

图5为本发明从功能控制器角度实施的多路总线网络的状态控制装置实施例1的结构示意图;5 is a schematic structural view of embodiment 1 of a state control device for a multi-way bus network implemented from the perspective of a functional controller in the present invention;

图6为本发明多路总线网络的网络管理系统实施例1的结构示意图;FIG. 6 is a schematic structural diagram of Embodiment 1 of the network management system of the multi-way bus network of the present invention;

图7本发明多路总线网络的网络管理系统中生成初始的网络状态配置信息表的流程示意图;Fig. 7 is a schematic flow diagram of generating an initial network state configuration information table in the network management system of the multi-channel bus network of the present invention;

图8为本发明多路总线网络的网络管理系统中状态实时控制流程示意图;Fig. 8 is a schematic diagram of a state real-time control flow in the network management system of the multi-way bus network of the present invention;

图9为本发明多路总线网络的网络管理系统一完整工作流程示意图。FIG. 9 is a schematic diagram of a complete working process of the network management system of the multi-way bus network of the present invention.

具体实施方式detailed description

为了便于理解本发明,下面将参照相关附图对本发明进行更全面的描述。附图中给出了本发明的首选实施例。但是,本发明可以以许多不同的形式来实现,并不限于本文所描述的实施例。相反地,提供这些实施例的目的是使对本发明的公开内容更加透彻全面。In order to facilitate the understanding of the present invention, the present invention will be described more fully below with reference to the associated drawings. A preferred embodiment of the invention is shown in the drawings. However, the present invention can be embodied in many different forms and is not limited to the embodiments described herein. Rather, these embodiments are provided so that the disclosure of the present invention will be thorough and complete.

除非另有定义,本文所使用的所有的技术和科学术语与属于本发明的技术领域的技术人员通常理解的含义相同。本文中在本发明的说明书中所使用的术语只是为了描述具体的实施例的目的,不是旨在于限制本发明。本文所使用的术语“及/或”包括一个或多个相关的所列项目的任意的和所有的组合。Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the technical field of the invention. The terms used herein in the description of the present invention are for the purpose of describing specific embodiments only, and are not intended to limit the present invention. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.

本发明多路总线网络的状态控制方法、装置及网络管理系统应用场景说明:Description of the application scenarios of the state control method, device and network management system of the multi-channel bus network of the present invention:

传统技术为了应对整车总线网络中存在的多个网络,通过网关进行多个网络唤醒;但是,传统技术要么在唤醒时是同时唤醒所有网络,要么在唤醒时根据节点的特征进行不同的唤醒。而上述方式的局限性很大,不利于后期功能的扩展;In order to cope with multiple networks in the vehicle bus network, the traditional technology performs multiple network wake-ups through the gateway; however, the traditional technology either wakes up all networks at the same time when waking up, or wakes up differently according to the characteristics of the nodes when waking up. However, the above method has great limitations, which is not conducive to the expansion of later functions;

另外,传统技术受制于网络管理报文发送方式的限制,无法应对实时性的唤醒要求,例如,某些网段在使用OSEK(open systems and the corresponding interfaces forautomotive electronics:汽车电子类开放系统和对应接口标准)网络管理或AUTOSAR(AUTOmotive Open System Architecture:汽车开放系统架构)网络管理时,必须遵循令牌环或降负载的网络管理报文发送方法,当某个控制器需要立即唤醒另外一个网段时,因为网络管理报文发送方式限制,无法达到实时性的要求,在实际应用中难以真正实现局域网络的实时快速唤醒。In addition, the traditional technology is limited by the way of sending network management messages and cannot meet the real-time wake-up requirements. For example, some network segments are using OSEK (open systems and the corresponding interfaces for automotive electronics: open systems and the corresponding interfaces for automotive electronics) Standard) network management or AUTOSAR (AUTOmotive Open System Architecture: Automotive Open System Architecture) network management, must follow the Token Ring or load-reducing network management message sending method, when a controller needs to wake up another network segment immediately , due to the limitation of the sending mode of the network management message, the real-time requirement cannot be met, and it is difficult to realize the real-time and fast wake-up of the local area network in practical applications.

本发明在唤醒时在中央网关控制器进行信息表配置,根据表的配置情况进行不同网络的唤醒,一方面可以实现不同网络的唤醒策略不同(而不是统一一起唤醒),一方面也可以实现网络的快速实时唤醒。优选的,本发明的技术方案适用于具有2路及以上的汽车总线网络的网络管理。The present invention configures the information table in the central gateway controller when waking up, and wakes up different networks according to the configuration of the table. On the one hand, it can realize different waking strategies for different networks (instead of waking up together), and on the other hand, it can also realize network fast real-time wake-up. Preferably, the technical solution of the present invention is applicable to the network management of an automobile bus network with 2 or more routes.

本发明从中央网关控制器角度实施的多路总线网络的状态控制方法实施例1:Embodiment 1 of the state control method of the multi-channel bus network implemented from the perspective of the central gateway controller of the present invention:

为了解决传统汽车网络唤醒方式不利于后期功能的扩展,无法解决实时性唤醒要求的问题,本发明提供了一种从中央网关控制器角度实施的多路总线网络的状态控制方法实施例1;图1为本发明从中央网关控制器角度实施的多路总线网络的状态控制方法实施例1的流程示意图;如图1所示,可以包括以下步骤:In order to solve the problem that the traditional automobile network wake-up method is not conducive to the expansion of later functions and cannot solve the problem of real-time wake-up requirements, the present invention provides a state control method embodiment 1 of a multi-channel bus network implemented from the perspective of a central gateway controller; 1 is a schematic flow diagram of Embodiment 1 of the state control method of a multi-channel bus network implemented from the perspective of a central gateway controller in the present invention; as shown in Figure 1, the following steps may be included:

步骤S110:在接收到整车总线网络中局域网络的功能控制器以第一发送方式发送的特定网络管理报文时,解析特定网络管理报文,得到局域网络的局域网ID以及当前的网络状态需求信息;第一发送方式为功能控制器在检测到局域网络的当前网络状态需求发生改变时、实时发送特定网络管理报文;Step S110: When receiving the specific network management message sent by the function controller of the local area network in the vehicle bus network in the first transmission mode, analyze the specific network management message to obtain the local area network ID of the local area network and the current network status requirements information; the first sending method is that the function controller sends a specific network management message in real time when it detects that the current network status requirement of the local area network has changed;

步骤S120:根据局域网络的局域网ID以及当前的网络状态需求信息,对当前的网络状态配置信息表进行更新;Step S120: update the current network state configuration information table according to the LAN ID of the local area network and the current network state requirement information;

步骤S130:根据更新后的网络状态配置信息表,对相应局域网络的状态进行控制。Step S130: Control the state of the corresponding local area network according to the updated network state configuration information table.

具体而言,本发明可以通过一个连接所有局域网络的中央网关控制器,协调多路总线网络的唤醒和睡眠;中央网关控制器在接收到包含有局域网络的局域网ID以及当前的网络状态需求信息的特定网络管理报文时,对存储的网络状态配置表信息进行更新,并按照更新后的网络配置表对各局域网进行唤醒或要求睡眠操作。Specifically, the present invention can coordinate the wake-up and sleep of multiple bus networks through a central gateway controller that connects all local area networks; When a specific network management message is received, the stored network status configuration table information is updated, and each local area network is woken up or required to sleep according to the updated network configuration table.

需要说明的是中央网关控制器也可以通过网络管理报文(即网络报文)对各局域网进行控制;中央网关控制器的网络管理报文携带当前最新的网络状态配置表信息,及各局域网的ID及最新状态信息。It should be noted that the central gateway controller can also control the local area networks through network management messages (i.e. network messages); the network management messages of the central gateway controller carry the latest network status configuration table information, and the configuration table information of each local area network. ID and latest status information.

本发明各实施例中接入局域网的功能控制器可以根据自身的通讯需求产生网络ID及相应网络ID的状态信息,并将特定网络管理报文发送到网络上。中央网络控制器根据接收的网络上的特定网络管理报文,形成一个网络状态配置信息表,中央网关控制器根据这个网络状态配置表使相应的网络进入唤醒或睡眠状态。In each embodiment of the present invention, the functional controller accessing the local area network can generate the network ID and the status information of the corresponding network ID according to its own communication requirements, and send a specific network management message to the network. The central network controller forms a network state configuration information table according to the received specific network management message on the network, and the central gateway controller makes the corresponding network enter the wake-up or sleep state according to the network state configuration table.

其中,特定网络管理报文包含有局域网络的局域网ID以及当前的网络状态需求信息;而网络状态需求信息包括“没有请求”和“请求唤醒”两个状态信息,分别可以在特定网络管理报文中网络状态字节位对应赋值为0或1;其中,赋值为1表示请求唤醒,而赋值为0表示没有请求。进一步的,网络状态配置表可以记录局域网ID以及对应的网络状态信息,中央网关控制器执行网络状态配置表中赋值为0对应的局域网络(即可以根据各局域网络的局域网ID来标识网络)进行睡眠状态,赋值为1的对应的局域网络进入唤醒状态。Among them, the specific network management message contains the local area network ID of the local area network and the current network status requirement information; and the network status requirement information includes two status information of "no request" and "request to wake up", which can be included in the specific network management message respectively. The bit of the network status byte in the network is assigned a corresponding value of 0 or 1; wherein, an assigned value of 1 indicates a request for wake-up, and an assigned value of 0 indicates no request. Further, the network state configuration table can record the local area network ID and corresponding network state information, and the central gateway controller executes the local area network corresponding to the assignment value of 0 in the network state configuration table (that is, the network can be identified according to the local area network ID of each local area network) In the sleep state, the corresponding local area network assigned a value of 1 enters the wake-up state.

当中央网关控制器存储的网络状态配置表中所有网络都不需要唤醒时,中央网关控制器关闭最后一个局域网,则整车所有网络进入睡眠状态。由于中央网关控制器是连接整车所有的局域网的控制器,因此可以通过中央网络控制所有局域网的状态。When all the networks in the network state configuration table stored by the central gateway controller do not need to be woken up, the central gateway controller closes the last local area network, and then all the networks of the vehicle enter a sleep state. Since the central gateway controller is a controller connected to all local area networks of the vehicle, it can control the status of all local area networks through the central network.

本发明具有较好的兼容性及可扩展性,对于不同的车型平台和同一个平台的功能扩展,对原平台的网络架构中控制器没有任何影响;基于本发明,可以通过新增控制器来支持本发明的网络控制策略,即可实现整车各局域网络的协同睡眠和唤醒功能。具体而言,基于本发明,可以在原平台上新增1个或多个控制器,其中,单路CAN总线可容纳的控制器上限范围30个以内;而新增加的控制器与汽车本身(原平台)原有的“控制器”相比,新增加的控制器可以指汽车内部不同功能的控制单元,例如汽车新增加一些功能,就可能需要增加一些控制器来控制这些功能。这些新功能的控制器可以根据需要接入到以前功能控制器的总线网络上。The present invention has better compatibility and expandability, and for different model platforms and function expansion of the same platform, it has no influence on the controller in the network architecture of the original platform; based on the present invention, new controllers can be added By supporting the network control strategy of the present invention, the coordinated sleep and wake-up functions of the local area networks of the vehicle can be realized. Specifically, based on the present invention, one or more controllers can be added on the original platform, wherein, the controller upper limit range that the single-way CAN bus can accommodate is within 30; Platform) compared with the original "controller", the newly added controller can refer to the control unit with different functions inside the car. For example, if some new functions are added to the car, some controllers may need to be added to control these functions. The controllers of these new functions can be connected to the bus network of the previous function controllers as required.

本发明解决了当前复杂的汽车总线网络的快速更新及功能扩展要求,同时能够解决汽车总线网络中的控制器的实时性唤醒要求。其中,由于第一发送方式为功能控制器在检测到局域网络的当前网络状态需求发生改变时、实时发送特定网络管理报文(即控制器的网络管理报文可以选择发送方式),因此能够实现快速唤醒要求,使得中央网关快速唤醒相关的局域网。The invention solves the requirements of rapid update and function expansion of the current complex automobile bus network, and simultaneously can solve the real-time awakening requirement of the controller in the automobile bus network. Wherein, because the first sending method is that the functional controller sends a specific network management message in real time when it detects that the current network status requirement of the local area network changes (that is, the network management message of the controller can choose the sending method), so it can be realized The fast wake-up requirement enables the central gateway to quickly wake up the associated LAN.

在一个具体的实施例中,当前的网络状态配置信息表包含整车总线网络中各局域网络在本次更新前对应的局域网ID和网络状态需求信息;In a specific embodiment, the current network state configuration information table includes the corresponding LAN ID and network state requirement information of each local area network in the vehicle bus network before this update;

在接收到整车总线网络中局域网络的功能控制器以第一发送方式发送的特定网络管理报文的步骤之前,还包括步骤:Before the step of receiving the specific network management message sent by the function controller of the local area network in the vehicle bus network in the first sending mode, it also includes the steps of:

在整车总线网络处于睡眠状态时,接收到各局域网络的特定网络管理报文;When the vehicle bus network is in sleep state, it receives the specific network management messages of each local area network;

解析所处特定网络管理报文,得到各局域网络对应的局域网ID和网络状态需求信息;Analyze the specific network management message where it is located, and obtain the LAN ID and network status requirement information corresponding to each LAN;

根据各局域网络对应的局域网ID和网络状态需求信息,生成初始的网络状态配置信息表。An initial network state configuration information table is generated according to the local area network ID and network state requirement information corresponding to each local area network.

具体而言,当车辆所有网络处于睡眠状态时,各网络上任何控制器(中央网关控制器以及各功能控制器)接收到唤醒事件;唤醒控制器(可能多个)发送特定网络管理报文,并携带各局域网络ID及各局域网络状态信息。中央网关控制器被特定网络管理报文唤醒,或被本身事件唤醒,接收所有局域网络上的报文,并解析各局域网络ID及状态需求信息,形成初始网络状态配置信息表。中央网关控制器根据网络状态配置信息表唤醒相应的局域网;Specifically, when all networks of the vehicle are in a sleep state, any controller (central gateway controller and each functional controller) on each network receives a wake-up event; the wake-up controller (possibly multiple) sends a specific network management message, And carry each local area network ID and each local area network state information. The central gateway controller is awakened by a specific network management message or its own event, receives messages from all local area networks, and analyzes the ID and status requirements information of each local area network to form an initial network status configuration information table. The central gateway controller wakes up the corresponding LAN according to the network status configuration information table;

而被唤醒的网络上的所有控制器首先必须发送特定网络管理报文,并携带各局域网络ID及局域网络的状态需求信息;进一步的,可以执行上述步骤S110~步骤S130,以达到对各局域网络睡眠唤醒状态的灵活、及时控制。All controllers on the awakened network must first send a specific network management message, and carry the status requirements information of each local area network ID and local area network; Flexible and timely control of network sleep and wake-up states.

其中,当网络上没有通讯信号在传输的时候,就表示网络处于睡眠状态。网络上所有控制器都会监测网络上的通讯状态,一旦发现网络没有信号传输达到一定时间后,就会判断网络进入睡眠状态。控制器(除中央网关控制器)只能判断自己接入的网络是否处于睡眠状态。Wherein, when no communication signal is being transmitted on the network, it means that the network is in a sleep state. All controllers on the network will monitor the communication status on the network. Once it is found that there is no signal transmission on the network for a certain period of time, it will judge that the network has entered a sleep state. The controller (except the central gateway controller) can only judge whether the network it accesses is in a sleep state.

在一个具体的实施例中,根据更新后的网络状态配置信息表,对相应局域网络的状态进行控制的步骤包括:In a specific embodiment, according to the updated network state configuration information table, the step of controlling the state of the corresponding local area network includes:

根据更新后的网络状态配置信息表,控制相应的局域网络进入唤醒状态或进入睡眠状态;According to the updated network status configuration information table, control the corresponding local area network to enter the wake-up state or enter the sleep state;

其中,控制相应的局域网络进入唤醒状态的步骤包括:Wherein, the steps of controlling the corresponding local area network to enter the wake-up state include:

根据更新后的网络状态配置信息表,确认待唤醒的局域网络;According to the updated network status configuration information table, confirm the LAN to be awakened;

向待唤醒的局域网络发送网络报文,唤醒接入待唤醒局域网络中的各功能控制器。Send a network message to the local area network to be awakened, and wake up each function controller connected to the local area network to be awakened.

具体而言,对相应局域网络的状态进行控制包括控制相应的局域网络进入唤醒状态或进入睡眠状态;而整车网络中,只有中央网关控制器是接入所有网络的控制器,其他控制器只接入一路网络(局域网)。中央网关控制器通过在相应的局域网络中发送网络管理报文,则可以把这个局域网络中的所有控制器唤醒。Specifically, controlling the state of the corresponding local area network includes controlling the corresponding local area network to enter the wake-up state or enter the sleep state; in the vehicle network, only the central gateway controller is the controller that accesses all networks, and other controllers only Access to a network (local area network). The central gateway controller can wake up all the controllers in the local area network by sending a network management message in the corresponding local area network.

而中央网关控制器对各局域网络进行控制,可以通过控制是否发送网络管理报文来对网络状态进行控制,如果不发送网络管理报文,则让网络进入睡眠,如果一直发送,则控制相应网络一直唤醒。The central gateway controller controls each local area network. It can control the network status by controlling whether to send network management messages. If it does not send network management messages, it will let the network go to sleep. Wake up all the time.

本发明从功能控制器角度实施的多路总线网络的状态控制方法实施例1:Embodiment 1 of the state control method of the multi-channel bus network implemented from the perspective of the function controller in the present invention:

基于以上从中央网关控制器角度实施的多路总线网络的状态控制方法的技术方案,同时为了解决传统汽车网络唤醒方式不利于后期功能的扩展,无法解决实时性唤醒要求的问题,本发明还提供了一种从功能控制器角度实施的多路总线网络的状态控制方法实施例1;图2为本发明从功能控制器角度实施的多路总线网络的状态控制方法实施例1的流程示意图;如图2所示,可以包括以下步骤:Based on the above technical solution of the state control method of the multi-channel bus network implemented from the perspective of the central gateway controller, at the same time, in order to solve the problem that the traditional automobile network wake-up method is not conducive to the expansion of later functions and cannot solve the real-time wake-up requirement, the present invention also provides Embodiment 1 of a state control method of a multi-channel bus network implemented from the perspective of a functional controller; FIG. 2 is a schematic flow chart of embodiment 1 of a state control method of a multi-channel bus network implemented from the perspective of a functional controller; As shown in Figure 2, the following steps may be included:

步骤S210:在检测到接入的局域网络的当前网络状态需求发生改变时,以第一发送方式向中央网关控制器发送特定网络管理报文;特定网络管理报文包含局域网络的局域网ID以及当前的网络状态需求信息;第一发送方式为在检测到所述局域网络的当前网络状态需求发生改变时、实时发送特定网络管理报文。Step S210: When it is detected that the current network state requirements of the accessed local area network have changed, send a specific network management message to the central gateway controller in the first sending mode; the specific network management message includes the local area network ID of the local area network and the current network status. The network status requirement information; the first sending method is to send a specific network management message in real time when a change in the current network status requirement of the local area network is detected.

具体而言,局域网络上的所有功能控制器向中央网关控制器发送特定网络管理报文,并携带各局域网络ID及局域网络的状态需求信息;当控制器的网络状态需求发生改变时,立即(即实时的)向网络上发送更新后的网络管理报文,及时通知中央网关控制器对其内部存储的网络状态配置表进行更新。Specifically, all functional controllers on the local area network send specific network management messages to the central gateway controller, and carry the status requirements information of each local area network ID and local area network; when the network status requirements of the controller change, immediately (that is, in real time) send an updated network management message to the network, and promptly notify the central gateway controller to update its internally stored network status configuration table.

即通过本发明,使得通过参与网络通讯的所有控制器根据自身的通讯要求,向中央网关控制器发送网络状态信息,中央网关控制器根据接收到的所有网络状态信息控制连接的各局域网络的唤醒和睡眠。而功能控制器通过特定网络管理报文发送需求网络ID,不用增加额外报文,不影响原来总线的负载率;That is, through the present invention, all controllers participating in network communication can send network status information to the central gateway controller according to their own communication requirements, and the central gateway controller can control the wake-up of connected local area networks according to all received network status information. and sleep. The function controller sends the required network ID through a specific network management message, without adding additional messages, and does not affect the load rate of the original bus;

本发明提供了一种汽车车载网络中多路局域网协同唤醒和睡眠的策略,具有较好的兼容性及可扩展性,符合当前汽车平台化的设计要求,即汽车功能的选择不影响平台的设计方案,增加或减少网络上的控制器对原来网络上的控制没有任何影响。The present invention provides a multi-channel local area network coordinated wake-up and sleep strategy in the vehicle-mounted network, which has better compatibility and scalability, and meets the current design requirements of the vehicle platform, that is, the selection of vehicle functions does not affect the design of the platform According to the scheme, increasing or decreasing the controllers on the network has no effect on the control on the original network.

在一个具体的实施例中,在检测到接入的局域网络的当前网络状态需求发生改变时,以第一发送方式向中央网关控制器发送特定网络管理报文的步骤之前还包括步骤:In a specific embodiment, when it is detected that the current network state requirements of the accessed local area network have changed, before the step of sending a specific network management message to the central gateway controller in the first sending manner, the steps further include:

在发生唤醒事件时,生成特定网络管理报文;When a wake-up event occurs, a specific network management message is generated;

在检测到接入的局域网络的当前网络状态需求没有发生改变时,以第二发送方式向中央网关控制器发送特定网络管理报文。When it is detected that the current network state requirement of the accessed local area network has not changed, the specific network management message is sent to the central gateway controller in the second sending manner.

在一个具体的实施例中,唤醒事件包括以下事件中的任一事件或任意组合:接收到网络请求、接收到网络报文;In a specific embodiment, the wake-up event includes any event or any combination of the following events: receiving a network request, receiving a network message;

第二发送方式为根据OSEK网络管理协议或AUTOSAR网络管理协议向中央网关控制器发送特定网络管理报文。The second sending method is to send a specific network management message to the central gateway controller according to the OSEK network management protocol or the AUTOSAR network management protocol.

具体而言,各控制器根据自身的通讯需求产生网络ID及相应网络ID的状态信息,并通过特定网络管理报文发送到网络上。中央网络控制器根据接收的网络上的特定网络管理报文,使相应的网络进入唤醒或睡眠状态。Specifically, each controller generates a network ID and status information of the corresponding network ID according to its own communication requirements, and sends them to the network through a specific network management message. The central network controller makes the corresponding network enter the wake-up or sleep state according to the received specific network management message on the network.

在发生唤醒事件时(即接收到网络请求和/或接收到网络报文时),各功能控制器生成特定网络管理报文;图3为本发明多路总线网络的状态控制方法中特定网络管理报文的报文数据场示意图;如图3所示,报文数据场的第一表中是一个总线报文的内容,报文数据场中有8个字节(byte),第二个表是其中1个字节的内容,而1个字节有8个位(bit),前面3个位用来放置局域网ID的具体信息,后面一个位用来放置这个局域网的状态。所以一个字节可以放置2个局域网ID和对应的网络状态,例如:0010 0111,则表示局域网ID为1(001)的网络没有唤醒请求(0),局域网ID为2(011)的网络有唤醒请求(1)When a wake-up event occurs (that is, when a network request is received and/or a network message is received), each function controller generates a specific network management message; Fig. 3 is a specific network management in the state control method of the multi-way bus network of the present invention The message data field schematic diagram of message; As shown in Figure 3, be the content of a bus message in the first table of message data field, there are 8 bytes (byte) in the message data field, the second table It is the content of 1 byte, and 1 byte has 8 bits (bit). The first 3 bits are used to store the specific information of the LAN ID, and the latter bit is used to store the status of the LAN. So one byte can place 2 LAN IDs and the corresponding network status, for example: 0010 0111, it means that the network with LAN ID 1 (001) has no wake-up request (0), and the network with LAN ID 2 (011) has wake-up request(1)

其中,Message ID为0x400+NAD;NAD为发送控制器分配的地址ID,用于OSEK或AUTOSAR网络管理的其他用途。Among them, the Message ID is 0x400+NAD; NAD is the address ID assigned by the sending controller, which is used for other purposes of OSEK or AUTOSAR network management.

进一步的,第二发送方式中的网络管理报文发送策略为根据主主分布式网络管理策略发送特定网络管理报文,可以包括OSEK标准的网络管理策略、AUTOSAR标准的网络管理策略。即本发明可以针对目前常使用的主主分布式网络管理方法(OSEK、AUTOSAR)产生网络唤醒需求信号;Further, the network management packet sending strategy in the second sending method is to send specific network management packets according to the master-master distributed network management strategy, which may include the network management strategy of the OSEK standard and the network management strategy of the AUTOSAR standard. That is, the present invention can generate a network wake-up demand signal for currently commonly used master-master distributed network management methods (OSEK, AUTOSAR);

在一个具体的实施例中,以第二发送方式向中央网关控制器发送特定网络管理报文的过程中:In a specific embodiment, in the process of sending a specific network management message to the central gateway controller in the second sending manner:

在检测到局域网络的当前网络状态需求发生改变时,中断第二发送方式,以第一发送方式向中央网关控制器发送特定网络管理报文。When it is detected that the current network status requirement of the local area network has changed, the second sending method is interrupted, and the specific network management message is sent to the central gateway controller in the first sending method.

具体而言,各功能控制器可以根据当前的状态周期性发送网络管理报文,或使用令牌环方式发送网络管理报文,当控制器的网络状态需求发生改变时,则中断当前的发送方式,立即向网络上发送更新后的网络管理报文,及时通知中央网关控制器对其内部存储的网络状态配置表进行更新。即本发明中各功能控制器的网络管理报文可以选择发送方式。Specifically, each functional controller can periodically send network management messages according to the current state, or use token ring to send network management messages. When the network status requirements of the controller change, the current sending mode will be interrupted. , and immediately send an updated network management message to the network, and promptly notify the central gateway controller to update the network status configuration table stored inside it. That is, the network management message of each functional controller in the present invention can choose a sending method.

网络管理报文在不同的网络管理策略中有规定的发送方式,例如OSEK网络管理中是按照令牌环来发送,没有接收到令牌环的控制器不能发送网络管理报文;而基于本发明的技术方案,控制器可以不按照原网络管理报文发送方式来发送,而是可以在没有令牌环的情况下也容许发送网络管理报文,可以实现快速唤醒要求。Network management messages have prescribed sending methods in different network management strategies. For example, in OSEK network management, they are sent according to Token Ring, and controllers that do not receive Token Ring cannot send network management messages; and based on the present invention According to the technical solution, the controller can not send the network management message according to the original sending method, but can also allow the network management message to be sent without the token ring, which can realize the fast wake-up requirement.

第二发送方式中网络管理协议的网络管理报文发送方式可以包括:OSEK网络管理报文发送方式,及按照令牌环的方式轮流发送网络管理报文;AUTOSAR网络管理报文发送方式,这种网络管理报文是周期性发送网络管理报文,即开始即设定好周期,然后按照固定的周期循环发送报文。The network management message transmission mode of the network management protocol in the second transmission mode can include: the OSEK network management message transmission mode, and send the network management message in turn according to the token ring mode; the AUTOSAR network management message transmission mode, such The network management message is to send the network management message periodically, that is, the period is set at the beginning, and then the message is sent in a fixed cycle.

基于本发明,功能控制器的网络管理报文可以选择发送方式,使得中央网关快速唤醒相关的局域网,从而实现快速唤醒要求。Based on the present invention, the network management message of the function controller can be sent in an optional way, so that the central gateway can quickly wake up the relevant local area network, thereby realizing the fast wake-up requirement.

本发明从中央网关控制器角度实施的多路总线网络的状态控制装置实施例1:Embodiment 1 of the state control device of the multi-channel bus network implemented from the perspective of the central gateway controller of the present invention:

基于以上从中央网关控制器角度实施的多路总线网络的状态控制方法的技术方案,同时为了解决传统汽车网络唤醒方式不利于后期功能的扩展,无法解决实时性唤醒要求的问题,本发明提供了一种从中央网关控制器角度实施的多路总线网络的状态控制装置实施例1;图4为本发明从中央网关控制器角度实施的多路总线网络的状态控制装置实施例1的结构示意图;如图4所示,可以包括:Based on the above technical solution of the state control method of the multi-channel bus network implemented from the perspective of the central gateway controller, at the same time, in order to solve the problem that the traditional automobile network wake-up method is not conducive to the expansion of later functions and cannot solve the real-time wake-up requirement, the present invention provides Embodiment 1 of a state control device for a multi-channel bus network implemented from the perspective of a central gateway controller; FIG. 4 is a schematic structural diagram of embodiment 1 of a state control device for a multi-channel bus network implemented from the perspective of a central gateway controller in the present invention; As shown in Figure 4, can include:

中央网关解析单元410,用于在接收到整车总线网络中局域网络的功能控制器以第一发送方式发送的特定网络管理报文时,解析特定网络管理报文,得到局域网络的局域网ID以及当前的网络状态需求信息;第一发送方式为功能控制器在检测到局域网络的当前网络状态需求发生改变时、实时发送特定网络管理报文;The central gateway parsing unit 410 is configured to analyze the specific network management message to obtain the local area network ID and The current network state requirement information; the first sending method is that the function controller sends a specific network management message in real time when detecting that the current network state requirement of the local area network changes;

中央网关更新单元420,用于根据局域网络的局域网ID以及当前的网络状态需求信息,对当前的网络状态配置信息表进行更新;The central gateway updating unit 420 is used to update the current network state configuration information table according to the local area network ID of the local area network and the current network state requirement information;

中央网关控制单元430,用于根据更新后的网络状态配置信息表,对相应局域网络的状态进行控制。The central gateway control unit 430 is configured to control the state of the corresponding local area network according to the updated network state configuration information table.

需要说明的是,本发明从中央网关控制器角度实施的多路总线网络的状态控制装置实施例1中的各单元模块,能够对应实现上述从中央网关控制器角度实施的多路总线网络的状态控制方法的各步骤,此处不再重复赘述。It should be noted that each unit module in Embodiment 1 of the state control device of the multi-way bus network implemented from the perspective of the central gateway controller in the present invention can correspond to the above-mentioned state of the multi-way bus network implemented from the perspective of the central gateway controller Each step of the control method will not be repeated here.

一方面,本发明实施例提供了一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,处理器执行程序时实现上述从中央网关控制器角度实施的多路总线网络的状态控制方法的步骤。On the one hand, an embodiment of the present invention provides a computer device, including a memory, a processor, and a computer program stored on the memory and operable on the processor. When the processor executes the program, the above-mentioned implementation from the perspective of the central gateway controller Steps of a state control method for a multi-way bus network.

另一方面,本发明实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现上述从中央网关控制器角度实施的多路总线网络的状态控制方法的步骤。On the other hand, an embodiment of the present invention also provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the above-mentioned state control of the multi-channel bus network implemented from the perspective of the central gateway controller is realized. method steps.

本发明从功能控制器角度实施的多路总线网络的状态控制装置实施例1:Embodiment 1 of the state control device of the multi-channel bus network implemented from the perspective of the function controller of the present invention:

基于以上从功能控制器角度实施的多路总线网络的状态控制方法的技术方案,同时为了解决传统汽车网络唤醒方式不利于后期功能的扩展,无法解决实时性唤醒要求的问题,本发明提供了一种从功能控制器角度实施的多路总线网络的状态控制装置实施例1;图5为本发明从功能控制器角度实施的多路总线网络的状态控制装置实施例1的结构示意图;如图5所示,可以包括:Based on the above technical solution of the state control method of the multi-channel bus network implemented from the perspective of the function controller, at the same time, in order to solve the problem that the traditional automobile network wake-up method is not conducive to the expansion of later functions and cannot solve the real-time wake-up requirement, the present invention provides a A kind of state control device embodiment 1 of the multi-channel bus network implemented from the functional controller angle; Fig. 5 is the structural representation of the state control device embodiment 1 of the multi-channel bus network implemented from the functional controller point of view of the present invention; Fig. 5 As shown, can include:

功能控制器报文发送单元510,用于在检测到接入的局域网络的当前网络状态需求发生改变时,以第一发送方式向中央网关控制器发送特定网络管理报文;The function controller message sending unit 510 is configured to send a specific network management message to the central gateway controller in a first sending manner when it is detected that the current network status requirement of the accessed local area network has changed;

特定网络管理报文包含局域网络的局域网ID以及当前的网络状态需求信息;第一发送方式为在检测到局域网络的当前网络状态需求发生改变时、实时发送特定网络管理报文。The specific network management message includes the LAN ID of the local area network and the current network status requirement information; the first sending method is to send the specific network management message in real time when the current network status requirement of the local area network is detected to change.

需要说明的是,本发明从功能控制器角度实施的多路总线网络的状态控制装置实施例1中的各单元模块,能够对应实现上述从功能控制器角度实施的多路总线网络的状态控制方法的各步骤,此处不再重复赘述。It should be noted that each unit module in Embodiment 1 of the state control device for a multi-way bus network implemented from the perspective of a function controller in the present invention can correspond to the implementation of the above-mentioned state control method for a multi-way bus network implemented from the perspective of a function controller The steps are not repeated here.

一方面,本发明实施例提供了一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,处理器执行程序时实现上述从功能控制器角度实施的多路总线网络的状态控制方法的步骤。On the one hand, an embodiment of the present invention provides a computer device, including a memory, a processor, and a computer program stored in the memory and operable on the processor. The step of the state control method of road bus network.

另一方面,本发明实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现上述从功能控制器角度实施的多路总线网络的状态控制方法的步骤。On the other hand, an embodiment of the present invention also provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the above method for controlling the state of a multi-channel bus network implemented from the perspective of a function controller is implemented. A step of.

本发明多路总线网络的网络管理系统实施例1:Embodiment 1 of the network management system of the multi-way bus network of the present invention:

为了解决传统汽车网络唤醒方式不利于后期功能的扩展,无法解决实时性唤醒要求的问题,本发明提供了一种多路总线网络的网络管理系统实施例1;图6为本发明多路总线网络的网络管理系统实施例1的结构示意图;如图6所示,可以包括接入整车总线网络的中央网关控制器,接入整车总线网络中各局域网络的各功能控制器;In order to solve the problem that the traditional automobile network wake-up method is not conducive to the expansion of later functions, and cannot solve the problem of real-time wake-up requirements, the present invention provides a network management system embodiment 1 of a multi-channel bus network; Figure 6 shows the multi-channel bus network of the present invention A schematic structural diagram of the network management system embodiment 1; as shown in Figure 6, it may include a central gateway controller connected to the vehicle bus network, and various function controllers connected to each local area network in the vehicle bus network;

功能控制器在检测到接入的局域网络的当前网络状态需求发生改变时,以第一发送方式向中央网关控制器发送特定网络管理报文;第一发送方式为功能控制器在检测到局域网络的当前网络状态需求发生改变时、实时发送特定网络管理报文;When the function controller detects that the current network status requirements of the connected local area network have changed, it sends a specific network management message to the central gateway controller in the first sending method; the first sending method is that the function controller detects that the local area network Send specific network management messages in real time when the current network status requirements change;

中央网关控制器在接收到特定网络管理报文时,解析特定网络管理报文,得到局域网络的局域网ID以及当前的网络状态需求信息;根据局域网络的局域网ID以及当前的网络状态需求信息,对当前的网络状态配置信息表进行更新;根据更新后的网络状态配置信息表,对相应局域网络的状态进行控制。When the central gateway controller receives a specific network management message, it parses the specific network management message to obtain the LAN ID of the local area network and the current network status requirement information; according to the LAN ID of the local area network and the current network status requirement information, the The current network state configuration information table is updated; according to the updated network state configuration information table, the state of the corresponding local area network is controlled.

具体而言,图7本发明多路总线网络的网络管理系统中生成初始的网络状态配置信息表的流程示意图,如图7所示,可以包括以下步骤1~4:Specifically, FIG. 7 is a schematic flow diagram of generating an initial network status configuration information table in the network management system of the multi-channel bus network of the present invention. As shown in FIG. 7, the following steps 1-4 may be included:

步骤1:车辆所有网络处于睡眠状态,网络上任何控制器(包括功能控制器和中央网关控制器)接收到唤醒事件;Step 1: All networks of the vehicle are in a sleep state, and any controller on the network (including function controllers and central gateway controllers) receives a wake-up event;

步骤2:各唤醒的功能控制器(可能多个)向中央网关控制器发送特定网络管理报文,并携带各局域网络ID及各局域网络状态信息。Step 2: Each awakened function controller (possibly multiple) sends a specific network management message to the central gateway controller, carrying the ID of each local area network and the state information of each local area network.

步骤3:中央网关控制器被特定网络管理报文唤醒,或被本身事件唤醒,接收所有局域网络上的报文,并解析各局域网络ID及状态需求信息,形成初始网络状态配置信息表。Step 3: The central gateway controller is awakened by a specific network management message or its own event, receives messages from all local area networks, and analyzes the ID and status requirements information of each local area network to form an initial network status configuration information table.

步骤4:中央网关控制器根据初始的网络状态配置信息表唤醒相应的局域网;Step 4: The central gateway controller wakes up the corresponding local area network according to the initial network status configuration information table;

图8为本发明多路总线网络的网络管理系统中状态实时控制流程示意图,如图8所示,可以包括以下步骤5~7:Fig. 8 is a schematic diagram of the state real-time control flow in the network management system of the multi-way bus network of the present invention, as shown in Fig. 8, may include the following steps 5-7:

步骤5:发生唤醒事件时,各局域网络上的所有功能控制器生成特定网络管理报文,发送特定网络管理报文,并携带各局域网络ID及局域网络的状态需求信息;Step 5: When a wake-up event occurs, all function controllers on each local area network generate a specific network management message, send a specific network management message, and carry each local area network ID and status requirement information of the local area network;

步骤6:中央网关控制器每次接收到特定网络管理报文时,都对存储的网络状态配置表信息进行更新,并按照更新后的网络配置表对各局域网进行唤醒或要求睡眠操作,中央网关也是通过特定网络管理报文对各局域网进行控制,中央网关的网络管理报文携带当前最新的网络状态配置表信息,及各局域网的ID及最新状态信息。Step 6: Every time the central gateway controller receives a specific network management message, it updates the stored network status configuration table information, and wakes up or requires a sleep operation for each LAN according to the updated network configuration table, and the central gateway controller Each local area network is also controlled through a specific network management message, and the network management message of the central gateway carries the latest network status configuration table information, and the ID and latest status information of each local area network.

步骤7:所有唤醒的功能控制器根据当前的状态周期性发送网络管理报文,或使用令牌环方式发送网络管理报文,当控制器的网络状态需求发生改变时,则中断当前的发送方式,立即向网络上发送更新后的网络管理报文,及时通知中央网关控制器对其内部存储的网络状态配置表进行更新。Step 7: All wake-up function controllers periodically send network management messages according to the current state, or use token ring to send network management messages. When the network status requirements of the controller change, the current sending mode is interrupted , and immediately send an updated network management message to the network, and promptly notify the central gateway controller to update the network status configuration table stored inside it.

图9为本发明多路总线网络的网络管理系统一完整工作流程示意图,如图9所示,可以包括以下步骤1~8:Fig. 9 is a schematic diagram of a complete workflow of the network management system of the multi-way bus network of the present invention, as shown in Fig. 9, may include the following steps 1-8:

步骤1:车辆所有网络处于睡眠状态,网络上任何控制器(包括功能控制器和中央网关控制器)接收到唤醒事件;Step 1: All networks of the vehicle are in a sleep state, and any controller on the network (including function controllers and central gateway controllers) receives a wake-up event;

步骤2:各唤醒的功能控制器(可能多个)向中央网关控制器发送特定网络管理报文,并携带各局域网络ID及各局域网络状态信息。Step 2: Each awakened function controller (possibly multiple) sends a specific network management message to the central gateway controller, carrying the ID of each local area network and the state information of each local area network.

步骤3:中央网关控制器被特定网络管理报文唤醒,或被本身事件唤醒,接收所有局域网络上的报文,并解析各局域网络ID及状态需求信息,形成初始网络状态配置信息表。Step 3: The central gateway controller is awakened by a specific network management message or its own event, receives messages from all local area networks, and analyzes the ID and status requirements information of each local area network to form an initial network status configuration information table.

步骤4:中央网关控制器根据初始的网络状态配置信息表唤醒相应的局域网;Step 4: The central gateway controller wakes up the corresponding local area network according to the initial network status configuration information table;

步骤5:被唤醒的局域网络上的所有功能控制器首先必须发送特定网络管理报文,并携带各局域网络ID及局域网络的状态需求信息;(在实际应用中,步骤5以后为动态的状态控制过程,即有实时性的网络请求或被实时性的网络报文唤醒后,需判断网络状态需求是否改变);Step 5: All function controllers on the awakened local area network must first send a specific network management message, and carry the status requirement information of each local area network ID and local area network; (in practical applications, after step 5, it is a dynamic state The control process, that is, after a real-time network request or wake-up by a real-time network message, it is necessary to determine whether the network status requirement has changed);

步骤6:中央网关控制器每次接收到特定网络管理报文时,都对存储的网络状态配置表信息进行更新,并按照更新后的网络配置表对各局域网进行唤醒或要求睡眠操作,中央网关也是通过特定网络管理报文对各局域网进行控制,中央网关的网络管理报文携带当前最新的网络状态配置表信息,及各局域网的ID及最新状态信息。Step 6: Every time the central gateway controller receives a specific network management message, it updates the stored network status configuration table information, and wakes up or requires a sleep operation for each LAN according to the updated network configuration table, and the central gateway controller Each local area network is also controlled through a specific network management message, and the network management message of the central gateway carries the latest network status configuration table information, and the ID and latest status information of each local area network.

步骤7:所有唤醒的功能控制器根据当前的状态周期性发送网络管理报文,或使用令牌环方式发送网络管理报文,当控制器的网络状态需求发生改变时,则中断当前的发送方式,立即向网络上发送更新后的网络管理报文,及时通知中央网关控制器对其内部存储的网络状态配置表进行更新。Step 7: All wake-up function controllers periodically send network management messages according to the current state, or use token ring to send network management messages. When the network status requirements of the controller change, the current sending mode is interrupted , and immediately send an updated network management message to the network, and promptly notify the central gateway controller to update the network status configuration table stored inside it.

步骤8:当中央网关控制器存储的网络状态配置表中所有网络都不需要唤醒时,中央网关控制器关闭最后一个局域网,则整车所有网络进入睡眠状态。Step 8: When all the networks in the network state configuration table stored by the central gateway controller do not need to be woken up, the central gateway controller closes the last local area network, and then all the networks of the vehicle enter a sleep state.

本发明多路总线网络的网络管理系统,基于特定网络管理报文,报文中携带有所有局域网络的ID及对应的网络需求信息(唤醒、可睡眠),通过分配各局域网络ID来标识网络,各功能控制器将需要保持通讯网络的ID发送给中央网关控制器;中央网关控制器接收所有局域网络上的网络管理报文,形成一个网络状态配置表,中央网关控制器根据这个网络状态配置表实现多路总线网络的睡眠和唤醒动作。本发明提供了一种协同汽车车载局域网络的睡眠唤醒策略,通过一个连接所有局域网络的中央网关控制器,协调多路总线网络的唤醒和睡眠;通过参与网络通讯的各功能控制器根据自身的通讯要求,向中央网关控制器发送网络状态信息;中央网关控制器根据接收到的所有网络状态信息控制连接的各局域网络的唤醒和睡眠。本发明具有较好的兼容性及可扩展性,对于不同的车型平台和同一个平台的功能扩展,对原平台的网络架构中控制器没有任何影响;基于本发明,可以通过新增控制器来支持本发明的网络控制策略,即可实现整车各局域网络的协同睡眠和唤醒功能。本发明解决了当前复杂的汽车总线网络的快速更新及功能扩展要求,同时能够解决汽车总线网络中的控制器的实时性唤醒要求。控制器通过特定网络管理报文发送需求网络ID,不用增加额外报文,不影响原来总线的负载率。The network management system of the multi-channel bus network of the present invention is based on a specific network management message, which carries IDs of all local area networks and corresponding network demand information (wake up, sleepable), and identifies the network by assigning each local area network ID , each functional controller will need to keep the ID of the communication network and send it to the central gateway controller; the central gateway controller receives all network management messages on the local area network to form a network status configuration table, and the central gateway controller configures the network according to the network status The table implements the sleep and wake-up actions of the multi-way bus network. The present invention provides a sleep-wake-up strategy for coordinated vehicle-mounted local area networks. A central gateway controller that connects all local area networks coordinates the wake-up and sleep of multiple bus networks; Communication requirements, send network status information to the central gateway controller; the central gateway controller controls the wake-up and sleep of each connected local area network according to all received network status information. The present invention has better compatibility and expandability, and for different model platforms and function expansion of the same platform, it has no influence on the controller in the network architecture of the original platform; based on the present invention, new controllers can be added By supporting the network control strategy of the present invention, the coordinated sleep and wake-up functions of the local area networks of the vehicle can be realized. The invention solves the requirements of rapid update and function expansion of the current complex automobile bus network, and simultaneously can solve the real-time awakening requirement of the controller in the automobile bus network. The controller sends the required network ID through a specific network management message, without adding additional messages, and without affecting the load rate of the original bus.

以上所述实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。本领域普通技术人员可以理解实现上述实施例方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,所述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,包括以上方法所述的步骤,所述的存储介质,如:ROM/RAM、磁碟、光盘等。The technical features of the above-mentioned embodiments can be combined arbitrarily. To make the description concise, all possible combinations of the technical features in the above-mentioned embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, should be considered as within the scope of this specification. Those of ordinary skill in the art can understand that all or part of the steps in the method of the above-mentioned embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, and the program can be executed during execution When, including the steps described in the above method, the storage medium, such as: ROM/RAM, magnetic disk, optical disk, etc.

以上所述实施例仅表达了本发明的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形和改进,这些都属于本发明的保护范围。因此,本发明专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only express several implementation modes of the present invention, and the descriptions thereof are relatively specific and detailed, but should not be construed as limiting the patent scope of the invention. It should be pointed out that those skilled in the art can make several modifications and improvements without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the patent for the present invention should be based on the appended claims.

Claims (13)

1.一种多路总线网络的状态控制方法,其特征在于,包括以下步骤:1. a state control method of multi-way bus network, is characterized in that, comprises the following steps: 在接收到整车总线网络中局域网络的功能控制器以第一发送方式发送的特定网络管理报文时,解析所述特定网络管理报文,得到所述局域网络的局域网ID以及当前的网络状态需求信息;所述第一发送方式为所述功能控制器在检测到所述局域网络的当前网络状态需求发生改变时、实时发送所述特定网络管理报文;When receiving the specific network management message sent by the function controller of the local area network in the vehicle bus network in the first transmission mode, analyze the specific network management message to obtain the local area network ID of the local area network and the current network status Requirement information; the first sending method is that the function controller sends the specific network management message in real time when detecting that the current network status requirement of the local area network changes; 根据所述局域网络的局域网ID以及当前的网络状态需求信息,对当前的网络状态配置信息表进行更新;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 requirement information; 根据更新后的网络状态配置信息表,对相应局域网络的状态进行控制。According to the updated network state configuration information table, the state of the corresponding local area network is controlled. 2.根据权利要求1所述的多路总线网络的状态控制方法,其特征在于,所述当前的网络状态配置信息表包含所述整车总线网络中各局域网络在本次更新前对应的局域网ID和网络状态需求信息;2. The state control method of the multi-channel bus network according to claim 1, wherein the current network state configuration information table includes the corresponding local area network of each local area network in the vehicle bus network before this update ID and network status requirements information; 在接收到整车总线网络中局域网络以第一发送方式发送的特定网络管理报文的步骤之前,还包括步骤:Before the step of receiving the specific network management message sent by the local area network in the vehicle bus network in the first sending mode, it also includes the steps: 在所述整车总线网络处于睡眠状态时,接收到各所述局域网络的所述特定网络管理报文;When the vehicle bus network is in a sleep state, receiving the specific network management messages of each of the local area networks; 解析所处特定网络管理报文,得到各所述局域网络对应的局域网ID和网络状态需求信息;Analyzing the management message of the specific network where it is located to obtain the LAN ID and network status requirement information corresponding to each of the local area networks; 根据各所述局域网络对应的局域网ID和网络状态需求信息,生成初始的所述网络状态配置信息表。An initial network state configuration information table is generated according to the local area network ID and network state requirement information corresponding to each of the local area networks. 3.根据权利要求1或2所述的多路总线网络的状态控制方法,其特征在于,根据更新后的网络状态配置信息表,对相应局域网络的状态进行控制的步骤包括:3. according to the state control method of claim 1 or 2 described multi-way bus network, it is characterized in that, according to the updated network state configuration information table, the step of controlling the state of corresponding local area network comprises: 根据更新后的网络状态配置信息表,控制相应的局域网络进入唤醒状态或进入睡眠状态;According to the updated network status configuration information table, control the corresponding local area network to enter the wake-up state or enter the sleep state; 其中,控制相应的局域网络进入唤醒状态的步骤包括:Wherein, the steps of controlling the corresponding local area network to enter the wake-up state include: 根据所述更新后的网络状态配置信息表,确认待唤醒的局域网络;According to the updated network status configuration information table, confirm the local area network to be awakened; 向所述待唤醒的局域网络发送网络报文,唤醒接入所述待唤醒局域网络中的各功能控制器。Send a network message to the local area network to be awakened, and wake up each function controller connected to the local area network to be awakened. 4.一种多路总线网络的状态控制方法,其特征在于,包括以下步骤:4. a state control method of multi-way bus network, is characterized in that, comprises the following steps: 在检测到接入的局域网络的当前网络状态需求发生改变时,以第一发送方式向中央网关控制器发送特定网络管理报文;Sending a specific network management message to the central gateway controller in a first sending manner when it is detected that the current network status requirement of the accessed local area network has changed; 所述特定网络管理报文包含所述局域网络的局域网ID以及当前的网络状态需求信息;所述第一发送方式为在检测到所述局域网络的当前网络状态需求发生改变时、实时发送所述特定网络管理报文。The specific network management message includes the local area network ID of the local area network and the current network state requirement information; the first sending method is to send the real-time network state requirement information of the local area network when a change is detected. Specific network management messages. 5.根据权利要求4所述的多路总线网络的状态控制方法,其特征在于,在检测到接入的局域网络的当前网络状态需求发生改变时,以第一发送方式向中央网关控制器发送特定网络管理报文的步骤之前还包括步骤:5. The state control method of the multi-way bus network according to claim 4, characterized in that, when the current network state requirements of the local area network detected to be accessed change, the first transmission mode is sent to the central gateway controller The steps for the specific network management message also include the steps before: 在发生唤醒事件时,生成所述特定网络管理报文;When a wake-up event occurs, generate the specific network management message; 在检测到接入的局域网络的当前网络状态需求没有发生改变时,以第二发送方式向所述中央网关控制器发送所述特定网络管理报文;When it is detected that the current network status requirement of the accessed local area network has not changed, send the specific network management message to the central gateway controller in a second sending manner; 其中,所述唤醒事件为接收到网络请求或/和接收到网络报文,所述第二发送方式为根据OSEK网络管理协议或AUTOSAR网络管理协议向所述中央网关控制器发送所述特定网络管理报文。Wherein, the wake-up event is receiving a network request or/and receiving a network message, and the second sending method is sending the specific network management to the central gateway controller according to the OSEK network management protocol or the AUTOSAR network management protocol message. 6.根据权利要求5所述的多路总线网络的状态控制方法,其特征在于,以第二发送方式向所述中央网关控制器发送所述特定网络管理报文的过程中,还包括:6. The state control method of the multi-way bus network according to claim 5, wherein, in the process of sending the specific network management message to the central gateway controller in the second sending mode, further comprising: 在检测到所述局域网络的当前网络状态需求发生改变时,中断所述第二发送方式,以所述第一发送方式向中央网关控制器发送特定网络管理报文。When it is detected that the current network state requirement of the local area network changes, the second sending manner is interrupted, and a specific network management message is sent to the central gateway controller in the first sending manner. 7.一种多路总线网络的状态控制装置,其特征在于,包括:7. A state control device of a multi-way bus network, characterized in that, comprising: 中央网关解析单元,用于在接收到整车总线网络中局域网络的功能控制器以第一发送方式发送的特定网络管理报文时,解析所述特定网络管理报文,得到所述局域网络的局域网ID以及当前的网络状态需求信息;所述第一发送方式为所述功能控制器在检测到所述局域网络的当前网络状态需求发生改变时、实时发送所述特定网络管理报文;The central gateway analysis unit is used to analyze the specific network management message when receiving the specific network management message sent by the function controller of the local area network in the vehicle bus network in the first transmission mode, and obtain the local area network Local area network ID and current network state requirement information; the first sending method is that the function controller sends the specific network management message in real time when detecting that the current network state requirement of the local area network changes; 中央网关更新单元,用于根据所述局域网络的局域网ID以及当前的网络状态需求信息,对当前的网络状态配置信息表进行更新;The central gateway update unit is used to update the current network state configuration information table according to the local area network ID of the local area network and the current network state requirement information; 中央网关控制单元,用于根据更新后的网络状态配置信息表,对相应局域网络的状态进行控制。The central gateway control unit is used to control the state of the corresponding local area network according to the updated network state configuration information table. 8.一种多路总线网络的状态控制装置,其特征在于,包括:8. A state control device of a multi-way bus network, characterized in that, comprising: 功能控制器报文发送单元,用于在检测到接入的局域网络的当前网络状态需求发生改变时,以第一发送方式向中央网关控制器发送特定网络管理报文;A function controller message sending unit, configured to send a specific network management message to the central gateway controller in a first sending manner when it is detected that the current network status requirement of the accessed local area network has changed; 所述特定网络管理报文包含所述局域网络的局域网ID以及当前的网络状态需求信息;所述第一发送方式为在检测到所述局域网络的当前网络状态需求发生改变时、实时发送所述特定网络管理报文。The specific network management message includes the local area network ID of the local area network and the current network state requirement information; the first sending method is to send the real-time network state requirement information of the local area network when a change is detected. Specific network management messages. 9.一种多路总线网络的网络管理系统,其特征在于,包括接入整车总线网络的中央网关控制器,接入所述整车总线网络中各局域网络的各功能控制器;9. A network management system of a multi-channel bus network, characterized in that it includes a central gateway controller that accesses the vehicle bus network, and accesses each function controller of each local area network in the vehicle bus network; 所述功能控制器在检测到接入的局域网络的当前网络状态需求发生改变时,以第一发送方式向中央网关控制器发送特定网络管理报文;所述第一发送方式为所述功能控制器在检测到所述局域网络的当前网络状态需求发生改变时、实时发送所述特定网络管理报文;When the function controller detects that the current network state requirements of the accessed local area network have changed, it sends a specific network management message to the central gateway controller in a first sending method; the first sending method is that the function control The device sends the specific network management message in real time when detecting that the current network status requirement of the local area network changes; 所述中央网关控制器在接收到所述特定网络管理报文时,解析所述特定网络管理报文,得到所述局域网络的局域网ID以及当前的网络状态需求信息;根据所述局域网络的局域网ID以及当前的网络状态需求信息,对当前的网络状态配置信息表进行更新;根据更新后的网络状态配置信息表,对相应局域网络的状态进行控制。When the central gateway controller receives the specific network management message, it parses the specific network management message to obtain the local area network ID of the local area network and the current network status requirement information; according to the local area network of the local area network The ID and the current network state requirement information update the current network state configuration information table; according to the updated network state configuration information table, the state of the corresponding local area network is controlled. 10.根据权利要求9所述的多路总线网络的网络管理系统,其特征在于,10. the network management system of multi-way bus network according to claim 9, is characterized in that, 所述功能控制器在发生唤醒事件时,生成所述特定网络管理报文;并在检测到接入的局域网络的当前网络状态需求没有发生改变时,以第二发送方式向所述中央网关控制器发送所述特定网络管理报文;When a wake-up event occurs, the function controller generates the specific network management message; and when it detects that the current network status requirement of the accessed local area network has not changed, it sends the control message to the central gateway in a second sending manner. The device sends the specific network management message; 其中,所述唤醒事件为接收到网络请求或/和接收到网络报文,所述第二发送方式为根据OSEK网络管理协议或AUTOSAR网络管理协议向所述中央网关控制器发送所述特定网络管理报文。Wherein, the wake-up event is receiving a network request or/and receiving a network message, and the second sending method is sending the specific network management to the central gateway controller according to the OSEK network management protocol or the AUTOSAR network management protocol message. 11.一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其特征在于,所述处理器执行所述程序时实现权利要求1-3中任意一项所述方法的步骤。11. A computer device, comprising a memory, a processor, and a computer program stored on the memory and operable on the processor, characterized in that, when the processor executes the program, any one of claims 1-3 is realized steps of the method described in the item. 12.一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现权利要求1-6中任意一项所述方法的步骤。12. A computer-readable storage medium, on which a computer program is stored, wherein, when the program is executed by a processor, the steps of the method according to any one of claims 1-6 are implemented. 13.一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其特征在于,所述处理器执行所述程序时实现权利要求1-6中任意一项所述方法的步骤。13. A computer device, comprising a memory, a processor, and a computer program stored on the memory and operable on the processor, characterized in that, when the processor executes the program, any one of claims 1-6 is realized steps of the method described in the item.
CN201710624831.XA 2017-07-27 2017-07-27 State control method, device and network management system of multi-channel bus network Active CN107465588B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710624831.XA CN107465588B (en) 2017-07-27 2017-07-27 State control method, device and network management system of multi-channel bus network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710624831.XA CN107465588B (en) 2017-07-27 2017-07-27 State control method, device and network management system of multi-channel bus network

Publications (2)

Publication Number Publication Date
CN107465588A true CN107465588A (en) 2017-12-12
CN107465588B CN107465588B (en) 2020-10-23

Family

ID=60547656

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710624831.XA Active CN107465588B (en) 2017-07-27 2017-07-27 State control method, device and network management system of multi-channel bus network

Country Status (1)

Country Link
CN (1) CN107465588B (en)

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110509870A (en) * 2019-09-24 2019-11-29 北京福田戴姆勒汽车有限公司 A kind of vehicle-mounted CAN network and vehicle-mounted CAN network management
CN111625282A (en) * 2020-05-15 2020-09-04 一汽奔腾轿车有限公司 Multi-subnet cooperative sleep method and system based on CAN bus
CN111708661A (en) * 2020-05-14 2020-09-25 东风汽车集团有限公司 A stress testing system and method suitable for central gateway
CN111726340A (en) * 2020-05-22 2020-09-29 东风汽车集团有限公司 AUTOSAR-based local network management method and system
CN111885173A (en) * 2020-07-27 2020-11-03 大陆汽车研发(重庆)有限公司 ECU (electronic control unit) conforming to AUSTOSAR (autonomous Underwater vehicle assisted synthetic aperture radar) architecture and sleep/wake-up management method thereof
CN112009400A (en) * 2020-09-07 2020-12-01 东风汽车集团有限公司 Automatic transmission control unit application interface extension matching method
CN112073451A (en) * 2019-06-10 2020-12-11 现代自动车株式会社 Apparatus and method for controlling vehicle network management and system including the same
CN112068493A (en) * 2019-06-11 2020-12-11 广州汽车集团股份有限公司 Whole vehicle sleep awakening control method and control system
WO2021082301A1 (en) * 2019-10-31 2021-05-06 上海赫千电子科技有限公司 Sleep and wakeup method for in-vehicle hybrid network comprising in-vehicle ethernet
CN113259421A (en) * 2021-04-26 2021-08-13 联合汽车电子有限公司 Complete vehicle network partial dormancy management system and method and central gateway
CN113448302A (en) * 2020-03-27 2021-09-28 北京新能源汽车股份有限公司 Control method and device of vehicle controller and automobile
CN114679345A (en) * 2021-07-02 2022-06-28 北京新能源汽车股份有限公司 Information processing method and device and vehicle
CN114745266A (en) * 2022-06-10 2022-07-12 深圳市友恺通信技术有限公司 Network state control management method and system based on big data
CN114760610A (en) * 2021-02-08 2022-07-15 广州汽车集团股份有限公司 Multipath network awakening method and device and automobile
CN114967522A (en) * 2021-08-20 2022-08-30 长城汽车股份有限公司 A network communication method, device and vehicle
CN115065574A (en) * 2022-05-25 2022-09-16 阿波罗智能技术(北京)有限公司 Wake-up method and device of vehicle controller, electronic equipment and automatic driving vehicle
CN115167351A (en) * 2022-06-30 2022-10-11 中国第一汽车股份有限公司 Controller function updating method and system, vehicle and server
CN117413494A (en) * 2021-09-09 2024-01-16 宝马股份公司 Method, computer-readable medium, system, and vehicle for configuring multiple gateway controllers of a vehicle

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1566725A1 (en) * 2004-02-19 2005-08-24 Volkswagen AG Method and arrangement for network management of control devices
CN104639582A (en) * 2013-11-11 2015-05-20 广州汽车集团股份有限公司 Vehicle network signal forwarding gateway and method
CN104683126A (en) * 2013-11-27 2015-06-03 北汽福田汽车股份有限公司 Network managing method based on CAN bus
CN205256239U (en) * 2015-12-14 2016-05-25 北京汽车股份有限公司 Car network management system and car
CN106302060A (en) * 2016-07-26 2017-01-04 广州汽车集团股份有限公司 A kind of car load dormancy awakening method, system and automotive CAN network gateway
CN106681311A (en) * 2017-02-23 2017-05-17 北京新能源汽车股份有限公司 Automobile control method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1566725A1 (en) * 2004-02-19 2005-08-24 Volkswagen AG Method and arrangement for network management of control devices
CN104639582A (en) * 2013-11-11 2015-05-20 广州汽车集团股份有限公司 Vehicle network signal forwarding gateway and method
CN104683126A (en) * 2013-11-27 2015-06-03 北汽福田汽车股份有限公司 Network managing method based on CAN bus
CN205256239U (en) * 2015-12-14 2016-05-25 北京汽车股份有限公司 Car network management system and car
CN106302060A (en) * 2016-07-26 2017-01-04 广州汽车集团股份有限公司 A kind of car load dormancy awakening method, system and automotive CAN network gateway
CN106681311A (en) * 2017-02-23 2017-05-17 北京新能源汽车股份有限公司 Automobile control method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
修志杰: ""基于多总线网络的轨道车控制系统研究"", 《中国优秀硕士学位论文全文数据库-工程科技Ⅱ辑》 *

Cited By (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112073451A (en) * 2019-06-10 2020-12-11 现代自动车株式会社 Apparatus and method for controlling vehicle network management and system including the same
CN112068493B (en) * 2019-06-11 2022-04-19 广州汽车集团股份有限公司 A vehicle sleep wake-up control method and control system
CN112068493A (en) * 2019-06-11 2020-12-11 广州汽车集团股份有限公司 Whole vehicle sleep awakening control method and control system
CN110509870A (en) * 2019-09-24 2019-11-29 北京福田戴姆勒汽车有限公司 A kind of vehicle-mounted CAN network and vehicle-mounted CAN network management
CN110509870B (en) * 2019-09-24 2020-12-25 北京福田戴姆勒汽车有限公司 Vehicle-mounted CAN network and vehicle-mounted CAN network management method
WO2021082301A1 (en) * 2019-10-31 2021-05-06 上海赫千电子科技有限公司 Sleep and wakeup method for in-vehicle hybrid network comprising in-vehicle ethernet
CN113448302A (en) * 2020-03-27 2021-09-28 北京新能源汽车股份有限公司 Control method and device of vehicle controller and automobile
CN111708661A (en) * 2020-05-14 2020-09-25 东风汽车集团有限公司 A stress testing system and method suitable for central gateway
CN111625282A (en) * 2020-05-15 2020-09-04 一汽奔腾轿车有限公司 Multi-subnet cooperative sleep method and system based on CAN bus
CN111625282B (en) * 2020-05-15 2023-07-14 一汽奔腾轿车有限公司 Multi-subnet cooperative sleep method and system based on CAN bus
CN111726340B (en) * 2020-05-22 2022-02-11 东风汽车集团有限公司 Local network management method and system based on AUTOSAR
CN111726340A (en) * 2020-05-22 2020-09-29 东风汽车集团有限公司 AUTOSAR-based local network management method and system
CN111885173B (en) * 2020-07-27 2022-12-30 大陆汽车研发(重庆)有限公司 ECU (electronic control unit) conforming to AUTOSAR (automotive open system architecture) and sleep/wake-up management method thereof
CN111885173A (en) * 2020-07-27 2020-11-03 大陆汽车研发(重庆)有限公司 ECU (electronic control unit) conforming to AUSTOSAR (autonomous Underwater vehicle assisted synthetic aperture radar) architecture and sleep/wake-up management method thereof
CN112009400A (en) * 2020-09-07 2020-12-01 东风汽车集团有限公司 Automatic transmission control unit application interface extension matching method
CN112009400B (en) * 2020-09-07 2022-03-25 东风汽车集团有限公司 Automatic transmission control unit application interface extension matching method
CN114760610A (en) * 2021-02-08 2022-07-15 广州汽车集团股份有限公司 Multipath network awakening method and device and automobile
CN114760610B (en) * 2021-02-08 2023-04-28 广州汽车集团股份有限公司 Method, device and vehicle for multi-lane wake-up
CN113259421A (en) * 2021-04-26 2021-08-13 联合汽车电子有限公司 Complete vehicle network partial dormancy management system and method and central gateway
CN114679345A (en) * 2021-07-02 2022-06-28 北京新能源汽车股份有限公司 Information processing method and device and vehicle
CN114967522A (en) * 2021-08-20 2022-08-30 长城汽车股份有限公司 A network communication method, device and vehicle
CN114967522B (en) * 2021-08-20 2024-12-03 长城汽车股份有限公司 Network communication method, device and vehicle
CN117413494A (en) * 2021-09-09 2024-01-16 宝马股份公司 Method, computer-readable medium, system, and vehicle for configuring multiple gateway controllers of a vehicle
CN115065574A (en) * 2022-05-25 2022-09-16 阿波罗智能技术(北京)有限公司 Wake-up method and device of vehicle controller, electronic equipment and automatic driving vehicle
CN115065574B (en) * 2022-05-25 2024-01-23 阿波罗智能技术(北京)有限公司 Wake-up methods, devices, electronic devices and autonomous vehicles for vehicle controllers
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
CN107465588B (en) 2020-10-23

Similar Documents

Publication Publication Date Title
CN107465588B (en) State control method, device and network management system of multi-channel bus network
CN110758289B (en) A sleep and wake-up method for an in-vehicle hybrid network including in-vehicle Ethernet
CN107659494A (en) Data processing method and intelligent vehicle-carried gateway
CN106873553A (en) Field apparatus control management method and device based on industry internet operating system
US9584411B2 (en) Power save mechanism for low-power network devices
KR101886076B1 (en) System and method for managing control device of network
CN114900387B (en) Cross-platform fusion access method, system, gateway and storage medium of equipment
CN106506595A (en) Upgrade method based on point-to-point Internet of Things intelligent Community equipment
CN105389278A (en) A Master-Slave Serial Communication Method Based on CAN Bus
US20130124703A1 (en) Method and apparatus for setting up gateway for autosar-based vehicle network
CN114740822A (en) Communication method and device between electronic control units
CN113179507B (en) Bluetooth mesh-based self-distribution networking method and system without main equipment
CN111490918B (en) In-vehicle Ethernet Wake-on-LAN system, method, apparatus and computer equipment
WO2025156775A1 (en) Network wakeup method and apparatus, and electronic device and storage medium
CN117640668A (en) Domain controller wake-up method, system, device, electronic device and storage medium
CN119109719A (en) LIN-based network management method, electronic control unit and wake-up manager
CN115685843A (en) Partial network management grouping method and device, electronic equipment, storage medium
CN115571069A (en) A vehicle control system, a vehicle control method, and a vehicle
KR20180038970A (en) Operation method of communication node for selective wakeup in vehicle network
CN111934904A (en) A capacity expansion method, controller and system
CN110417876A (en) Session method, node server and master control device in distributed system
CN108092869A (en) Virtual interface collocation method and communication equipment
CN119420710A (en) Equipment upgrading method, device and equipment
CN117201209A (en) ECU and wake-up method thereof
CN112152885A (en) Equipment control method and device, household appliance and remote control equipment

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