Device communication control method and apparatus, gateway device, and storage medium

By building a device discovery process and an adaptive link selection process in the gateway device, efficient and automatic access to energy devices and real-time perception of link quality are achieved, solving the problem of communication instability in existing technologies and improving the reliability and applicability of the system.

CN121334222BActive Publication Date: 2026-04-10SHENZHEN SOFAR SOLAR
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-12-12
Publication Date
2026-04-10

AI Technical Summary

Technical Problem

Existing energy equipment communication systems struggle to achieve rapid deployment, dynamic expansion, and real-time link status awareness under complex networking conditions, leading to communication instability and impacting system reliability.

Method used

By building a device discovery process and an adaptive link selection process in the gateway device, and utilizing a serial communication bus and Ethernet interface, the system can automatically obtain response information from energy devices, dynamically update the list of unmanaged devices and generate a link information table, quantitatively evaluate link quality, and select the most suitable communication path.

Benefits of technology

It improves the automation level of device access, enhances the ability to perceive different link states, improves the stability and adaptability of communication tasks, and solves the problems of low device access efficiency and imperceptible link states.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121334222B_ABST
    Figure CN121334222B_ABST
Patent Text Reader

Abstract

The application belongs to the technical field of device communication interaction, and relates to a device communication control method and device, a gateway device and a storage medium. By constructing a device discovery process and an adaptive link optimization process in the gateway device, the system can automatically obtain response information of multiple energy devices at startup, dynamically update an unmanaged device list and generate a link information table, and support efficient access of multiple types of devices. By obtaining a link quality score based on a detection packet of different links and updating the link information, the gateway device can timely sense the link state. When performing a communication task, the gateway device selects a target link according to a preset optimization strategy, thereby improving communication stability and adaptability. The application improves the device access automation level, enhances the link state sensing, and effectively solves the problems of low access efficiency, unobservable link and difficult communication path selection in the prior art.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application belongs to the technical field of device communication interaction, and particularly relates to a device communication control method and device, a gateway device and a storage medium. BACKGROUND

[0002] With the wide deployment of energy devices such as energy storage inverters, battery systems, charging piles and electric meters in various application scenarios, a communication network is usually constructed relying on a gateway device to realize device state collection, operation monitoring and control management. Existing energy devices generally adopt multiple communication methods, such as serial communication bus and Ethernet communication. Different links differ in bandwidth, anti-interference ability, networking scale and wiring conditions.

[0003] In the scene of mixed access of multiple types of devices, the gateway device often needs to identify and manage a large number of devices. However, the traditional device access method is relatively single, often relying on manual configuration or fixed broadcast method, which is difficult to meet the needs of rapid deployment and dynamic expansion. At the same time, affected by the field environment, electromagnetic interference, network structure and the like, the state of different communication links may fluctuate. If the gateway device cannot obtain the link condition in time and reasonably select the communication path, it is easy to cause problems such as delay increase, communication failure or unstable control in the process of data collection or instruction issuing, affecting the reliability of system operation.

[0004] Therefore, how to enable the gateway device to effectively complete device access management under complex networking conditions and adaptively select among multiple communication links to improve the stability of communication tasks and the applicability of the system as a whole has become a problem to be solved in the field of energy device communication. SUMMARY

[0005] To solve the above problems, the embodiments of the present application provide a device communication control method and device, a gateway device and a storage medium to realize efficient automatic access of energy devices, real-time link state perception and adaptive selection of communication paths, thereby improving the stability and reliability of system communication.

[0006] To solve the above technical problems, one of the technical solutions adopted by the embodiments of the present application is to provide a device communication control method applied to a gateway device, the gateway device comprising a serial communication bus interface and an Ethernet interface, the gateway device being in communication connection with a plurality of energy devices through a first link and being in communication connection with the plurality of energy devices through a second link; wherein the first link is obtained by connecting the gateway device to the plurality of energy devices through the serial communication bus interface; the second link is obtained by connecting the gateway device to a router through the Ethernet interface so that the router is connected to the plurality of energy devices; the method comprises: starting a device discovery process by the gateway device and entering a listening state; in the listening state, receiving response instruction frames returned by the plurality of energy devices according to broadcast discovery instruction frames sent by the gateway device, and updating an unmanaged device list according to the response instruction frames; at the same time, receiving response data packets returned by the plurality of energy devices according to multicast discovery data packets sent by the gateway device, and updating the unmanaged device list according to the response data packets; processing the unmanaged device list to obtain a link information table; after the device discovery process ends, the gateway device executes an adaptive link optimization process; wherein the adaptive link optimization process comprises: receiving first response messages returned by the plurality of energy devices according to first probe messages sent by the gateway device through the first link, and obtaining first quality scores according to the first response messages; at the same time, receiving second response messages returned by the plurality of energy devices according to second probe messages sent by the gateway device through the second link, and obtaining second quality scores according to the second response messages; updating the link information table according to the first quality scores and the second quality scores; when a communication task is executed, determining a target link according to a preset link optimization strategy and the link information table.

[0007] In some embodiments, in the listening state, the response instruction frames returned by the plurality of energy devices according to the broadcast discovery instruction frames sent by the gateway device are received, and the unmanaged device list is updated according to the response instruction frames, comprising: in the listening state, the gateway device sends the broadcast discovery instruction frames to the plurality of energy devices through the first link based on a preset broadcast protocol, so that the plurality of energy devices return the response instruction frames according to the broadcast discovery instruction frames; the received response instruction frames returned by the plurality of energy devices are parsed to obtain device serial numbers and first communication addresses; and the unmanaged device list is updated according to the device serial numbers and the first communication addresses.

[0008] In some embodiments, the gateway device receives response packets returned by the plurality of energy devices according to the multicast discovery packet, and updates the unmanaged device list according to the response packets, including: the gateway device sends the multicast discovery packet to the plurality of energy devices through the second link based on a preset multicast protocol, so that the plurality of energy devices return response packets according to the multicast discovery packet; the received response packets returned by the plurality of energy devices are parsed to obtain device serial numbers and second communication addresses; and the unmanaged device list is updated according to the device serial numbers and the second communication addresses.

[0009] In some embodiments, the gateway device receives first response packets returned by the plurality of energy devices according to the first probe packet, and obtains a first quality score according to the first response packets, including: the gateway device sends the first probe packet to the plurality of energy devices through the first link, so that the plurality of energy devices return first response packets according to the first probe packet; a signal error rate is obtained; the first response packets are parsed to obtain a first communication delay time and a first communication success rate; and the first quality score is calculated according to the first communication delay time, the first communication success rate, and the signal error rate.

[0010] In some embodiments, the gateway device receives second response packets returned by the plurality of energy devices according to the second probe packet, and obtains a second quality score according to the second response packets, including: the gateway device sends the second probe packet to the plurality of energy devices through the second link, so that the plurality of energy devices return second response packets according to the second probe packet; the second response packets are parsed to obtain a second communication delay time and a second communication success rate; and the second quality score is calculated according to the second communication delay time and the second communication success rate.

[0011] In some embodiments, the link information table includes device serial numbers, a first quality score, and a second quality score, and when a communication task is performed, a target link is determined according to a preset link selection strategy and the link information table, including: when the communication task is performed, a task type corresponding to the communication task is obtained; when the task type is a control instruction type, the device serial numbers, the first quality score, and the second quality score of the energy device corresponding to the communication task are found from the link information table; when the first quality score is greater than the second quality score, the first link is selected as the target link; when the first quality score is less than the second quality score, the second link is selected as the target link; and when the task type is a data collection type, the second link is selected as the target link.

[0012] In some embodiments, the method further comprises: when the task type is a data collection type, obtaining a second quality score corresponding to the target link; when the first quality score corresponding to the first link exceeds the second quality score for a preset number of times, and a difference between the first quality score and the second quality score is greater than a preset hysteresis threshold, triggering a link switching mechanism, and taking the first link as the target link.

[0013] To solve the above technical problems, another technical scheme adopted by the embodiments of the present application is to provide a device communication control apparatus, the apparatus comprising: a device discovery process starting module, the device discovery process starting module being configured to start a device discovery process by a gateway device and enter a listening state; an unmanaged device list updating module, the unmanaged device list updating module being configured to, in the listening state, receive response instruction frames returned by a plurality of energy devices according to a broadcast discovery instruction frame sent by the gateway device, and update an unmanaged device list according to the response instruction frames; at the same time, receive response data packets returned by the plurality of energy devices according to a multicast discovery data packet sent by the gateway device, and update the unmanaged device list according to the response data packets; a link information table obtaining module, the link information table obtaining module being configured to process the unmanaged device list to obtain a link information table; and an adaptive link optimization process executing module, the adaptive link optimization process executing module being configured to, after the device discovery process ends, execute an adaptive link optimization process by the gateway device; wherein the adaptive link optimization process comprises: receiving first response messages returned by the plurality of energy devices according to first probe messages sent by the gateway device through a first link, and obtaining a first quality score according to the first response messages; at the same time, receiving second response messages returned by the plurality of energy devices according to second probe messages sent by the gateway device through a second link, and obtaining a second quality score according to the second response messages; updating the link information table according to the first quality score and the second quality score; and when a communication task is executed, determining a target link according to a preset link optimization strategy and the link information table.

[0014] To solve the above technical problems, still another technical scheme adopted by the embodiments of the present application is to provide a gateway device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the above method.

[0015] To solve the above technical problems, still another technical scheme adopted by the embodiments of the present application is to provide a non-volatile computer readable storage medium, the non-volatile computer readable storage medium storing computer executable instructions, and when the computer executable instructions are executed by a gateway device, the gateway device executes the above method.

[0016] Different from the related art, the application provides a device communication control method and device, a gateway device and a storage medium. The device discovery process and the adaptive link optimization process are constructed in the gateway device, so that the gateway device can automatically obtain the response information of a plurality of energy devices at system startup, dynamically update the unmanaged device list and generate a link information table, thereby realizing efficient access management of multiple types of energy devices. By obtaining the link quality score based on the first link and the second link respectively and updating the link information table, the gateway device can timely learn the state characteristics of different communication links and realize quantitative evaluation of the link quality. When performing a communication task, the gateway device further selects a target link according to a preset link optimization strategy, which is beneficial to selecting a more suitable communication path under the condition of link fluctuation or interference. In the above manner, the application can improve the automation degree of device access, enhance the perception ability of different link states, and improve the stability and adaptability of the communication task execution process, thereby effectively solving the problems of low device access efficiency, unperceivable link state and difficult selection of communication links in the prior art. BRIEF DESCRIPTION OF DRAWINGS

[0017] One or more embodiments are illustrated by way of example with reference to the accompanying drawings, which are schematic and not intended to be limiting of the embodiments, and in which like reference numerals designate similar items in the figures, in which:

[0018] Figure 1 is a structural schematic diagram of a device communication control system provided by an embodiment of the application;

[0019] Figure 2 is a hardware structural schematic diagram of a gateway device provided by an embodiment of the application;

[0020] Figure 3 is a flowchart of a device communication control method provided by an embodiment of the application;

[0021] Figure 4 is a structural schematic diagram of a device communication control device provided by an embodiment of the application. DETAILED DESCRIPTION

[0022] To make the objectives, technical solutions and advantages of the embodiments of the application clearer, the technical solutions in the embodiments of the application will be described below in detail with reference to the accompanying drawings of the embodiments of the application. Obviously, the described embodiments are some of the embodiments of the application, but not all the embodiments of the application. It should be understood that the specific embodiments described herein are only used to explain the application, and not used to limit the application.

[0023] It should be noted that the various features of the embodiments of the present application can be combined, if not in conflict, and can all be within the scope of the present application. In addition, although the division of functional modules is made in the device schematic diagram, and the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in a manner different from the module division in the device schematic diagram or the order in the flowchart.

[0024] When an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or one or more intervening elements can be present.

[0025] The terms "first", "second", and the like in the description and in the claims of the present application are used for distinguishing between similar objects and are not necessarily used to describe a particular sequential or chronological order. It is to be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments of the present application described herein are capable of operation in other sequences than described or otherwise illustrated herein. The sequence of any process is therefore, not limited to the order of steps described herein unless specifically stated.

[0026] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used in the description of the application herein is for describing particular embodiments only and is not intended to be limiting of the application. All literature and similar materials cited in this application, including but not limited to, patents, patent applications, articles, books, and treatises are expressly incorporated by reference.

[0027] Please refer to Figure 1 , Figure 1 is a structural schematic diagram of a device communication control system provided by an embodiment of the present application. As Figure 1 shown, the device communication control system 100 includes a gateway device 10, an energy device 20, and a router 30. The gateway device 10 is communicatively connected to a plurality of energy devices 20 through a first link, and the gateway device 10 is also communicatively connected to the plurality of energy devices 20 through a second link. The gateway device 10 includes a serial communication bus interface and an Ethernet interface. The first link is obtained by connecting the gateway device 10 to the plurality of energy devices 20 through the serial communication bus interface. The second link is obtained by connecting the gateway device 10 to the router 30 through the Ethernet interface, so that the router 30 is connected to the plurality of energy devices 20.

[0028] The gateway device 10 is a core communication and control node in the device communication control system 100, and is usually an embedded control terminal or an industrial gateway with an industrial-grade processor, a memory, a communication interface, and a running operating system. The gateway device 10 establishes a physical communication link with the energy device 20 and the router 30 through the serial communication bus interface (RS485 interface) and the Ethernet interface.

[0029] At the software level, the gateway device 10 integrates a device discovery module, a link quality assessment module, a link selection and switching module, a device management module, and a link information table. The device discovery module is responsible for starting the device discovery process, receiving the response information returned by the energy device 20, and updating the unmanaged device list to realize automatic perception of the energy device 20. The device management module processes the unmanaged device list, generates and maintains the link information table, and realizes unified management and state tracking of the energy device 20. The link quality assessment module measures the communication quality of the first link (RS48 bus) and the second link (Ethernet network) respectively, and obtains real-time quality scores of each link, such as communication delay, success rate, or error rate. The link selection and switching module selects and switches the link according to the link quality score and the preset strategy, ensures that the communication task is executed using the best link, and improves the stability and reliability of the system. The link information table records the link information and link quality state of each energy device 20, and provides a basis for decision-making for the communication task.

[0030] Please refer to Figure 2 which shows a hardware structure diagram of the above-mentioned gateway device 10. The gateway device 10 comprises at least one processor 11 and a memory 12 connected with the at least one processor 11, Figure 2 The memory 12 stores instructions executable by the at least one processor 11, and the instructions are executed by the at least one processor 11 to enable the at least one processor 11 to perform the device communication control method of the present application. The processor 11 and the memory 12 can be connected by a bus or other means, Figure 2 For example, the connection is through a bus.

[0031] The memory 12 is a non-volatile computer readable storage medium, which can be used to store non-volatile software programs, non-volatile computer executable programs and modules, such as program instructions / modules corresponding to the device communication control method in the present application. The processor 11 performs various functional applications and data processing of the server by running the non-volatile software programs, instructions and modules stored in the memory 12, that is, implements the device communication control method of the present application.

[0032] The memory 12 may include a program storage area and a data storage area. The program storage area may store the operating system and applications required for at least one function; the data storage area may store data created based on the use of the computing device. Furthermore, the memory 12 may include high-speed random access memory and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory 12 may optionally include memory remotely located relative to the processor 11, and these remote memories may be connected to the computing device via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.

[0033] One or more modules are stored in memory 12 and, when executed by one or more processors 11, execute the device communication control method of this application embodiment.

[0034] Energy devices 20 are field terminals monitored and controlled within the equipment communication control system 100. Typical examples include energy storage inverters, battery management units, charging piles, electricity meters, photovoltaic combiner boxes, or other industrial energy equipment. Each energy device 20 establishes direct communication with the gateway device 10 via an RS485 bus interface and can also indirectly communicate with the router 30 via Ethernet. Its main functions include: responding to broadcast discovery command frames or multicast discovery data packets from the gateway device 10 to achieve automatic registration and access; receiving control commands from the gateway device 10, such as status queries, power adjustments, or operation commands; and uploading operational data to the gateway device 10, including voltage, current, SOC / SOH, power consumption, or other monitoring parameters, for remote monitoring and management.

[0035] Router 30 is a network relay device in the device communication control system 100, mainly used to extend Ethernet communication links to multiple energy devices 20 and build a standard IP network communication environment. Its functions include: providing network interconnection and data forwarding between gateway device 10 and multiple energy devices 20; managing IP address allocation within the local area network to enable network access and identification of energy devices 20; and supporting multicast / unicast communication to enable gateway device 10 to perform device discovery, data acquisition, and control command issuance via Ethernet.

[0036] Among them, the first link corresponds to Figure 1 The RS485 bus shown is used to directly connect multiple energy devices 20 via the serial communication bus interface (RS485 interface) of gateway device 10 for reliable communication in short-distance, industrial environments. The second link corresponds to... Figure 1Ethernet, ETH). It can be understood that the Ethernet interface of the gateway device 10 is connected with the router 30, and the router 30 communicates with the plurality of energy devices 20, which is suitable for high-bandwidth, long-distance or IP-based network management.

[0037] The implementation process of the device communication control method provided by the embodiment of the application will be described in detail below in combination with specific embodiments.

[0038] Please refer to Figure 3 , Figure 3 is a flowchart of a device communication control method provided by the embodiment of the application. The device communication control method is applied to the gateway device 10 described above. As Figure 3 shown, the device communication control method comprises steps S11-S14:

[0039] S11: The gateway device starts a device discovery process and enters a listening state.

[0040] S12: In the listening state, the response instruction frames returned by the plurality of energy devices according to the broadcast discovery instruction frames sent by the gateway device are received, and the unmanaged device list is updated according to the response instruction frames; at the same time, the response data packets returned by the plurality of energy devices according to the multicast discovery data packets sent by the gateway device are received, and the unmanaged device list is updated according to the response data packets.

[0041] In the listening state, the response instruction frames returned by the plurality of energy devices according to the broadcast discovery instruction frames sent by the gateway device are received, and the unmanaged device list is updated according to the response instruction frames, comprising: in the listening state, the gateway device sends the broadcast discovery instruction frames to the plurality of energy devices through the first link based on a preset broadcast protocol, so that the plurality of energy devices return the response instruction frames according to the broadcast discovery instruction frames; the received response instruction frames returned by the plurality of energy devices are parsed to obtain the device serial number and the first communication address; and the unmanaged device list is updated according to the device serial number and the first communication address.

[0042] In the listening state, the response instruction frames returned by the plurality of energy devices according to the broadcast discovery instruction frames sent by the gateway device are received, and the unmanaged device list is updated according to the response instruction frames, comprising: in the listening state, the gateway device sends the broadcast discovery instruction frames to the plurality of energy devices through the first link based on a preset broadcast protocol, so that the plurality of energy devices return the response instruction frames according to the broadcast discovery instruction frames; the received response instruction frames returned by the plurality of energy devices are parsed to obtain the device serial number and the first communication address; and the unmanaged device list is updated according to the device serial number and the first communication address.

[0043] When the gateway device is powered on or restarted, the software system is initialized, and a program module for searching and identifying energy devices in the network is started. In this embodiment, the module is the device discovery module described above. After starting, the gateway device enters a listening state, i.e., the device is in an operating mode of waiting and receiving response information from energy devices. In this state, the gateway device will simultaneously perform the device discovery task through two communication links:

[0044] The first link (RS485 bus): the gateway device sends a broadcast discovery instruction frame to all connected energy devices on the bus through its serial communication bus interface. The broadcast discovery instruction frame is constructed according to a preset private protocol (preset broadcast protocol) and contains specific start symbols, command codes, and optional parameters, which are used to inform the energy devices that they are being discovered. The gateway device supports baud rate adaptation technology and will send the broadcast discovery instruction frame at common baud rates (e.g., 9600 bps, 19200 bps, 115200 bps) in turn to ensure that energy devices with different baud rate settings can correctly receive it.

[0045] The second link (Ethernet network): the gateway device sends a multicast discovery data packet to energy devices in the local area network through its Ethernet interface. The data packet also follows a preset private multicast protocol (preset multicast protocol) and specifies a specific port number and data structure. After receiving the multicast packet, the energy device returns a response data packet to the unicast address of the gateway device to inform it of its existence and network information.

[0046] It can be understood that in this listening state, the gateway device simultaneously monitors the return data of the first link and the second link, and prepares to analyze the response frames and data packets of the energy devices.

[0047] Subsequently, the gateway device collects the information returned by the energy devices and generates a preliminary device management list, referred to as an "unmanaged device list". The specific implementation process is as follows:

[0048] (1) RS485 channel response processing:

[0049] In the listening state, the gateway device receives all response instruction frames returned through the first link (RS485 bus). After receiving the broadcast discovery instruction frame, the energy device will reply a response instruction frame through the RS485 bus based on the baud rate set by itself. The response instruction frame contains at least two key information: device serial number (SN, Serial Number) and the communication address of the device in the RS485 network (first communication address).

[0050] The gateway device parses each response instruction frame, extracts the device serial number and the first communication address, and records this information in the unmanaged device list. This list is used to identify devices that have currently been discovered but have not yet been further managed or registered.

[0051] (2) Ethernet channel response processing:

[0052] After the gateway device sends the multicast discovery data packet through the second link (Ethernet network), the energy device will return a response data packet according to the multicast data packet, containing the device serial number and the current IP address (second communication address).

[0053] The gateway device receives and parses these response data packets, associates the device serial number with the second communication address, and also updates the unmanaged device list. If the same serial number device has already been discovered through the RS485 link, only update its Ethernet address information in the list, so as to ensure that the information of the same device in the two links is uniformly managed, avoiding duplicate entries. Among them, the unmanaged device list can be understood as a temporary database of the gateway device, which is used to record the basic information of all energy devices currently discovered. It is similar to a "to-be-processed device list", which will be processed later to generate a complete link information table.

[0054] For example, assume that there is an inverter in the photovoltaic system, with an RS485 address of 0x01 and an IP address of 192.168.1.101. When the gateway device starts the device discovery process, it will send a broadcast discovery frame on the RS485 link, and the inverter returns its SN and RS485 address; at the same time, after receiving the multicast data packet on the Ethernet link, the inverter returns its SN and IP address. After the gateway device parses the information of the two links, it records this inverter in the unmanaged device list, forming a record containing SN, RS485 address and IP address.

[0055] Through the dual-link parallel device discovery mechanism, the gateway device can quickly and automatically identify all energy devices in the network after system startup or restart, realizing efficient sensing and unified management of the devices. Specifically, the gateway device starts the device discovery process and enters the listening state, making the device in a ready state to receive responses from RS485 bus and Ethernet network at the same time, providing a foundation for subsequent data collection and management. Subsequently, the gateway device can accurately obtain the device serial number and corresponding communication address of each device by analyzing the broadcast instruction frame and multicast data packet returned by the energy device, and update the information to the unmanaged device list, thereby realizing fast registration and information synchronization of multi-type and multi-communication interface energy devices. This process significantly improves the automation degree and discovery efficiency of device access, ensures that no device is missed in a complex system, provides a reliable data foundation for subsequent link information table generation and adaptive link optimization, and is beneficial to solve the problems of slow device discovery, incomplete access and unified management of multi-link information in the prior art.

[0056] S13: processing the unmanaged device list to obtain a link information table.

[0057] The gateway device first traverses the unmanaged device list, which contains the response information of each energy device collected through the first link and the second link respectively. Each response information at least includes the device serial number (SN) and the corresponding communication address, such as RS485 address or IP address. Then, the gateway device analyzes the device serial number, removes the repeated devices and confirms the identity uniqueness, that is, no matter a device is discovered through RS485 and Ethernet at the same time, the gateway system management list only creates one logical device entity for it. Next, the gateway device establishes a link information table entry for each logical device entity, which records the SN, RS485 communication address, IP address and real-time quality score of the device (used for subsequent link optimization judgment). In this process, the link information table plays a role in centralized storage and unified management of the link information table entries, providing basic data for the gateway device to select the link when performing communication tasks.

[0058] Through this process, the gateway device can realize unified management of different types and multi-link energy devices, avoid information redundancy, and improve the accuracy and efficiency of subsequent adaptive link optimization and communication scheduling.

[0059] S14: After the device discovery process ends, the gateway device performs an adaptive link selection process; wherein the adaptive link selection process comprises: receiving first response messages returned by the plurality of energy devices according to first probe messages sent by the gateway device through the first link, and obtaining first quality scores according to the first response messages; simultaneously, receiving second response messages returned by the plurality of energy devices according to second probe messages sent by the gateway device through the second link, and obtaining second quality scores according to the second response messages; updating the link information table according to the first quality scores and the second quality scores; when performing a communication task, determining a target link according to a preset link selection strategy and the link information table.

[0060] The receiving of the first response messages returned by the plurality of energy devices according to the first probe messages sent by the gateway device through the first link, and the obtaining of the first quality scores according to the first response messages, comprises: sending the first probe messages by the gateway device to the plurality of energy devices through the first link, so that the plurality of energy devices return the first response messages according to the first probe messages; obtaining a signal error rate; analyzing the first response messages to obtain a first communication delay time and a first communication success rate; and calculating the first quality scores according to the first communication delay time, the first communication success rate, and the signal error rate.

[0061] The receiving of the second response messages returned by the plurality of energy devices according to the second probe messages sent by the gateway device through the second link, and the obtaining of the second quality scores according to the second response messages, comprises: sending the second probe messages by the gateway device to the plurality of energy devices through the second link, so that the plurality of energy devices return the second response messages according to the second probe messages; analyzing the second response messages to obtain a second communication delay time and a second communication success rate; and calculating the second quality scores according to the second communication delay time and the second communication success rate.

[0062] After the device discovery process ends, the gateway device sends probe messages (such as first probe messages and second probe messages) to each energy device through the first link (RS485 bus) and the second link (Ethernet network) in parallel. These probe messages can be standard ping commands or specific state query instructions, which are used to detect the communication performance of the link. The energy devices return response messages (such as first response messages and second response messages) after receiving the probe messages, and the gateway device receives and analyzes these responses.

[0063] For the first link, the gateway device analyzes the first response messages to obtain a first communication delay time (i.e. the round-trip time from sending the first probe message to receiving the first response message) and a first communication success rate (the proportion of the number of successful responses in a fixed time window to the total number of attempts), and obtains a signal error rate through a driver chip or a physical layer chip. According to these indicators, the gateway device calculates the first quality scores using a predefined weighted scoring algorithm The first quality score is calculated according to the following formula:

[0064]

[0065] Similarly, for the Ethernet link, the gateway device parses the second response packet to obtain the second communication delay time and the second communication success rate, and calculates the second quality score using the same weighting algorithm The second quality score is calculated according to the following formula:

[0066]

[0067] The gateway device associates the obtained first and second quality scores with the device serial number and link address information (first communication address and second communication address) of the corresponding device, updates the link information table, and thus records the real-time communication quality of each device under the two links. Finally, when performing a specific communication task, the gateway device determines the target link according to the preset link selection strategy (such as selecting the link with higher quality for control instruction type, and selecting the Ethernet link for data acquisition type) and the quality scores recorded in the link information table.

[0068] The link information table includes the device serial number, the first quality score, and the second quality score. When performing a communication task, the target link is determined according to the preset link selection strategy and the link information table, including: when performing a communication task, obtaining the task type corresponding to the communication task; when the task type is a control instruction type, finding the device serial number, the first quality score, and the second quality score of the energy device corresponding to the communication task from the link information table; when the first quality score is greater than the second quality score, selecting the first link as the target link; when the first quality score is less than the second quality score, selecting the second link as the target link; when the task type is a data acquisition type, selecting the second link as the target link.

[0069] In some embodiments, the method further includes: when the task type is a data acquisition type, obtaining the second quality score corresponding to the target link; when the first quality score corresponding to the first link exceeds the second quality score within a preset number of times, and the difference between the first quality score and the second quality score is greater than a preset hysteresis threshold, triggering a link switching mechanism, and selecting the first link as the target link.

[0070] After completing the link quality evaluation and updating the link information table, the gateway device selects the target link according to the current communication task type and the link quality score in each communication period. By default, the gateway device will preferentially select the link with higher current quality score for communication, which is a general strategy for general communication tasks (such as state query and regular data acquisition).

[0071] On this basis, for the control instruction with the highest priority (such as emergency stop, power adjustment), the gateway device obtains the SN of the corresponding energy device and the real-time quality scores of the two links from the link information table, and selects the target link according to the quality scores. If the first quality score of the first link is higher than the second quality score of the second link, the first link (RS485 bus) is selected as the target link; otherwise, the second link (Ethernet network) is selected. This strategy ensures that critical control instructions can be sent through the link with the best current quality, thereby ensuring the real-time and reliability of the instructions. It can be understood that this strategy is the same as the default optimization rule in principle, but the priority of the control instruction is clear, and the real-time requirement for selecting the link is higher.

[0072] For large data volume data acquisition tasks (such as historical data download), the gateway device preferentially selects the second link with higher bandwidth as the target link (even if its second quality score is slightly lower than the first quality score) to improve data transmission efficiency and overall task execution speed.

[0073] If the quality score of the currently used link is lower than that of the standby link (which is the first link) and the difference exceeds the preset hysteresis threshold AQ, and the preset number of conditions is continuously met, the system will trigger the link switching mechanism to set the standby link (the first link) as the new target link, thereby preventing frequent link switching and ensuring the stability of communication.

[0074] After each communication is completed, the gateway device records the communication log, including task type, target link, communication result, and link quality score and other information. If the communication is successful, the communication statistical data is updated for subsequent link quality evaluation and optimization reference; if the communication fails, the current link state is marked as abnormal, and the fault handling mechanism is triggered, including forced switching to the standby link and retrying the communication. Through such log recording and statistical analysis, the gateway device can continuously optimize the link selection strategy to ensure the high reliability and stability of different types of tasks in different network environments.

[0075] By performing the adaptive link selection process after the end of the device discovery process, the gateway device can monitor the real-time communication performance of each energy device on both RS485 bus and Ethernet links in parallel, and calculate the quantitative quality score based on multi-dimensional indicators such as communication delay, success rate and signal error rate, so as to dynamically and intelligently select the optimal link for communication. This method not only can preferentially select the Ethernet link with higher bandwidth for large data acquisition tasks to improve transmission efficiency, but also can select the link with the best quality in real time for critical control instructions to ensure the high reliability and real-time performance of the instructions. At the same time, the introduction of the link switching mechanism and the hysteresis threshold effectively prevents the link from frequently switching under slight fluctuations, ensuring the stability of the communication. By continuously recording the communication log and updating the link information table, the system can realize dynamic evaluation and adaptive optimization of the link quality, so that different types of communication tasks can be completed with the lowest delay, the highest success rate and the optimal stability in complex industrial environments, thereby significantly improving the reliability, intelligent level and overall operation efficiency of the system.

[0076] In some embodiments, the Ethernet can be replaced or extended to wireless communication (such as Wi-Fi) to form a "wired + wireless" hybrid redundant network. It can be understood that the first link of the gateway device is still the RS485 bus, and the second link is replaced by a wireless communication link (such as Wi-Fi). In the device discovery process, the gateway device sends private broadcast discovery instruction frames through the RS485 bus and sends multicast discovery data packets through Wi-Fi to identify and collect energy device information in parallel. After receiving the RS485 broadcast or Wi-Fi multicast packet, the energy device returns a response frame or response packet containing device serial number (SN) and link address information (such as RS485 address or Wi-Fi IP address). The gateway device parses the response information, updates the unmanaged device list, and establishes a link information table to record the real-time quality score of each device on both links. In the adaptive link selection process, the gateway device calculates the first quality score and the second quality score according to the communication delay, success rate and signal error rate of the RS485 link and the Wi-Fi link, and selects the target link to perform the communication task according to the preset link selection strategy. This embodiment can realize the hybrid redundancy of wired + wireless, and improve the availability of the system in difficult wiring or harsh industrial environments.

[0077] In some embodiments, the weighted scoring algorithm can be replaced by a machine learning-based prediction model to predict the link quality trend in the future period of time based on historical data, realizing forward-looking switching. It can be understood that the gateway device no longer uses a simple weighted scoring algorithm in the adaptive link selection process, but trains a machine learning model based on historical communication data to predict the communication quality trend of each link in the future period of time. For example, by inputting the communication delay, success rate, signal error rate and time sequence features, the link quality score in the next communication period is predicted. When performing a communication task, the gateway device not only refers to the current real-time quality score, but also combines the predicted value to determine the target link, thereby realizing forward-looking switching and reducing the impact of sudden link degradation on the task. This predictive strategy is particularly suitable for scenarios with large load fluctuations or frequent wireless link fluctuations.

[0078] In some embodiments, on the basis of RS485 and Ethernet, wireless communication can be added as a third backup link to form a more powerful redundant system. It can be understood that the gateway device adds a third wireless communication link (such as LoRa or Wi-Fi) on the basis of the original two links of RS485 and Ethernet. In the device discovery process, the gateway device sends discovery instructions or multicast data packets in parallel through RS485, Ethernet and wireless links, and the energy device returns response information, which is analyzed by the gateway device to update the unmanaged device list and establish a link information table to record the quality score of each device under the three links. In the adaptive link selection process, the gateway device dynamically selects the target link according to the quality scores of the three links. When the current used link degrades and the quality of the standby link exceeds the hysteresis threshold AQ, link switching can be triggered, while ensuring that at least two of the three links are available, thereby forming a more highly available redundant system.

[0079] In some embodiments, for high-speed devices supporting TCP / IP, when both links are available and of good quality, link aggregation technology can be used to bind the two links to improve the overall transmission bandwidth. It can be understood that for high-speed energy devices supporting the TCP / IP protocol, the gateway device binds the RS485 and Ethernet links using link aggregation technology when it discovers that both links are available and of good quality, realizing parallel transmission of the two links. After link aggregation, the gateway device can simultaneously transmit large data volume acquisition tasks (such as historical data download) on the two links, improving the total bandwidth, reducing communication delay, and maintaining real-time monitoring of link quality scores. When the link experiences sudden fluctuations, the system can still dynamically adjust the transmission strategy to ensure that control instructions are transmitted first.

[0080] In some embodiments, the security mechanism such as TLS / DTLS encryption, digital certificate, etc. is added in the device discovery and communication process to improve the system security. It can be understood that the gateway device adds the security mechanism in the device discovery and adaptive link selection process. For example, the communication data is encrypted by TLS or DTLS before sending the discovery instruction frame / probe message on the RS485 or Ethernet link, and the energy device is required to hold a legal digital certificate for identity authentication. The energy device also uses the encrypted channel when returning the response frame / response message, ensuring data integrity and tamper-proofing capability. The link information table records not only the device serial number, link address and quality score, but also the device authentication status. This embodiment effectively prevents malicious device access and communication data leakage, and improves the security of the entire energy device network.

[0081] In some embodiments, in a scenario with low requirements, only the most critical indicator of “communication success rate” can be used for link selection to simplify the system design. It can be understood that in the application scenario with low reliability requirements, the gateway device can only use “communication success rate” as the only evaluation indicator in the adaptive link selection process, ignoring the communication delay time and signal error rate. The gateway device calculates the quality score according to the historical success rate of each link and selects the link with the highest success rate to perform the communication task. This simplified scheme can reduce the calculation overhead and system complexity, while meeting the needs of regular data acquisition tasks.

[0082] In some embodiments, the preset hysteresis threshold is dynamically adjusted according to the network historical stability. It can be understood that the gateway device dynamically adjusts the hysteresis threshold AQ according to the historical link fluctuation. When the network quality fluctuates frequently, AQ is automatically increased to reduce the number of link switching and enhance the system stability.

[0083] In some embodiments, the “control instruction” can be further divided into “emergency instruction” and “ordinary instruction”, corresponding to different link selection strategies. It can be understood that the control instruction is further divided into “emergency instruction” and “ordinary instruction”. The emergency instruction (such as emergency stop, power adjustment) is always sent on the link with the highest quality in the selection process; the ordinary instruction can use the default selection strategy. This refinement ensures that the link selection is efficient and stable under different task priorities.

[0084] The embodiment of the application provides a device communication control method, which realizes intelligent discovery, unified management and adaptive link optimization of energy devices by establishing two communication links of RS485 bus and Ethernet in parallel in a gateway device, and has remarkable effects on system reliability, communication efficiency and intelligent level. First, through the double-link parallel device discovery mechanism, the gateway device can obtain the response information of the energy device from the two links at the same time, analyze the key information such as device serial number and communication address, build a complete link information table, and realize repeated device deduplication and identity uniqueness confirmation, which enables the energy device to be "plug and play", greatly reduces the on-site debugging and operation and maintenance cost, and improves the availability and ease of use of the system. Secondly, in the adaptive link optimization process, the gateway device quantitatively scores each link based on multi-dimensional indexes such as communication delay time, communication success rate and signal error rate, and combines the preset link optimization strategy and task type distinction (such as control instruction preferentially selecting the best quality link, and data acquisition preferentially selecting the high bandwidth link), to realize dynamic and intelligent target link selection. This mechanism not only guarantees the high real-time and reliability of the control instruction, but also maximizes the use of link resources and improves the data transmission efficiency. At the same time, the link switching mechanism and the application of hysteresis threshold effectively prevent the link from frequently switching under slight fluctuations, ensuring the stability and reliability of the communication process. In addition, by continuously recording the communication log and updating the link information table, the system can adaptively optimize the link selection strategy to realize long-term stable operation. Based on this, the method significantly improves the communication reliability, real-time performance and fault tolerance of the system, so that the system can efficiently, stably and safely complete various communication tasks in complex industrial environments and multi-type energy device networking, and has high intelligentization and engineering practical value.

[0085] It should be noted that the device communication control method provided by the embodiment of the application can be widely applied to scenes with high requirements for energy device communication reliability and real-time performance. For example, in a photovoltaic power generation system, it can be used for data acquisition and power control of inverters, combiner boxes and environmental monitors; in an energy storage system, it can be used for real-time monitoring and scheduling of energy storage converters (PCS) and batteries; in an electric vehicle charging network, it can realize state monitoring, billing management and remote start-stop control of charging piles; in an intelligent micro-grid, it can be used for coordinated control of distributed energy and load switches. At the same time, the method can also be applied to industrial automation control systems to realize redundant communication of sensors, actuators and other devices; in a building automation system, it can be used for intelligent control of air conditioning, lighting, security and other subsystems; and it can be applied to any Internet of Things (IoT) environment with high requirements for communication reliability and real-time performance, to realize unified management and adaptive link selection of multiple types of energy devices through a gateway device, and improve the stability, intelligent level and operation and maintenance efficiency of the system.

[0086] Based on the device communication control method provided in the above embodiment, an embodiment of the present application further provides a device communication control apparatus. Please refer to Figure 4 , Figure 4 FIG. 2 is a structural schematic diagram of the device communication control apparatus. As shown in FIG. 2, the device communication control apparatus 200 comprises a device discovery procedure starting module 210, an unmanaged device list updating module 220, a link information table obtaining module 230 and an adaptive link selection procedure executing module 240. Figure 4

[0087] The device discovery procedure starting module 210 is configured to start a device discovery procedure by the gateway device and enter a listening state. The unmanaged device list updating module 220 is configured to, in the listening state, receive response instruction frames returned by a plurality of energy devices according to a broadcast discovery instruction frame sent by the gateway device, and update an unmanaged device list according to the response instruction frames; and receive response data packets returned by the plurality of energy devices according to a multicast discovery data packet sent by the gateway device, and update the unmanaged device list according to the response data packets. The link information table obtaining module 230 is configured to process the unmanaged device list to obtain a link information table. The adaptive link selection procedure executing module 240 is configured to execute an adaptive link selection procedure by the gateway device after the device discovery procedure ends. The adaptive link selection procedure comprises: receiving first response messages returned by a plurality of energy devices according to first probe messages sent by the gateway device through a first link, and obtaining a first quality score according to the first response messages; receiving second response messages returned by the plurality of energy devices according to second probe messages sent by the gateway device through a second link, and obtaining a second quality score according to the second response messages; updating the link information table according to the first quality score and the second quality score; and determining a target link according to a preset link selection strategy and the link information table when a communication task is executed.

[0088] It should be noted that the device communication control apparatus can execute the device communication control method provided in the embodiment of the present application, and has the function modules and beneficial effects corresponding to the execution method. Technical details not described in detail in the device communication control apparatus embodiment can be referred to the device communication control method provided in the embodiment of the present application.

[0089] ​The embodiment of the present application provides a nonvolatile computer readable storage medium, the nonvolatile computer readable storage medium stores computer executable instructions, the computer executable instructions are executed by one or more processors, so that at least one processor can execute the device communication control method of the above embodiment. For example, the nonvolatile computer readable storage medium can be a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a read-only compact disc (Compact Disc Read-Only Memory, CDROM), a magnetic tape, a floppy disk and an optical data storage device and the like.

[0090] It should be noted that the above-described device embodiments are only schematic, wherein the units as described above can or can not be physically separate, and the components as shown as units can or can not be physical units, that is, they can be located in one place, or can be distributed on a plurality of network units. Part or all of the modules can be selected according to actual needs to achieve the purpose of the embodiment of the present application.

[0091] Through the description of the above embodiments, those skilled in the art can clearly understand that the above-mentioned embodiment method can be realized by means of software and necessary general hardware platform, of course, it can also be realized by hardware, but in many cases, the former is a better embodiment. Based on such understanding, the technical solutions of the present application can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes a plurality of instructions for making a terminal (which can be a mobile phone, computer, server, air conditioner or network device) execute the method described in each embodiment of the present application.

[0092] Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit them; under the idea of the present application, the technical features in the above embodiments or different embodiments can also be combined, the steps can be implemented in any order, and there are many other changes of the different aspects of the present application as described above. In order to be brief, they are not provided in detail; although the present application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: the technical solutions recorded in the foregoing embodiments can still be modified, or some technical features can be replaced by equivalents; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A device communication control method applied to a gateway device, the gateway device comprising a serial communication bus interface and an Ethernet interface, the gateway device being in communication connection with a plurality of energy devices through a first link, the gateway device also being in communication connection with a plurality of the energy devices through a second link; wherein, The first link is obtained by the gateway device connecting with a plurality of the energy devices through the serial communication bus interface; and the second link is obtained by the gateway device connecting with a router through the Ethernet interface, so that the router connects with a plurality of the energy devices, characterized in that the method comprises: The gateway device starts a device discovery process and enters a listening state; In the listening state, a response instruction frame returned by a plurality of the energy devices according to a broadcast discovery instruction frame sent by the gateway device is received, and an unmanaged device list is updated according to the response instruction frame; meanwhile, a response data packet returned by a plurality of the energy devices according to a multicast discovery data packet sent by the gateway device is received, and the unmanaged device list is updated according to the response data packet; The unmanaged device list is processed to obtain a link information table; After the device discovery process ends, the gateway device executes an adaptive link optimization process; wherein the adaptive link optimization process comprises: A first response message returned by a plurality of the energy devices according to a first probe message sent by the gateway device through the first link is received, and a first quality score is obtained according to the first response message; meanwhile, a second response message returned by a plurality of the energy devices according to a second probe message sent by the gateway device through the second link is received, and a second quality score is obtained according to the second response message; The link information table is updated according to the first quality score and the second quality score; When a communication task is executed, a target link is determined according to a preset link optimization strategy and the link information table.

2. The device communication control method according to claim 1, wherein In the listening state, a response instruction frame returned by a plurality of the energy devices according to a broadcast discovery instruction frame sent by the gateway device is received, and an unmanaged device list is updated according to the response instruction frame, comprising: In the listening state, the gateway device sends the broadcast discovery instruction frame to a plurality of the energy devices through the first link based on a preset broadcast protocol, so that a plurality of the energy devices return the response instruction frame according to the broadcast discovery instruction frame; The received response instruction frame returned by a plurality of the energy devices is parsed to obtain a device serial number and a first communication address; The unmanaged device list is updated according to the device serial number and the first communication address.

3. The device communication control method according to claim 2, wherein The received response data packet returned by a plurality of the energy devices according to the multicast discovery data packet sent by the gateway device is received, and the unmanaged device list is updated according to the response data packet, comprising: The gateway device sends the multicast discovery data packet to a plurality of the energy devices through the second link based on a preset multicast protocol, so that a plurality of the energy devices return the response data packet according to the multicast discovery data packet; The received response data packet returned by a plurality of the energy devices is parsed to obtain the device serial number and a second communication address; The unmanaged device list is updated according to the device serial number and the second communication address.

4. The device communication control method according to claim 1, wherein The receiving a plurality of the energy devices according to the first response message returned by the first probe message sent by the gateway device through the first link, and obtaining a first quality score according to the first response message, comprises: The gateway device sends the first probe message to a plurality of the energy devices through the first link, so that a plurality of the energy devices return the first response message according to the first probe message; Obtaining signal error code rate; Analyzing the first response message to obtain first communication delay time and first communication success rate; According to the first communication delay time, the first communication success rate and the signal error code rate, the first quality score is calculated.

5. The device communication control method according to claim 1, wherein The receiving a plurality of the energy devices according to the second response message returned by the second probe message sent by the gateway device through the second link, and obtaining a second quality score according to the second response message, comprises: The gateway device sends the second probe message to a plurality of the energy devices through the second link, so that a plurality of the energy devices return the second response message according to the second probe message; Analyzing the second response message to obtain second communication delay time and second communication success rate; According to the second communication delay time and the second communication success rate, the second quality score is calculated.

6. The device communication control method according to claim 3, wherein The link information table comprises the device serial number, the first quality score and the second quality score, and when the communication task is performed, a target link is determined according to a preset link selection strategy and the link information table, comprising: When the communication task is performed, a task type corresponding to the communication task is obtained; When the task type is a control instruction type, the device serial number, the first quality score and the second quality score of the energy device corresponding to the communication task are found from the link information table; When the first quality score is greater than the second quality score, the first link is selected as the target link; When the first quality score is less than the second quality score, the second link is selected as the target link; When the task type is a data acquisition type, the second link is selected as the target link.

7. The device communication control method according to claim 6, wherein The method further comprises: When the task type is the data acquisition type, the second quality score corresponding to the target link is obtained; When the first quality score corresponding to the first link exceeds the second quality score within a preset number of times, and the difference between the first quality score and the second quality score is greater than a preset hysteresis threshold, a link switching mechanism is triggered, and the first link is selected as the target link.

8. An apparatus communication control device, characterized by comprising: The device comprises: A device discovery process starting module, the device discovery process starting module is used for gateway device to start device discovery process, and enter listening state; The unmanaged device list updating module is configured to, in the listening state, receive response instruction frames returned by a plurality of energy devices according to a broadcast discovery instruction frame sent by the gateway device, and update an unmanaged device list according to the response instruction frames; meanwhile, receive response data packets returned by a plurality of the energy devices according to a multicast discovery data packet sent by the gateway device, and update the unmanaged device list according to the response data packets; The link information table obtaining module is configured to process the unmanaged device list to obtain a link information table; The adaptive link optimization process executing module is configured to, after the device discovery process ends, execute an adaptive link optimization process by the gateway device; wherein the adaptive link optimization process comprises: receiving first response packets returned by a plurality of the energy devices according to first probe packets sent by the gateway device through a first link, and obtaining first quality scores according to the first response packets; meanwhile, receiving second response packets returned by a plurality of the energy devices according to second probe packets sent by the gateway device through a second link, and obtaining second quality scores according to the second response packets; updating the link information table according to the first quality scores and the second quality scores; and when a communication task is executed, determining a target link according to a preset link optimization strategy and the link information table.

9. A gateway device, characterized by Comprise: At least one processor; And The memory is in communication connection with the at least one processor; wherein The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the method of any one of claims 1-7.

10. A non-transitory computer readable storage medium, comprising: The non-volatile computer readable storage medium stores computer executable instructions, when the computer executable instructions are executed by the gateway device, the gateway device executes the method of any one of claims 1-7. The non-volatile computer readable storage medium stores computer executable instructions, when the computer executable instructions are executed by the gateway device, the gateway device executes the method of any one of claims 1-7.

Citation Information

Patent Citations

  • Intelligent routing method, electronic equipment and storage medium

    CN111654440A

  • Communication link establishment method and device, storage medium and product

    CN120091055A