Electromechanical control method and system based on Internet of Things

By dividing the motor into clusters and using a tree topology for control, the problem of increased control complexity and overhead of large-scale motor clusters is solved, and a low-overhead and efficient control effect is achieved.

CN119010657AInactive Publication Date: 2024-11-22ZHEJIANG WEICHUANGYUAN IND CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202411015475.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-26
Publication Date
2024-11-22
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In the field of electronic equipment, with the expansion of the scale of motor clusters, the complexity and overhead of controlling through the Internet of Things have increased, and how to control large-scale motor clusters in a low-overhead manner has become a research problem.

Method used

By dividing the motor into multiple clusters and using a tree topology to generate a connection diagram between the motor clusters, only the connection is established with the head motor, and the motors in the motor cluster are controlled, reducing complexity and overhead.

Benefits of technology

Low overhead control of large-scale motor clusters is achieved, control efficiency and stability is improved, and communication delay and resource consumption is reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119010657A_ABST
    Figure CN119010657A_ABST
Patent Text Reader

Abstract

The invention provides an electromechanical control method and system based on the Internet of Things, belongs to the technical field of control, and is used for controlling a large-scale motor cluster in a low-overhead manner. The method comprises the steps that a control device divides N motors into M motor clusters according to the positions of the N motors, and the ith motor cluster in the M motor clusters comprises at least three motors; the control equipment generates a tree topology connection diagram # i of the ith motor cluster according to a tree topology structure, and configures a connection relation between the motors in the ith motor cluster according to the tree topology connection diagram # i, and only one head motor # i located at the end of the tree topology connection diagram # i in the ith motor cluster is connected with the control equipment; the connection relation of any motor # i except the head motor # i in the ith motor cluster can be topologically connected to the head motor # i; and the control equipment sends a control instruction for any motor in the ith motor cluster to the head motor # i according to the tree topology connection diagram of the ith motor cluster.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of control technology, and in particular to an electromechanical control method and system based on the Internet of Things. Background Art

[0002] The Internet of Things (IoT) refers to a network that connects any object to the Internet through information sensing devices such as radio frequency identification (RFID), infrared sensors, global positioning system (GPS), laser scanners, etc., in accordance with agreed protocols, to exchange information and communicate, so as to achieve intelligent identification, positioning, tracking, monitoring and management. The development and application of IoT technology has penetrated into various fields, including transportation, medical care, agriculture, education, home, etc.

[0003] In the field of electronic equipment, the application of IoT technology is particularly significant. Through IoT technology, the system can achieve more intelligent management and control, improve resource utilization efficiency, and reduce operating costs. Taking the motor cluster as an example, the remote monitoring and control of the motor cluster can be achieved through IoT technology. For example, by collecting data through sensors installed on the motor, the operating status of the motor can be monitored in real time, and maintenance needs can be predicted, thereby reducing downtime and improving production efficiency.

[0004] However, as the scale of the cluster expands, the complexity and overhead of control through the Internet of Things increase accordingly. Therefore, how to achieve control of large-scale motor clusters in a low-overhead manner is a current research issue. Summary of the invention

[0005] The embodiments of the present application provide an electromechanical control method and system based on the Internet of Things, which are used to control a large-scale motor cluster in a low-overhead manner.

[0006] In order to achieve the above objectives, this application adopts the following technical solutions: In a first aspect, a mechatronic control method based on the Internet of Things is provided, which is applied to a control device, and the method includes: the control device divides the N motors into M motor clusters according to the respective positions of the N motors, N is an integer greater than 1, M is an integer greater than 1, the i-th motor cluster among the M motor clusters contains at least 3 motors, and i is an integer traversing from 1 to M; the control device generates a tree topology connection diagram #i of the i-th motor cluster according to the tree topology structure, and configures the connection relationship between the motors in the i-th motor cluster according to the tree topology connection diagram #i, only a head motor #i located at the end of the tree topology connection diagram #i in the i-th motor cluster is connected to the control device, and the connection relationship of any motor #i in the i-th motor cluster except the head motor #i can be topologically connected to the head motor #i; the control device sends a control instruction for any motor in the i-th motor cluster to the head motor #i according to the tree topology connection diagram of the i-th motor cluster.

[0007] Optionally, the control device divides the N motors into M motor clusters according to respective positions of the N motors, including: the control device determines that the number of motor clusters corresponding to the number of motors N is M based on the number of motors N of the N motors, the number of motors is positively correlated with the number of motor clusters, and when the number of motor clusters is M, the number of motors included in each motor cluster is K, K is an integer greater than or equal to 3, and M*K is greater than N; the control device divides the N motors into M motor clusters according to respective positions of the N motors, the number of motor clusters is M, and the number of motors included in each motor cluster is K, wherein the i-th motor cluster includes at least K motor #i.

[0008] Optionally, the control device divides the N motors into M motor clusters according to respective positions of the N motors, the number of motor clusters being M, and the number of motors contained in each motor cluster being K, including: The control device sets the target point to move in a clockwise / counterclockwise direction on the circumscribed circle, and determines the minimum distance between each of the N motors and the target point according to the respective positions of the N motors during the movement of the target point in the clockwise / counterclockwise direction on the circumscribed circle for at least one circle; the circumscribed circle is a circle circumscribed to the respective positions of the N motors; the control device selects motors with the smallest distances from the first M motors from the N motors according to the minimum distance between each of the N motors and the target point, which are motor #11, motor #21...motor #M1.

[0009] When i=1, the control device selects motor #12 which is closest to motor #11 from the N motors according to the positions of the N motors, and then selects motor #13 which is closest to motor #12, and so on, until motor #1 is selected. (K-1) The closest motor #1 K, there are K motors #1 in total, and the K motors #1 are determined as the first pending motor cluster; when i=2, the control device selects motor #22 closest to motor #21 from the N motors according to the positions of the N motors, and then selects motor #23 closest to motor #22, and so on, until motor #2 is selected. (K-1) The closest motor #2 K , there are K motors #2 in total, and the K motors #2 are determined as the second motor cluster to be determined; and so on, until, in the case of i=M, the control device selects the motor #M2 closest to the position of motor #M1 from the N motors according to the positions of the N motors, and then selects the motor #M3 closest to the position of motor #M2, and so on, until the motor #M (K-1) The nearest motor #M K , there are K motors #M in total, K motors #M are used to determine the Mth motor cluster to be determined; At this point, a total of M pending motor clusters are determined; the control device determines whether there are any unselected motors among the N motors; if not, the control device determines the M pending motor clusters as M motor clusters; if so, the control device adds each of the unselected motors to the pending motor clusters corresponding to the M pending motor clusters, to obtain M motor clusters.

[0010] Optionally, the control device adds each of the unselected motors to the to-be-determined motor clusters corresponding to the M to-be-determined motor clusters to obtain M motor clusters, including: the control device adds each motor among the unselected motors to the to-be-determined motor cluster where the motor with the shortest distance to the top M motors is located according to the distance between each motor among the unselected motors and the top M motors with the smallest distance to obtain M motor clusters.

[0011] Optionally, for motors among N motors that belong to at least two motor clusters, the control device needs to send control instructions for the motors that belong to at least two motor clusters to the at least two motor clusters respectively, and the control device also configures the motors belonging to at least two motor clusters: if the motors belonging to at least two motor clusters receive control instructions from upstream motors in at least two motor clusters respectively, and receive at least two control instructions in total, then when it is verified that at least two control instructions are the same, other control instructions among the at least two control instructions except the first received control instruction are discarded.

[0012] Optionally, the control device generates a tree topology connection diagram #i of the i-th motor cluster according to the tree topology structure, and configures the connection relationship between the motors in the i-th motor cluster according to the tree topology connection diagram #i, including: the control device determines the head motor #i in the i-th motor cluster; the control device uses the head motor #i as the end of the tree topology structure to generate branches connecting other motors #i in the i-th motor cluster except the head motor #i, to obtain the tree topology connection diagram #i of the i-th motor cluster; the control device configures the connection relationship between the motors in the i-th motor cluster according to the tree topology connection diagram #i.

[0013] Optionally, the control device determines the head motor #i in the i-th motor cluster, including: the control device broadcasts an indication message to the i-th motor cluster, the indication message is used to instruct the motor that receives the indication message to report its own connection capability, where the connection capability is the number of supported connections; the control device receives the connection capability reported by each motor #i in the i-th motor cluster according to the indication message, and selects the motor with the largest number of supported connections from the i-th motor cluster as the head motor #i.

[0014] Optionally, the control device uses the head motor #i as the end of the tree-like topology structure, generates branches connecting the other motors #i in the i-th motor cluster except the head motor #i, and obtains the tree-like topology connection diagram #i of the i-th motor cluster, including: the control device selects the motor #i in the i-th motor cluster that is closest to the top 2 motors #i as the two branches #i1 of the head motor #i; for the motor #i of each branch #i1 in the two branches #i1, the control device selects the motor #i in the i-th motor cluster that is closest to / closest to the top 2 motors #i of each branch #i1 as the 1 / 2 branch #i2 of the motor #i of each branch #i1, and so on, until all motors in the i-th motor cluster except the head motor #i are determined as corresponding branches, and the tree-like topology connection diagram #i of the i-th motor cluster is obtained.

[0015] Optionally, the control device configures the connection relationship between the motors in the i-th motor cluster means: for any motor #i with branches in the i-th motor cluster, if the motor #i with branches contains 2 branches, the control device configures the motor #i with branches to use two independent spatial vectors, which respectively communicate with the 2 branches contained in the motor #i with branches; if the motor #i with branches contains 1 branch, the control device configures the motor #i with branches to use two independent spatial vectors, which both communicate with the 1 branch contained in the motor #i with branches.

[0016] In a second aspect, an electromechanical control system based on the Internet of Things is provided, the system includes a control device, and the system is configured as follows: the control device divides the N motors into M motor clusters according to their respective positions, N is an integer greater than 1, M is an integer greater than 1, the i-th motor cluster in the M motor clusters includes at least 3 motors, and i is an integer traversing from 1 to M; the control device generates a tree topology connection diagram #i of the i-th motor cluster according to the tree topology structure, and configures the connection relationship between the motors in the i-th motor cluster according to the tree topology connection diagram #i, only one head motor #i in the i-th motor cluster that is located at the end of the tree topology connection diagram #i is connected to the control device, and the connection relationship of any motor #i in the i-th motor cluster except the head motor #i can be topologically connected to the head motor #i; the control device sends a control instruction for any motor in the i-th motor cluster to the head motor #i according to the tree topology connection diagram of the i-th motor cluster.

[0017] Optionally, the control device divides the N motors into M motor clusters according to respective positions of the N motors, including: the control device determines that the number of motor clusters corresponding to the number of motors N is M based on the number of motors N of the N motors, the number of motors is positively correlated with the number of motor clusters, and when the number of motor clusters is M, the number of motors included in each motor cluster is K, K is an integer greater than or equal to 3, and M*K is greater than N; the control device divides the N motors into M motor clusters according to respective positions of the N motors, the number of motor clusters is M, and the number of motors included in each motor cluster is K, wherein the i-th motor cluster includes at least K motor #i.

[0018] Optionally, the control device divides the N motors into M motor clusters according to respective positions of the N motors, the number of motor clusters being M, and the number of motors contained in each motor cluster being K, including: The control device sets the target point to move in a clockwise / counterclockwise direction on the circumscribed circle, and determines the minimum distance between each of the N motors and the target point according to the respective positions of the N motors during the movement of the target point in the clockwise / counterclockwise direction on the circumscribed circle for at least one circle; the circumscribed circle is a circle circumscribed to the respective positions of the N motors; the control device selects motors with the smallest distances from the first M motors from the N motors according to the minimum distance between each of the N motors and the target point, which are motor #11, motor #21...motor #M1.

[0019] When i=1, the control device selects motor #12 which is closest to motor #11 from the N motors according to the positions of the N motors, and then selects motor #13 which is closest to motor #12, and so on, until motor #1 is selected. (K-1) The closest motor #1 K, there are K motors #1 in total, and the K motors #1 are determined as the first pending motor cluster; when i=2, the control device selects motor #22 closest to motor #21 from the N motors according to the positions of the N motors, and then selects motor #23 closest to motor #22, and so on, until motor #2 is selected. (K-1) The closest motor #2 K , there are K motors #2 in total, and the K motors #2 are determined as the second motor cluster to be determined; and so on, until, in the case of i=M, the control device selects the motor #M2 closest to the position of motor #M1 from the N motors according to the positions of the N motors, and then selects the motor #M3 closest to the position of motor #M2, and so on, until the motor #M (K-1) The nearest motor #M K , there are K motors #M in total, K motors #M are used to determine the Mth motor cluster to be determined; At this point, a total of M pending motor clusters are determined; the control device determines whether there are any unselected motors among the N motors; if not, the control device determines the M pending motor clusters as M motor clusters; if so, the control device adds each of the unselected motors to the pending motor clusters corresponding to the M pending motor clusters, to obtain M motor clusters.

[0020] Optionally, the control device adds each of the unselected motors to the to-be-determined motor clusters corresponding to the M to-be-determined motor clusters to obtain M motor clusters, including: the control device adds each motor among the unselected motors to the to-be-determined motor cluster where the motor with the shortest distance to the top M motors is located according to the distance between each motor among the unselected motors and the top M motors with the smallest distance to obtain M motor clusters.

[0021] Optionally, for motors among N motors that belong to at least two motor clusters, the control device needs to send control instructions for the motors that belong to at least two motor clusters to the at least two motor clusters respectively, and the control device also configures the motors belonging to at least two motor clusters: if the motors belonging to at least two motor clusters receive control instructions from upstream motors in at least two motor clusters respectively, and receive at least two control instructions in total, then when it is verified that at least two control instructions are the same, other control instructions among the at least two control instructions except the first received control instruction are discarded.

[0022] Optionally, the control device generates a tree topology connection diagram #i of the i-th motor cluster according to the tree topology structure, and configures the connection relationship between the motors in the i-th motor cluster according to the tree topology connection diagram #i, including: the control device determines the head motor #i in the i-th motor cluster; the control device uses the head motor #i as the end of the tree topology structure to generate branches connecting other motors #i in the i-th motor cluster except the head motor #i, to obtain the tree topology connection diagram #i of the i-th motor cluster; the control device configures the connection relationship between the motors in the i-th motor cluster according to the tree topology connection diagram #i.

[0023] Optionally, the control device determines the head motor #i in the i-th motor cluster, including: the control device broadcasts an indication message to the i-th motor cluster, the indication message is used to instruct the motor that receives the indication message to report its own connection capability, where the connection capability is the number of supported connections; the control device receives the connection capability reported by each motor #i in the i-th motor cluster according to the indication message, and selects the motor with the largest number of supported connections from the i-th motor cluster as the head motor #i.

[0024] Optionally, the control device uses the head motor #i as the end of the tree-like topology structure, generates branches connecting the other motors #i in the i-th motor cluster except the head motor #i, and obtains the tree-like topology connection diagram #i of the i-th motor cluster, including: the control device selects the motor #i in the i-th motor cluster that is closest to the top 2 motors #i as the two branches #i1 of the head motor #i; for the motor #i of each branch #i1 in the two branches #i1, the control device selects the motor #i in the i-th motor cluster that is closest to / closest to the top 2 motors #i of each branch #i1 as the 1 / 2 branch #i2 of the motor #i of each branch #i1, and so on, until all motors in the i-th motor cluster except the head motor #i are determined as corresponding branches, and the tree-like topology connection diagram #i of the i-th motor cluster is obtained.

[0025] Optionally, the control device configures the connection relationship between the motors in the i-th motor cluster means: for any motor #i with branches in the i-th motor cluster, if the motor #i with branches contains 2 branches, the control device configures the motor #i with branches to use two independent spatial vectors, which respectively communicate with the 2 branches contained in the motor #i with branches; if the motor #i with branches contains 1 branch, the control device configures the motor #i with branches to use two independent spatial vectors, which both communicate with the 1 branch contained in the motor #i with branches.

[0026] In a third aspect, a computer-readable storage medium is provided, comprising: a computer program or instructions; when the computer program or instructions are executed on a computer, the computer is caused to execute the method described in the first aspect.

[0027] According to a fourth aspect, a computer program product is provided, comprising a computer program or instructions, which, when executed on a computer, causes the computer to execute the method described in the first aspect.

[0028] In summary, the above method and system have the following technical effects: The control device first divides the N motors into M motor clusters according to the respective positions of the N motors, and the i-th motor cluster in the M motor clusters contains at least 3 motors, i being an integer traversing from 1 to M. Afterwards, the control device generates a tree topology connection diagram #i of the i-th motor cluster according to the tree topology structure, and configures the connection relationship between the motors in the i-th motor cluster according to the tree topology connection diagram #i, and only one head motor #i located at the end of the tree topology connection diagram #i in the i-th motor cluster is connected to the control device, and the connection relationship of any motor #i in the i-th motor cluster except the head motor #i can be topologically connected to the head motor #i, that is, the motors in each motor cluster can communicate with the head motors in the motor cluster, so that the control device only sends a control instruction for any motor in the i-th motor cluster to the head motor #i, and can pass the control instruction to the corresponding motor in the i-th motor cluster through the connection relationship of the tree topology connection diagram #i to achieve control over it. Compared with the existing technology, the control device only needs to establish a connection with each head motor, that is, only M connections need to be established, which greatly reduces the complexity and overhead, so as to achieve control of large-scale motor clusters in a low-overhead manner. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] Figure 1 A schematic diagram of the architecture of a control system provided in an embodiment of the present application; Figure 2 A schematic diagram of a flow chart of an electromechanical control method based on the Internet of Things provided in an embodiment of the present application; Figure 2A A schematic diagram of an application scenario of an electromechanical control method based on the Internet of Things provided in an embodiment of the present application; Figure 3 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0030] The present application will present various aspects, embodiments or features around a system that may include multiple devices, components, modules, etc. It should be understood and appreciated that each system may include additional devices, components, modules, etc., and / or may not include all of the devices, components, modules, etc. discussed in conjunction with the figures. In addition, combinations of these schemes may also be used.

[0031] In the embodiment of the present application, "indication" may include direct indication and indirect indication, and may also include explicit indication and implicit indication. The information indicated by a certain information (such as the first indication information, the second indication information, or the third indication information, etc. below) is called information to be indicated. In the specific implementation process, there are many ways to indicate the information to be indicated, such as but not limited to, the information to be indicated can be directly indicated, such as the information to be indicated itself or the index of the information to be indicated. The information to be indicated can also be indirectly indicated by indicating other information, wherein there is an association relationship between the other information and the information to be indicated. It is also possible to indicate only a part of the information to be indicated, while the other parts of the information to be indicated are known or agreed in advance. For example, the indication of specific information can also be realized by means of the arrangement order of each information agreed in advance (such as specified by the protocol), thereby reducing the indication overhead to a certain extent. At the same time, the common parts of each information can also be identified and uniformly indicated to reduce the indication overhead caused by indicating the same information separately.

[0032] In addition, the specific indication method may also be various existing indication methods, such as but not limited to the above-mentioned indication methods and various combinations thereof. The specific details of the various indication methods can refer to the prior art and will not be repeated herein. As can be seen from the above, for example, when it is necessary to indicate multiple information of the same type, different indication methods may be used for different information. In the specific implementation process, the desired indication method can be selected according to specific needs. The embodiment of the present application does not limit the selected indication method. In this way, the indication method involved in the embodiment of the present application should be understood to cover various methods that can enable the party to be indicated to obtain the information to be indicated.

[0033] It should be understood that the information to be indicated can be sent as a whole, or divided into multiple sub-information and sent separately, and the sending period and / or sending time of these sub-information can be the same or different. The specific sending method is not limited in the embodiment of the present application. Among them, the sending period and / or sending time of these sub-information can be pre-defined, for example, pre-defined according to a protocol, or can be configured by the sending end device by sending configuration information to the receiving end device.

[0034] "Pre-definition" or "pre-configuration" can be implemented by pre-saving corresponding codes, tables or other methods that can be used to indicate relevant information in the device, and the embodiments of the present application do not limit the specific implementation method. Among them, "saving" can mean saving in one or more memories. The one or more memories can be set separately or integrated in an encoder or decoder, a processor, or a communication device. The one or more memories can also be partially set separately and partially integrated in a decoder, a processor, or a communication device. The type of memory can be any form of storage medium, which is not limited by the embodiments of the present application.

[0035] The "protocol" involved in the embodiments of the present application may refer to a protocol family in the communication field, a standard protocol with a similar protocol family frame structure, or a related protocol used in future communication systems, and the embodiments of the present application do not make specific limitations on this.

[0036] In the embodiments of the present application, descriptions such as "when...", "in the case of...", "if" and "if" all mean that the device will make corresponding processing under certain objective circumstances. It does not limit the time, nor does it require the device to have a judgment action when implementing it, nor does it mean that there are other limitations.

[0037] In the description of the embodiments of the present application, unless otherwise specified, " / " indicates that the objects associated before and after are in an "or" relationship, for example, A / B can represent A or B; "and / or" in the embodiments of the present application is only a description of the association relationship of the associated objects, indicating that there can be three relationships, for example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. In addition, in the description of the embodiments of the present application, unless otherwise specified, "multiple" refers to two or more than two. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b and c, or at least one of a, b or c, can represent: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple. In addition, in order to facilitate the clear description of the technical solutions of the embodiments of the present application, in the embodiments of the present application, the words "first", "second" and the like are used to distinguish the same items or similar items with substantially the same functions and effects. Those skilled in the art will understand that the words "first", "second" and the like do not limit the quantity and execution order, and the words "first", "second" and the like do not necessarily limit the differences. At the same time, in the embodiments of the present application, the words "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or design solutions. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a concrete manner for ease of understanding.

[0038] The network architecture and business scenarios described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. A person of ordinary skill in the art can appreciate that with the evolution of the network architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.

[0039] To facilitate understanding of the embodiments of the present application, first Figure 1 The control system shown in the example is used to describe in detail the control system applicable to the embodiment of the present application. Figure 1 A schematic diagram of the architecture of a control system applicable to the method provided in an embodiment of the present application.

[0040] like Figure 1 As shown, the control system may include: a control device and a plurality of motors.

[0041] The control device and the plurality of motors can be understood as terminal devices. The terminal device can be a terminal with wireless transceiver function or a chip or chip system that can be set in the terminal. The terminal device can also be called a user equipment (UE), an access terminal, a user unit, a user station, a mobile station, a mobile station, a remote station, a remote terminal, a mobile device, a user terminal, a terminal, a wireless communication device, a user agent or a user device. The terminal device in the embodiment of the present application can be a mobile phone, a tablet computer (Pad), a computer with wireless transceiver function, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal in industrial control, a wireless terminal in self driving, a wireless terminal in remote medical, a wireless terminal in smart grid, a wireless terminal in transportation safety, a wireless terminal in smart city, a wireless terminal in smart home, a vehicle-mounted terminal, an RSU with terminal function, etc. The terminal device of the present application may also be a vehicle-mounted module, a vehicle-mounted module, a vehicle-mounted component, a vehicle-mounted chip or a vehicle-mounted unit built into a vehicle as one or more components or units, and the vehicle may implement the method provided by the present application through the built-in vehicle-mounted module, vehicle-mounted module, vehicle-mounted component, vehicle-mounted chip or vehicle-mounted unit. The communication between terminals may be communication between terminals, which may also be called side communication.

[0042] The terminal device is provided with a plurality of antenna panels (pannels), such as a first antenna panel and a second antenna panel. Each of the plurality of antenna panels can transmit or receive a plurality of beams in different directions, which are referred to as the plurality of beams of the antenna panel.

[0043] A beam is a special directional transmission or reception effect formed by the transmitter or receiver of a network device or terminal through an antenna array, similar to the beam formed by a flashlight converging light in one direction. Sending and receiving signals in the form of a beam can effectively increase the transmission distance of the signal. The beam used for communication between terminals can also be called a side beam.

[0044] The beam may be a wide beam, a narrow beam, or other types of beams. The beam forming technology may be a beam forming technology or other technologies. The beam forming technology may specifically be a digital beam forming technology, an analog beam forming technology, or a hybrid digital / analog beam forming technology.

[0045] Beams generally correspond to resources. For example, when performing beam measurement, the network device measures different beams through different resources, and the terminal feeds back the measured resource quality, so that the network device can know the quality of the corresponding beam. During data transmission, the beam can also be indicated by its corresponding resource. For example, the network device indicates a transmission configuration indication-state through the transmission configuration index (TCI) field in the downlink control information (DCI), and the terminal determines the beam corresponding to the reference resource based on the reference resource contained in the TCI-state.

[0046] In the communication protocol, the beam can be specifically characterized as a digital beam, an analog beam, a spatial vector, a spatial domain filter, a spatial filter, a spatial parameter, TCI, TCI-state, etc. The beam used to send a signal can be called a transmission beam (or Tx beam), a spatial domain transmission filter, a spatial transmission filter, a spatial domain transmission parameter, a spatial transmission parameter, etc. The beam used to receive a signal can be called a reception beam (or Rx beam), a spatial domain reception filter, a spatial reception filter, a spatial domain reception parameter, a spatial reception parameter, etc.

[0047] It can be understood that the embodiments of the present application are uniformly described using beams, but beams can be replaced by other equivalent concepts and are not limited to the concepts mentioned above.

[0048] It can also be understood that the embodiment of the present application is introduced by taking the terminal device in the form of an intelligent bonding wire device as an example.

[0049] The following will be combined Figure 2The interaction process between the devices in the above system is specifically introduced through the method embodiment. The electromechanical control method based on the Internet of Things provided in the embodiment of the present application can be applied to the above control system, which is specifically introduced below.

[0050] Figure 2 A schematic diagram of the flow of the electromechanical control method based on the Internet of Things provided in the embodiment of the present application. Specifically, the flow of the electromechanical control method based on the Internet of Things is as follows: S201, a control device divides N motors into M motor clusters according to respective positions of the N motors, where N is an integer greater than 1 and M is an integer greater than 1.

[0051] The i-th motor cluster among the M motor clusters includes at least 3 motors, where i is an integer ranging from 1 to M.

[0052] The control device can determine that the number of motor clusters corresponding to the number of motors N is M based on the number of motors N of the N motors. The number of motors is positively correlated with the number of motor clusters. When the number of motor clusters is M, the number of motors contained in each motor cluster is K, K is an integer greater than or equal to 3, and M*K is greater than N. Among them, the number of motors and the number of motor clusters have a preset positively correlated correspondence, such as N=5-12 corresponds to M=2, N=13-22 corresponds to M=3, and so on. Different numbers of motor clusters also have a preset correspondence with the number of motors contained in each motor cluster, which can be flexibly set according to actual conditions. Therefore, the control device can determine that the number of motor clusters is M and the number of motors contained in each motor cluster is K based on these correspondences. M*K is greater than N to ensure that there are motors belonging to at least two motor clusters to improve redundancy, thereby improving the stability and reliability of control. For example, N=3, M=15, K=8, there are at most 3*8-15=9 motors belonging to at least two motor clusters respectively, and the number of motors belonging to at least two motor clusters needs to be about half of N to ensure the stability and reliability of control.

[0053] The control device divides the N motors into M motor clusters according to the respective positions of the N motors, the number of motor clusters being M and the number of motors contained in each motor cluster being K, wherein the i-th motor cluster contains at least K motors #i.

[0054] Specifically, the control device can set the target point to move in a clockwise / counterclockwise direction on the circumscribed circle, and determine the minimum distance between each of the N motors and the target point according to the positions of the N motors when the target point moves in a clockwise / counterclockwise direction on the circumscribed circle for at least one circle; the circumscribed circle is a circle circumscribed to the positions of the N motors; on this basis, the control device selects the motors with the smallest distances from the first M motors from the N motors according to the minimum distances between each of the N motors and the target point, namely motor #11, motor #21...motor #M1. The purpose of this is to select the motor located at the edge of the N motors to facilitate the subsequent determination of the motor cluster.

[0055] When i=1, the control device selects motor #12 which is closest to motor #11 from the N motors according to the positions of the N motors, and then selects motor #13 which is closest to motor #12, and so on, until motor #1 is selected. (K-1) The closest motor #1 K , there are K motors #1 in total, and the K motors #1 are determined as the first pending motor cluster; when i=2, the control device selects motor #22 closest to motor #21 from the N motors according to the positions of the N motors, and then selects motor #23 closest to motor #22, and so on, until motor #2 is selected. (K-1) The closest motor #2 K , there are K motors #2 in total, and the K motors #2 are determined as the second motor cluster to be determined; and so on, until, in the case of i=M, the control device selects the motor #M2 closest to the position of motor #M1 from the N motors according to the positions of the N motors, and then selects the motor #M3 closest to the position of motor #M2, and so on, until the motor #M (K-1) The nearest motor #M K , there are K motors #M in total, and the K motors #M are used to determine the Mth motor cluster to be determined. It can be understood that the purpose of selecting the motor closest to the position is to reduce the communication delay and improve the timeliness of control.

[0056] At this point, a total of M pending motor clusters are determined; the control device determines whether there are any unselected motors among the N motors; if not, the control device determines the M pending motor clusters as M motor clusters; if so, the control device adds each of the unselected motors to the pending motor clusters corresponding to the M pending motor clusters, to obtain M motor clusters. For example, the control device adds each motor among the unselected motors to the pending motor cluster where the motor with the smallest distance from the first M motors is located, based on the distance between each motor among the unselected motors and the motor with the smallest distance from the first M motors, to obtain M motor clusters.

[0057] For ease of understanding, let's take an example and set N=10, M=2, K=7. Figure 2A As shown, after the punctuation point moves clockwise for several weeks, there are three motors closest to the target point on the circumscribed circle, namely motor 1, motor 2, and motor 3, that is, they coincide with each other and the distance is 0. In the case of M=2, the two motors farthest from each other, namely motor 1 and motor 3, can be selected from the three motors. Motor 1 is used as motor 11, and motor 12 closest to motor 11 is selected, motor 13 closest to motor 12 is selected, motor 14 closest to motor 13 is selected, motor 15 closest to motor 14 is selected, motor 16 closest to motor 15 is selected, and motor 17 closest to motor 16 is selected. Motor 3 is used as motor 21, and motor 22 closest to motor 21 is selected, motor 23 closest to motor 22 is selected, motor 24 closest to motor 23 is selected, motor 25 closest to motor 24 is selected, motor 26 closest to motor 25 is selected, and motor 27 closest to motor 26 is selected. It can be seen that motor 11 / motor 26, motor 12 / motor 25, motor 17 / motor 24, motor 16 / motor 23, and motor 15 / motor 22 belong to two different motor clusters. At this time, motor 2 has not been selected yet, and it is close to motor 21, so it is determined to be motor 28. So far, the first motor cluster includes motors 11 to 17, and the second motor cluster includes motors 21 to 28.

[0058] It can be understood that, for the motors among the N motors that belong to at least two motor clusters, the control device needs to send control instructions for the motors belonging to the at least two motor clusters to the at least two motor clusters respectively, and the control device also configures the motors belonging to the at least two motor clusters: if the motors belonging to the at least two motor clusters receive control instructions from the upstream motors in the at least two motor clusters respectively (for details, please refer to the relevant introduction below), and receive at least two control instructions in total, then when it is verified that the at least two control instructions are the same, the other control instructions among the at least two control instructions except the first received control instruction will be discarded.

[0059] S202, the control device generates a tree topology connection diagram #i of the i-th motor cluster according to the tree topology structure, and configures the connection relationship between the motors in the i-th motor cluster according to the tree topology connection diagram #i.

[0060] In the i-th motor cluster, only one head motor #i (i.e., leader-motor #i, or L-motor #i) located at the end of the tree topological connection diagram #i is connected to the control device, and the connection relationship of any motor #i in the i-th motor cluster except the head motor #i can be topologically connected to the head motor #i.

[0061] For example, the control device can determine the head motor #i in the ith motor cluster. Specifically, the control device can broadcast indication information to the ith motor cluster, and the indication information is used to instruct the motor that receives the indication information to report its own connection capability, and the connection capability is the number of connections supported. In this way, the control device can receive the connection capability reported by each motor #i in the ith motor cluster according to the indication information, and select the motor with the largest number of connections supported from the ith motor cluster as the head motor #i (if there are multiple motors with the largest number of connections, any one of them is selected as the head motor #i). If the number of connections supported by the head motor #i is L, the control device can establish L-2 connections with the head motor #i to ensure that the bandwidth is large enough to support the communication interaction between the control device and the ith motor cluster, and the remaining 2 connections are used when the head motor #i establishes connections with its two branches respectively.

[0062] The control device uses the head motor #i as the end of the tree-like topology structure, generates branches connecting other motors #i except the head motor #i in the i-th motor cluster, and obtains the tree-like topology connection diagram #i of the i-th motor cluster. For example, the control device selects the motor #i that is closest to the head motor #i in the i-th motor cluster as the two branches #i1 of the head motor #i; for the motor #i of each branch #i1 in the two branches #i1, the control device selects the motor #i that is closest to / closest to the motor #i of each branch #i1 in the i-th motor cluster as the 1 / 2 branch #i2 of the motor #i of each branch #i1, and so on, until all motors except the head motor #i in the i-th motor cluster are determined as corresponding branches, and the tree-like topology connection diagram #i of the i-th motor cluster is obtained.

[0063] Continuing with the above example, Figure 2A As shown, taking the first motor cluster as an example, the two branches of motor 11 are motor 12 and motor 13, and motor 11 is also the upstream node of motor 12 and motor 13. The same applies to the following. The two branches of motor 12 are motor 15 and motor 17, and the two branches of motor 13 are motor 14 and motor 16.

[0064] The control device can configure the connection relationship between the motors in the i-th motor cluster according to the tree topology connection diagram #i. For example, the control device configures the connection relationship between the motors in the i-th motor cluster means: for any motor #i with branches in the i-th motor cluster, if the motor #i with branches contains 2 branches, the control device configures the motor #i with branches to use two independent spatial vectors (independent means that they are sent by two antenna panels respectively), respectively communicating with the 2 branches contained in the motor #i with branches, and if the motor #i with branches contains 1 branch, the control device configures the motor #i with branches to use two independent spatial vectors, both of which communicate with the 1 branch contained in the motor #i with branches.

[0065] Continuing with the above example, Figure 2A As shown, taking the first motor cluster as an example, the control device sends configuration information #1 to motor 11, and configuration information #1 includes the respective identifications of motor 12 and motor 13, which are used to indicate the information element of dual spatial vector communication. Therefore, motor 11 can use one antenna panel of motor 11 to perform a beam management process with motor 12 according to configuration #1, and select a pair of optimal transmission beams and reception beams for communication with motor 12. Motor 11 also uses another antenna panel of motor 11 to perform a beam management process with motor 13 according to configuration #1, and selects a pair of optimal transmission beams and reception beams for communication with motor 13. The same is true for motors 12 and 13, which will not be repeated.

[0066] S203, the control device sends a control instruction for any motor in the i-th motor cluster to the head motor #i according to the tree topology connection diagram of the i-th motor cluster.

[0067] At this time, the control instruction may carry the identification of the controlled motor, so that the motors in the i-th motor cluster can sequentially transmit the control instruction to the controlled motor according to the identification of the controlled motor.

[0068] In summary, the control device first divides the N motors into M motor clusters according to the respective positions of the N motors, and the i-th motor cluster in the M motor clusters contains at least 3 motors, and i is an integer traversing from 1 to M. Afterwards, the control device generates a tree topology connection diagram #i of the i-th motor cluster according to the tree topology structure, and configures the connection relationship between the motors in the i-th motor cluster according to the tree topology connection diagram #i. Only one head motor #i located at the end of the tree topology connection diagram #i in the i-th motor cluster is connected to the control device, and the connection relationship of any motor #i in the i-th motor cluster except the head motor #i can be topologically connected to the head motor #i, that is, the motors in each motor cluster can communicate with the head motors in the motor cluster. In this way, the control device only sends a control instruction for any motor in the i-th motor cluster to the head motor #i, and can pass the control instruction to the corresponding motor in the i-th motor cluster through the connection relationship of the tree topology connection diagram #i to achieve control over it. Compared with the existing technology, the control device only needs to establish a connection with each head motor, that is, only M connections need to be established, which greatly reduces the complexity and overhead, so as to achieve control of large-scale motor clusters in a low-overhead manner.

[0069] Combination of the above Figure 2 The electromechanical control method based on the Internet of Things provided by the embodiment of the present application is described in detail. The electromechanical control system based on the Internet of Things for executing the electromechanical control method based on the Internet of Things provided by the embodiment of the present application is described in detail below.

[0070] The system is configured as follows: a control device divides the N motors into M motor clusters according to their respective positions, N is an integer greater than 1, M is an integer greater than 1, the i-th motor cluster among the M motor clusters contains at least 3 motors, and i is an integer traversing from 1 to M; the control device generates a tree topology connection diagram #i of the i-th motor cluster according to the tree topology structure, and configures the connection relationship between the motors in the i-th motor cluster according to the tree topology connection diagram #i, only one head motor #i in the i-th motor cluster that is located at the end of the tree topology connection diagram #i is connected to the control device, and the connection relationship of any motor #i in the i-th motor cluster except the head motor #i can be topologically connected to the head motor #i; the control device sends a control instruction for any motor in the i-th motor cluster to the head motor #i according to the tree topology connection diagram of the i-th motor cluster.

[0071] Optionally, the control device divides the N motors into M motor clusters according to respective positions of the N motors, including: the control device determines that the number of motor clusters corresponding to the number of motors N is M based on the number of motors N of the N motors, the number of motors is positively correlated with the number of motor clusters, and when the number of motor clusters is M, the number of motors included in each motor cluster is K, K is an integer greater than or equal to 3, and M*K is greater than N; the control device divides the N motors into M motor clusters according to respective positions of the N motors, the number of motor clusters is M, and the number of motors included in each motor cluster is K, wherein the i-th motor cluster includes at least K motor #i.

[0072] Optionally, the control device divides the N motors into M motor clusters according to respective positions of the N motors, the number of motor clusters being M, and the number of motors contained in each motor cluster being K, including: The control device sets the target point to move in a clockwise / counterclockwise direction on the circumscribed circle, and determines the minimum distance between each of the N motors and the target point according to the respective positions of the N motors during the movement of the target point in the clockwise / counterclockwise direction on the circumscribed circle for at least one circle; the circumscribed circle is a circle circumscribed to the respective positions of the N motors; the control device selects motors with the smallest distances from the first M motors from the N motors according to the minimum distance between each of the N motors and the target point, which are motor #11, motor #21...motor #M1.

[0073] When i=1, the control device selects motor #12 which is closest to motor #11 from the N motors according to the positions of the N motors, and then selects motor #13 which is closest to motor #12, and so on, until motor #1 is selected. (K-1) Closest motor #1 K , there are K motors #1 in total, and the K motors #1 are determined as the first pending motor cluster; when i=2, the control device selects motor #22 closest to motor #21 from the N motors according to the positions of the N motors, and then selects motor #23 closest to motor #22, and so on, until motor #2 is selected. (K-1) The closest motor #2 K , there are K motors #2 in total, and the K motors #2 are determined as the second motor cluster to be determined; and so on, until, in the case of i=M, the control device selects the motor #M2 closest to the position of motor #M1 from the N motors according to the positions of the N motors, and then selects the motor #M3 closest to the position of motor #M2, and so on, until the motor #M (K-1) The nearest motor #M K , there are K motors #M in total, K motors #M are used to determine the Mth motor cluster to be determined; At this point, a total of M pending motor clusters are determined; the control device determines whether there are any unselected motors among the N motors; if not, the control device determines the M pending motor clusters as M motor clusters; if so, the control device adds each of the unselected motors to the pending motor clusters corresponding to the M pending motor clusters, to obtain M motor clusters.

[0074] Optionally, the control device adds each of the unselected motors to the to-be-determined motor clusters corresponding to the M to-be-determined motor clusters to obtain M motor clusters, including: the control device adds each motor among the unselected motors to the to-be-determined motor cluster where the motor with the shortest distance to the top M motors is located according to the distance between each motor among the unselected motors and the top M motors with the smallest distance to obtain M motor clusters.

[0075] Optionally, for motors among N motors that belong to at least two motor clusters, the control device needs to send control instructions for the motors that belong to at least two motor clusters to the at least two motor clusters respectively, and the control device also configures the motors belonging to at least two motor clusters: if the motors belonging to at least two motor clusters receive control instructions from upstream motors in at least two motor clusters respectively, and receive at least two control instructions in total, then when it is verified that at least two control instructions are the same, other control instructions among the at least two control instructions except the first received control instruction are discarded.

[0076] Optionally, the control device generates a tree topology connection diagram #i of the i-th motor cluster according to the tree topology structure, and configures the connection relationship between the motors in the i-th motor cluster according to the tree topology connection diagram #i, including: the control device determines the head motor #i in the i-th motor cluster; the control device uses the head motor #i as the end of the tree topology structure to generate branches connecting other motors #i in the i-th motor cluster except the head motor #i, to obtain the tree topology connection diagram #i of the i-th motor cluster; the control device configures the connection relationship between the motors in the i-th motor cluster according to the tree topology connection diagram #i.

[0077] Optionally, the control device determines the head motor #i in the i-th motor cluster, including: the control device broadcasts an indication message to the i-th motor cluster, the indication message is used to instruct the motor that receives the indication message to report its own connection capability, where the connection capability is the number of supported connections; the control device receives the connection capability reported by each motor #i in the i-th motor cluster according to the indication message, and selects the motor with the largest number of supported connections from the i-th motor cluster as the head motor #i.

[0078] Optionally, the control device uses the head motor #i as the end of the tree-like topology structure, generates branches connecting the other motors #i in the i-th motor cluster except the head motor #i, and obtains the tree-like topology connection diagram #i of the i-th motor cluster, including: the control device selects the motor #i in the i-th motor cluster that is closest to the top 2 motors #i as the two branches #i1 of the head motor #i; for the motor #i of each branch #i1 in the two branches #i1, the control device selects the motor #i in the i-th motor cluster that is closest to / closest to the top 2 motors #i of each branch #i1 as the 1 / 2 branch #i2 of the motor #i of each branch #i1, and so on, until all motors in the i-th motor cluster except the head motor #i are determined as corresponding branches, and the tree-like topology connection diagram #i of the i-th motor cluster is obtained.

[0079] Optionally, the control device configures the connection relationship between the motors in the i-th motor cluster means: for any motor #i with branches in the i-th motor cluster, if the motor #i with branches contains 2 branches, the control device configures the motor #i with branches to use two independent spatial vectors, which respectively communicate with the 2 branches contained in the motor #i with branches; if the motor #i with branches contains 1 branch, the control device configures the motor #i with branches to use two independent spatial vectors, which both communicate with the 1 branch contained in the motor #i with branches.

[0080] Figure 3 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. For example, the electronic device may be a terminal device, or a chip (system) or other component or assembly that can be set in the terminal device. Figure 3 As shown, the electronic device 400 may include a processor 401. Optionally, the electronic device 400 may also include a memory 402 and / or a transceiver 403. The processor 401 is coupled to the memory 402 and the transceiver 403, such as being connected via a communication bus. In addition, the electronic device 400 may also be a chip, such as including the processor 401, in which case the transceiver may be an output and input interface of the chip.

[0081] Combine the following Figure 3 The components of the electronic device 400 are specifically introduced as follows: The processor 401 is the control center of the electronic device 400, and may be a processor or a general term for multiple processing elements. For example, the processor 401 is one or more central processing units (CPUs), or may be application specific integrated circuits (ASICs), or may be one or more integrated circuits configured to implement the embodiments of the present application, such as one or more microprocessors (digital signal processors, DSPs), or one or more field programmable gate arrays (FPGAs).

[0082] Optionally, the processor 401 can execute various functions of the electronic device 400 by running or executing the software program stored in the memory 402 and calling the data stored in the memory 402, such as executing the above Figure 2 The electromechanical control method based on the Internet of Things is shown.

[0083] In a specific implementation, as an embodiment, the processor 401 may include one or more CPUs, such as Figure 3 CPU0 and CPU1 are shown in FIG.

[0084] In a specific implementation, as an embodiment, the electronic device 400 may also include multiple processors. Each of these processors may be a single-core processor (single-CPU) or a multi-core processor (multi-CPU). The processor here may refer to one or more devices, circuits, and / or processing cores for processing data (such as computer programs or instructions).

[0085] The memory 402 is used to store the software program for executing the solution of the present application, and the execution is controlled by the processor 401. The specific implementation method can refer to the above method embodiment, which will not be repeated here.

[0086] Optionally, the memory 402 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory 402 may be integrated with the processor 401, or may exist independently and access the computer through the interface circuit ( Figure 3 (not shown) is coupled to the processor 401, which is not specifically limited in this embodiment of the present application.

[0087] The transceiver 403 is used for communication with other electronic devices. For example, if the electronic device 400 is a terminal device, the transceiver 403 can be used to communicate with a network device, or with another terminal device. For another example, if the electronic device 400 is a network device, the transceiver 403 can be used to communicate with a terminal device, or with another network device.

[0088] Optionally, the transceiver 403 may include a receiver and a transmitter ( Figure 3 The receiver is used to implement a receiving function, and the transmitter is used to implement a sending function.

[0089] Optionally, the transceiver 403 may be integrated with the processor 401, or may exist independently and communicate with the electronic device 400 through an interface circuit ( Figure 3 (not shown) is coupled to the processor 401, which is not specifically limited in this embodiment of the present application.

[0090] Understandably, Figure 3 The structure of the electronic device 400 shown in the figure does not constitute a limitation on the electronic device, and the actual electronic device may include more or fewer components than those shown in the figure, or combine certain components, or arrange the components differently.

[0091] In addition, the technical effects of the electronic device 400 can refer to the technical effects of the methods described in the above method embodiments, which will not be repeated here.

[0092] It should be understood that the processor in the embodiments of the present application may be a central processing unit (CPU), and the processor may also be other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0093] It should also be understood that the memory in the embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of random access memory (RAM) are available, such as static RAM (SRAM), dynamic random access memory (DRAM), synchronous DRAM (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link DRAM (SLDRAM), and direct rambus RAM (DR RAM).

[0094] The above embodiments may be implemented in whole or in part by software, hardware (such as circuits), firmware or any other combination thereof. When implemented using software, the above embodiments may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer program or instruction may be stored in a computer-readable storage medium, or may be transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer program or instruction may be transmitted from one website, computer, server or data center to another website, computer, server or data center by wired (such as infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that contains one or more available media sets. The available medium may be a magnetic medium (for example, a floppy disk, a hard disk, a tape), an optical medium (for example, a DVD), or a semiconductor medium. The semiconductor medium may be a solid-state hard disk.

[0095] It should be understood that the term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. A and B can be singular or plural. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship, but it may also indicate an "and / or" relationship. Please refer to the context for specific understanding.

[0096] In this application, "at least one" means one or more, and "plurality" means two or more. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b, or c can mean: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple.

[0097] It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0098] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

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

[0100] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0101] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0102] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0103] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, and other media that can store program codes.

[0104] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. An electromechanical control method based on the Internet of Things, characterized in that: Applied to a control device, the method comprises: The control device divides the N motors into M motor clusters according to respective positions of the N motors, where N is an integer greater than 1, and M is an integer greater than 1, and the i-th motor cluster among the M motor clusters includes at least 3 motors, and i is an integer ranging from 1 to M; The control device generates a tree topology connection diagram #i of the i-th motor cluster according to the tree topology structure, and configures the connection relationship between the motors in the i-th motor cluster according to the tree topology connection diagram #i, wherein only one head motor #i located at the end of the tree topology connection diagram #i in the i-th motor cluster is connected to the control device, and the connection relationship of any motor #i in the i-th motor cluster except the head motor #i can be topologically connected to the head motor #i; The control device sends a control instruction for any motor in the i-th motor cluster to the head motor #i according to the tree topology connection diagram of the i-th motor cluster.

2. The method according to claim 1, characterized in that The control device divides the N motors into M motor clusters according to respective positions of the N motors, including: The control device determines, according to the number of motors N of the N motors, that the number of motor clusters corresponding to the number of motors N is M, the number of motors is positively correlated with the number of motor clusters, and when the number of motor clusters is M, the number of motors included in each motor cluster is K, K is an integer greater than or equal to 3, and M*K is greater than N; The control device divides the N motors into M motor clusters according to the respective positions of the N motors, the number of motor clusters being M and the number of motors contained in each motor cluster being K, wherein the i-th motor cluster contains at least K motors #i.

3. The method according to claim 2, characterized in that The control device divides the N motors into M motor clusters according to respective positions of the N motors, the number of the motor clusters being M, and the number of motors contained in each motor cluster being K, including: The control device sets the target point to move in a clockwise / counterclockwise direction on the circumscribed circle, and determines the minimum distance between each of the N motors and the target point according to the respective positions of the N motors during the process of the target point moving in a clockwise / counterclockwise direction on the circumscribed circle for at least one circle; the circumscribed circle is a circle circumscribed to the respective positions of the N motors; The control device selects motors with the smallest distances from the N motors, namely motor #11, motor #21 ... motor #M1, according to the minimum distances between the N motors and the target point; In the case of i=1, the control device selects motor #12 closest to motor #11 from the N motors according to the respective positions of the N motors, and then selects motor #13 closest to motor #12, and so on, until the motor #1 is selected. (K-1) Closest motor #1 K , there are K motors #1 in total, and the K motors #1 are determined as the first motor cluster to be determined; when i=2, the control device selects motor #22 closest to the position of motor #21 from the N motors according to the respective positions of the N motors, and then selects motor #23 closest to the position of motor #22, and so on, until the motor #2 is selected. (K-1) The closest motor #2 K , there are K motors #2 in total, and the K motors #2 are determined as the second motor cluster to be determined; and so on, until, in the case of i=M, the control device selects the motor #M2 closest to the motor #M1 from the N motors according to the respective positions of the N motors, and then selects the motor #M3 closest to the motor #M2, and so on, until the motor #M is selected. (K-1) The nearest motor #M K , there are K motors #M in total, and the K motors #M are determined as the Mth motor cluster to be determined; So far, a total of M pending motor clusters have been determined; The control device determines whether there are any unselected motors among the N motors; if not, the control device determines the M pending motor clusters as the M motor clusters; if so, the control device adds each of the unselected motors to the pending motor cluster corresponding to the M pending motor clusters to obtain the M motor clusters.

4. The method according to claim 3, characterized in that The control device adds each of the unselected motors to the to-be-determined motor clusters corresponding to the M to-be-determined motor clusters to obtain the M motor clusters, including: The control device adds each of the unselected motors to the to-be-determined motor cluster where the motor with the smallest distance among the top M motors is located according to the distance between each of the unselected motors and the top M motors with the smallest distance, to obtain the M motor clusters.

5. The method according to any one of claims 2 to 4, characterized in that: For the motors among the N motors that belong to at least two motor clusters, the control device needs to send control instructions for the motors belonging to the at least two motor clusters respectively to the at least two motor clusters, and the control device is also configured for the motors belonging to the at least two motor clusters: if the motors belonging to the at least two motor clusters receive control instructions from the upstream motors in the at least two motor clusters respectively, and receive at least two control instructions in total, then when it is verified that the at least two control instructions are the same, the other control instructions among the at least two control instructions except the first received control instruction are discarded.

6. The method according to claim 1, characterized in that The control device generates a tree topology connection diagram #i of the i-th motor cluster according to the tree topology structure, and configures the connection relationship between the motors in the i-th motor cluster according to the tree topology connection diagram #i, including: The control device determines the head motor #i in the i-th motor cluster; The control device uses the head motor #i as the end of the tree topology structure, generates branches connecting other motors #i in the i-th motor cluster except the head motor #i, and obtains a tree topology connection diagram #i of the i-th motor cluster; The control device configures the connection relationship between the motors in the i-th motor cluster according to the tree topology connection diagram #i.

7. The method according to claim 6, characterized in that The control device determines the head motor #i in the i-th motor cluster, including: The control device broadcasts indication information to the i-th motor cluster, wherein the indication information is used to instruct the motor receiving the indication information to report its own connection capability, where the connection capability is the number of supported connections; The control device receives the connection capability reported by each motor #i in the i-th motor cluster according to the indication information, and selects the motor supporting the largest number of connections from the i-th motor cluster as the head motor #i.

8. The method according to claim 6, characterized in that The control device uses the head motor #i as the end of the tree topology structure, generates branches connecting other motors #i in the i-th motor cluster except the head motor #i, and obtains a tree topology connection diagram #i of the i-th motor cluster, including: The control device selects the motor #i which is closest to the head motor #i in the i-th motor cluster as two branches #i1 of the head motor #i; For the motor #i of each branch #i1 in the two branches #i1, the control device selects the motor #i that is closest to / two closest to the motor #i of each branch #i1 in the i-th motor cluster as the 1 / 2 branch #i2 of the motor #i of each branch #i1, and so on, until all motors in the i-th motor cluster except the head motor #i are determined as corresponding branches, thereby obtaining the tree topology connection diagram #i of the i-th motor cluster.

9. The method according to claim 8, characterized in that The control device configures the connection relationship between the motors in the i-th motor cluster means that: for any motor #i with branches in the i-th motor cluster, if the motor #i with branches contains two branches, the control device configures the motor #i with branches to use two independent spatial vectors, which respectively communicate with the two branches contained in the motor #i with branches; if the motor #i with branches contains one branch, the control device configures the motor #i with branches to use two independent spatial vectors, which both communicate with the one branch contained in the motor #i with branches.

10. An electromechanical control system based on the Internet of Things, characterized in that: The system comprises a control device, and the system is configured to: The control device divides the N motors into M motor clusters according to respective positions of the N motors, where N is an integer greater than 1, and M is an integer greater than 1, and the i-th motor cluster among the M motor clusters includes at least 3 motors, and i is an integer ranging from 1 to M; The control device generates a tree topology connection diagram #i of the i-th motor cluster according to the tree topology structure, and configures the connection relationship between the motors in the i-th motor cluster according to the tree topology connection diagram #i, wherein only one head motor #i located at the end of the tree topology connection diagram #i in the i-th motor cluster is connected to the control device, and the connection relationship of any motor #i in the i-th motor cluster except the head motor #i can be topologically connected to the head motor #i; The control device sends a control instruction for any motor in the i-th motor cluster to the head motor #i according to the tree topology connection diagram of the i-th motor cluster.

Citation Information

Cited By

  • Bidirectional control method for management of internet of things platform in edge computing environment

    CN122203923A

  • Two-way control method for IoT platform management in edge computing environment

    CN122203923B