Local network cooperative control method and device, equipment and storage medium

By generating target scenario messages in the local network and allowing nodes to identify their active or dormant states, the timing issues between the central gateway and sub-gateways are resolved, enabling rapid response and collaborative control among nodes and improving the network's flexibility and adaptability.

CN118784463BActive Publication Date: 2026-01-13VOYAH AUTOMOBILE TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410929769.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-11
Publication Date
2026-01-13
Estimated Expiration
2044-07-11

AI Technical Summary

Technical Problem

The network management of the central gateway, sub-gateways, and subnet controllers has timing issues, which cause time differences in the sleep time between nodes, leading to communication failure monitoring and false fault recording.

Method used

The control unit acquires target scene signals, generates target scene messages, and sends them to the regional gateway and central gateway through subnet segments and backbone networks. Each node can independently identify its active or dormant state, thereby achieving local network collaborative control.

Benefits of technology

This avoids the time lag between dormant and active nodes, enabling rapid response and coordinated control, and improving the network's flexibility and adaptability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118784463B_ABST
    Figure CN118784463B_ABST
Patent Text Reader

Abstract

The application discloses a local network cooperative control method: a control unit acquires a target scene signal, obtains a control unit state according to the target scene signal, generates a target scene message according to the target scene signal and sends the target scene message to a regional gateway; the regional gateway receives the target scene message, obtains a regional gateway state according to the target scene message and sends the regional gateway state to a central gateway; the central gateway receives the target scene message, obtains a central gateway state according to the target scene message; and the local network cooperative control is realized based on the control unit state, the regional gateway state and the central gateway state; the method generates a message through a currently activated scene, sends the message to nodes such as each control unit, the regional gateway and the central gateway, and each node identifies the message to determine whether to activate / sleep the node, so that the time difference between activation / sleep of each node caused by the timeout mechanism of the regional gateway and the central gateway in the control process is avoided, and quick response and cooperative control between each node are realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of network management technology, and in particular to methods, apparatus, devices and storage media for local network collaborative control. Background Technology

[0002] With the rapid development of intelligent, electric, and connected vehicles, the number of automotive electronic and electrical equipment has increased dramatically compared to traditional vehicles, leading to the deployment of more control units (ECUs) in the electronic and electrical architecture. This means an increase in the number of messages in the bus, increased network complexity, and even the development of multiple gateway frameworks such as a central gateway and subnets. Furthermore, due to the complex and ever-changing vehicle environment, the global network management side coordinates the network status of various nodes to control the communication behavior between nodes, thereby increasing vehicle safety and stability. At the same time, local network management further improves energy efficiency.

[0003] Currently, network management of the central gateway, sub-gateways, and subnet controllers involves timing issues. The use of network management message suspension and timeout mechanisms to achieve coordinated sleep results in time differences between subnets and communication fault monitoring between controllers. If the sleep interval between different subnets is long, it can lead to false fault recording.

[0004] The above content is only used to help understand the technical solution of this application and does not represent an admission that the above content is prior art. Summary of the Invention

[0005] The main objective of this application is to provide a local network collaborative control method, apparatus, device, and storage medium, which aims to solve the technical problem that the timing of network management of the central gateway, sub-gateways, and sub-network controllers leads to time differences in the sleep time of each node.

[0006] To achieve the above objectives, this application proposes a local network cooperative control method, characterized in that the local network cooperative control method is applied to a local network cooperative control system, the local network cooperative control system including a central gateway, at least one regional gateway, and at least one control unit, wherein the central gateway and the regional gateway are connected through a backbone network, and the regional gateway and the control unit are connected through a subnet segment;

[0007] The local network cooperative control method includes:

[0008] The target scene signal is obtained through the control unit, the control unit status is obtained based on the target scene signal, a target scene message is generated based on the target scene signal, and the target scene message is sent to the area gateway through the subnet segment;

[0009] The system receives target scenario messages through the regional gateway, obtains the regional gateway status based on the target scenario messages, and sends the target scenario messages to the central gateway based on the backbone network.

[0010] The central gateway receives target scenario messages and obtains the central gateway status based on the target scenario messages.

[0011] Local network collaborative control is achieved based on the status of the control unit, the status of the regional gateway, and the status of the central gateway.

[0012] In one embodiment, after sending the target scenario message to the area gateway via the subnet segment, the method further includes:

[0013] The target scenario message is sent to the first target control unit through the subnet segment, wherein the first target control unit is a control unit connected to the control unit through the same subnet segment;

[0014] The first target control unit receives the target scene message and obtains the status of the first target control unit based on the target scene message;

[0015] Local network collaborative control is achieved based on the status of the control unit, the status of the first target control unit, the status of the regional gateway, and the status of the central gateway.

[0016] In one embodiment, the subnet segment further includes a target subnet segment;

[0017] After receiving the target scenario message through the regional gateway, obtaining the regional gateway status based on the target scenario message, and sending the target scenario message to the central gateway based on the backbone network, the process further includes:

[0018] The target scenario message is sent to the second target control unit through the target subnet segment, and the second target control unit is connected to the area gateway through the target subnet segment;

[0019] The second target control unit receives the target scene message and obtains the status of the second target control unit based on the target scene message;

[0020] Local network collaborative control is achieved based on the status of the control unit, the status of the second target control unit, the status of the regional gateway, and the status of the central gateway.

[0021] In one embodiment, the area gateway further includes a reference area gateway, the subnet segment further includes a reference subnet segment, the backbone network further includes a reference backbone network, and the control unit further includes a reference control unit;

[0022] After receiving the target scenario message through the central gateway and obtaining the central gateway status based on the target scenario message, the process further includes:

[0023] The target scenario message is sent from the central gateway to the reference area gateway, and the reference area gateway and the central gateway are connected through the reference backbone network;

[0024] The reference area gateway receives the target scenario message and obtains the reference area gateway status based on the target scenario message;

[0025] The reference area gateway sends the target scenario message to the reference control unit through the reference subnet segment, and the reference control unit is connected to the reference area gateway through the reference subnet segment;

[0026] The reference control unit receives the target scenario message and obtains the reference control unit status based on the target scenario message;

[0027] Local network collaborative control is achieved based on the status of the control unit, the status of the regional gateway, the status of the central gateway, the status of the reference regional gateway, and the status of the reference control unit.

[0028] In one embodiment, the reference subnet segment includes a first reference subnet segment and a second reference subnet segment, and the reference control unit includes a first reference control unit and a second reference control unit.

[0029] The reference control unit receives the target scene message and obtains the reference control unit status based on the target scene message, including:

[0030] The reference area gateway sends a target scenario message to the first reference control unit through the first reference subnet segment, and the first reference control unit is connected to the reference area gateway through the first reference subnet segment.

[0031] The first reference control unit receives the target scene message and obtains the state of the first reference control unit based on the target scene message;

[0032] The reference area gateway sends the target scenario message to the second reference control unit through the second reference subnet segment, and the first reference control unit is connected to the reference area gateway through the second reference subnet segment;

[0033] The second reference control unit receives the target scene message and obtains the state of the second reference control unit based on the target scene message;

[0034] The first reference control unit state and the second reference control unit state are used as reference control unit states.

[0035] In one embodiment, acquiring the target scene signal through the control unit includes:

[0036] Vehicle control commands are obtained through the control unit;

[0037] The target scene signal is generated according to the vehicle control command. The target scene signal includes a target scene activation signal and a target scene sleep signal, so that the local network cooperative control system controls the central gateway, regional gateway and control unit to activate or sleep in coordination based on the target scene activation signal and the target scene sleep signal.

[0038] In one embodiment, obtaining the regional gateway status based on the target scenario message includes:

[0039] The target scenario message is parsed to obtain the scenario state of each scenario, which includes an active state and a dormant state.

[0040] Obtain the associated scenarios of the regional gateway, and obtain the associated scenario status based on the scenario status of each scenario;

[0041] The regional gateway status is obtained based on the associated scenario status.

[0042] Furthermore, to achieve the above objectives, this application also proposes a local network cooperative control device, which includes:

[0043] The message generation module is used to obtain a target scene signal through the control unit, obtain the control unit status based on the target scene signal, generate a target scene message based on the target scene signal, and send the target scene message to the area gateway through the subnet segment;

[0044] The message transmission module is used to receive target scenario messages through the regional gateway, obtain the regional gateway status based on the target scenario messages, and send the target scenario messages to the central gateway based on the backbone network.

[0045] The message transmission module is also used to receive target scenario messages through the central gateway and obtain the central gateway status based on the target scenario messages;

[0046] The collaborative control module is used to implement local network collaborative control based on the status of the control unit, the status of the regional gateway, and the status of the central gateway.

[0047] In addition, to achieve the above objectives, this application also proposes a local network cooperative control device, the device comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the local network cooperative control method as described above.

[0048] In addition, to achieve the above objectives, this application also proposes a storage medium, which is a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, it implements the steps of the local network cooperative control method described above.

[0049] In addition, to achieve the above objectives, this application also provides a computer program product, which includes a computer program that, when executed by a processor, implements the steps of the local network cooperative control method described above.

[0050] One or more technical solutions proposed in this application have at least the following technical effects:

[0051] By determining the currently active scenario, a target scenario message is generated and sent to various control units, regional gateways, and central gateways. Each node can then identify whether the target scenario message activates it. This avoids the timeout mechanisms of regional gateways and central gateways during the control process, which can cause a time difference between sleep and activation among nodes, thus enabling rapid response and coordinated control among the nodes. Attached Figure Description

[0052] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0053] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0054] Figure 1 This is a flowchart illustrating an embodiment of the local network cooperative control method of this application.

[0055] Figure 2 This is a structural diagram of a single control unit provided in an embodiment of the local network cooperative control method of this application;

[0056] Figure 3 This is a flowchart illustrating Embodiment 2 of the local network cooperative control method of this application;

[0057] Figure 4 This is a structural diagram showing the connection of multiple control units within the same subnet segment in an embodiment of the local network cooperative control method of this application.

[0058] Figure 5 This is a flowchart illustrating Embodiment 3 of the local network cooperative control method of this application;

[0059] Figure 6 A structural diagram showing the connection between a gateway in the same area and various control units through multiple subnet segments, as provided in an embodiment of the local network cooperative control method of this application;

[0060] Figure 7 This is a flowchart illustrating Embodiment 4 of the local network cooperative control method of this application;

[0061] Figure 8 A structural diagram showing the connection between a central gateway and various regional gateways via multiple backbone networks, as provided in an embodiment of the local network collaborative control method of this application;

[0062] Figure 9 This is a schematic diagram of the module structure of the local network collaborative control device according to an embodiment of this application;

[0063] Figure 10 This is a schematic diagram of the device structure of the hardware operating environment involved in the local network collaborative control method in the embodiments of this application. Detailed Implementation

[0064] It should be understood that the specific embodiments described herein are merely illustrative of the technical solutions of this application and are not intended to limit this application.

[0065] To better understand the technical solution of this application, a detailed description will be provided below in conjunction with the accompanying drawings and specific implementation methods.

[0066] The main solution of this application embodiment is as follows: The control unit acquires a target scene signal, obtains the control unit status based on the target scene signal, generates a target scene message based on the target scene signal, and sends the target scene message to the regional gateway through the subnet segment; the regional gateway receives the target scene message, obtains the regional gateway status based on the target scene message, and sends the target scene message to the central gateway based on the backbone network; the central gateway receives the target scene message, obtains the central gateway status based on the target scene message; and local network collaborative control is achieved based on the control unit status, the regional gateway status, and the central gateway status.

[0067] In this embodiment, for ease of description, the following description will focus on identifying local network collaborative control devices as the execution subject.

[0068] With the rapid development of intelligent, electric, and connected vehicles, the number of electronic and electrical components in automobiles has increased dramatically compared to traditional vehicles, leading to the deployment of more control units (ECUs) within the electronic and electrical architecture. This means an increase in the number of messages on the bus, increased network complexity, and even the development of multiple gateway frameworks such as a central gateway and subnets. Furthermore, due to the complex and ever-changing vehicle environment, the global network management side coordinates the network status of various nodes to control the communication behavior between nodes, thereby increasing vehicle safety and stability. At the same time, local network management further enhances energy efficiency.

[0069] Currently, network management of the central gateway, sub-gateways, and subnet controllers involves timing issues. The use of network management message suspension and timeout mechanisms to achieve coordinated sleep results in time differences between subnets and communication fault monitoring between controllers. If the sleep interval between different subnets is long, it can lead to false fault recording.

[0070] This application provides a solution that generates a target scenario message by determining the currently active scenario, and sends the target scenario message to various control units, regional gateways, and central gateways. Each node can then identify whether the target scenario message activates it, thus avoiding the timeout mechanism of the regional gateway and central gateway during the control process that causes a sleep / activation time difference between nodes, and achieving rapid response and collaborative control among the nodes.

[0071] As can be seen from the above embodiments, this application discloses a local network cooperative control method: the control unit acquires a target scene signal, obtains the control unit state based on the target scene signal, generates a target scene message based on the target scene signal and sends it to the regional gateway; the regional gateway receives the target scene message, obtains the regional gateway state based on the target scene message and sends it to the central gateway; the central gateway receives the target scene message and obtains the central gateway state based on the target scene message; local network cooperative control is realized based on the control unit state, the regional gateway state, and the central gateway state; this method generates a message through the currently active scene, sends the message to each control unit, regional gateway, and central gateway, etc., and each node identifies the message to determine whether to activate / dormant the node, avoiding the activation / dormant time difference between each node caused by the timeout mechanism of the regional gateway and the central gateway during the control process, and realizing fast response and cooperative control between each node.

[0072] It should be noted that the executing entity in this embodiment can be a computing service device with data processing, network communication, and program execution functions, such as a tablet computer, personal computer, or mobile phone, or an electronic device or local network collaborative control device capable of performing the above functions. The following description uses a local network collaborative control device as an example to illustrate this embodiment and the subsequent embodiments.

[0073] Based on this, embodiments of this application provide a local network cooperative control method, referring to... Figure 1 , Figure 1 This is a flowchart illustrating the first embodiment of the local network cooperative control method of this application.

[0074] In this embodiment, the local network cooperative control method is applied to a local network cooperative control system, which includes a central gateway, at least one regional gateway, and at least one control unit. The central gateway and the regional gateway are connected via a backbone network, and the regional gateway and the control unit are connected via a subnet segment. The method includes steps S10 to S40:

[0075] Step S10: Obtain the target scene signal through the control unit, obtain the control unit status based on the target scene signal, generate a target scene message based on the target scene signal, and send the target scene message to the area gateway through the subnet segment.

[0076] Understandably, a control unit can be a controller for various vehicle functions installed in the vehicle's electronic and electrical architecture, such as a turn signal controller, Bluetooth controller, seat status controller, etc.

[0077] It should be understood that the target scenario signal can be a signal generated when a vehicle user performs relevant operations based on the current driving needs of the vehicle. For example, when a vehicle is about to turn left at an intersection, it turns on the left turn signal, and at this time the vehicle's turn signal control unit receives the left turn scenario signal.

[0078] It should be noted that the target scene signal can be obtained by different control units. For example, the left turn scene signal can be obtained by the turn signal control unit, and the Bluetooth connection scene signal can be obtained by the Bluetooth controller, etc.

[0079] It should be understood that the control unit can be active or dormant. When a user activates a function, the controller corresponding to that function receives a scene signal and identifies the controller's state as active; when a user deactivates a function, the controller corresponding to that function receives a scene signal and identifies the controller's state as dormant.

[0080] It should be noted that the target scene is triggered by the target scene signal, but the target scene may not only involve this one control unit, but may also involve other control units, area gateways, central gateways, etc.

[0081] It should be noted that a target scene message is generated based on the target scene signal. The target scene message format can be found in Table 1 below:

[0082]

[0083] Among them, Byte2 to Byte7 of the message are scene groups, and scene 1 to scene 48 are defined according to different functions. If scene 48 is activated based on the target scene signal, then the processing bit of "scene 48" in the table is "0x1", which means that scene 48 is activated.

[0084] It should be noted that in the local network collaborative control system, the control unit is connected to the regional gateway through a subnet segment. It should be emphasized that when the control unit under the regional gateway is activated, the regional gateway will be activated, and the central gateway of the regional gateway will also be activated.

[0085] It should be further explained that the central gateway includes at least one regional gateway connected to the backbone network, and the backbone network connects the central gateway and at least one regional gateway; the regional gateway includes at least one control unit connected to a subnet segment, and the subnet segment connects at least one regional gateway and at least one control unit. For specific structural relationships, please refer to [reference needed]. Figure 2 , Figure 2 The structural relationship diagram of a single control unit includes a central gateway, a regional gateway 1 connected to the central gateway via the main network, and a control unit (i.e., the ECU in the diagram) connected to the regional gateway 1 via a subnet segment.

[0086] In one feasible implementation, obtaining the target scene signal through the control unit in step S10 may include steps A1001~A1002:

[0087] Step A1001: Obtain vehicle control commands through the control unit.

[0088] It should be noted that vehicle control commands can be voice control commands input by the user, such as turning on the air conditioner, starting the vehicle, closing the windows, turning off the music, etc.

[0089] Step A1002: Generate a target scene signal according to the vehicle control command. The target scene signal includes a target scene activation signal and a target scene sleep signal, so that the local network cooperative control system controls the central gateway, regional gateway and control unit to activate or sleep in coordination based on the target scene activation signal and the target scene sleep signal.

[0090] Understandably, the target scene signal can be a signal generated when the current scene is determined based on vehicle control commands.

[0091] It should be noted that the target scene signal generates a message and sends the message to each node of the local network collaborative control system (control unit node, regional gateway node, central gateway node). The message is transmitted between the nodes very quickly, in milliseconds. After receiving the message, each node activates or suspends its activity based on the target scene in the message. If the target scene is related to the node, the node will activate or suspend its activity synchronously.

[0092] In this embodiment, by transmitting the target scenario message between each node, the node itself determines whether to activate or hibernate based on the target scenario message. This avoids the traditional activation / hibernation transmission method, where the regional gateway needs to send a hibernation signal to the central gateway, wait for the central gateway to time out, and then send a hibernation signal back to each control unit. The timeout response is calculated in seconds, resulting in a long delay and a long time difference between the hibernation time of the central gateway and each control unit.

[0093] The above is only a feasible implementation method for obtaining the target scene signal through the control unit in step S10 of this embodiment. This embodiment does not specifically limit the specific implementation method for obtaining the target scene signal through the control unit in step S10.

[0094] Step S20: Receive the target scenario message through the regional gateway, obtain the regional gateway status based on the target scenario message, and send the target scenario message to the central gateway based on the backbone network.

[0095] Understandably, the status of a regional gateway includes active and dormant states.

[0096] Understandably, the relationship between the area gateway and each control unit can be understood as follows: if any one or more control units under the area gateway are activated, the area gateway will also be activated. Simply put, as long as a control unit is activated, the area gateway connected to that control unit will definitely be activated; if all control units under the area gateway are dormant, the area gateway will be dormant.

[0097] Understandably, regional gateways are connected to the central gateway via the backbone network. The central gateway can connect to multiple regional gateways through one backbone network, or it can connect to multiple regional gateways through multiple backbone networks respectively.

[0098] In one feasible implementation, obtaining the area gateway status based on the target scenario message in step S20 may include steps A2001~A2003:

[0099] Step A2001: Parse the target scene message to obtain the scene status of each scene, including active state and dormant state.

[0100] It is understandable that parsing the target scenario message can involve each node identifying the identifier of each scenario in the message. Referring to Table 1 above, the identifier can be 0x0 or 0x1, and the node can determine whether each scenario is in an active or dormant state based on the identifier.

[0101] Step A2002: Obtain the associated scenarios of the regional gateway, and obtain the associated scenario status based on the scenario status of each scenario.

[0102] Understandably, the associated scenario can be a scenario where the regional gateway changes as the scenario changes.

[0103] It should be understood that each node can have one or more related scenarios. For example, the scenario related to the voice control unit can be related to the navigation scenario (the navigation scenario requires voice broadcast of the navigation route), the music playback scenario (speaker sound), etc.

[0104] It should be noted that the associated scene state can be one or more of the various scenes.

[0105] Step A2003: Obtain the regional gateway status based on the associated scenario status.

[0106] It should be noted that when all associated scene states are in a dormant state, the regional gateway state is also in a dormant state; if any one or more scene states are in an active state, the regional gateway state is also in an active state.

[0107] In this embodiment, by parsing the target scenario messages, the current state (active or dormant) of each scenario is accurately identified, thereby enabling granular control of different functional modules inside the vehicle. This improves the system's flexibility and adaptability, allowing the vehicle to respond more efficiently to different driving conditions and user needs, parse scenario messages in real time and adjust the regional gateway state accordingly, and respond quickly to changes.

[0108] The above is only a feasible implementation method for obtaining the regional gateway status based on the target scenario message in step S20 of this embodiment. This embodiment does not specifically limit the specific implementation method for obtaining the regional gateway status based on the target scenario message in step S20.

[0109] Step S30: Receive the target scenario message through the central gateway and obtain the central gateway status based on the target scenario message.

[0110] Understandably, the central gateway status can include both active and dormant states.

[0111] It should be noted that the relationship between the central gateway and the regional gateways can be compared to the relationship between the regional gateways and the control unit. If any one or more regional gateways under the central gateway are active, then the central gateway must be active and all regional gateways under the central gateway must be in a dormant state before the central gateway can enter a dormant state.

[0112] Step S40: Implement local network collaborative control based on the status of the control unit, the status of the regional gateway, and the status of the central gateway.

[0113] It is understandable that local network collaborative control based on the control unit status, the regional gateway status, and the central gateway status can be achieved by each node directly changing its status according to the status of the scenario related to each node in the message. The message transmission speed between nodes is fast, which enables collaborative control of each node.

[0114] This embodiment provides a local network collaborative control method. By determining the currently active scenario, a target scenario message is generated and sent to various control units, regional gateways, and central gateways. Each node can independently identify whether the target scenario message activates it. This avoids the timeout mechanism of the regional gateway and central gateway during the control process, which would cause a time difference between the dormant and active nodes, thus achieving rapid response and collaborative control among the nodes.

[0115] Based on the first embodiment of this application, in the second embodiment of this application, the content that is the same as or similar to that in the first embodiment described above can be referred to the above description, and will not be repeated hereafter. Based on this, please refer to... Figure 3 After step S10, the local network cooperative control method further includes steps S101 to S103:

[0116] Step S101: Send the target scenario message to the first target control unit through the subnet segment. The first target control unit is a control unit connected to the control unit through the same subnet segment.

[0117] Understandably, the target control unit and the control unit are connected to the area gateway through the same subnet segment.

[0118] It should be noted that the system architecture for a local network collaborative control system with multiple control units within the same subnet segment can be referenced. Figure 4 In the diagram, both ECU1 and ECU2 are connected to the regional gateway through subnet segments. If ECU1 is a control unit, then ECU1 acquires the target scene signal, generates a target scene message, and sends the target scene message to ECU2 (the target control unit) and the regional gateway through the subnet segment.

[0119] Step S102: The first target control unit receives the target scene message and obtains the status of the first target control unit based on the target scene message.

[0120] Understandably, the state of the first target control unit includes an active state and a dormant state. At this time, the state of the regional gateway can be understood as being affected by both the first target control unit and the control unit. However, in practice, the associated scenarios of ECU1 and ECU2 are both taken as the associated scenarios of the regional gateway. Therefore, regardless of whether ECU1 or ECU2 is active, the regional gateway will be activated because the associated scenario is active. Conversely, if ECU1 is dormant and ECU2 is dormant at the same time, the regional gateway will be dormant.

[0121] Step S103: Implement local network collaborative control based on the control unit status, the first target control unit status, the regional gateway status, and the central gateway status.

[0122] Understandably, the local network collaborative control system at this time includes multiple nodes such as control unit, first target control unit, regional gateway, and central gateway. Based on the target scenario message, the messages are quickly transmitted among the nodes to achieve collaborative control of the nodes.

[0123] It should be emphasized that in this embodiment, the first target control unit only refers to the control unit connected to the control unit through the same subnet segment, and there is no limitation on the number of the first target control units, which can also include multiple units.

[0124] This embodiment provides a local network collaborative control method, in which the control unit sends the target scene message to the first target control unit and the regional gateway connected in the same subnet segment, and then the regional gateway sends the target scene message to the central gateway. Based on the transmission of the scene message to each node, collaborative control of each node is realized.

[0125] Based on the first embodiment of this application, in the second embodiment of this application, the content that is the same as or similar to that in the first embodiment described above can be referred to the above description, and will not be repeated hereafter. Based on this, please refer to... Figure 5 After step S20, the local network cooperative control method further includes steps S201-S203:

[0126] Step S201: Send the target scenario message to the second target control unit through the target subnet segment. The second target control unit is connected to the area gateway through the target subnet segment.

[0127] It is understood that the target subnet segment and the subnet segment are respectively connected to the area gateway. There can be one or more target subnet segments. This embodiment only describes one subnet segment. The collaborative control method of other subnet segments is similar to that of the target subnet segment.

[0128] It should be noted that the system architecture for control units connected to multiple subnets under the same area gateway in a local network collaborative control system can refer to [reference needed]. Figure 6 In the diagram, ECU1 and ECU2 are both connected to the regional gateway via subnet segments. ECU1 is the control unit, ECU2 is the first control unit, and ECU3 is the second control unit. ECU1 and ECU2 are connected to the regional gateway via subnet segments, and ECU3 is connected to the regional gateway via a target subnet segment. If ECU1 acquires a target scene signal, generates a target scene message, and sends the target scene message to ECU2 (the first target control unit) and the regional gateway via a subnet segment, the regional gateway will then send the target scene message to ECU3 via the target subnet segment.

[0129] Step S202: The second target control unit receives the target scene message and obtains the status of the second target control unit based on the target scene message.

[0130] Understandably, the state of the second target control unit includes an active state and a dormant state.

[0131] It should be understood that the second target control unit is not directly connected to the control unit. After the area gateway receives the target scenario message, the area gateway then sends the target scenario message to the second target control unit to realize the transmission of the target scenario message between the various control units.

[0132] Step S203: Implement local network collaborative control based on the control unit status, the second target control unit status, the regional gateway status, and the central gateway status.

[0133] Understandably, the local network collaborative control system at this time includes multiple nodes such as control units, first target control units, second control units, regional gateways, and central gateways. Based on the target scenario messages, the messages are quickly transmitted among the nodes to achieve collaborative control of the nodes.

[0134] It should be understood that the second target control unit is connected to the area gateway through the target subnet segment, similar to how the control unit and the first control unit are connected to the area gateway through a subnet segment. Other control units may be connected to the area gateway and the second target control unit through the target subnet segment.

[0135] This embodiment provides a local network collaborative control method. After the control unit sends the target scene message to the regional gateway, the regional gateway sends the target scene message to the second target control unit through the target subnet segment. The regional gateway then sends the target scene message to the central gateway through the backbone network. Based on the transmission of the scene message to each node, collaborative control of each node is achieved.

[0136] Based on the first embodiment of this application, in the second embodiment of this application, the content that is the same as or similar to that in the first embodiment described above can be referred to the above description, and will not be repeated hereafter. Based on this, please refer to... Figure 7 After step S30, the local network cooperative control method further includes steps S301 to S305:

[0137] Step S301: The target scenario message is sent to the reference area gateway through the central gateway. The reference area gateway and the central gateway are connected through the reference backbone network.

[0138] It is understood that the backbone network and the reference backbone network are respectively connected to the central gateway. There can be one or more reference area gateways. This embodiment only describes the reference area gateway. The collaborative control method of other multiple reference area gateways is similar to that of the reference area gateway.

[0139] It should be noted that the system architecture of a local network collaborative control system, which includes multiple regional gateways connected to the backbone network under the same central gateway, can refer to [reference needed]. Figure 8 In the diagram, the regional gateway and the reference regional gateway are connected to the central gateway through the backbone network and the reference backbone network, respectively. If ECU1 is a control unit, it is transmitted to the central gateway through the subnet segment, regional gateway, and backbone network. The central gateway then sends the target scenario message to the reference regional gateway, which then sends it to each of its subordinate control units.

[0140] It should be emphasized that there is also a scenario where the reference area gateway and the area gateway are connected to the central gateway through the same backbone network. In this structure, after the area gateway receives the target scenario message, it synchronously sends the target scenario message to the central gateway and the reference area gateway. Then, the reference area gateway sends the target scenario message to the following control unit nodes.

[0141] In step S302, the reference area gateway receives the target scenario message and obtains the reference area gateway status based on the target scenario message.

[0142] Understandably, the reference area gateway status includes active and dormant states.

[0143] It should be understood that when there are multiple regional gateways, the state of the central gateway is related to the state of each regional gateway. However, in practice, the associated scenarios of the regional gateways and the associated scenarios of the reference regional gateways are both considered as associated scenarios of the regional gateways. Therefore, regardless of whether the regional gateway or the reference regional gateway is activated, the regional gateway will be activated because the state of the associated scenario is active. Conversely, if the regional gateway is dormant and the reference regional gateway is also dormant, then the regional gateway will be dormant.

[0144] It should be emphasized that in this embodiment, the reference area gateway refers only to the area gateway connected to the central gateway through another backbone network. The number of reference area gateways is not limited; there can be one or more.

[0145] In step S303, the reference area gateway sends a target scenario message to the reference control unit through a reference subnet segment, and the reference control unit is connected to the reference area gateway through the reference subnet segment.

[0146] Understandably, there can be multiple reference area gateways, each reference area gateway can connect to multiple reference subnets, and each subnet can connect to multiple reference control units.

[0147] It should be emphasized that each reference control unit can also be a control unit. Simply put, each control unit can acquire target scene signals and generate target scene messages. In a local network collaborative control system, multiple control units can simultaneously generate target scene messages for transmission within the system.

[0148] Step S304: The reference control unit receives the target scene message and obtains the reference control unit status based on the target scene message.

[0149] Understandably, the reference control unit state can include active and dormant states.

[0150] It should be noted that the reference subnet segment may include a first reference subnet segment and a second reference subnet segment, the reference control unit includes a first reference control unit and a second reference control unit, and the reference subnet segment includes a first reference subnet segment and a second reference subnet segment.

[0151] Step S305: Implement local network collaborative control based on the control unit status, the area gateway status, the central gateway status, the reference area gateway status, and the reference control unit status.

[0152] It should be emphasized that the process of the reference control unit receiving the target scenario message and obtaining the reference control unit status based on the target scenario message includes: the reference area gateway sending the target scenario message to the first reference control unit through a first reference subnet segment, the first reference control unit being connected to the reference area gateway through the first reference subnet segment; the first reference control unit receiving the target scenario message and obtaining the first reference control unit status based on the target scenario message; the reference area gateway sending the target scenario message to the second reference control unit through a second reference subnet segment, the first reference control unit being connected to the reference area gateway through the second reference subnet segment; the second reference control unit receiving the target scenario message and obtaining the second reference control unit status based on the target scenario message; and using the first reference control unit status and the second reference control unit status as the reference control unit status.

[0153] Among these, it is understandable that reference Figure 8The relationship between the reference area gateway and the first reference subnet segment, the second reference subnet segment, the first reference control unit, and the second reference control unit in the diagram is similar to the relationship between the area gateway and the subnet segment, the target subnet segment, the control unit, the first target control unit, and the second target control unit, and can be understood in a similar way.

[0154] This embodiment provides a local network collaborative control method. After the control unit sends the target scene message to the regional gateway, the regional gateway sends the target scene message to the second target control unit through the target subnet segment. The regional gateway then sends the target scene message to the central gateway through the backbone network. The central gateway then sends the target scene message to other regional gateways, which in turn send it to their subordinate control units. Based on the transmission of the scene message to each node, collaborative control of each node is achieved.

[0155] It should be noted that the above examples are only for understanding this application and do not constitute a limitation on the local network cooperative control method of this application. Any simple modifications based on this technical concept are within the protection scope of this application.

[0156] This application also provides a local network cooperative control device; please refer to [reference needed]. Figure 9 The local network collaborative control device includes:

[0157] The message generation module 10 is used to obtain a target scene signal through the control unit, obtain the control unit status based on the target scene signal, generate a target scene message based on the target scene signal, and send the target scene message to the area gateway through the subnet segment;

[0158] The message transmission module 20 is used to receive target scenario messages through the regional gateway, obtain the regional gateway status based on the target scenario messages, and send the target scenario messages to the central gateway based on the backbone network.

[0159] The message transmission module 20 is also used to receive target scenario messages through the central gateway and obtain the central gateway status based on the target scenario messages;

[0160] The collaborative control module 30 is used to implement local network collaborative control based on the status of the control unit, the status of the regional gateway, and the status of the central gateway.

[0161] The local network collaborative control device provided in this application, employing the local network collaborative control method in the above embodiments, can solve the technical problem of time differences in sleep time between subnets caused by the timing of network management among the central gateway, sub-gateways, and subnet controllers. Compared with the prior art, the beneficial effects of the local network collaborative control device provided in this application are the same as those of the local network collaborative control method provided in the above embodiments, and other technical features in the local network collaborative control device are the same as those disclosed in the methods of the above embodiments, and will not be repeated here.

[0162] This application provides a local network cooperative control device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the local network cooperative control method in the first embodiment described above.

[0163] The following is for reference. Figure 10 This document illustrates a structural diagram of a local network collaborative control device suitable for implementing embodiments of this application. The local network collaborative control device in these embodiments may include, but is not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Description), PMPs (Portable Media Players), and in-vehicle terminals (e.g., in-vehicle navigation terminals), as well as fixed terminals such as digital TVs and desktop computers. Figure 10 The local network collaborative control device shown is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of this application.

[0164] like Figure 10As shown, the local network cooperative control device may include a processing unit 1001 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1002 or a program loaded from a storage device 1003 into a random access memory (RAM) 1004. The RAM 1004 also stores various programs and data required for the operation of the local network cooperative control device. The processing unit 1001, ROM 1002, and RAM 1004 are interconnected via a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Typically, the following systems can be connected to the I / O interface 1006: input devices 1007 including, for example, a touch screen, touchpad, keyboard, mouse, image sensor, microphone, accelerometer, gyroscope, etc.; output devices 1008 including, for example, a liquid crystal display (LCD), speaker, vibrator, etc.; storage devices 1003 including, for example, magnetic tape, hard disk, etc.; and communication devices 1009. Communication device 1009 allows local network collaborative control devices to communicate wirelessly or wiredly with other devices to exchange data. Although local network collaborative control devices with various systems are shown in the figures, it should be understood that implementation or possession of all the systems shown is not required. More or fewer systems may be implemented alternatively.

[0165] Specifically, according to the embodiments disclosed in this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments disclosed in this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device, or installed from storage device 1003, or installed from ROM 1002. When the computer program is executed by processing device 1001, it performs the functions defined in the methods of the embodiments disclosed in this application.

[0166] The local network collaborative control device provided in this application, employing the local network collaborative control method in the above embodiments, can solve the technical problem of time differences in sleep time between subnets caused by the timing of network management among the central gateway, sub-gateways, and subnet controllers. Compared with the prior art, the beneficial effects of the local network collaborative control device provided in this application are the same as those of the local network collaborative control method provided in the above embodiments, and other technical features in this local network collaborative control device are the same as those disclosed in the previous embodiment method, and will not be repeated here.

[0167] It should be understood that the various parts disclosed in this application can be implemented using hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics can be combined in any suitable manner in one or more embodiments or examples.

[0168] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

[0169] This application provides a computer-readable storage medium having computer-readable program instructions (i.e., a computer program) stored thereon, the computer-readable program instructions being used to execute the local network cooperative control method in the above embodiments.

[0170] The computer-readable storage medium provided in this application may be, for example, a USB flash drive, but is not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections having one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, system, or device. The program code contained on the computer-readable storage medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination thereof.

[0171] The aforementioned computer-readable storage medium may be included in a local network cooperative control device; or it may exist independently and not be assembled into a local network cooperative control device.

[0172] The aforementioned computer-readable storage medium carries one or more programs. When these programs are executed by a local network collaborative control device, the local network collaborative control device: acquires a target scene signal through the control unit; obtains the control unit status based on the target scene signal; generates a target scene message based on the target scene signal; and sends the target scene message to the regional gateway through the subnet segment; receives the target scene message through the regional gateway; obtains the regional gateway status based on the target scene message; and sends the target scene message to the central gateway based on the backbone network; receives the target scene message through the central gateway; and obtains the central gateway status based on the target scene message; and realizes local network collaborative control based on the control unit status, the regional gateway status, and the central gateway status.

[0173] Computer program code for performing the operations of this application can be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, and C++, and conventional procedural programming languages ​​such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a Local Area Network (LAN) or a Wide Area Network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0174] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0175] The modules described in the embodiments of this application can be implemented in software or hardware. The names of the modules do not necessarily limit the functionality of the unit itself.

[0176] The readable storage medium provided in this application is a computer-readable storage medium that stores computer-readable program instructions (i.e., a computer program) for executing the aforementioned local network cooperative control method. This solves the technical problem of timing issues in network management among the central gateway, sub-gateways, and subnet controllers, leading to time differences in sleep times between subnets. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in this application are the same as those of the local network cooperative control method provided in the above embodiments, and will not be elaborated upon here.

[0177] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the local network cooperative control method described above.

[0178] The computer program product provided in this application can solve the technical problem of timing issues in network management of the central gateway, sub-gateways, and subnet controllers, resulting in time differences in sleep times between subnets. Compared with the prior art, the beneficial effects of the computer program product provided in this application are the same as those of the local network cooperative control method provided in the above embodiments, and will not be repeated here.

[0179] The above description is only a part of the embodiments of this application and does not limit the patent scope of this application. All equivalent structural transformations made under the technical concept of this application and using the contents of the specification and drawings of this application, or direct / indirect applications in other related technical fields, are included in the patent protection scope of this application.

Claims

1. A method of local network coordinated control, characterized by, The local network cooperative control method is applied to a local network cooperative control system, the local network cooperative control system comprising a central gateway, at least one regional gateway, and at least one control unit, the central gateway being connected with the regional gateway through a backbone network, and the regional gateway being connected with the control unit through a subnet segment; The local network cooperative control method comprises: acquiring, by the control unit, a target scene signal, obtaining a control unit state according to the target scene signal, generating a target scene message according to the target scene signal, and sending the target scene message to the regional gateway through the subnet segment; receiving, by the regional gateway, the target scene message, obtaining a regional gateway state according to the target scene message, and sending the target scene message to the central gateway based on the backbone network; receiving, by the central gateway, the target scene message, and obtaining a central gateway state according to the target scene message; implementing local network cooperative control based on the control unit state, the regional gateway state, and the central gateway state; The regional gateway further comprises a reference regional gateway, the subnet segment further comprises a reference subnet segment, the backbone network further comprises a reference backbone network, and the control unit further comprises a reference control unit; After the central gateway receives the target scene message and obtains the central gateway state according to the target scene message, the method further comprises: sending, by the central gateway, the target scene message to the reference regional gateway, the reference regional gateway being connected with the central gateway through the reference backbone network; receiving, by the reference regional gateway, the target scene message and obtaining a reference regional gateway state according to the target scene message; sending, by the reference regional gateway, the target scene message to the reference control unit through the reference subnet segment, the reference control unit being connected with the reference regional gateway through the reference subnet segment; receiving, by the reference control unit, the target scene message and obtaining a reference control unit state according to the target scene message; implementing local network cooperative control based on the control unit state, the regional gateway state, the central gateway state, the reference regional gateway state, and the reference control unit state.

2. The local network collaborative control method of claim 1, wherein, After the target scene message is sent to the regional gateway through the subnet segment, the method further comprises: sending, by the subnet segment, the target scene message to a first target control unit, the first target control unit being a control unit connected with the control unit through the same subnet segment; receiving, by the first target control unit, the target scene message and obtaining a first target control unit state according to the target scene message; implementing local network cooperative control based on the control unit state, the first target control unit state, the regional gateway state, and the central gateway state.

3. The local network collaborative control method of claim 1, wherein, The subnet segment further comprises a target subnet segment; After the target scene message is received by the regional gateway, the regional gateway state is obtained according to the target scene message, and the target scene message is sent to the central gateway based on the backbone network, the method further comprises: The target scenario message is sent to a second target control unit through the target subnet segment, and the second target control unit is connected with the regional gateway through the target subnet segment; The second target control unit receives the target scenario message and obtains a second target control unit state according to the target scenario message; The local network collaborative control is realized based on the control unit state, the second target control unit state, the regional gateway state and the central gateway state.

4. The local network collaborative control method of claim 1, wherein, The reference subnet segment includes a first reference subnet segment and a second reference subnet segment, and the reference control unit includes a first reference control unit and a second reference control unit. The reference control unit receives the target scenario message and obtains a reference control unit state according to the target scenario message, including: The reference regional gateway sends a target scenario message to the first reference control unit through the first reference subnet segment, and the first reference control unit is connected with the reference regional gateway through the first reference subnet segment; The first reference control unit receives the target scenario message and obtains a first reference control unit state according to the target scenario message; The reference regional gateway sends a target scenario message to the second reference control unit through the second reference subnet segment, and the first reference control unit is connected with the reference regional gateway through the second reference subnet segment; The second reference control unit receives the target scenario message and obtains a second reference control unit state according to the target scenario message; The first reference control unit state and the second reference control unit state are taken as the reference control unit state.

5. The local network collaborative control method according to any one of claims 1 to 4, characterized by, The target scenario signal is obtained through the control unit, including: A vehicle control instruction is obtained through the control unit; A target scenario signal is generated according to the vehicle control instruction, the target scenario signal including a target scenario activation signal or a target scenario hibernation signal, so that the local network collaborative control system controls the central gateway, the regional gateway and the control unit to be collaboratively activated or collaboratively hibernated based on the target scenario activation signal and the target scenario hibernation signal.

6. The local network collaborative control method according to any one of claims 1 to 4, characterized by, The regional gateway state is obtained according to the target scenario message, including: The target scenario message is parsed to obtain a scene state of each scene, and the scene state includes an activation state or a hibernation state; An associated scene of the regional gateway is obtained, and an associated scene state is obtained according to the scene state of each scene; The regional gateway state is obtained according to the associated scene state.

7. A local network cooperative control device characterized by comprising: The local network collaborative control device executes the local network collaborative control method in any one of claims 1 to 6, and the local network collaborative control device includes: A message generation module is used to obtain a target scenario signal through a control unit, obtain a control unit state according to the target scenario signal, generate a target scenario message according to the target scenario signal, and send the target scenario message to a regional gateway through a subnet segment; The message transmission module is configured to receive a target scene message through the regional gateway, obtain a regional gateway state according to the target scene message, and send the target scene message to the central gateway based on the backbone network. The message transmission module is further configured to receive a target scene message through the central gateway, and obtain a central gateway state according to the target scene message. The cooperative control module is configured to realize local network cooperative control based on the control unit state, the regional gateway state, and the central gateway state.

8. A local network cooperative control device characterized by comprising: The device comprises a memory, a processor, and a local network cooperative control program stored on the memory and executable on the processor, and the local network cooperative control program is configured to realize the local network cooperative control method according to any one of claims 1 to 6.

9. A storage medium, characterized by The storage medium stores a local network cooperative control program, and the local network cooperative control program is executed by the processor to realize the local network cooperative control method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Vehicle-mounted multi-gateway cooperative sleep and wake-up method and system and storage medium

    CN114828177A

  • Vehicle-mounted local network management method and system

    CN115167218A