Communication method of construction machine

CN122554865APending Publication Date: 2026-08-11ZOOMLION HEAVY INDUSTRY SCIENCE AND TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-03-27
Publication Date
2026-08-11

AI Technical Summary

Technical Problem

当多台设备按同一频率通信或同时尝试入网时,容易产生数据碰撞和干扰,导致信息丢失,影响通信效率和网络稳定性

Benefits of technology

[0022] The above-mentioned technical solution of the present invention automatically elects a new temporary host and reconstructs the communication network through a node election mechanism, eliminating the need for frequent manual configuration and intervention by engineers. This reduces the technical requirements for on-site operators, simplifies the startup and maintenance process of collaborative operations, eliminates the risk of network-wide paralysis due to host failure in traditional master-slave networks, and maintains a stable data transmission success rate even in high-density communication scenarios, making the communication network more reliable and improving its overall robustness.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122554865A_ABST
    Figure CN122554865A_ABST
Patent Text Reader

Abstract

This invention relates to the field of communication in construction machinery, and discloses a communication method for construction machinery. The communication method includes: acquiring scoring information of communication nodes of all construction machinery in the network; comparing the score of the current communication node with the scores of other communication nodes based on the scoring information; when the current communication node has the highest score, it is designated as a temporary host to control communication between different construction machinery, and the temporary host first sends a broadcast message to other communication nodes indicating that it has been elected as the temporary host, with the other communication nodes in this round of communication in the network acting as slaves; wherein, after each preset detection time, the temporary host sends status information to other communication nodes to reset their election timers. The method provided by this invention simplifies the maintenance of the communication network and improves its robustness.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of communication in engineering machinery, and more particularly to a communication method for engineering machinery. Background Technology

[0002] In the field of multi-machine collaborative operation of construction machinery, especially in the joint lifting operations of large cranes, in order to improve operational safety and efficiency, multiple construction machines usually communicate through a wireless ad hoc network. Current networking schemes include: First, based on TDMA-based autonomous sorting polling, each node in the network is sorted according to its network ID and sends data sequentially within a time frame period.

[0003] Second, based on master-slave collaborative networking, this scheme selects one device as the master, which creates a queue containing room number, password and quantity, and other devices as slaves. They enter the network by verifying the data broadcast by the master, and then the devices exchange data information with each other.

[0004] Although the above solution has enabled collaborative communication between multiple construction machines, it still has the following shortcomings: 1. Communication interference and data collisions. When multiple devices communicate on the same frequency or attempt to join the network simultaneously, data collisions and interference are likely to occur, leading to information loss and affecting communication efficiency and network stability.

[0005] 2. Single point of failure is prone to occur in master-slave networks. If the master fails, the entire network may be affected, resulting in the inability to work normally or the need for manual intervention to reset, which affects the continuity and security of operations.

[0006] 3. When a node in the communication network experiences a sudden communication interruption, the existing communication scheme relies too heavily on preset time thresholds for judgment, resulting in longer network latency and potentially causing network paralysis or incorrect reconstruction. The fault tolerance and reconstruction mechanism of the communication network is insufficient and lacks intelligent adaptability.

[0007] 4. Most existing solutions trigger alarms based on preset boundary conditions (such as a fixed threshold or value), lacking real-time dynamic adjustment and graded response strategies for different operating conditions. This may lead to frequent false alarms or unnecessary downtime, reducing production efficiency, and the safety control strategy lacks dynamic adaptability. Summary of the Invention

[0008] This invention provides a communication method for engineering machinery to solve at least one of the above-mentioned problems.

[0009] In a first aspect, embodiments of the present invention provide a communication method for construction machinery. This communication method is applied to a temporary host in a network constructed by communication devices equipped with multiple construction machinery. The method includes: acquiring the scoring information of communication nodes of all construction machinery in the network; comparing the score of the current communication node with the scores of other communication nodes based on the scoring information; when the score of the current communication node is the highest, designating the current communication node as a temporary host to control the communication between different construction machinery; and the temporary host first sends a broadcast message to other communication nodes indicating that the current communication node has been elected as the temporary host, with the other communication nodes in the current round of communication in the network acting as slaves; wherein, after each preset detection time, the temporary host sends status information to other communication nodes to reset the election timers of the other communication nodes.

[0010] Optionally, the communication method for the construction machinery also includes: after each preset scoring time, the temporary host obtains the selection score sent by other communication nodes; during idle communication periods, the temporary host compares its own selection score with the selection scores of other communication nodes, and if there are other communication nodes with higher scores, the temporary host's temporary host status is cancelled.

[0011] Optionally, when the temporary host communicates with other communication nodes, the communication method of the construction machinery further includes: dividing a communication time frame period when the temporary host communicates with other communication nodes into multiple consecutive micro-time slot units; generating a dynamic time slot allocation table including a dynamic time slot allocation strategy based on the data transmission requests received from all communication nodes, so as to determine the micro-time slot unit corresponding to the transmission time of the data transmission request of each communication node; and transmitting the working condition data of the construction machinery where the corresponding communication node is located during the time period corresponding to each micro-time slot unit.

[0012] Optionally, the communication method for the construction machinery also includes: acquiring network latency data, packet loss rate data, and inbound / outbound frequency data for each communication node; and updating the dynamic time slot allocation table based on the network latency data, packet loss rate data, and inbound / outbound frequency data for each communication node to obtain an optimized dynamic time slot allocation strategy.

[0013] Optionally, the communication method for the construction machinery further includes: after receiving data transmission requests from all communication nodes, allocating the micro-time slot units corresponding to each communication node when transmitting data according to a preset priority rule, and updating the dynamic time slot allocation table; after determining the micro-time slot units of each communication node, sending the updated dynamic time slot allocation table to each communication node, so that each communication node transmits the working condition data of the construction machinery where the communication node is located at the corresponding time.

[0014] Optionally, the communication method for engineering machinery further includes: obtaining the occupancy information of the data transmission channel of the network; based on the occupancy information, detecting whether the communication node actually occupying each micro-time slot unit is the same as the communication node allocated by the dynamic time slot allocation table; if they are different, allocating the occupied micro-time slot unit to the communication node corresponding to the dynamic time slot allocation table.

[0015] Optionally, based on a preset priority rule, unoccupied micro-time slot units are allocated to corresponding communication nodes according to their priority; wherein, the priority rule includes determining the priority of each data transmission request based on the order in which the temporary host receives data transmission requests from each communication node and / or based on the urgency weight value of the data transmission request.

[0016] Secondly, embodiments of the present invention provide a communication method for engineering machinery. This communication method is applied to all slave machines in a network constructed by communication devices equipped with multiple engineering machines. The method includes: in response to the initialization of the communication network of the network, all communication nodes of the engineering machines participating in the communication send their own parameter information to other communication nodes, and generate scoring information for each communication node in the network based on a preset scoring rule; after receiving broadcast information from other communication nodes indicating that it has been elected as a temporary host based on the scoring information, the communication node takes itself as a slave machine in the current round of communication in the network; after each preset detection time, the communication node receives status information sent by the temporary host to reset the election timer of the communication node; if no status information is received after the preset election time, the communication node re-elects a temporary host.

[0017] Optionally, if no status information is received after a preset election time, the steps for this communication node to re-elect a temporary host include: this communication node starts timing after startup; if no status information is received after a preset election time, this communication node performs an election vote; when performing the election vote, it first votes for itself, and then sends a voting request to other communication nodes, requesting other communication nodes to vote for this communication node; when the number of votes received by this communication node reaches a preset proportion of the total number of votes, this communication node is designated as a new temporary host to control communication between different engineering machines, and the other communication nodes in this round of communication in this network are designated as slaves, and the temporary host first sends a broadcast message to all slaves that this communication node has been elected as the temporary host.

[0018] Optionally, the communication method for construction machinery further includes: after receiving working condition data from another communication node on the construction machinery where the communication node is located, the communication node verifies the received working condition data on the construction machinery where the communication node is located using a hash algorithm; based on the verified data, a dynamic risk assessment is performed on the two construction machinery transmitting data using a pre-acquired working condition model, and a risk assessment result is generated; based on the risk assessment result, the risk level between the two construction machinery is determined, and a corresponding risk warning command is generated to control the corresponding construction machinery actions.

[0019] Thirdly, embodiments of the present invention provide an electronic device, including: a processor and a memory, wherein the memory stores instructions; the processor invokes the instructions in the memory to cause the processor to execute the communication method of engineering machinery according to any of the foregoing embodiments of the first aspect of the present invention, and the communication method of engineering machinery according to any of the foregoing embodiments of the second aspect of the present invention.

[0020] Fourthly, embodiments of the present invention provide a computer-readable storage medium storing instructions that, when executed by a processor, implement the communication method of the engineering machinery according to any of the foregoing embodiments of the first aspect of the present invention, and the communication method of the engineering machinery according to any of the foregoing embodiments of the second aspect of the present invention.

[0021] Fifthly, embodiments of the present invention provide a computer program product, which includes a computer program that, when executed by a processor, implements the communication method of the engineering machinery according to any of the foregoing embodiments of the first aspect of the present invention, and the communication method of the engineering machinery according to any of the foregoing embodiments of the second aspect of the present invention.

[0022] The above-mentioned technical solution of the present invention automatically elects a new temporary host and reconstructs the communication network through a node election mechanism, eliminating the need for frequent manual configuration and intervention by engineers. This reduces the technical requirements for on-site operators, simplifies the startup and maintenance process of collaborative operations, eliminates the risk of network-wide paralysis due to host failure in traditional master-slave networks, and maintains a stable data transmission success rate even in high-density communication scenarios, making the communication network more reliable and improving its overall robustness. Attached Figure Description

[0023] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on the structures shown in these drawings without creative effort.

[0024] Figure 1This is a flowchart of a first embodiment of the communication method for engineering machinery used in a temporary host according to the present invention; Figure 2 This is a flowchart of step S120 in the first embodiment of the communication method for engineering machinery used as a temporary host according to the present invention; Figure 3 This is a flowchart of step S130 in the first embodiment of the communication method for engineering machinery used as a temporary host according to the present invention; Figure 4 This is a flowchart of step S131 in the first embodiment of the communication method for engineering machinery used as a temporary host according to the present invention; Figure 5 This is a flowchart of a second embodiment of the communication method for engineering machinery used in a temporary host according to the present invention; Figure 6 This is a flowchart of a first embodiment of the communication method for a slave device in engineering machinery according to the present invention; Figure 7 This is a flowchart of step S340 in the first embodiment of the communication method for slave engineering machinery of the present invention; Figure 8 This is a flowchart of a second embodiment of the communication method for a slave machine in engineering machinery according to the present invention; Figure 9 This is a timing diagram of the election of a temporary host among multiple communication nodes during the initialization of the communication network in the communication method for engineering machinery used as a slave device according to the present invention. Figure 10 This is a timing diagram for re-electing a new temporary host when the temporary host fails in the communication method for slave-machine engineering machinery of the present invention; Figure 11 This is a timing diagram of the re-election of a new temporary host based on a score in the communication method for slave-machine engineering machinery of the present invention; Figure 12 This is a structural block diagram of one embodiment of the electronic device of the present invention.

[0025] Explanation of icon numbers: 100 - Communication Node; 200 - Temporary Host; 300 - Slave; 201 - Processor; 202 - Memory; 203 - Communication interface; 204 - Bus. Detailed Implementation

[0026] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0027] It should be noted that all directional indications in the embodiments of the present invention, such as up, down, left, right, front, back, etc., are only used to explain the relative positional relationship and movement of the components in a specific posture as shown in the attached figure. If the specific posture changes, the directional indication will also change accordingly.

[0028] Furthermore, the use of terms such as "first" and "second" in this invention is for descriptive purposes only and should not be construed as indicating or implying their relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined with "first" or "second" may explicitly or implicitly include at least one of that feature. Additionally, the technical solutions of the various embodiments can be combined with each other, but only on the basis of being achievable by those skilled in the art. When the combination of technical solutions is contradictory or impossible to implement, such a combination of technical solutions should be considered non-existent and not within the scope of protection claimed by this invention.

[0029] For ease of understanding, the communication method of the construction machinery in the embodiments of the present invention will be described below. The communication method of the construction machinery in the embodiments of the present invention is applied to a temporary host in a network constructed by communication devices equipped with multiple construction machines.

[0030] like Figure 1 As shown, the communication method for engineering machinery in this embodiment of the invention includes steps S110 to S120.

[0031] In step S110, the scoring information of the communication nodes of all engineering machinery in this network is obtained.

[0032] In this embodiment, before multiple construction machines communicate with each other, the communication network is initialized. After the communication nodes of all construction machines are connected to each other, all nodes participating in the communication broadcast their own scoring information in the communication network, so that each communication node can obtain the scoring information of all communication nodes installed on the construction machines that are responsible for the communication network connection.

[0033] In this embodiment, the scoring information includes the communication signal strength and core computing power of the communication node.

[0034] In step S120, based on the scoring information, the score of this communication node is compared with the scores of other communication nodes. When the score of this communication node is the highest, this communication node is designated as a temporary host to control the communication between different engineering machines. The temporary host first sends a broadcast message to other communication nodes that this communication node has been elected as the temporary host. The other communication nodes in this round of communication in this network are designated as slaves.

[0035] Each time a preset detection period has elapsed, the temporary host sends a status message to other communication nodes to reset their election timers.

[0036] In this embodiment, the communication devices equipped with multiple construction machines form a network, and each communication device equipped with a construction machine corresponds to a communication node.

[0037] According to a preset scoring rule, all communication nodes automatically elect the device with the strongest current signal as a temporary host. The scoring rule is based on the signal strength of each communication node, with a higher signal strength resulting in a higher score.

[0038] When a communication node detects that it has the highest score among all communication nodes, it is automatically elected as the temporary host. The other communication nodes in this network are referred to as slaves in this round of communication. The temporary host first sends a broadcast message to all slaves to notify that it has been elected as the temporary host.

[0039] After being elected as a temporary host, this temporary host is responsible for the management of network configuration, time slot allocation, and other tasks in the subsequent communication network, so as to realize the configuration of network parameters and the scheduling of time slots when communicating between different communication nodes.

[0040] Time slot scheduling during communication between different communication nodes is used to solve the data collision problem in multi-machine communication and improve network efficiency.

[0041] This embodiment provides an intelligent time slot scheduling mechanism, in which the temporary host generates a basic time allocation table based on the number of communication nodes currently connected to the communication network.

[0042] During the operation of the communication network, each communication node does not occupy a fixed time slot. Instead, if a communication node of a certain construction machinery has an urgent need to send a large amount of data, the communication node can apply to the temporary host or through a negotiation mechanism for an additional or higher priority communication time window. The specific implementation of this time slot scheduling mechanism is as follows.

[0043] like Figure 2 As shown, specifically, when the temporary host communicates with other communication nodes, step S120 includes steps S121 to S123.

[0044] In step S121, a communication time frame period when the temporary host communicates with other communication nodes is divided into multiple consecutive micro-time slot units.

[0045] In step S122, based on the data transmission requests received from all communication nodes, a dynamic time slot allocation table including a dynamic time slot allocation strategy is generated to determine the micro-time slot unit corresponding to the transmission time of the data transmission request of each communication node.

[0046] In step S123, during the time period corresponding to each micro-time slot unit, the operating condition data of the engineering machinery where the corresponding communication node is located is transmitted.

[0047] In this embodiment, the time slot resources are first abstracted. For example, a 300ms communication time frame period is taken as a continuous and dynamically divisible time slot resource pool, and the time frame period is divided into 30 10ms micro-time slot units.

[0048] Subsequently, when any slave device, such as the slave device with node ID 5, has working condition data from the construction machinery where the communication node is located that needs to be sent, it no longer passively waits for a fixed number of rounds, but actively sends a data transmission request to the current temporary host. This data transmission request is a lightweight time slot request packet, which includes the node ID of this communication node, the data priority identifier (for example, 0x01 represents normal working condition data, and 0xFF represents emergency stop command), and the expected transmission time window calculated based on historical communication delays.

[0049] Next, after receiving all requests from the slave devices, the temporary host generates a dynamic timeslot allocation table. Through this table, the temporary host intelligently arbitrates the network-wide requests and allocates a corresponding micro-timeslot unit to each slave device for sending the operating data of the communication node on the construction machinery. Data is then sent within the time window corresponding to the micro-timeslot unit to avoid timeslot conflicts.

[0050] For example, after arbitration is completed, the temporary host broadcasts a time slot allocation instruction data packet to the entire communication network. This time slot allocation instruction specifies that "the authorized node 5 shall send data in the 15th to 18th micro-time slots of this frame period", thereby allocating a time window for each slave to send data and avoiding conflicts with other slaves.

[0051] In this embodiment, each communication node will deploy and maintain a time slot allocation occupancy table locally. After receiving the broadcast time slot allocation instruction data packet, all communication nodes, including the communication node that applied for communication and other communication nodes, will receive the allocation instruction through the time slot allocation instruction data packet and immediately mark the corresponding time slot (15th to 18th micro-time slots) as "occupied by node 5" on their local time slot allocation occupancy table.

[0052] like Figure 3 As shown, in another embodiment of the present invention, the communication method of the engineering machinery of the present invention further includes steps S131 to S132.

[0053] In step S131, after receiving data transmission requests from all communication nodes, the micro-time slot units corresponding to each communication node for data transmission are allocated according to the preset priority rules, and the dynamic time slot allocation table is updated.

[0054] In step S132, after determining the micro-timeslot unit of each communication node, an updated dynamic timeslot allocation table is sent to each communication node, so that each communication node transmits the working condition data of the engineering machinery where the communication node is located at the corresponding time.

[0055] Specifically, when allocating the micro-timeslot units corresponding to each communication node for data transmission according to the preset priority rules, the occupancy information of the data transmission channel in this network is obtained. Based on the occupancy information, it is detected whether the communication node actually occupying each micro-timeslot unit is the same as the communication node allocated by the dynamic timeslot allocation table. If they are different, the occupied micro-timeslot unit is allocated to the communication node corresponding to the dynamic timeslot allocation table.

[0056] In this embodiment, based on a preset priority rule, unoccupied micro-time slot units are allocated to the corresponding communication nodes according to their priority.

[0057] The priority rules include determining the priority of each data transmission request based on the order in which the temporary host receives data transmission requests from each communication node and / or based on the urgency weight value of the data transmission request.

[0058] For example, when no emergency instructions are received, micro-time slot units are allocated according to the order in which each communication node receives data transmission requests from the temporary host in the priority rules. That is, the "first come, first served" standard is followed. The communication node that sends the data transmission request first transmits the working condition data of the engineering machinery where the communication node is located first, and the communication node that sends the data transmission request later transmits the working condition data of the engineering machinery where the communication node is located later.

[0059] When a data transmission request includes an emergency instruction, such as when one or more pieces of construction machinery need to be stopped urgently, the emergency instruction will include an emergency weight value to determine the urgency of the instruction. Emergency instructions will be sent before ordinary data transmission requests. If there are multiple emergency instructions, the order of transmission of each emergency instruction will be determined according to the emergency weight value of the emergency instruction. The higher the weight value, the higher the transmission priority.

[0060] When communicating between different communication nodes, all communication nodes (temporary host and each slave) continuously listen to the data transmission channel in the communication network to obtain the occupancy information of the data transmission channel. If it is found that the actual occupancy of a micro-timeslot unit does not match the communication node allocated by the timeslot allocation instruction (for example, the timeslot allocated to node 5 is occupied by node 8), the local conflict detection and avoidance protocol will be triggered to allocate the occupied micro-timeslot unit to the correct communication node.

[0061] For communication nodes that are unable to transmit operational data of the construction machinery they are on due to avoiding the correct communication node, the temporary host will mark the micro-time slots released due to some communication nodes leaving the network or temporarily not transmitting data as "publicly contested time slots". When a communication node has a sudden high-priority data transmission need (such as when an emergency command is issued), or when a communication node is unable to transmit operational data of the construction machinery it is on due to avoiding the correct communication node, these idle time slots can be quickly requested, thereby significantly improving the utilization rate and communication efficiency of the entire wireless channel and improving the real-time response speed of the construction machinery.

[0062] The methods and steps described in this application achieve a shift from a static, fixed scheduling model to a dynamic, demand-driven intelligent scheduling model. Furthermore, it allows for flexible allocation of communication time slots based on the actual data flow requirements of each communication node, effectively avoiding network congestion or wasted idle time due to changes in device data volume, and improving overall communication efficiency.

[0063] like Figure 4 As shown, the steps for updating the dynamic time slot allocation table further include steps S1311 to S1312.

[0064] In step S1311, network latency data, packet loss rate data, and inbound / outbound frequency data of each communication node are obtained.

[0065] In step S1312, the dynamic time slot allocation table is updated based on the network latency data, packet loss rate data, and inbound / outbound frequency data of each communication node to obtain the optimized dynamic time slot allocation strategy.

[0066] In this embodiment, each communication node has a certain self-learning and adaptive capability. During the communication process, the communication node collects network latency data, packet loss rate data, and inbound / outbound frequency data from long-term operation, and gradually optimizes the parameters of the time slot allocation algorithm and the relevant strategies for retransmitting communication node data to update the dynamic time slot allocation table, so that the network performance tends to be optimal under specific operating conditions.

[0067] Furthermore, by storing the relevant parameters of the updated and optimized time slot allocation algorithm and retransmission strategy in the dynamic time slot allocation table, the local time slot allocation occupancy table of each communication node can be updated synchronously to obtain the optimized time slot allocation algorithm and retransmission strategy. In this way, even if the temporary host is replaced, it is not necessary to update and optimize the time slot allocation algorithm and retransmission strategy again, ensuring the continuous and efficient operation of the communication network.

[0068] Figure 5 This is a flowchart of a second embodiment of the communication method for engineering machinery used as a temporary host according to the present invention. Some steps of the second embodiment are the same as those of the first embodiment. The differences between the two will be described below, while the similarities will not be detailed.

[0069] like Figure 5 and Figure 11 As shown, in the second embodiment of the present invention, the communication method for engineering machinery includes steps S210 to S240.

[0070] In step S210, the scoring information of the communication nodes of all engineering machinery in this network is obtained.

[0071] In step S220, based on the scoring information, the score of this communication node is compared with the scores of other communication nodes. When the score of this communication node is the highest, this communication node is designated as a temporary host to control the communication between different engineering machines. The temporary host first sends a broadcast message to other communication nodes that this communication node has been elected as the temporary host. The other communication nodes in this round of communication in this network are designated as slaves.

[0072] Each time a preset detection period has elapsed, the temporary host sends a status message to other communication nodes to reset their election timers.

[0073] In step S230, after each preset scoring time, the temporary host obtains a selection score sent by other communication nodes.

[0074] In step S240, during the idle communication period, the selection score of the temporary host itself is compared with the selection scores of other communication nodes. If there is another communication node with a higher score, the temporary host's temporary host status is cancelled.

[0075] In this embodiment, other communication nodes periodically report their own scores to the temporary host so that the host with the highest score can be appointed as the temporary host during idle time.

[0076] For example, during idle communication periods, each communication node compares its own score with that of the temporary host. If the temporary host detects that a communication node has a higher score than its own, it cancels its temporary host status. At the same time, the communication node with the highest score will appoint itself as the new temporary host and broadcast to other communication nodes that the temporary host has been changed and that it is the new temporary host.

[0077] The communication method for construction machinery provided in this embodiment of the invention includes: obtaining the scoring information of the communication nodes of all construction machinery in the network; comparing the score of the current communication node with the scores of other communication nodes based on the scoring information; when the score of the current communication node is the highest, the current communication node is designated as a temporary host to control the communication between different construction machinery; the temporary host first sends a broadcast message to other communication nodes that the current communication node has been elected as the temporary host, and the other communication nodes in the current round of communication in the network are designated as slaves; wherein, after each preset detection time, the temporary host sends status information to other communication nodes to reset the election timers of other communication nodes.

[0078] The communication method for engineering machinery provided in this invention automatically elects a new temporary host and reconstructs the communication network through a node election mechanism. This eliminates the need for frequent manual configuration and intervention by engineers, reduces the technical requirements for on-site operators, simplifies the startup and maintenance process of collaborative operations, and eliminates the risk of network-wide paralysis due to host failure in traditional master-slave networks. Even in high-density communication scenarios, it can maintain a stable data transmission success rate, making the communication network more reliable and improving its overall robustness.

[0079] In addition to the above method embodiments, the present invention also provides, for example, Figure 6 The present invention discloses a communication method for engineering machinery, which is applied to all slave machines in a network constructed by communication devices equipped with multiple engineering machines. The method includes steps S310 to S330.

[0080] like Figure 9 As shown in this embodiment, each communication node of the construction machinery first establishes a communication network by communicating with each other. After initializing the communication network, all communication nodes of the construction machinery participating in the communication send their own parameter information to other communication nodes, and generate the score information of each communication node in the communication network based on the preset scoring rules.

[0081] This scoring information is used to compare all communication nodes to elect the communication node with the highest score as the temporary host. After the temporary host is determined, the temporary host will send broadcast information to other communication nodes, i.e., slaves, to notify them.

[0082] In step S310, in response to the initialization of the communication network of this network, all communication nodes of the engineering machinery participating in the communication send their own parameter information to other communication nodes, and generate scoring information for each communication node in this network based on the preset scoring rules.

[0083] In step S320, after receiving broadcast information from other communication nodes indicating that it has been elected as a temporary host based on scoring information, this communication node will be designated as a slave in this round of communication in the network.

[0084] In step S330, after each preset detection time, a status message sent by a temporary host is received to reset the election timer of this communication node.

[0085] In step S340, if no status information is received after a preset election time, the communication node re-elects a temporary host.

[0086] like Figure 7 As shown, in some optional embodiments, step S340 includes steps S341 to S343.

[0087] In step S341, the communication node starts timing after startup. If no status information is received after the preset election time, the communication node performs the election voting.

[0088] In step S342, when performing the election vote, the local communication node first votes for itself, and then sends a voting request to other communication nodes, requesting them to vote for it.

[0089] In step S343, when the number of votes received by this communication node reaches a preset proportion of the total number of votes, this communication node is designated as a new temporary host to control the communication between different engineering machines. Correspondingly, other communication nodes in this round of communication in this network are designated as slaves, and the temporary host first sends a broadcast message to all slaves that this communication node has been elected as the temporary host.

[0090] like Figure 10 As shown, in this embodiment, the process of re-executing the election is as follows: 1. All communication nodes hold a local election timer. Each communication node randomly generates a countdown of 15-18 seconds after startup, and an election is triggered after the countdown ends. The countdown length of each communication node is randomly generated within the range of 15-18 seconds to avoid election conflicts.

[0091] The current temporary host sends a status message to all slaves every 5 seconds to report the current health status of the temporary host. After receiving the status message, all slaves reset the election timer to prevent slaves from initiating elections by mistake.

[0092] 2. When the current temporary host fails or goes offline, if any communication node does not receive status information until the countdown ends, that communication node first casts its own vote, then sends a request to other communication nodes, asking them to vote for it. If other communication nodes still have votes, they will cast their votes for that communication node. If the number of votes received by that communication node is greater than half of the total number of votes from all hosts, then that communication node becomes the new temporary host and broadcasts a message to other communication nodes informing them that it has become the new temporary host. The other communication nodes automatically become the new slaves.

[0093] 3. If the new temporary host also fails or goes offline, since other communication nodes have not received status information, a new round of election will be triggered after the election timer countdown ends, and steps 1-2 will be repeated.

[0094] The method in this embodiment eliminates the risk of network-wide paralysis due to host failure in traditional master-slave networks through a dynamic temporary host election mechanism. Furthermore, intelligent time slot scheduling reduces data collisions, maintaining a stable data transmission success rate even in high-density communication scenarios, making collaborative communication networks more reliable.

[0095] Furthermore, it enables the communication network to have self-organizing and adaptive capabilities. Each communication node can autonomously join and leave the network, and automatically elect temporary hosts to reconstruct the communication network. This eliminates the need for frequent manual configuration and intervention by engineers, reduces the technical requirements for on-site operators, and simplifies the startup and maintenance process of collaborative operations.

[0096] When the host of individual devices goes offline temporarily due to malfunction or signal problems, this dynamic network reconstruction mechanism can quickly reorganize and rebuild the communication network of the remaining devices, continuing collaborative operations and improving the overall robustness of the communication network and multiple construction machines working together. At the same time, this flexible architecture also makes it easier to connect new devices, facilitating the expansion of the operational scale.

[0097] Figure 8 This is a flowchart of a second embodiment of the communication method for engineering machinery using communication nodes according to the present invention. Some steps of the second embodiment are the same as those of the first embodiment; the differences between the two will be described below, while the similarities will not be detailed.

[0098] like Figure 8 As shown, in the second embodiment of the present invention, the communication method for engineering machinery includes steps S410 to S430.

[0099] In step S410, after receiving the operating condition data of the construction machinery where the communication node is located from another communication node, the communication node verifies the received operating condition data of the construction machinery where the communication node is located using a hash algorithm.

[0100] In step S420, based on the verified data, a dynamic risk assessment is performed on the two engineering machines transmitting data using the pre-acquired working condition model, and a risk assessment result is generated.

[0101] In step S430, the risk level between the two construction machines is determined based on the risk assessment results, and a corresponding risk warning instruction is generated to control the corresponding construction machine actions.

[0102] In this embodiment, after each communication node receives the working condition data (e.g., working parameters, including the lifting speed, load, and angle of the construction machinery) from other communication nodes, it uses a hash algorithm to verify the data to ensure that it has not been tampered with or erroneous during data transmission.

[0103] The verified real-time data is then combined with various preset working condition models for dynamic risk assessment. For example, while determining whether the distance between the two vehicles is less than a safe value, the movement trends and load status of the two vehicles are comprehensively evaluated to generate a risk assessment result. Based on the risk assessment result, the risk level between the two pieces of construction machinery is determined. Depending on the risk level, the communication node will trigger different risk warnings, such as: 1. Low-level risks (such as approaching a preset warning value): Issue an audible and visual warning on the operation interface to alert the operator.

[0104] 2. Intermediate risk (e.g., the distance between the two vehicles is less than the warning value and the vehicle load reaches the warning value): The communication node automatically intervenes in the actions of the relevant construction machinery, such as limiting its rotation speed or luffing speed, to avoid danger.

[0105] 3. High-risk (e.g., the two vehicles are less than the limit distance warning value and a collision is imminent): The communication node will immediately issue an emergency stop command to stop the movement of construction machinery, such as vehicles, robotic arms and other construction machinery.

[0106] The "early warning-limited operation-emergency stop" tiered response mechanism provided in this embodiment is more intelligent than simple fixed threshold alarms, minimizing unnecessary interruptions to the work process while ensuring safety. This dynamic tiered safety response mechanism changes the previous simplistic approach of stopping operation at the first sign of risk. Instead, it allows construction machinery to issue warnings when the risk is low, intervene flexibly when the risk increases, and only execute emergency stops in critical situations. This maintains a safety baseline while avoiding frequent interruptions to the work process due to overly conservative alarms, thereby improving overall work efficiency while ensuring safety.

[0107] The communication method for construction machinery provided in this embodiment of the invention includes: in response to the initialization of the communication network of this network, all communication nodes of the construction machinery participating in the communication send their own parameter information to other communication nodes, and generate scoring information for each communication node in this network based on a preset scoring rule; after receiving broadcast information from other communication nodes indicating that it has been elected as a temporary host based on the scoring information, this communication node acts as a slave in the current round of communication in this network; every time a preset detection time has elapsed, it receives status information sent by the temporary host to reset the election timer of this communication node; if no status information is received after the preset election time has elapsed, this communication node re-elects a temporary host.

[0108] The communication method for engineering machinery provided in this invention automatically elects a new temporary host and reconstructs the communication network through a node election mechanism. This eliminates the need for frequent manual configuration and intervention by engineers, reduces the technical requirements for on-site operators, simplifies the startup and maintenance process of collaborative operations, and eliminates the risk of network-wide paralysis due to host failure in traditional master-slave networks. Even in high-density communication scenarios, it can maintain a stable data transmission success rate, making the communication network more reliable and improving its overall robustness.

[0109] In addition to the above method embodiments, the present invention also provides, for example, Figure 12 An electronic device is shown, including a processor 201 and a memory 202, wherein the memory 202 stores instructions.

[0110] The processor 201 calls the instructions in the memory 202 to execute the communication method for engineering machinery for temporary host and the communication method for engineering machinery for communication node according to the above embodiments of the present invention.

[0111] The electronic device provided in this embodiment of the invention automatically elects a new temporary host and reconstructs the communication network through the node election mechanism of the above method. It eliminates the need for frequent manual configuration and intervention by engineers, reduces the technical requirements for on-site operators, simplifies the startup and maintenance process of collaborative operations, eliminates the risk of network-wide paralysis due to host failure in traditional master-slave networks, and can maintain a stable data transmission success rate even in high-density communication scenarios, making the communication network more reliable and improving the overall robustness of the communication network.

[0112] Furthermore, the electronic device provided in the embodiments of the present invention may also include a communication interface 203 and a bus 204, wherein the processor 201, the memory 202 and the communication interface 203 are electrically connected through the bus 204.

[0113] The memory 202 may include high-speed random access memory (RAM) and may also include non-volatile memory, such as at least one disk storage device. Communication between this system network element and at least one other network element is achieved through at least one communication interface 203 (which can be wired or wireless), such as the Internet, wide area network, local area network, metropolitan area network, etc. The bus 204 can be an ISA bus, PCI bus, or EISA bus, etc. The bus can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 12 The symbol is represented by a single double-headed arrow, but this does not mean that there is only one bus or one type of bus.

[0114] Processor 201 may be an integrated circuit chip with signal processing capabilities. In implementation, each step of the above method can be completed by the integrated logic circuitry in the hardware of processor 201 or by instructions in software form. The processor 201 can be a general-purpose processor, including a Central Processing Unit (CPU), a Network Processor (NP), etc.; it can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this invention. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of this invention can be directly manifested as execution by a hardware decoding processor, or execution by a combination of hardware and software modules in the decoding processor. The software module can reside in a mature storage medium in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, or registers. This storage medium is located in memory 202. The processor 201 reads the information in memory 202 and, in conjunction with its hardware, completes the steps of the method described in the foregoing embodiments.

[0115] This invention also provides a computer-readable storage medium, which can be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. The computer-readable storage medium stores instructions that, when executed on a computer, cause the computer to perform the steps of the above-described communication method for engineering machinery for temporary hosts and communication method for engineering machinery for communication nodes.

[0116] The computer-readable storage medium provided in this embodiment of the invention stores data and computer-executable instructions for the communication methods of engineering machinery for temporary hosts and communication methods of engineering machinery for communication nodes. By implementing the above methods, the computer-readable storage medium provided in this embodiment of the invention can automatically elect new temporary hosts and reconstruct the communication network through a node election mechanism, without the need for frequent manual configuration and intervention by engineers. This reduces the technical requirements for on-site operators, simplifies the startup and maintenance process of collaborative operations, eliminates the risk of network-wide paralysis due to host failure in traditional master-slave networks, and maintains a stable data transmission success rate even in high-density communication scenarios, making the communication network more reliable and improving the overall robustness of the communication network.

[0117] This application also provides a computer program product, which, when executed on a data processing device, is adapted to perform the steps of initializing a communication method for engineering machinery applied to a temporary host and a communication method for an ordered communication scenario in which communication devices of multiple engineering machines are constructed into a network: The communication method for engineering machinery applied to temporary hosts includes steps S110 to S120.

[0118] In step S110, the scoring information of the communication nodes of all engineering machinery in this network is obtained.

[0119] In step S120, based on the scoring information, the score of this communication node is compared with the scores of other communication nodes. When the score of this communication node is the highest, this communication node is designated as a temporary host to control the communication between different engineering machines. The temporary host first sends a broadcast message to other communication nodes that this communication node has been elected as the temporary host. The other communication nodes in this round of communication in this network are designated as slaves.

[0120] Each time a preset detection period has elapsed, the temporary host sends a status message to other communication nodes to reset their election timers.

[0121] The communication method for an orderly communication scenario in which communication devices of multiple engineering machines are used to construct a network includes steps S310 to S340.

[0122] In step S310, in response to the initialization of the communication network of this network, all communication nodes of the engineering machinery participating in the communication send their own parameter information to other communication nodes, and generate scoring information for each communication node in this network based on the preset scoring rules.

[0123] In step S320, after receiving broadcast information from other communication nodes indicating that it has been elected as a temporary host based on scoring information, this communication node will be designated as a slave in this round of communication in the network.

[0124] In step S330, after each preset detection time, a status message sent by a temporary host is received to reset the election timer of this communication node.

[0125] In step S340, if no status information is received after a preset election time, the communication node re-elects a temporary host.

[0126] The computer program product provided in this invention, by implementing the above method, can automatically elect a new temporary host and reconstruct the communication network through a node election mechanism. This eliminates the need for frequent manual configuration and intervention by engineers, reduces the technical requirements for on-site operators, simplifies the startup and maintenance process of collaborative operations, and eliminates the risk of network-wide paralysis due to host failure in traditional master-slave networks. Even in high-density communication scenarios, it can maintain a stable data transmission success rate, making the communication network more reliable and improving its overall robustness.

[0127] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0128] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0129] The above-described embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A communication method for engineering machinery, characterized in that, The communication method is applied to a temporary host in a network constructed from communication devices equipped with multiple engineering machines, and the method includes: Obtain the rating information of the communication nodes of all construction machinery in this network; Based on the scoring information, the score of this communication node is compared with the scores of other communication nodes. When the score of this communication node is the highest, this communication node is designated as the temporary host to control the communication between different engineering machines. The temporary host first sends a broadcast message to other communication nodes that this communication node has been elected as the temporary host. Correspondingly, other communication nodes in this round of communication in this network are designated as slaves. Each time a preset detection period has elapsed, the temporary host sends a status message to the other communication nodes to reset their election timers.

2. The communication method for engineering machinery according to claim 1, characterized in that, The method further includes: After each preset scoring time, the temporary host obtains a selection score sent by the other communication nodes. During idle communication periods, the selection score of the temporary host itself is compared with the selection scores of other communication nodes. If there is another communication node with a higher score, the temporary host's temporary host status is cancelled.

3. The communication method for engineering machinery according to claim 1, characterized in that, When the temporary host communicates with other communication nodes, the method further includes: A communication frame period when the temporary host communicates with other communication nodes is divided into multiple consecutive micro-time slot units; Based on the data transmission requests received from all the communication nodes, a dynamic time slot allocation table including a dynamic time slot allocation strategy is generated to determine the micro time slot unit corresponding to the transmission time of the data transmission request of each communication node. During the time period corresponding to each micro-timeslot unit, the operating condition data of the engineering machinery where the corresponding communication node is located is transmitted.

4. The communication method for engineering machinery according to claim 3, characterized in that, The method further includes: Obtain network latency data, packet loss rate data, and inbound / outbound frequency data for each of the communication nodes; Based on the network latency data, packet loss rate data, and inbound / outbound frequency data of each communication node, the dynamic time slot allocation table is updated to obtain an optimized dynamic time slot allocation strategy.

5. The communication method for engineering machinery according to claim 3, characterized in that, The method further includes: After receiving the data transmission requests from all the communication nodes, the micro-timeslot unit corresponding to each communication node when transmitting data is allocated according to the preset priority rules, and the dynamic timeslot allocation table is updated. After determining the micro-timeslot unit of each communication node, an updated dynamic timeslot allocation table is sent to each communication node, so that each communication node transmits the working condition data of the engineering machinery where the communication node is located at the corresponding time.

6. The communication method for engineering machinery according to claim 5, characterized in that, The method further includes: Obtain the occupancy information of the data transmission channels in this network; Based on the occupancy information, it is detected whether the communication node actually occupying each micro-time slot unit is the same as the communication node allocated by the dynamic time slot allocation table. If they are different, the occupied micro-time slot unit is allocated to the communication node corresponding to the dynamic time slot allocation table.

7. The communication method for engineering machinery according to claim 5, characterized in that, Based on a preset priority rule, the unoccupied micro-time slot units are allocated to the corresponding communication nodes according to their priority. The priority rule includes determining the priority of each data transmission request based on the order in which the temporary host receives the data transmission requests from each of the communication nodes and / or based on the urgency weight value of the data transmission requests.

8. A communication method for engineering machinery, characterized in that, The method is applied to all slave devices in a network constructed from communication equipment of multiple engineering machines, and the method includes: In response to the initialization of the communication network of this group, all communication nodes of the engineering machinery participating in the communication send their own parameter information to other communication nodes, and generate scoring information for each communication node in this group based on the preset scoring rules; After receiving a broadcast message from other communication nodes indicating that it has been elected as the temporary host based on the scoring information, this communication node will act as a slave in this round of communication in this network. After each preset detection period, the temporary host sends a status message to reset the election timer of this communication node. If the status information is not received after the preset election time, the communication node will re-elect the temporary host.

9. The communication method for engineering machinery according to claim 8, characterized in that, The step of re-electing the temporary host when the status information is not received after a preset election time includes: This communication node starts timing after startup. If the status information is not received after the preset election time, this communication node will perform an election vote. When conducting election voting, the communication node first votes for itself, and then sends voting requests to the other communication nodes, requesting the other communication nodes to vote for the communication node. When the number of votes received by this communication node reaches a preset proportion of the total number of votes, this communication node will be designated as the new temporary host to control the communication between different engineering machines. Correspondingly, other communication nodes in this round of communication in this network will be designated as slaves. The temporary host will first send a broadcast message to all slaves that this communication node has been elected as the temporary host.

10. The communication method for engineering machinery according to claim 8, characterized in that, The method further includes: After receiving the operating condition data of the construction machinery where the communication node is located from another communication node, the communication node verifies the received operating condition data of the construction machinery where the communication node is located using a hash algorithm. Based on the verified data, a dynamic risk assessment is performed on the two engineering machines transmitting data using a pre-acquired working condition model, and a risk assessment result is generated. Based on the risk assessment results, the risk level between the two pieces of construction machinery is determined, and corresponding risk warning instructions are generated to control the actions of the corresponding construction machinery.