Local network collaborative control method, apparatus, and device, and storage medium

By transmitting target scenario messages between control units, regional gateways, and central gateways, nodes can automatically identify their active or dormant states, thus resolving the issue of inconsistent dormant times in network management. This enables rapid response and collaborative control, improving network stability and energy efficiency.

WO2026011739A1PCT designated stage Publication Date: 2026-01-15VOYAH AUTOMOTIVE TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2025/072692
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-07-11
Filing Date
2025-01-16
Publication Date
2026-01-15

AI Technical Summary

Technical Problem

The network management of the central gateway, sub-gateways, and subnet controllers has timing issues, resulting in inconsistent sleep intervals, which are mistakenly marked as communication failures, affecting the stability and efficiency of network collaborative control.

Method used

The control unit acquires target scene signals, generates target scene messages, and transmits them to the regional gateway and central gateway through subnet segments and backbone networks. Each node can independently identify its active or dormant state, avoiding the dormant/active time difference caused by the timeout mechanism.

Benefits of technology

It enables rapid response and collaborative control among nodes, improving network management stability and energy efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025072692_15012026_PF_FP_ABST
    Figure CN2025072692_15012026_PF_FP_ABST
Patent Text Reader

Abstract

The present application discloses a local network collaborative control method, comprising: acquiring a target scenario signal by means of a control unit; obtaining a control unit state on the basis of the target scenario signal; generating a target scenario message on the basis of the target scenario signal, and sending the target scenario message to a regional gateway; receiving the target scenario message by means of the regional gateway; obtaining a regional gateway state on the basis of the target scenario message, and sending the target scenario message to a central gateway; receiving the target scenario message by means of the central gateway; and obtaining a central gateway state on the basis of the target scenario message.
Need to check novelty before this filing date? Find Prior Art

Description

Local network collaborative control methods, devices, equipment and storage media Cross-references to related applications

[0001] This application claims priority to Chinese patent application No. 202410929769.5, filed on July 11, 2024, the entire contents of which are incorporated herein by reference. Technical Field

[0002] This disclosure 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

[0003] 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. This has led to the deployment of more controllers (ECUs, Electronic Control Units) 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 each node to control the communication behavior between nodes, thereby increasing vehicle safety and stability. At the same time, local network management further enhances energy efficiency.

[0004] Currently, network management of the central gateway, sub-gateways (also known as area gateways), and subnet controllers (i.e., control units connected to area gateways) exhibits a timing pattern (a sequential order). This timing is caused by the fact that related technologies typically use network management message suspension and timeout mechanisms to monitor the time intervals between the network management processes of the central gateway, area gateways, and controllers for abnormalities, thereby monitoring whether coordinated sleep is achieved among them. Given this time difference in sleep times among the central gateway, area gateways, and controllers, and the presence of communication fault monitoring mechanisms among the controllers, a long sleep time interval can lead to this phenomenon being mistakenly marked as a fault.

[0005] The above content is only used to assist in understanding some implementation methods of this disclosure and does not represent an admission that the above content is related technology. Summary of the Invention

[0006] This disclosure proposes a local network cooperative control method. In some embodiments, the local network cooperative control method is applied to a local network cooperative control system. The local network cooperative control system may include 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 local network cooperative control method may include: acquiring a target scene signal through the control unit; obtaining the control unit state based on the target scene signal; generating a target scene message based on the target scene signal; and sending the target scene message to the regional gateway through the subnet segment; receiving the target scene message through the regional gateway; obtaining the regional gateway state based on the target scene message; and sending the target scene message to the central gateway based on the backbone network; receiving the target scene message through the central gateway; obtaining the central gateway state based on the target scene message; and realizing local network cooperative control based on the control unit state, the regional gateway state, and the central gateway state.

[0007] The local network collaborative control method may include: each control unit generating its own corresponding target scene signal in response to a user-triggered scenario; each control unit receiving a target scene message based on its corresponding target scene signal, or receiving a target scene message from any node in the connected area gateway and other control units in the same subnet segment; each control unit switching to its corresponding control unit state based on its corresponding target scene message; and each control unit sending the target scene message generated based on the target scene signal to its corresponding area gateway and other related control units in the same subnet segment via its corresponding subnet segment; each area... Each gateway receives target scenario messages from any node in its connected control unit and the central gateway. Each regional gateway, based on the target scenario messages from its connected control unit and any node in the central gateway, controls itself to switch to the corresponding regional gateway state. Each regional gateway then sends the target scenario messages generated by its connected control unit based on the target scenario signal to the central gateway connected to it. Each regional gateway also sends the target scenario messages received from the central gateway to its respective connected control units. The central gateway receives target scenario messages from each connected regional gateway and, based on the target scenario messages corresponding to each regional gateway, switches itself to the corresponding central gateway state.

[0008] This disclosure also proposes a local network collaborative control device, which may include: a message generation module, used for each control unit to generate its own corresponding target scene signal in response to a user-triggered scenario; each control unit to receive its own corresponding target scene message based on its corresponding target scene signal, or each control unit to receive the target scene message from any node in the connected area gateway and other control units in the same subnet segment; each control unit to switch to its corresponding control unit state based on its corresponding target scene message; and each control unit to send the target scene message generated based on the target scene signal to its corresponding area gateway and other related control units in the same subnet segment through its corresponding subnet segment. The message transmission module is used for each of the regional gateways to receive target scene messages from any node in their respective connected control units and the central gateway. Each regional gateway controls itself to switch to the corresponding regional gateway state based on the target scene messages from any node in its respective connected control units and the central gateway. Furthermore, each regional gateway sends the target scene messages generated by its connected control units based on the target scene signals to the central gateway connected to it. Each regional gateway also sends the target scene messages received from the central gateway to its respective related control units. The message transmission module is also used for the central gateway to receive target scene messages from each connected regional gateway, and for the central gateway to switch itself to the corresponding central gateway state based on the target scene messages corresponding to each regional gateway.

[0009] This disclosure also proposes a local network cooperative control device, which may include: 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 described above.

[0010] In addition, to achieve the above objectives, this disclosure 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.

[0011] This disclosure also provides a computer program product, which may include a computer program that, when executed by a processor, implements the steps of the local network cooperative control method described above. Attached Figure Description

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

[0013] To more clearly illustrate some implementation methods in the embodiments of this disclosure or related technologies, the accompanying drawings used in the description of the embodiments or related technologies will be briefly introduced below. Obviously, those skilled in the art can obtain other drawings based on these drawings without creative effort.

[0014] Figure 1 shows a flowchart of a local network cooperative control method according to some embodiments of the present disclosure;

[0015] Figure 2 shows a structural diagram of a single control unit in a local network cooperative control method according to some embodiments of the present disclosure;

[0016] Figure 3 shows a flowchart of a local network cooperative control method according to some other embodiments of the present disclosure;

[0017] Figure 4 shows a structural relationship diagram of multiple control units connected in the same sub-network segment in a local network cooperative control method according to some embodiments of the present disclosure;

[0018] Figure 5 shows a flowchart of a local network cooperative control method according to some other embodiments of the present disclosure;

[0019] Figure 6 shows a structural relationship diagram of a local network cooperative control method according to some embodiments of the present disclosure, in which the same area gateway connects various control units through multiple subnet segments;

[0020] Figure 7 shows a flowchart of a local network cooperative control method according to some embodiments of the present disclosure;

[0021] Figure 8 shows a structural relationship diagram of a local network cooperative control method according to some embodiments of the present disclosure, in which the same central gateway connects to various regional gateways through multiple backbone networks.

[0022] Figure 9 shows a schematic diagram of the module structure of a local network cooperative control device according to some embodiments of the present disclosure; and

[0023] Figure 10 shows a schematic diagram of the device structure of the hardware operating environment involved in the local network cooperative control method according to some embodiments of the present disclosure. Detailed Implementation

[0024] It should be understood that the specific embodiments described herein are merely illustrative of some implementation methods of this disclosure and are not intended to limit the scope of this disclosure.

[0025] To better understand some implementation methods of this disclosure, a detailed description will be provided below in conjunction with the accompanying drawings and specific implementation methods.

[0026] 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.

[0027] In some embodiments, the main solution of this disclosure is as follows: each control unit generates its own corresponding target scene signal in response to a user-triggered scenario; each control unit generates its own corresponding target scene message based on its corresponding target scene signal; or each control unit receives the target scene message from any node in the connected regional gateway and other control units in the same subnet segment. Each control unit switches to its corresponding control unit state based on its corresponding target scene message. Each control unit sends its target scene message generated based on the target scene signal to its corresponding regional gateway and other related control units in the same subnet segment via its corresponding subnet segment; each regional gateway receives the target scene message from any node in the connected central gateway and control units; and each regional gateway switches to its corresponding regional gateway state based on the target scene message received from any node in the connected central gateway and control units. Each regional gateway, based on its corresponding backbone network, sends target scenario messages received from various control units connected to it to the central gateway. Each regional gateway, based on its subnet segment, also sends target scenario messages received from the central gateway and other relevant control units to the corresponding control unit. The central gateway receives target scenario messages from each regional gateway and switches to the corresponding central gateway state based on the target scenario messages received from each regional gateway. Local network collaborative control is achieved based on the control unit state, the regional gateway state, and the central gateway state.

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

[0029] 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.

[0030] 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.

[0031] Currently, network management of the central gateway, sub-gateways (also known as area gateways), and subnet controllers (i.e., control units connected to area gateways) exhibits a timing pattern (a sequential order). This timing is caused by the fact that related technologies typically use network management message suspension and timeout mechanisms to monitor the time intervals between the network management processes of the central gateway, area gateways, and controllers for abnormalities, thereby monitoring whether coordinated sleep is achieved among them. Given this time difference in sleep times among the central gateway, area gateways, and controllers, and the presence of communication fault monitoring mechanisms among the controllers, a long sleep time interval can lead to this phenomenon being mistakenly marked as a fault.

[0032] This disclosure 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.

[0033] In some embodiments, each control unit generates its own corresponding target scene signal in response to a user-triggered scene, and further generates a target scene message based on the target scene signal. Each control unit sends the target scene message generated based on the target scene signal to relevant control units, regional gateways, and central gateways, etc. Each node can identify the target scene message and determine whether it is active or dormant, avoiding the timeout mechanism of the regional gateway and central gateway during the control process that causes a time difference between dormant and active nodes, thus realizing rapid response and collaborative control among nodes.

[0034] As can be seen from the above embodiments, this disclosure provides a local network cooperative control method, which obtains 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 area gateway through the subnet segment.

[0035] This application discloses a local network cooperative control method: a 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, obtains the central gateway state based on the target scene message; local network cooperative control is realized based on the control unit state, regional gateway state, and 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 nodes caused by the timeout mechanism of the regional gateway and the central gateway during the control process, and realizing rapid response and cooperative control between nodes.

[0036] In some embodiments, each control unit generates its own corresponding target scenario signal in response to a user-triggered scenario, and each control unit generates its own corresponding target scenario message based on its target scenario signal. Each control unit receives the corresponding target scenario message from its corresponding area gateway and other control units in the same subnet. Each control unit switches to its corresponding control unit state based on the target scenario messages it generates and receives. Each control unit sends the target scenario message generated based on the target scenario signal to its corresponding area gateway and other related control units in the same subnet.

[0037] 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.

[0038] In some embodiments, each regional gateway receives target scenario messages from any node in its connected control unit and the central gateway. Based on the target scenario message corresponding to any node in its connected control unit and the central gateway, each regional gateway controls itself to switch to the corresponding regional gateway state. Each regional gateway sends the target scenario messages sent by its connected control unit to the central gateway connected to it, and each regional gateway also sends the target scenario messages sent by its connected control unit to other related control units connected to it but located in different subnets from the corresponding control unit.

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

[0040] In some embodiments, the central gateway receives target scenario messages sent by various regional gateways connected to it. Based on these target scenario messages, the central gateway switches to the corresponding central gateway state. Local network collaborative control is achieved based on the control unit state, regional gateway state, and central gateway state. This method allows any control unit to generate a message in the currently active scenario and send it to various related control units, regional gateways, and the central gateway. Each node identifies the message to determine whether it is active or dormant, avoiding the activation / dormant time difference caused by the timeout mechanisms of the regional gateway and central gateway during the control process. This enables rapid response and collaborative control among the nodes.

[0041] 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, and mobile phone, or an electronic device and a 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.

[0042] Based on this, the present disclosure provides a local network cooperative control method. Referring to FIG1, FIG1 shows a flowchart of a local network cooperative control method according to some embodiments of the present disclosure.

[0043] In this embodiment, the local network cooperative control method is applied to a local network cooperative control system. The local network cooperative control system may include 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 may include steps S10 to S40:

[0044] 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.

[0045] In some embodiments, each control unit generates its own corresponding target scene signal in response to a user-triggered scenario, generates its own corresponding target scene message based on its corresponding target scene signal, or receives the target scene message from any node in the connected area gateway and other control units in the same subnet segment, switches to the corresponding control unit state based on its corresponding target scene message, and sends the target scene message generated based on the target scene signal to its corresponding area gateway and other related control units in the same subnet segment through its corresponding subnet segment.

[0046] Understandably, the 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, a Bluetooth controller, and a seat status controller.

[0047] It should be understood that the target scenario signal can be a signal generated by the vehicle user in the scenario of performing 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.

[0048] It should be noted that different control units may correspond to different scenarios, and thus may generate different scenario signals, that is, target scenario signals with different meanings. For example, the scenario signal for a left turn may be generated by the turn signal control unit, and the scenario signal for connecting to Bluetooth may be generated by the Bluetooth controller, and so on.

[0049] It should be understood that the control unit can be in either active or dormant state. When a user activates a function, the corresponding controller (i.e., the control unit) receives a scene signal and identifies its state as active. When a user deactivates a function, the corresponding controller receives a scene signal and identifies its state as dormant.

[0050] It should be noted that a scenario may involve multiple control units. Each control unit can generate the corresponding target scenario signal when triggered by its respective scenario. Each control unit may also involve other control units, regional gateways, and central gateways, etc.

[0051] 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:

[0052] In some implementations, Bytes 2 to 7 of the message form a scenario group, defined as Scenario 1 to Scenario 48 according to different functions. If Scenario 48 is activated based on the target scenario signal, the "Scenario 48" bit in the table is set to "0x1," indicating that Scenario 48 is activated. That is, when the bit in the target scenario message is set to "0x1," it indicates that the control unit that generated the target scenario message is in Scenario 48. When the regional gateway connected to this control unit receives the target scenario message, it can also determine that the control unit is in Scenario 48 by recognizing the bit "0x1" in the target scenario message. Similarly, when the central gateway connected to this regional gateway receives the target scenario message, it can also determine that a certain control unit connected to the regional gateway is in Scenario 48 by recognizing the bit "0x1" in the target scenario message. Other control units related to Scenario 48 and any node in other regional gateways, upon receiving the target scenario message, can also determine that a certain control unit connected to the regional gateway is in Scenario 48 by recognizing the bit "0x1" in the target scenario message, and thus determine whether they need to wake up or go into sleep mode.

[0053] 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 is important to emphasize that when a control unit under a regional gateway is activated, the regional gateway itself is activated, and the central gateway connected to that regional gateway is also activated. A regional gateway may be connected to multiple control units; when at least one control unit under a regional gateway is activated, the regional gateway is activated; when all control units under a regional gateway are inactive, the regional gateway is inactive.

[0054] It should be further explained that the central gateway may include 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 may include 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 a specific structural relationship, please refer to Figure 2. Figure 2 shows a structural relationship diagram of a single control unit in a local network cooperative control method according to some embodiments of this disclosure. The structural relationship diagram of the single control unit in Figure 2 may include a central gateway, a regional gateway 1 connected to the central gateway via the backbone network, and a control unit (i.e., the ECU in the figure) connected to the regional gateway 1 via a subnet segment.

[0055] In one feasible implementation, step S10, in which each control unit generates its corresponding target scene signal in response to the user-triggered scene, may include steps A1001 to A1002:

[0056] Step A1001: Each of the control units acquires the vehicle control command generated by the user triggering the corresponding scenario.

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

[0058] In step A1002, each control unit generates a corresponding target scene signal according to its corresponding vehicle control command. The target scene signal may include 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.

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

[0060] It should be noted that each control unit generates its own target scene message based on its corresponding target scene signal, and sends the target scene message of each control unit to the nodes (control unit nodes, regional gateway nodes, and central gateway nodes) related to each control unit in the local network collaborative control system. The transmission speed of the message between the nodes is very fast, calculated in milliseconds. After receiving the message, each node activates or suspends its node synchronously based on the target scene corresponding to the activation / sleep in the message.

[0061] In this implementation, by transmitting the target scenario message between various nodes, each node determines whether it is active or dormant based on the target scenario message. This avoids the traditional activation / dormancy transmission method, where the regional gateway needs to send a dormant signal to the central gateway, wait for the central gateway to time out, and then send a dormant signal back to each relevant control unit. The timeout response is measured in seconds, resulting in a significant delay and a substantial time difference between the dormant time between the central gateway and each control unit.

[0062] The above are merely feasible implementation methods for each control unit to generate its corresponding target scene signal in response to the user-triggered scene in step S10 of this embodiment. This embodiment does not specifically limit the specific implementation method for each control unit to generate its corresponding target scene signal in response to the user-triggered scene in step S10.

[0063] 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.

[0064] In some embodiments, each regional gateway receives a target scenario message from any node in its connected control unit and central gateway. Based on the target scenario message from any node in its connected control unit and central gateway, each regional gateway controls itself to switch to the corresponding regional gateway state. Furthermore, each regional gateway sends the target scenario message generated by its connected control unit based on the target scenario signal to the central gateway connected to it. Each regional gateway also sends the target scenario message received from the central gateway to each of its related control units.

[0065] Understandably, the status of a regional gateway can include active and dormant states.

[0066] Understandably, the relationship between the area gateway and each control unit can be interpreted as follows: if any one or more control units connected to the area gateway are activated, then the area gateway is also activated. Simply put, if at least one 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 in sleep mode, then the area gateway is in sleep mode. When the control unit status of each control unit connected to each area gateway indicates that all control units are awake, the area gateway controls itself to switch to an awake state, and this awake state is the corresponding area gateway state.

[0067] 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.

[0068] In one feasible implementation, in step S20, each regional gateway receives a target scenario message from any node in its connected control unit and the central gateway. Each regional gateway, based on the target scenario message from any node in its connected control unit and the central gateway, controls itself to switch to the corresponding regional gateway state, which may include steps A2001 to A2003:

[0069] Step A2001: Each regional gateway parses the target scenario message sent by the control unit connected to it and the central gateway to obtain the scenario status of each scenario corresponding to each control unit connected to it. The scenario status may include an active state and a dormant state.

[0070] 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.

[0071] In step A2002, each regional gateway obtains the associated scene state based on the scene state of each scene corresponding to each control unit connected to it.

[0072] 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 the navigation scenario (the navigation scenario requires voice broadcast of navigation routes), the music playback scenario (speaker audio), etc.

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

[0074] In step A2003, each regional gateway switches itself to the corresponding regional gateway state according to the associated scenario state.

[0075] It should be noted that when all associated scene states are in a dormant state, the regional gateway state switches to a dormant state; if any one or more scene states are in an active state, the regional gateway state switches to an active state. In other words, when all the scene states corresponding to each regional gateway and each connected control unit are in a dormant state, the corresponding regional gateway switches to a dormant state; if any one or more of the scene states corresponding to each regional gateway and each connected control unit are in an active state, the corresponding regional gateway switches to an active state.

[0076] 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.

[0077] The above are merely feasible implementation methods provided in this embodiment for each regional gateway to control itself to switch to the corresponding regional gateway state in step S20 based on the target scenario message from the control unit and any node in the central gateway connected to it. This embodiment does not specifically limit the specific implementation method for each regional gateway to control itself to switch to the corresponding regional gateway state in step S20 based on the target scenario message from the control unit and any node in the central gateway connected to it.

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

[0079] In some embodiments, the central gateway receives target scenario messages from each connected regional gateway, and switches itself to the corresponding central gateway state based on the target scenario messages corresponding to each regional gateway.

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

[0081] 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. For the central gateway to enter a dormant state, it must be active while all regional gateways under it are in a dormant state.

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

[0083] 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 own status according to the status of the scenario related to each node in the message. The message transmission speed between nodes is fast, which can realize collaborative control of each node.

[0084] This embodiment provides a local network collaborative control method. Each control unit generates its own corresponding target scene signal in response to a user-triggered scenario, and then generates a target scene message based on the target scene signal. Each control unit sends its corresponding target scene message to its related control units, regional gateways, and central gateways. Each node identifies the target scene message and determines whether it is active or dormant. This avoids the timeout mechanism of the regional gateway and central gateway causing a time difference between dormant and active nodes during the control process, thus achieving rapid response and collaborative control among the nodes.

[0085] Based on the first embodiment of this disclosure, in the second embodiment of this disclosure, 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, which shows a flowchart of a local network cooperative control method according to some embodiments of this disclosure. After step S10, the local network cooperative control method may further include steps S101 to S103:

[0086] In step S101, each control unit sends the target scenario message to the first target control unit located in the same subnet segment through its respective connected subnet segment. The control units in the same subnet segment and the first target control unit correspond to each other. The first target control unit is the control unit connected to the control unit through the same subnet segment.

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

[0088] It should be noted that the system structure of a local network cooperative control system, where multiple control units may be included under the same subnet segment, can be referred to Figure 4. Figure 4 shows a structural relationship diagram of multiple control units connected under the same subnet segment in a local network cooperative control method according to some embodiments of this disclosure. In the figure, ECU1 and ECU2 are both connected to the area gateway through the subnet segment. Wherein, if ECU1 is the control unit that actively sends the target scene message, then ECU1 generates the target scene message according to the target scene signal and sends the target scene message to ECU2 (the first target control unit) and the area gateway through the subnet segment.

[0089] In step S102, each of the first target control units receives the target scene message from the connected area gateway and the control unit in the same subnet segment, and switches itself to the corresponding first target control unit state according to the target scene message received from the connected area gateway and the control unit in the same subnet segment.

[0090] Understandably, the state of the first target control unit can include an active state and a dormant state. In this case, the state of each regional gateway can be understood as being affected by both the first target control unit and the control unit it is connected to. That is to say, in practice, the scenarios where ECU1 and ECU2 are located are both considered as 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 also dormant, the regional gateway will be dormant.

[0091] Step S103: Implement local network collaborative control 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.

[0092] Understandably, the local network collaborative control system can include multiple nodes such as a control unit, a first target control unit, a regional gateway, and a central gateway. Based on the target scenario message, the messages are quickly transmitted among the nodes to achieve collaborative control of the nodes.

[0093] 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.

[0094] 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.

[0095] Based on the first embodiment of this disclosure, in the second embodiment of this disclosure, 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, which shows a flowchart of a local network cooperative control method according to some embodiments of this disclosure. After step S20, the local network cooperative control method may further include steps S201 to S203:

[0096] In step S201, each regional gateway receives the target scenario message from the connected control unit and the central gateway and sends it to the corresponding second target control unit of each regional gateway through the target subnet segment. The second target control unit is connected to the regional gateway through the target subnet segment.

[0097] 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.

[0098] It should be noted that the system structure of a local network cooperative control system, where multiple subnet segments can be connected to control units under the same regional gateway, can be referred to Figure 6. Figure 6 shows a structural relationship diagram of a local network cooperative control method according to some embodiments of this disclosure, in which the same regional gateway connects to various control units through multiple subnet segments. In the figure, ECU1 and ECU2 are both connected to the regional gateway through subnet segments. If ECU1 is a control unit, ECU2 is a first target control unit, and ECU3 is a second target control unit, then ECU1 and ECU2 are connected to the regional gateway through subnet segments, and ECU3 is connected to the regional gateway through a target subnet segment. If ECU1 generates a target scene message based on the target scene signal and sends the target scene message to ECU2 (the first target control unit) and the regional gateway through a subnet segment, the regional gateway then sends the target scene message to ECU3 through the target subnet segment.

[0099] In some implementations, the control unit and the first target control unit are both connected to the area gateway via a subnet segment, and the second target control unit is connected to the area gateway via the target subnet segment; if the control unit generates a target scene message based on the target scene signal and sends the target scene message to the first target control unit and the area gateway via the subnet segment, the area gateway then sends the target scene message to the second target control unit via the target subnet segment.

[0100] In step S202, each of the second target control units receives the target scenario message from its respective connected area gateway and other related control units in the same subnet segment. Each of the second target control units switches itself to the second target control unit state based on the target scenario message received from its respective connected area gateway and other related control units in the same subnet segment.

[0101] Understandably, the state of the second target control unit may include an active state and a dormant state.

[0102] 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.

[0103] 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.

[0104] Understandably, the local network collaborative control system can include multiple nodes such as a control unit, a first target control unit, a second target control unit, a regional gateway, and a central gateway. Based on the target scenario message, the data is transmitted quickly among the nodes to achieve collaborative control of the nodes.

[0105] 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.

[0106] 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.

[0107] Based on the first embodiment of this disclosure, in the second embodiment of this disclosure, 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, which shows a flowchart of a local network cooperative control method according to some embodiments of this disclosure. After step S30, the local network cooperative control method may further include steps S301 to S305:

[0108] In step S301, the central gateway sends the target scenario messages received from each regional gateway through the reference backbone to other reference regional gateways that are different from the regional gateways. The reference regional gateways are connected to the central gateway through the reference backbone. It should be noted that the regional gateways in steps S301 to S305 primarily refer to the regional gateways that send the target scenario messages to the central gateway, while the reference regional gateways primarily refer to the regional gateways that receive the target scenario messages from the central gateway. For the same target scenario message, the regional gateway and the reference regional gateway are two different regional gateways connected to the central gateway. For different target scenario messages, the regional gateway and the reference regional gateway can be the same regional gateway connected to the central gateway.

[0109] 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.

[0110] It should be noted that the system structure of a local network cooperative control system, where a central gateway may include multiple regional gateways connected by backbone networks, can be referred to in Figure 8. Figure 8 shows a structural relationship diagram of a local network cooperative control method according to some embodiments of this disclosure, in which a central gateway connects to various regional gateways through multiple backbone networks. In the figure, the regional gateways and reference regional gateways are connected to the central gateway through the backbone network and the reference backbone network, respectively. If ECU1 is a control unit, after being transmitted to the central gateway via the subnet segment, regional gateway, and backbone network, the central gateway sends a target scenario message to the reference regional gateway, which then sends it to each of its subordinate related control units.

[0111] It should be emphasized that another scenario is 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, and then the reference area gateway sends the target scenario message to each relevant control unit node.

[0112] In step S302, each of the reference area gateways receives the target scene message from any node in the central gateway and each control unit to which it is connected, and each reference area gateway switches itself to the corresponding reference area gateway state according to the target scene message received from any node in the central gateway and each control unit to which it is connected.

[0113] Understandably, the reference area gateway status can include active and dormant states.

[0114] 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 scenarios corresponding to the regional gateways and the scenarios corresponding to the reference regional gateways are both considered as associated scenarios of the central gateway. Therefore, regardless of whether a regional gateway or a reference regional gateway is activated, the central gateway will be activated because the associated scenario is active. Conversely, if a regional gateway is dormant and the reference regional gateway is also dormant, the central gateway will be dormant.

[0115] 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.

[0116] In step S303, each of the reference area gateways sends the target scene message received from any node in the central gateway and control unit connected to it to its corresponding reference control unit, which is located in a different subnet, through the reference subnet segment. The reference control unit is connected to the reference area gateway through the reference subnet segment.

[0117] 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.

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

[0119] In step S304, each of the reference control units receives the target scenario message from any node in the reference area gateway and other control units in the same subnet segment that it is connected to, and switches itself to the corresponding reference control unit state according to the target scenario message received from any node in the reference area gateway and other control units in the same subnet segment that it is connected to.

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

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

[0122] 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.

[0123] It should be emphasized that each of the reference control units receives the target scenario message from any node in the reference area gateway and control units located in the same subnet segment, and switches itself to the corresponding reference control unit state based on the target scenario message received from any node in the other control units in the same subnet segment and the reference area gateway it connects to. This can include: each reference area gateway receiving the target scenario message from any node in the control units in the second reference subnet segment and the central gateway it connects to, and then sending the target scenario message received from any node in the control units in the second reference subnet segment and the central gateway it connects to, through its corresponding first reference subnet segment, to the first reference control unit connected to it through the first reference subnet segment. The first reference control unit is connected to the reference area gateway through the first reference subnet segment. Each first reference control unit receives the target scenario message sent from any node in the control units in the same subnet segment and the reference area gateway it connects to, and switches itself to the corresponding first reference control unit state based on the target scenario message sent from any node in the control units in the same subnet segment and the reference area gateway it connects to. Each reference area gateway receives target scene messages from any node in the central gateway and control units located in the first reference subnet segment to which it is connected. Each reference area gateway then sends the target scene messages received from any node in the central gateway and control units located in the first reference subnet segment to its corresponding second reference control unit connected via the second reference subnet segment. The first reference control unit is connected to the reference area gateway via the second reference subnet segment. Each second reference control unit receives the target scene messages from any node in the connected area gateway and control units located in the same subnet segment. Based on the target scene messages received from any node in the connected area gateway and control units located in the same subnet segment, each second reference control unit switches itself to the corresponding second reference control unit state; the first reference control unit state and the second reference control unit state are used as the reference control unit state.

[0124] In some implementations, it is understood that, referring to Figure 8, the 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 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.

[0125] This embodiment provides a local network collaborative control method. After the control unit sends the target scene message to the relevant 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 relevant regional gateways, which in turn send it to their respective subordinate control units. Based on the transmission of the scene message to each node, collaborative control of each node is achieved.

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

[0127] This disclosure also provides a local network cooperative control device. Referring to Figure 9, Figure 9 shows a schematic diagram of the module structure of a local network cooperative control device according to some embodiments of this disclosure. The local network cooperative control device may include:

[0128] The message generation module 10 is used for each of the control units to generate a corresponding target scene signal in response to a user-triggered scene. Each control unit receives a target scene message based on its corresponding target scene signal, or receives a target scene message from any node in the connected area gateway and other control units in the same subnet segment. Each control unit switches to the corresponding control unit state based on its corresponding target scene message. Each control unit sends the target scene message generated based on the target scene signal to its corresponding area gateway and other related control units in the same subnet segment through its corresponding subnet segment.

[0129] The message transmission module 20 is used for each of the regional gateways to receive target scene messages from any node in their respective connected control unit and central gateway. Each regional gateway controls itself to switch to the corresponding regional gateway state according to the target scene messages from any node in their respective connected control unit and central gateway. Each regional gateway sends the target scene messages generated by their respective connected control unit based on the target scene signal to the central gateway connected to it. Each regional gateway also sends the target scene messages received from the central gateway to each of the relevant control units connected to it.

[0130] The message transmission module 20 is further configured to receive target scenario messages from each connected regional gateway, and the central gateway switches itself to the corresponding central gateway state according to the target scenario messages corresponding to each regional gateway.

[0131] In some embodiments, the message transmission module is configured to: send the target scenario message to a first target control unit located in the same subnet segment via the subnet segment to which each control unit is connected; the first target control unit is a control unit connected to the control unit via the same subnet segment; each first target control unit receives the target scenario message from the connected area gateway and the control unit located in the same subnet segment, and switches itself to the corresponding first target control unit state according to the target scenario message received from the connected area gateway and the control unit located in the same subnet segment.

[0132] In some embodiments, the first target control unit and the control unit are connected to the regional gateway through the same subnet segment; the state of the first target control unit includes an active state and a dormant state; the message transmission module is used for each regional gateway to identify the control unit state corresponding to each control unit according to the target scenario message of the control unit connected to it and any node in the central gateway; when the control unit state of at least one control unit in the control units connected to each regional gateway indicates that the control unit is awake, the module controls itself to switch to the awake state.

[0133] In some embodiments, the subnet segment further includes a target subnet segment; a message transmission module is configured to: each regional gateway send the target scenario message received from the connected control unit and the central gateway through the target subnet segment to its corresponding second target control unit, the second target control unit being connected to the regional gateway through the target subnet segment; each second target control unit receives the target scenario message from its connected regional gateway and other related control units in the same subnet segment, and each second target control unit switches itself to a second target control unit state based on the target scenario message received from its connected regional gateway and other related control units in the same subnet segment; and implement local network collaborative control based on the control unit state, the second target control unit state, the regional gateway state, and the central gateway state.

[0134] In some embodiments, the regional gateway further includes a reference regional 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; the message transmission module is configured to: the central gateway send target scenario messages received from each regional gateway to other reference regional gateways different from the regional gateways via the reference backbone network, the reference regional gateways being connected to the central gateway via the reference backbone network; each reference regional gateway receiving the target scenario message from any node in its connected central gateway and each control unit, and each reference regional gateway switching itself to the corresponding reference regional gateway state based on the target scenario message received from any node in its connected central gateway and each control unit; each reference... The regional gateway receives target scenario messages from any node in the central gateway and control unit connected to it, and sends them through a reference subnet segment to its corresponding reference control unit located in a different subnet segment. The reference control unit is connected to the reference regional gateway through the reference subnet segment. Each reference control unit receives the target scenario messages from any node in the reference regional gateway and other control units located in the same subnet segment, and switches itself to the corresponding reference control unit state based on the target scenario messages received from the reference regional gateway and other control units located in the same subnet segment. Local network collaborative control is achieved 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.

[0135] In some embodiments, 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 subnet segment includes a first reference subnet segment and a second reference subnet segment. The message transmission module is configured to: each reference area gateway receive a target scene message from any node in the central gateway and control unit located in the second reference subnet segment that it is connected to; each reference area gateway sends the target scene message received from any node in the central gateway and control unit located in the second reference subnet segment through its corresponding first reference subnet segment to a first reference control unit connected to each reference area gateway through the first reference subnet segment; the first reference control unit is connected to the reference area gateway through the first reference subnet segment; each first reference control unit receives the target scene message sent by any node in the control unit located in the same subnet segment and the reference area gateway it is connected to, and transmits the message according to the target scene message sent by any node in the control unit located in the same subnet segment and the reference area gateway it is connected to. Each reference area gateway receives the target scene message from any node in the central gateway and control units located in the first reference subnet segment. Each reference area gateway then sends the target scene message received from any node in the central gateway and control units located in the first reference subnet segment to its corresponding second reference control unit via its corresponding second reference subnet segment. The first reference control unit is connected to the reference area gateway via the second reference subnet segment. Each second reference control unit receives the target scene message from any node in the connected area gateway and control units located in the same subnet segment. Based on the target scene message received from any node in the connected area gateway and control units located in the same subnet segment, each second reference control unit switches itself to the corresponding second reference control unit state. The first reference control unit state and the second reference control unit state are used as the reference control unit states.

[0136] The local network cooperative control device provided in this disclosure, employing the local network cooperative control method in the above embodiments, can solve the technical problem that, when there is a time difference in sleep time between subnets and a communication fault monitoring mechanism is set up between controllers, a long sleep time interval between different subnets can lead to the phenomenon of mistakenly marking a fault as a fault. Compared with related technologies, the beneficial effects of the local network cooperative control device provided in this disclosure are the same as those of the local network cooperative control method provided in the above embodiments, and other technical features in the local network cooperative control device are the same as those disclosed in the methods of the above embodiments, and will not be repeated here.

[0137] This disclosure provides a local network cooperative control device, which may include: at least one processor; and a memory communicatively connected to the at least one processor; in some embodiments, the memory stores instructions executable by the at least one processor, which are executed by the at least one processor to enable the at least one processor to perform the local network cooperative control method in Embodiment 1 above.

[0138] Referring now to Figure 10, a schematic diagram of a local network cooperative control device suitable for implementing embodiments of the present disclosure is shown. The local network cooperative control device in embodiments of the present disclosure 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), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. The local network cooperative control device shown in Figure 10 is merely an example and should not impose any limitations on the functionality and scope of use of embodiments of the present disclosure.

[0139] As shown in Figure 10, 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 read-only memory (ROM) 1002 or a program loaded from storage device 1003 into 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 I / O interface 1006: input devices 1007, such as touchscreens, touchpads, keyboards, mice, image sensors, microphones, accelerometers, gyroscopes, etc.; output devices 1008, such as liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 1003, such as magnetic tapes, hard disks, etc.; and communication devices 1009. Communication device 1009 allows the local network collaborative control device 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 it is not required to implement or possess all the systems shown. More or fewer systems can be implemented alternatively.

[0140] In particular, according to the embodiments disclosed herein, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this disclosure may include a computer program product that may include 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 may 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 of this disclosure.

[0141] The local network collaborative control device provided in this disclosure, 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 issues in network management of the central gateway, sub-gateways, and subnet controllers. Compared with related technologies, the beneficial effects of the local network collaborative control device provided in this disclosure 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.

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

[0143] The above description is merely a specific embodiment of this disclosure, but the scope of protection of this disclosure 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 disclosure should be included within the scope of protection of this disclosure. Therefore, the scope of protection of this disclosure should be determined by the scope of the claims.

[0144] This disclosure 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.

[0145] The computer-readable storage medium provided in this disclosure 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 fibers, 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.

[0146] 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.

[0147] 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.

[0148] Computer program code for performing the operations of this disclosure can be written in one or more programming languages ​​or a combination thereof. These programming languages ​​may include 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 may execute 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 may 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 may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0149] 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 disclosure. 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.

[0150] The modules described in the embodiments of this disclosure can be implemented in software or hardware. In some implementations, the name of a module does not necessarily limit the unit itself.

[0151] The readable storage medium provided in this disclosure 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 related technologies, the beneficial effects of the computer-readable storage medium provided in this disclosure are the same as those of the local network cooperative control method provided in the above embodiments, and will not be elaborated upon here.

[0152] This disclosure also provides a computer program product, which may include a computer program that, when executed by a processor, implements the steps of the local network cooperative control method described above.

[0153] The computer program product provided in this disclosure 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 related technologies, the beneficial effects of the computer program product provided in this disclosure are the same as those of the local network cooperative control method provided in the above embodiments, and will not be elaborated here.

[0154] One or more implementation methods proposed in this disclosure have at least the following technical effects: by determining the currently active scene, a target scene message is generated and sent to each control unit, regional gateway, and central gateway, etc. Each node can identify whether the target scene message activates the node, avoiding the timeout mechanism of the regional gateway and the central gateway during the control process, which causes a sleep / activation time difference between the nodes, and realizing rapid response and collaborative control between the nodes.

[0155] The above description is only a part of the embodiments of this disclosure and does not limit the patent scope of this disclosure. Any equivalent structural transformations made using the description and drawings of this disclosure under the technical concept of this disclosure, or direct / indirect applications in other related technical fields, can be included within the patent protection scope of this disclosure.

Claims

1. A local network cooperative control method, characterized in that, 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 through a backbone network, and the regional gateway and the control unit are connected through a subnet segment. The local network cooperative control method includes: 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; 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. The central gateway receives target scenario messages and obtains the central gateway status based on the target scenario messages. 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.

2. The local network cooperative control method as described in claim 1, wherein, The step of acquiring a target scene signal through the control unit, obtaining the control unit status based on the target scene signal, generating a target scene message based on the target scene signal, and sending the target scene message to the area gateway through the subnet segment includes: Each control unit generates its own corresponding target scene signal in response to a user-triggered scenario. Each control unit receives its own target scene message based on its target scene signal, or receives the target scene message from any node in the connected area gateway or other control units in the same subnet segment. Each control unit switches to its corresponding control unit state based on its corresponding target scene message. Each control unit then sends the target scene message generated based on the target scene signal to its corresponding area gateway and other related control units in the same subnet segment through its corresponding subnet segment.

3. The local network cooperative control method as described in any one of claims 1 to 2, wherein, The step of receiving a 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 includes: Each of the aforementioned regional gateways receives target scene messages from any node in its respective connected control unit and central gateway. Based on the target scene messages from any node in its respective connected control unit and central gateway, each regional gateway controls itself to switch to the corresponding regional gateway state. Furthermore, each regional gateway sends the target scene messages generated by its respective connected control unit based on the target scene signal to the central gateway connected to it. Each regional gateway also sends the target scene messages received from the central gateway to the respective related control units connected to it.

4. The local network cooperative control method as described in any one of claims 1 to 3, wherein, The step of receiving target scenario messages through the central gateway and obtaining the central gateway status based on the target scenario messages includes: The central gateway receives target scenario messages from each connected regional gateway. Based on the target scenario messages corresponding to each regional gateway, the central gateway switches itself to the corresponding central gateway state.

5. The local network cooperative control method as described in any one of claims 1 to 4, wherein, After each of the control units sends the target scene message generated based on the target scene signal to its corresponding area gateway and other related control units in the same subnet segment via its corresponding subnet segment, the process further includes: Each control unit sends the target scenario message to the first target control unit located in the same subnet segment through its respective connected subnet segment. The first target control unit is the control unit connected to the control unit through the same subnet segment. Each of the first target control units receives the target scenario message from the connected regional gateway and the control unit in the same subnet segment, and switches itself to the corresponding first target control unit state according to the target scenario message received from the connected regional gateway and the control unit in the same subnet segment.

6. The local network cooperative control method according to any one of claims 1 to 5, wherein, Each regional gateway controls itself to switch to the corresponding regional gateway state based on the target scenario message from its connected control unit and any node in the central gateway, including: Each regional gateway identifies the status of the control unit corresponding to each control unit based on the target scenario message from the control unit it is connected to and any node in the central gateway; When the control unit in each area gateway is connected to at least one control unit, the control unit state indicates that the control unit is awake, and the control unit switches to the awake state.

7. The local network cooperative control method according to any one of claims 1 to 6, wherein, The subnet segment also includes the target subnet segment; After each of the aforementioned regional gateways receives a target scene message from any node in its connected control unit and central gateway, and controls itself to switch to the corresponding regional gateway state based on the target scene message from any node in its connected control unit and central gateway, and after each regional gateway sends the target scene message generated by its connected control unit based on the target scene signal to the central gateway connected to it, and after each regional gateway sends the target scene message received from the central gateway to the relevant control units connected to it, the process further includes: Each regional gateway receives the target scenario message from the connected control unit and the central gateway, and sends it to the corresponding second target control unit of each regional gateway through the target subnet segment. The second control unit is connected to the regional gateway through the target subnet segment. Each of the second target control units receives the target scenario message from its respective connected area gateway and other related control units in the same subnet segment. Each of the second target control units switches itself to the second target control unit state based on the target scenario message received from its respective connected area gateway and other related control units in the same subnet segment. 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.

8. The local network cooperative control method according to any one of claims 1 to 7, wherein, The regional gateway further includes a reference regional 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. After the central gateway receives target scenario messages from each connected regional gateway, and switches itself to the corresponding central gateway state based on the target scenario messages corresponding to each regional gateway, the process further includes: The central gateway sends the target scenario messages received from each regional gateway to other reference regional gateways via the reference backbone network. The reference regional gateways are connected to the central gateway via the reference backbone network. Each of the reference area gateways receives the target scene message from any node in the central gateway and each control unit to which it is connected. Each reference area gateway switches itself to the corresponding reference area gateway state according to the target scene message received from any node in the central gateway and each control unit to which it is connected. Each of the reference area gateways receives target scenario messages from any node in the central gateway and control unit connected to it, and sends them through the reference subnet to its corresponding reference control unit, which is located in a different subnet. The reference control unit is connected to the reference area gateway through the reference subnet. Each of the reference control units receives the target scene message from any node in the reference area gateway connected to it and other control units in the same subnet segment, and switches itself to the corresponding reference control unit state according to the target scene message received from any node in the reference area gateway connected to it and other control units in the same subnet segment. 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.

9. The local network cooperative control method according to any one of claims 1 to 8, wherein, The reference subnet segment includes 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; the reference subnet segment includes a first reference subnet segment and a second reference subnet segment. Each of the reference control units receives the target scenario message from any node in its connected reference area gateway and other control units in the same subnet segment, and switches itself to the corresponding reference control unit state based on the target scenario message received from any node in its connected reference area gateway and other control units in the same subnet segment, including: Each of the reference area gateways receives target scene messages from any node in the central gateway and control unit located in the second reference subnet segment, and sends the target scene messages received from any node in the central gateway and control unit located in the second reference subnet segment to the first reference control unit connected to each of the reference area gateways 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; Each of the first reference control units receives the target scene message sent by the reference area gateway to which it is connected and any node in the control unit in the same subnet segment, and switches itself to the corresponding first reference control unit state according to the target scene message sent by the reference area gateway to which it is connected and any node in the control unit in the same subnet segment. Each of the reference area gateways will receive target scene messages from any node in the central gateway and control unit located in the first reference subnet segment to which it is connected. Each of the reference area gateways will send the target scene messages received from any node in the central gateway and control unit located in the first reference subnet segment to the second reference control unit connected to it through the second reference subnet segment through its corresponding second reference subnet segment. The first reference control unit is connected to the reference area gateway through the second reference subnet segment. Each of the second reference control units receives the target scenario message from any node in the connected area gateway and control units in the same subnet segment. Each of the second reference control units switches itself to the corresponding second reference control unit state based on the target scenario message received from any node in the connected area gateway and control units in the same subnet segment. The first reference control unit state and the second reference control unit state are used as reference control unit states.

10. The local network cooperative control method according to any one of claims 1 to 9, wherein, The central gateway receives target scenario messages from each connected regional gateway. Based on the target scenario messages corresponding to each regional gateway, the central gateway switches itself to the corresponding central gateway state, including: When multiple regional gateways exist, the state of the central gateway is related to the state of each regional gateway. However, in practice, the scenarios corresponding to the regional gateways and the scenarios corresponding to the reference regional gateways are both considered as associated scenarios for the central gateway. Therefore, regardless of whether a regional gateway or a reference regional gateway is activated, the central gateway will be activated because the associated scenario is active. Conversely, if a regional gateway is dormant and the reference regional gateway is also dormant, the central gateway will be dormant.

11. The local network cooperative control method according to any one of claims 1 to 10, wherein, Each of the control units generates its own corresponding target scene signal in response to a user-triggered scene, including: Each of the control units acquires vehicle control commands generated by the user triggering the corresponding scenario; Each control unit generates a corresponding target scene signal according to its respective 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.

12. The local network cooperative control method according to any one of claims 1 to 11, wherein, Each regional gateway controls itself to switch to the corresponding regional gateway state based on the target scenario message from its connected control unit and any node in the central gateway, including: Each regional gateway parses the target scenario messages sent by the control units connected to it and the central gateway to obtain the scenario status of each scenario corresponding to each control unit connected to it. The scenario status includes active state and dormant state. Each regional gateway obtains the associated scenarios corresponding to each control unit connected to it, and obtains the associated scenario status based on the scenario status of each scenario. Each regional gateway switches itself to the corresponding regional gateway state based on the associated scenario state it is associated with.

13. A local network collaborative control device, comprising an application to a local network collaborative control system, the local network collaborative control system including a central gateway, at least one regional gateway, and at least one control unit, wherein the central gateway and the regional gateways are connected via a backbone network, and the regional gateways and the control unit are connected via a subnet segment, the local network collaborative control device comprising: The message generation module is used for each control unit to generate its own corresponding target scene signal in response to a user-triggered scenario. Each control unit receives its own target scene message based on its corresponding target scene signal, or receives the target scene message from any node in the connected area gateway and other control units in the same subnet segment. Each control unit switches to its corresponding control unit state based on its corresponding target scene message. Each control unit sends the target scene message generated based on the target scene signal to its corresponding area gateway and other related control units in the same subnet segment through its corresponding subnet segment. The message transmission module is used for each of the regional gateways to receive target scene messages from any node in their respective connected control unit and central gateway. Each regional gateway controls itself to switch to the corresponding regional gateway state according to the target scene messages from any node in its respective connected control unit and central gateway. Each regional gateway sends the target scene messages generated by its respective connected control unit based on the target scene signal to the central gateway connected to it. Each regional gateway also sends the target scene messages received from the central gateway to each of the relevant control units connected to it. The message transmission module is also used for the central gateway to receive target scenario messages from each connected regional gateway, and the central gateway to switch itself to the corresponding central gateway state according to the target scenario messages corresponding to each regional gateway.

14. The local network cooperative control device as described in claim 13, wherein, The message delivery module is used for: Each control unit sends the target scenario message to the first target control unit located in the same subnet segment through its respective connected subnet segment. The first target control unit is the control unit connected to the control unit through the same subnet segment. Each of the first target control units receives the target scenario message from the connected regional gateway and the control unit in the same subnet segment, and switches itself to the corresponding first target control unit state according to the target scenario message received from the connected regional gateway and the control unit in the same subnet segment.

15. The local network cooperative control device as described in any one of claims 13 to 14, wherein, The first target control unit and the control unit are connected to the area gateway through the same subnet segment; the state of the first target control unit includes an active state and a dormant state; The message transmission module is used by each regional gateway to identify the status of the control unit corresponding to each control unit based on the target scenario message of the control unit connected to it and any node in the central gateway. When the control unit in each area gateway is connected to at least one control unit, the control unit state indicates that the control unit is awake, and the control unit switches to the awake state.

16. The local network cooperative control device according to any one of claims 13 to 15, wherein, The subnet segment also includes the target subnet segment; The message delivery module is used for: Each regional gateway receives the target scenario message from the connected control unit and the central gateway, and sends it to the corresponding second target control unit of each regional gateway through the target subnet segment. The second control unit is connected to the regional gateway through the target subnet segment. Each of the second target control units receives the target scenario message from its respective connected area gateway and other related control units in the same subnet segment. Each of the second target control units switches itself to the second target control unit state based on the target scenario message received from its respective connected area gateway and other related control units in the same subnet segment. 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.

17. The local network cooperative control device according to any one of claims 13 to 16, wherein, The regional gateway further includes a reference regional 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; The message delivery module is used for: The central gateway sends the target scenario messages received from each regional gateway to other reference regional gateways via the reference backbone network. The reference regional gateways are connected to the central gateway via the reference backbone network. Each of the reference area gateways receives the target scene message from any node in the central gateway and each control unit to which it is connected. Each reference area gateway switches itself to the corresponding reference area gateway state according to the target scene message received from any node in the central gateway and each control unit to which it is connected. Each of the reference area gateways receives target scenario messages from any node in the central gateway and control unit connected to it, and sends them through the reference subnet to its corresponding reference control unit, which is located in a different subnet. The reference control unit is connected to the reference area gateway through the reference subnet. Each of the reference control units receives the target scene message from any node in the reference area gateway connected to it and other control units in the same subnet segment, and switches itself to the corresponding reference control unit state according to the target scene message received from any node in the reference area gateway connected to it and other control units in the same subnet segment. 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.

18. The local network cooperative control device according to any one of claims 13 to 17, wherein, The reference subnet segment includes 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; the reference subnet segment includes a first reference subnet segment and a second reference subnet segment. The message transmission module is used for: Each of the reference area gateways receives target scene messages from any node in the central gateway and control unit located in the second reference subnet segment, and sends the target scene messages received from any node in the central gateway and control unit located in the second reference subnet segment to the first reference control unit connected to each of the reference area gateways 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; Each of the first reference control units receives the target scene message sent by the reference area gateway to which it is connected and any node in the control unit in the same subnet segment, and switches itself to the corresponding first reference control unit state according to the target scene message sent by the reference area gateway to which it is connected and any node in the control unit in the same subnet segment. Each of the reference area gateways will receive target scene messages from any node in the central gateway and control unit located in the first reference subnet segment to which it is connected. Each of the reference area gateways will send the target scene messages received from any node in the central gateway and control unit located in the first reference subnet segment to the second reference control unit connected to it through the second reference subnet segment through its corresponding second reference subnet segment. The first reference control unit is connected to the reference area gateway through the second reference subnet segment. Each of the second reference control units receives the target scenario message from any node in the connected area gateway and control units in the same subnet segment. Each of the second reference control units switches itself to the corresponding second reference control unit state based on the target scenario message received from any node in the connected area gateway and control units in the same subnet segment. The first reference control unit state and the second reference control unit state are used as reference control unit states.

19. The local network cooperative control device according to any one of claims 13 to 18, wherein, The message transmission module is used for: When multiple regional gateways exist, the state of the central gateway is related to the state of each regional gateway. However, in practice, the scenarios corresponding to the regional gateways and the scenarios corresponding to the reference regional gateways are both considered as associated scenarios for the central gateway. Therefore, regardless of whether a regional gateway or a reference regional gateway is activated, the central gateway will be activated because the associated scenario is active. Conversely, if a regional gateway is dormant and the reference regional gateway is also dormant, the central gateway will be dormant.

20. A local network collaborative control device, characterized in that, The device includes: a memory, a processor, and a local network cooperative control program stored in the memory and executable on the processor, the local network cooperative control program being configured to implement the local network cooperative control method as described in any one of claims 1 to 12.

Citation Information

Patent Citations

  • Whole vehicle network partial dormancy management system and method, and central gateway

    CN113259421A

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

    CN114828177A

  • Vehicle scenarized network management method and device, medium and equipment

    CN117955755A

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

    CN118784463A

  • Scene generation method, apparatus and system, device and storage medium

    US20230339417A1