Communication methods, systems, devices, and media based on short-range one-to-one Ethernet
By constructing a linkage relationship table and generating address-based linkage wake-up frames, only edge nodes associated with the trigger source are woken up, solving the high power consumption problem caused by global broadcast wake-up. This achieves low-power, fast-response edge node wake-up and extends battery life.
Patent Information
- Application Number
- CN202611420303.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-14
- Publication Date
- 2026-11-17
AI Technical Summary
The existing 10BASE-T1S standard's global broadcast wake-up mechanism wakes up all edge nodes when the car is off or industrial equipment is in standby mode, resulting in high power consumption and affecting battery life.
Edge node information is obtained through a short-range, single-pair Ethernet topology discovery protocol, a linkage relationship table is constructed, and an address-based linkage wake-up frame is generated to wake up only the edge dormant nodes associated with the trigger source. The linkage wake-up module is then used for precise wake-up.
It reduces wake-up power consumption, extends battery life, achieves millisecond-level wake-up response, meets the real-time requirements of automotive and industrial scenarios, and reduces node standby power consumption by 60%-80%.
Smart Images

Figure CN123123179A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technology, and in particular to a communication method, system, device and medium based on short-range single-pair Ethernet. Background Technology
[0002] 10BASE-T1S (Short-Range Single-Pair Ethernet) is a single-pair twisted-pair, 10Mbps half-duplex, multi-point bus-type automotive / industrial Ethernet technology defined by the IEEE 802.3cg standard for automotive and industrial scenarios. Its core advantages are low cost, low power consumption, strong EMC (Electromagnetic Compatibility), and support for PLAC (Physical Layer Collision Avoidance). It is compatible with "central-area" distributed electronic and electrical architectures and can replace traditional CAN (Controller Area Network) / LIN (Local Interconnect Network) buses to enable Ethernet access for edge nodes (edge sensors / actuators).
[0003] In low-power scenarios such as vehicle shutdown and industrial equipment standby, edge nodes (such as vehicle body sensors and onboard controllers) need to maintain a low-power standby state for extended periods while meeting millisecond-level wake-up response and real-time communication requirements. The existing 10BASE-T1S standard defines a global broadcast wake-up mechanism, where the master node / switch sends a global WUP (Wake-Up Pulse), synchronously waking up all edge nodes on the bus.
[0004] However, the global broadcast wake-up mechanism will also wake up unrelated nodes on the bus, resulting in higher power consumption and affecting battery life. Summary of the Invention
[0005] In view of the above problems, this application is made to provide a method, system, device and medium for waking up edge nodes to solve the above problems, which can wake up only edge dormant nodes associated with the trigger source and not wake up unrelated edge dormant nodes, thereby reducing wake-up power consumption and extending battery life.
[0006] In a first aspect, this application provides a communication method based on short-range one-to-one Ethernet, applied to a master control node, the method comprising: The topology discovery protocol of short-range single-pair Ethernet is used to obtain information on all edge nodes and construct a linkage table based on the information. The information includes MAC addresses, and the edge nodes include edge dormant nodes and edge trigger nodes. If a wake-up request frame is received from the edge trigger node, the edge dormant node to be woken up is determined according to the wake-up request frame and the linkage relationship table, and is designated as an edge associated node; the wake-up request frame includes the trigger source address and the trigger event type; Generate an address-based linkage wake-up frame containing the MAC address of the edge associated node, and send the address-based linkage wake-up frame to the linkage wake-up module of the corresponding edge associated node, so that when the linkage wake-up module receives the address-based linkage wake-up frame and determines that the MAC address in the address-based linkage wake-up frame matches the MAC address of the edge associated node, it wakes up the corresponding edge associated node.
[0007] Optionally, the linkage wake-up module that sends the addressed linkage wake-up frame to the corresponding edge-associated node includes: The addressed linkage wake-up frames are sent sequentially to the linkage wake-up modules of the corresponding edge-related nodes in a preset order.
[0008] Optionally, after sending the addressed linkage wake-up frame to the linkage wake-up module, the method further includes: Starting from sending the addressed linkage wake-up frame to the linkage wake-up module of each edge associated node, after a preset time, if a wake-up success command is received, business data interaction is performed with the wake-up node, which is the edge associated node that has been woken up. After completing the business data interaction with the wake-up node, a sleep command is generated and sent to the sleep module of the wake-up node so that the sleep module controls the wake-up node to sleep. The wake-up success instruction is sent by the linkage wake-up module to the main control node when it detects that the wake-up node is in a communication and working state.
[0009] Optionally, after sending the addressed linkage wake-up frame to the linkage wake-up module, the method further includes: Under normal communication conditions, starting from sending the address-based linkage wake-up frame to the linkage wake-up module of each edge associated node, if the wake-up success instruction is not received after a preset time, the address-based linkage wake-up frame is resent to the linkage wake-up module that did not send the wake-up success instruction.
[0010] Optionally, the method further includes: In the event of a communication failure, if the addressed linkage wake-up frame is not received after a preset time period following the sending of the linkage wake-up frame to the linkage wake-up module, a global wake-up pulse is generated and sent to the linkage wake-up modules of all edge dormant nodes, so that the linkage wake-up modules of all edge dormant nodes wake up the corresponding edge dormant nodes upon receiving the global wake-up pulse.
[0011] Secondly, this application provides a communication device based on short-range single-pair Ethernet, comprising: a memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the computer instructions to perform the method described in the first aspect.
[0012] Thirdly, this application provides a communication system based on short-range single-pair Ethernet, the system comprising: the communication device based on short-range single-pair Ethernet as described in the second aspect and an edge node, the edge node including an edge sleep node and an edge trigger node, and the edge associated node including a linkage wake-up module. The edge trigger node is used to send a wake-up request frame to the communication device based on short-range single-pair Ethernet when triggered; the wake-up request frame includes a trigger source address and a trigger event type; The linkage wake-up module is used to match the address-based linkage wake-up frame with the MAC address of the corresponding edge associated node when it receives the address-based linkage wake-up frame sent by the communication device based on short-range single-pair Ethernet. If it is determined that the MAC address in the address-based linkage wake-up frame matches the MAC address of the edge associated node, the corresponding edge associated node is woken up.
[0013] Optionally, when the corresponding edge-associated node is detected to be in a communication and working state, a wake-up success command is sent to the communication device based on short-range single-pair Ethernet.
[0014] Optionally, the linkage wake-up module is further used for: If it is determined that the MAC address in the address-based linkage wake-up frame does not match the MAC address of the edge-associated node, then the corresponding edge-associated node is controlled to remain in sleep mode.
[0015] Fourthly, this application provides a computer-readable storage medium storing computer instructions for causing the computer to perform the method described in the first aspect.
[0016] The technical solutions provided in this application embodiment have at least the following technical effects or advantages: This application provides a communication method, system, device, and medium based on short-range single-pair Ethernet. The main control node uses the topology discovery protocol of short-range single-pair Ethernet to obtain information about all edge nodes and constructs a linkage relationship table based on this information to obtain the association relationships between each edge node. If a wake-up request frame is received from an edge trigger node, the edge dormant node to be woken up is determined based on the wake-up request frame and the linkage relationship table, and is designated as an edge associated node, i.e., the edge dormant node associated with the trigger source is identified. An address-based linkage wake-up frame containing the MAC address of the edge associated node is generated and sent to the linkage wake-up module of the corresponding edge associated node. When the linkage wake-up module receives the address-based linkage wake-up frame and determines that the MAC address in the address-based linkage wake-up frame matches the MAC address of the edge associated node, it wakes up the corresponding edge associated node. This method can wake up only the edge dormant node associated with the trigger source, without waking up unrelated edge dormant nodes, reducing wake-up power consumption and extending battery life. The information includes MAC addresses, the edge nodes include edge dormant nodes and edge trigger nodes, and the wake-up request frame includes the trigger source address and the trigger event type.
[0017] The above description is only an overview of the technical solution of this application. In order to better understand the technical means of this application and to implement it in accordance with the contents of the specification, and to make the above and other objects, features and advantages of this application more obvious and understandable, specific embodiments of this application are given below. Attached Figure Description
[0018] Various other advantages and benefits will become apparent to those skilled in the art upon reading the following detailed description of preferred embodiments. The accompanying drawings are for illustrative purposes only and are not intended to limit the scope of this application. Furthermore, the same reference numerals denote the same parts throughout the drawings. In the drawings: Figure 1 This is a flowchart illustrating a communication method based on short-range single-pair Ethernet provided in an embodiment of this application; Figure 2 This is a structural block diagram of a communication system based on short-range single-pair Ethernet provided in an embodiment of this application. Detailed Implementation
[0019] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings. It should be understood that the embodiments of this disclosure and the specific features in the embodiments are detailed descriptions of the technical solutions of this application, rather than limitations on the technical solutions of this application. Unless otherwise specified, the embodiments of this application and the technical features in the embodiments can be combined with each other.
[0020] Figure 1 This is a flowchart illustrating a short-range, one-to-one Ethernet communication method provided in an embodiment of this application. The method is applied to a master control node, which can be a central controller or a domain controller, such as... Figure 1 As shown, the method includes: Step S110: Obtain information on all edge nodes through the topology discovery protocol of short-range single-pair Ethernet, and construct a linkage relationship table based on the information.
[0021] The information includes the MAC address.
[0022] In this embodiment, the communication method based on short-range single-pair Ethernet is applicable to a short-range single-pair Ethernet communication system. The system includes a master control node and edge nodes. The edge nodes include edge dormant nodes and edge trigger nodes. An edge dormant node refers to a dormant edge node, and an edge trigger node refers to a non-dormant edge node.
[0023] After the system is powered on, the main control node obtains information such as the MAC (Media Access Control) address, type (e.g., sensor class, actuator class, hybrid acquisition module), and service attributes (e.g., domain and service function, including cockpit, body, lighting, etc.) of all edge nodes through the 10BASE-T1S (short-range single-pair Ethernet) topology discovery protocol, and constructs a bus node topology table and linkage relationship table based on this information.
[0024] Among them, a directed acyclic graph can be used to model the linkage relationship according to the preset linkage rules. The linkage relationship table records the mutually related edge nodes. For example, a set of related nodes is: door sensor → door lock actuator → interior lighting.
[0025] In this embodiment, different linkage rules are configured for different business scenarios. Business scenarios include vehicle starting, industrial production lines, and other scenarios.
[0026] Step S120: If a wake-up request frame is received from the edge trigger node, the edge dormant node to be woken up is determined according to the wake-up request frame and the linkage relationship table, and is used as the edge associated node.
[0027] The wake-up request frame includes the trigger source address and the trigger event type. The edge trigger node includes a trigger module, which sends a wake-up request frame to the main control node when a wake-up trigger signal from the edge trigger node is detected.
[0028] In this embodiment, when all edge nodes enter deep low-power mode, the edge sleep nodes will enter sleep state, and only the 10BASE-T1S PHY linkage wake-up module is in working state, listening to the bus wake-up request frame. The standby power consumption of the linkage wake-up module is <120μW, which meets the OPEN Alliance low power target.
[0029] When an edge sleep node enters a deep low-power mode, if the triggering module detects a wake-up trigger signal from the edge trigger node, it will generate a wake-up request frame and send it to the main control node. The edge trigger node integrates a low-power comparator and a threshold detection circuit, supporting hardware interrupt triggering without requiring continuous CPU polling.
[0030] Specifically, the triggering module includes an event detection unit and a wake-up triggering unit. When the edge triggering node detects a valid service event (such as a door opening, temperature exceeding a threshold, or industrial I / O level), it generates a wake-up trigger signal. When the event detection unit receives the wake-up trigger signal, it determines the validity of the event. If the event is valid, it filters out interference signals from the wake-up trigger signal and generates a wake-up trigger event based on the filtered signal. The wake-up triggering unit encapsulates the wake-up trigger event into a 10BASE-T1S wake-up request frame and sends it to the master control node via the bus. This method uses the low-power transmission mode of the 10BASE-T1S PHY to send the wake-up request frame, ensuring that the wake-up request frame length is ≤64 bytes and the transmission power consumption is <1mW.
[0031] Next, if the master control node receives a wake-up request frame, it will query the linkage relationship table based on the wake-up request frame to determine the edge dormant node that needs to be woken up, and then treat the edge dormant node that needs to be woken up as an edge associated node.
[0032] Step S130: Generate the address-based linkage wake-up frame containing the MAC address of the edge associated node, and send the address-based linkage wake-up frame to the linkage wake-up module of the corresponding edge associated node, so that when the linkage wake-up module receives the address-based linkage wake-up frame and determines that the MAC address in the address-based linkage wake-up frame matches the MAC address of the edge associated node, it wakes up the corresponding edge associated node.
[0033] In this embodiment, the master control node generates an address-based linkage wake-up frame containing the MAC address of the edge associated node and sends the address-based linkage wake-up frame to the linkage wake-up module. The address-based linkage wake-up frame also includes a wake-up command.
[0034] Next, upon receiving the address-based wake-up frame, the linkage wake-up module parses the MAC address and wake-up command parameters within it. It then determines whether the MAC address in the frame matches the MAC address of the associated edge node, ignoring global broadcasts and irrelevant frames. If the MAC address matches, the corresponding edge node is woken up, transitioning it from deep sleep to active mode. This method only wakes up edge nodes associated with the trigger source, achieving linkage wake-up, while avoiding the wake-up of irrelevant edge nodes, thus saving energy.
[0035] The linkage wake-up module integrates an address matching hardware circuit for address matching, with a wake-up response time of <10ms; it supports adaptive switching of multi-level wake-up states (shallow sleep → deep sleep → shutdown).
[0036] Optionally, step S130 includes: The address-based linkage wake-up frames are sent sequentially to the linkage wake-up modules of the corresponding edge-related nodes in a preset order.
[0037] The preset order can be a PLCA (Physical Layer Collision Avoidance) scheduling order. For example, each edge node has a unique ID, and data is sent to its corresponding edge associated nodes in ascending order of ID. A wake-up priority can also be set for each edge node, and the wake-up order can be set according to the wake-up priority of the edge associated nodes to obtain the preset order.
[0038] In this embodiment, all edge-associated nodes are established in a preset order to form a linkage wake-up sequence, and address-based linkage wake-up frames are sent sequentially according to the linkage wake-up sequence, which can avoid bus conflicts caused by multiple nodes waking up simultaneously.
[0039] Optionally, after step S130, the method further includes: Starting from sending the addressed linkage wake-up frame to the linkage wake-up module of each edge associated node, after a preset time, if a wake-up success command is received, business data interaction is performed with the wake-up node, which is the edge associated node that has been woken up; after completing the business data interaction with the wake-up node, a sleep command is generated and sent to the sleep module of the wake-up node so that the sleep module controls the wake-up node to sleep.
[0040] The wake-up success instruction is sent by the linkage wake-up module to the main control node when it detects that the wake-up node is in a communication and working state.
[0041] In this embodiment, when the linkage wake-up module detects that the wake-up node is in a communication and working state, it indicates that the edge-related node has entered the working state after being woken up and has restored the communication parameters (e.g., PLCA timeslots, network configuration). At this time, a wake-up success command is generated and sent to the main control node. Key states are stored in non-volatile memory, and the wake-up recovery time is <5ms.
[0042] The main control node starts by sending an address-based linkage wake-up frame to the linkage wake-up module. After a preset time, if it receives a wake-up success command, it means that the wake-up node can interact with the main control node (such as sensor data upload and actuator control data). Therefore, the main control node will then interact with the wake-up node for business data.
[0043] After the main control node and the wake-up node complete the business data interaction, a sleep command is generated and sent to the sleep module of the wake-up node so that the sleep module can control the wake-up node to go back to sleep, thus saving power consumption.
[0044] In this embodiment of the application, after the main control node and the wake-up node complete the business data interaction, the wake-up node can also automatically enter a sleep state after a certain period of time.
[0045] Optionally, after step S130, the method further includes: Under normal communication conditions, starting from sending the address-based linkage wake-up frame to the linkage wake-up module of each edge associated node, if the wake-up success instruction is not received after a preset time, the address-based linkage wake-up frame is resent to the linkage wake-up module that did not send the wake-up success instruction.
[0046] Normal communication refers to a scenario where the bus, switch, and network topology are all functioning normally.
[0047] In this embodiment of the application, under normal communication conditions, if no wake-up success instruction is received after a preset time period following the sending of an address-based linkage wake-up frame to the linkage wake-up module of each edge associated node, it indicates that the edge associated node has not been woken up or has failed to start up after being woken up and has not entered the working state. In this case, an address-based linkage wake-up frame can be sent again to the linkage wake-up module of the edge linked node that has not been woken up, and these edge associated nodes can be woken up again.
[0048] Optionally, after step S130, the method further includes: In the event of a communication failure, starting from sending the addressed linkage wake-up frame to the linkage wake-up module of each edge associated node, if no wake-up success instruction is received after a preset time, a global wake-up pulse is generated and sent to the linkage wake-up module of all edge dormant nodes, so that the linkage wake-up module of all edge dormant nodes wakes up the corresponding edge dormant node after receiving the global wake-up pulse.
[0049] Among them, communication failures refer to failures such as bus failures, switch failures, and network topology anomalies.
[0050] In the embodiment of this application, in the event of a communication failure, starting from sending the addressed linkage wake-up frame to the linkage wake-up module of each edge associated node, if the main control node does not receive a wake-up success instruction after a preset time, a global wake-up is performed for safety reasons, waking up all edge dormant nodes to achieve global wake-up and ensure system reliability.
[0051] The main control node is compatible with the TC10 global wake-up pulse (WUP) mechanism and supports fallback wake-up.
[0052] The method in this application embodiment can achieve "on-demand wake-up, waking up only necessary edge nodes," with edge node standby power consumption <120μW and operating power consumption reduced by 60%-80%; it eliminates the power waste of global wake-up and extends the battery life of battery-powered equipment (e.g., reducing static current in automobiles by more than 50%). Through an event-triggered + address-based wake-up mechanism, it achieves millisecond-level wake-up response, with a wake-up response time <10ms, far superior to periodic polling (second-level); meeting the real-time requirements of automotive and industrial scenarios (e.g., door unlocking, emergency triggering on production lines). By constructing a "trigger-association" chain-linked wake-up logic, it perfectly adapts to complex business scenarios such as sensor-actuator and multi-node collaboration; it supports dynamic configuration of linkage rules without hardware modification, improving system flexibility. Ordered wake-up based on PLCA scheduling avoids conflicts and data collisions caused by simultaneous wake-up of multiple nodes; bus bandwidth utilization is improved by 30%-50%, and communication latency is <1ms, meeting industrial / automotive real-time standards. Fully compatible with 10BASE-T1S IEEE802.3cg and OPEN Alliance TC10 / TC14 standards, requiring no modification to the PHY hardware; deployment requires only a software upgrade, protecting existing hardware investments and reducing development and testing costs. The master control node centrally manages wake-up policies, supporting status monitoring, exception retries, and fallback mechanisms; reducing software complexity at edge nodes and improving overall system reliability and maintainability.
[0053] This invention also provides an electronic device that may include a processor and a memory, wherein the processor and the memory may be interconnected via a bus or other means.
[0054] The processor can be a central processing unit (CPU), or an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of this application, or it can be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or other chips, or combinations of the above types of chips.
[0055] Memory may include mass storage for data or instructions. For example, and not limitingly, memory may include hard disk drives (HDDs), floppy disk drives, flash memory, optical disks, magneto-optical disks, magnetic tape, or Universal Serial Bus (USB) drives, or combinations of two or more of these. Where appropriate, memory may include removable or non-removable (or fixed) media. Where appropriate, memory may be internal or external to an electronic device. In a particular embodiment, memory may be non-volatile solid-state memory.
[0056] In one instance, the memory may be read-only memory (ROM). In one instance, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically rewritable ROM (EAROM), or flash memory, or a combination of two or more of these.
[0057] The processor implements any of the short-range one-to-one Ethernet-based communication methods described in the above embodiments by reading and executing computer program instructions stored in memory.
[0058] In one example, the device may further include a communication interface and a bus. The processor, memory, and communication interface are connected via the bus to communicate with each other. The communication interface is primarily used to enable communication between the various modules, systems, units, and / or devices in the embodiments of this application. Where appropriate, the bus may include one or more buses.
[0059] Based on the same application concept, embodiments of the present invention also provide a communication method based on short-range single-pair Ethernet, applied to a linkage wake-up module, the method comprising: If an address-based wake-up frame is received, and it is determined that the MAC address in the address-based wake-up frame matches the local address of the edge-associated node, then the corresponding edge-associated node is woken up. The address-based linkage wake-up frame is sent by the main control node to the linkage wake-up module after receiving the wake-up request frame and determining the edge associated nodes to be woken up based on the wake-up request frame and the linkage relationship table. The address-based linkage wake-up frame contains the MAC address of the edge associated node. The linkage relationship table is constructed by the main control node after obtaining information about all edge nodes through the topology discovery protocol of short-range single-pair Ethernet. The information includes MAC address, type, and service attributes. The wake-up request frame is sent by the trigger module to the main control node when it detects the wake-up trigger signal of the edge trigger node. The wake-up request frame includes the trigger source address and trigger event type.
[0060] Based on the same concept, embodiments of the present invention also provide a communication system based on a short-range one-to-one Ethernet network system. Figure 2 This is a structural block diagram of a communication system based on a short-range single-pair Ethernet network system provided in an embodiment of this application, such as... Figure 2 As shown, the system 200 includes the aforementioned communication device 201 based on short-range single-pair Ethernet and edge nodes. The edge nodes include an edge sleep node 202 and an edge trigger node 203. The edge sleep node 202 includes a linkage wake-up module 20211. The edge trigger node 203 is used to send a wake-up request frame to the communication device based on short-range single-pair Ethernet when triggered; the wake-up request frame includes a trigger source address and a trigger event type; The linkage wake-up module 2021 is used to match the address-based linkage wake-up frame with the MAC address of the corresponding edge associated node when it receives the address-based linkage wake-up frame sent by the communication device based on short-range single-pair Ethernet. If it is determined that the MAC address in the address-based linkage wake-up frame matches the MAC address of the edge associated node, the corresponding edge associated node is woken up.
[0061] Optionally, the linkage wake-up module 2021 is further configured to send a wake-up success command to the communication device 201 based on short-range single-pair Ethernet when the corresponding edge associated node is detected to be in a communication and working state.
[0062] Optionally, the linkage wake-up module 2021 is also used for: If it is determined that the MAC address in the address-based wake-up frame does not match the MAC address of the edge-associated node, then the corresponding edge-associated node is controlled to remain in sleep mode.
[0063] Optionally, the communication device 201 based on short-range single-pair Ethernet is also used for: The address-based linkage wake-up frames are sent to the linkage wake-up modules of the corresponding edge-related nodes in a preset order.
[0064] Optionally, the communication device 201 based on short-range single-pair Ethernet is also used for: Under normal communication conditions, if no wake-up success command is received after a preset time period following the initial sending of the address-based linkage wake-up frame to the linkage wake-up module, the address-based linkage wake-up frame will be resent to the linkage wake-up module.
[0065] Optionally, the communication device 201 based on short-range single-pair Ethernet is also used for: In the event of a communication failure, if no wake-up success command is received after a preset time period following the sending of an address-based wake-up frame to the wake-up module, a global wake-up pulse is generated and sent to the wake-up module so that the wake-up module can wake up all dormant edge nodes upon receiving the global wake-up pulse.
[0066] It is understood that the system provided in the above embodiments is only illustrated by the division of the above functional modules. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the system can be divided into different functional modules to complete all or part of the functions described above.
[0067] Furthermore, in conjunction with the communication method based on short-range one-to-one Ethernet in the above embodiments, this invention can be implemented using a computer-readable storage medium. This computer-readable storage medium stores computer program instructions; when executed by a processor, these computer program instructions implement any of the communication methods based on short-range one-to-one Ethernet in the above embodiments.
[0068] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, it can include the processes of the embodiments of the methods described above. The storage medium can be read-only memory (ROM), random access memory (RAM), flash memory, hard disk drive (HDD), or solid-state drive (SSD), etc.; the storage medium can also include combinations of the above types of memory.
[0069] The technical solutions described in the embodiments of this application above have at least the following technical effects or advantages: This application provides a communication method, system, device, and medium based on short-range single-pair Ethernet. The main control node uses the topology discovery protocol of short-range single-pair Ethernet to obtain information about all edge nodes and constructs a linkage relationship table based on this information to obtain the association relationships between each edge node. If a wake-up request frame is received from an edge trigger node, the edge dormant node to be woken up is determined based on the wake-up request frame and the linkage relationship table, and is designated as an edge associated node, i.e., the edge dormant node associated with the trigger source is identified. An address-based linkage wake-up frame containing the MAC address of the edge associated node is generated and sent to the linkage wake-up module of the corresponding edge associated node. When the linkage wake-up module receives the address-based linkage wake-up frame and determines that the MAC address in the address-based linkage wake-up frame matches the MAC address of the edge associated node, it wakes up the corresponding edge associated node. This method can wake up only the edge dormant node associated with the trigger source, without waking up unrelated edge dormant nodes, reducing wake-up power consumption and extending battery life. The information includes MAC addresses, the edge nodes include edge dormant nodes and edge trigger nodes, and the wake-up request frame includes the trigger source address and the trigger event type.
[0070] Numerous specific details are set forth in the specification provided herein. However, it will be understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures, and techniques have not been shown in detail so as not to obscure the understanding of this specification.
[0071] Similarly, it should be understood that, in order to simplify this disclosure and aid in understanding one or more of the various aspects of the invention, in the above description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof. However, this method of disclosure should not be construed as reflecting an intention that the claimed invention requires more features than are expressly recited in each claim. Rather, as reflected in the following claims, inventive aspects lie in fewer than all features of a single foregoing disclosed embodiment. Therefore, the claims following the detailed description are hereby expressly incorporated into this detailed description, wherein each claim itself is a separate embodiment of the invention.
[0072] It should be noted that the above embodiments are illustrative of the invention and not restrictive, and that those skilled in the art can devise alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses should not be construed as limiting the claims. The word "comprising" does not exclude the presence of components or steps not listed in a claim. The word "a" or "an" preceding a component does not exclude the presence of a plurality of such components. The invention can be implemented by means of hardware comprising several different components and by means of a suitably programmed computer. In the unit claims enumerating several systems, several of these systems may be embodied by the same item of hardware. The use of the words first, second, and third, etc., does not indicate any order. These words can be interpreted as names.
Claims
1. A communication method based on short distance single pair Ethernet, characterized by, Applied to the master control node, the method includes: The topology discovery protocol of short-range single-pair Ethernet is used to obtain information on all edge nodes and construct a linkage table based on the information. The information includes MAC addresses, and the edge nodes include edge dormant nodes and edge trigger nodes. If a wake-up request frame is received from the edge trigger node, the edge dormant node to be woken up is determined according to the wake-up request frame and the linkage relationship table, and is designated as an edge associated node; the wake-up request frame includes the trigger source address and the trigger event type; Generate an address-based linkage wake-up frame containing the MAC address of the edge associated node, and send the address-based linkage wake-up frame to the linkage wake-up module of the corresponding edge associated node, so that when the linkage wake-up module receives the address-based linkage wake-up frame and determines that the MAC address in the address-based linkage wake-up frame matches the MAC address of the edge associated node, it wakes up the corresponding edge associated node.
2. The short-range single-pair Ethernet based communication method according to claim 1, characterized in that, The linkage wake-up module that sends the addressed linkage wake-up frame to the corresponding edge-related node includes: The addressed linkage wake-up frames are sent sequentially to the linkage wake-up modules of the corresponding edge-related nodes in a preset order.
3. The short-range single-pair Ethernet based communication method according to claim 1, wherein, After sending the addressed linkage wake-up frame to the linkage wake-up module, the method further includes: Starting from sending the addressed linkage wake-up frame to the linkage wake-up module of each edge associated node, after a preset time, if a wake-up success command is received, business data interaction is performed with the wake-up node, which is the edge associated node that has been woken up. After completing the business data interaction with the wake-up node, a sleep command is generated and sent to the sleep module of the wake-up node so that the sleep module controls the wake-up node to sleep. The wake-up success instruction is sent by the linkage wake-up module to the main control node when it detects that the wake-up node is in a communication and working state.
4. The short-range single-pair Ethernet based communication method according to claim 3, wherein, After sending the addressed linkage wake-up frame to the linkage wake-up module, the method further includes: Under normal communication conditions, starting from sending the address-based linkage wake-up frame to the linkage wake-up module of each edge associated node, if the wake-up success instruction is not received after a preset time, the address-based linkage wake-up frame is resent to the linkage wake-up module that did not send the wake-up success instruction.
5. The short-range single-pair Ethernet based communication method according to claim 1, wherein, After sending the addressed linkage wake-up frame to the linkage wake-up module, the method further includes: In the event of a communication failure, starting from sending the addressed linkage wake-up frame to the linkage wake-up module of each edge associated node, if no wake-up success instruction is received after a preset time, a global wake-up pulse is generated and sent to the linkage wake-up module of all edge dormant nodes, so that the linkage wake-up module of all edge dormant nodes wakes up the corresponding edge dormant node after receiving the global wake-up pulse.
6. A communication device based on short-range single-pair Ethernet, characterized in that include: A memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, the processor executing the computer instructions to perform the method of any one of claims 1-5.
7. A communication system of a short distance single pair Ethernet based network system, characterized in that, characterized in that, The system includes: the communication device based on short-range single-pair Ethernet as described in claim 6 and an edge node, wherein the edge node includes an edge sleep node and an edge trigger node, and the edge sleep node includes a linkage wake-up module. The edge trigger node is used to send a wake-up request frame to the communication device based on short-range single-pair Ethernet when triggered; the wake-up request frame includes a trigger source address and a trigger event type; The linkage wake-up module is used to match the address-based linkage wake-up frame with the MAC address of the corresponding edge associated node when it receives the address-based linkage wake-up frame sent by the communication device based on short-range single-pair Ethernet. If it is determined that the MAC address in the address-based linkage wake-up frame matches the MAC address of the edge associated node, the corresponding edge associated node is woken up.
8. The short-range single-pair Ethernet based communication system according to claim 7, characterized by The linkage wake-up module is also used to send a wake-up success command to the communication device based on short-range single-pair Ethernet when it detects that the corresponding edge associated node is in a communication and working state.
9. The short-range single-pair Ethernet based communication system according to claim 7, characterized by The linkage wake-up module is further configured to control the corresponding edge-associated node to remain in sleep mode if it is determined that the MAC address in the address-based linkage wake-up frame does not match the MAC address of the edge-associated node.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions for causing the computer to perform the method of any one of claims 1-5.
