Intelligent control method and system based on Internet of Things

By adopting intelligent control methods in the Internet of Things system, dynamically allocating resources to match the network impact factors of each terminal, the transmission stability problem in large-scale Internet of Things systems is solved, and efficient data and signaling processing is achieved.

CN119420711AInactive Publication Date: 2025-02-11GUANGDONG DAVID INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411454859.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-17
Publication Date
2025-02-11
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

As the scale of IoT systems expands, traditional systems are difficult to meet the needs of high data volume and signaling processing, resulting in the impact of transmission stability.

Method used

By introducing intelligent control methods in the Internet of Things system, resources are dynamically allocated to match the network impact factors of each terminal, thereby optimizing the allocation of transmission resources and ensuring the transmission stability of large-scale Internet of Things scenarios.

Benefits of technology

It realizes matching transmission resources with network impact factors in large-scale Internet of Things scenarios, improves the system's data processing and signaling processing capabilities, and ensures transmission stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119420711A_ABST
    Figure CN119420711A_ABST
Patent Text Reader

Abstract

The invention provides an intelligent control method and system based on the Internet of Things, belongs to the technical field of the Internet of Things, and is used for dynamically allocating resources to ensure the transmission stability of a large-scale Internet of Things scene. The Internet of Things system comprises M terminals, M is an integer greater than 1, the method is applied to a first terminal in the M terminals, the first terminal is connected with N terminals in the M terminals, and N is an integer greater than or equal to 1 and less than M. The method comprises the following steps: when a second terminal is connected with the first terminal to join the Internet of Things system, the first terminal is connected with the second terminal; the first terminal determines a network influence factor of the second terminal, wherein the network influence factor of the second terminal is used for determining the influence of communication between the second terminal and the first terminal on communication between the first terminal and the N terminals; the first terminal updates a terminal connected with the first terminal to N + 1 terminals, wherein the N + 1 terminals comprise the first terminal and N terminals; and the first terminal allocates respective transmission resources to the N + 1 terminals according to the network impact factor of the second terminal.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] With the rapid development of science and technology, the Internet of Things (IoT) has become an indispensable part of our lives. The concept of IoT was first proposed by Kevin Ashton in 1999, who defined IoT as "a network in which ordinary objects can collect and exchange data through embedded electronic devices, software, sensors, actuators and network connections". Today, IoT has been widely used in various fields, including smart homes, healthcare, transportation, agriculture, industry, etc.

[0003] The core of the IoT system is the interconnection of terminal devices. These devices are connected through various means (such as Wi-Fi, Bluetooth, ZigBee, LoRa, etc.) to form a huge network. Between these devices, data exchange and control signaling interaction can be carried out through side-channel connection. For example, PC5 connection is a side-channel connection method that allows devices to interact through PC5 connection.

[0004] However, as the scale of IoT networking grows, the amount of interactive data and signaling also increases. This places higher demands on the data processing and signaling processing capabilities of IoT systems. Traditional IoT systems often find it difficult to meet these requirements. Therefore, the optimization and improvement of IoT systems has become an important direction for the development of science and technology. Summary of the invention

[0005] The embodiments of the present invention provide an intelligent control method and system based on the Internet of Things, which are used for dynamic resource allocation to ensure the transmission stability of large-scale Internet of Things scenarios.

[0006] In order to achieve the above object, the present invention adopts the following technical scheme:

[0007] In a first aspect, an intelligent control method based on the Internet of Things is provided, wherein the Internet of Things system includes M terminals, where M is an integer greater than 1, and the method is applied to a first terminal among the M terminals, where the first terminal is connected to N terminals among the M terminals, where N is an integer greater than or equal to 1 and less than M, and the method includes: when the second terminal joins the Internet of Things system by establishing a connection with the first terminal, the first terminal determines a network influence factor of the second terminal, where the network influence factor of the second terminal is used to determine the communication between the second terminal and the first terminal, and the influence on the communication between the first terminal and the N terminals; the first terminal updates the terminals connected to the first terminal to N+1 terminals, where the N+1 terminals include the first terminal and the N terminals; and the first terminal allocates respective transmission resources to the N+1 terminals according to the network influence factor of the second terminal.

[0008] Optionally, the first terminal determines the network impact factor of the second terminal, including: when the second terminal establishes a connection with the first terminal, the first terminal obtains service plane information and / or control plane information from the second terminal, the service plane information indicates the service interacted between the first terminal and the second terminal, and the control plane information indicates the control signaling interacted between the first terminal and the second terminal; the first terminal determines the network impact factor of the second terminal based on the service plane information and / or control plane information.

[0009] Optionally, the service plane information indicates K types of services that may be interacted between the first terminal and the second terminal, where K is an integer greater than or equal to 1, and the control plane information indicates L types of control signaling that may be interacted between the first terminal and the second terminal, where L is an integer greater than or equal to 1; the first terminal determines the network impact factor of the second terminal according to the service plane information and / or the control plane information, including:

[0010] The first terminal weightedly averages the impact weights corresponding to the K types of services to obtain a first weight average, and weightedly averages the impact weights corresponding to the L types of control signaling to obtain a second weight average; the first terminal weightedly sums the first weight average and the second weight average to obtain a network impact factor of the second terminal.

[0011] Optionally, the first terminal pre-stores the network influence factors of N terminals, a total of N network influence factors, the network influence factor of the second terminal plus the N network influence factors total N+1 network influence factors, and the first terminal allocates respective transmission resources to the N+1 terminals according to the network influence factor of the second terminal, including: the first terminal sums the N+1 network influence factors to obtain a total value of the network influence factors; the first terminal allocates corresponding transmission resources to the N+1 terminals in the side transmission resource pool according to the proportion of the network influence factors of the N+1 terminals in the total value of the network influence factors, and the proportion of the transmission resources of each terminal in the N+1 terminals in the side transmission resource pool is the same as the proportion of the network influence factor of the terminal in the total value of the network influence factors.

[0012] Optionally, the side transmission resource pool of the first terminal is a frequency domain transmission resource pool with continuous frequency domain transmission resources, and the first terminal allocates corresponding transmission resources to N+1 terminals in the side transmission resource pool according to the proportion of each network influence factor of the N+1 terminals in the total value of the network influence factors, including: the first terminal sorts the N+1 terminals according to the distance relationship between their respective positions to obtain a resource allocation order for the N+1 terminals; the first terminal allocates frequency domain transmission resources to the N+1 terminals in turn in the frequency domain transmission resource pool according to the proportion of each network influence factor of the N+1 terminals in the total value of the network influence factors and in accordance with the resource allocation order of the N+1 terminals, and the proportion of the frequency domain transmission resources of each of the N+1 terminals in the side transmission resource pool is the same as the proportion of the network influence factor of the terminal in the total value of the network influence factors.

[0013] Optionally, the first terminal sorts the N+1 terminals according to the distance relationship between the respective positions of the N+1 terminals to obtain the resource allocation order of the N+1 terminals, including: the first terminal determines two terminals farthest from each other among the N+1 terminals according to the respective positions of the N+1 terminals, and determines a first resource allocation order between the two terminals, the N+1 terminals including N-1 terminals in addition to the first two terminals, and a terminal that is later in the first resource allocation order is determined as the first target terminal; the first terminal sorts the N+1 terminals according to the respective positions of the N-1 terminals and the position of the first target terminal from the N-1 terminals. A second target terminal farthest from the first target terminal is determined among the terminals, and the second target terminal is added to the end of the first resource allocation order to obtain a second resource allocation order. The N+1 terminals include N-2 terminals in addition to the first two terminals and the second target terminal. The first terminal determines a third target terminal farthest from the second target terminal from the N-2 terminals according to the respective positions of the N-2 terminals and the position of the second target terminal, and adds the third target terminal to the end of the second resource allocation order to obtain a third resource allocation order, and then, and so on, until the resource allocation order of the N+1 terminals is determined.

[0014] Optionally, the two terminals include terminal #1 and terminal #2, and the first terminal determines a first resource allocation order between the two terminals, including: the first terminal determines that the sum of the distances between one of the two terminals and N-1 terminals is a first distance value, and the sum of the distances between the other of the two terminals and N-1 terminals is a second distance value; the first terminal sorts the two terminals in descending order between the first distance value and the second distance value to obtain the first resource allocation order.

[0015] Optionally, the order of allocating frequency domain resources in the frequency domain transmission resource pool is an order of increasing frequencies or an order of decreasing frequencies.

[0016] Optionally, the first terminal is a terminal with a relay function in the Internet of Things system.

[0017] In a second aspect, an Internet of Things system is provided, which includes M terminals, where M is an integer greater than 1. For a first terminal among the M terminals, the first terminal is connected to N terminals among the M terminals, where N is an integer greater than or equal to 1 and less than M. The first terminal is configured as follows: when the second terminal joins the Internet of Things system by establishing a connection with the first terminal, the first terminal determines a network impact factor of the second terminal, where the network impact factor of the second terminal is used to determine the communication between the second terminal and the first terminal, and the impact on the communication between the first terminal and the N terminals; the first terminal updates the terminals connected to the first terminal to N+1 terminals, where the N+1 terminals include the first terminal and the N terminals; and the first terminal allocates respective transmission resources to the N+1 terminals according to the network impact factor of the second terminal.

[0018] Optionally, the first terminal determines the network impact factor of the second terminal, including: when the second terminal establishes a connection with the first terminal, the first terminal obtains service plane information and / or control plane information from the second terminal, the service plane information indicates the service interacted between the first terminal and the second terminal, and the control plane information indicates the control signaling interacted between the first terminal and the second terminal; the first terminal determines the network impact factor of the second terminal based on the service plane information and / or control plane information.

[0019] Optionally, the service plane information indicates K types of services that may be interacted between the first terminal and the second terminal, where K is an integer greater than or equal to 1, and the control plane information indicates L types of control signaling that may be interacted between the first terminal and the second terminal, where L is an integer greater than or equal to 1; the first terminal determines the network impact factor of the second terminal according to the service plane information and / or the control plane information, including:

[0020] The first terminal weightedly averages the impact weights corresponding to the K types of services to obtain a first weight average, and weightedly averages the impact weights corresponding to the L types of control signaling to obtain a second weight average; the first terminal weightedly sums the first weight average and the second weight average to obtain a network impact factor of the second terminal.

[0021] Optionally, the first terminal pre-stores the network influence factors of N terminals, a total of N network influence factors, the network influence factor of the second terminal plus the N network influence factors total N+1 network influence factors, and the first terminal allocates respective transmission resources to the N+1 terminals according to the network influence factor of the second terminal, including: the first terminal sums the N+1 network influence factors to obtain a total value of the network influence factors; the first terminal allocates corresponding transmission resources to the N+1 terminals in the side transmission resource pool according to the proportion of the network influence factors of the N+1 terminals in the total value of the network influence factors, and the proportion of the transmission resources of each terminal in the N+1 terminals in the side transmission resource pool is the same as the proportion of the network influence factor of the terminal in the total value of the network influence factors.

[0022] Optionally, the side transmission resource pool of the first terminal is a frequency domain transmission resource pool with continuous frequency domain transmission resources, and the first terminal allocates corresponding transmission resources to N+1 terminals in the side transmission resource pool according to the proportion of each network influence factor of the N+1 terminals in the total value of the network influence factors, including: the first terminal sorts the N+1 terminals according to the distance relationship between their respective positions to obtain a resource allocation order for the N+1 terminals; the first terminal allocates frequency domain transmission resources to the N+1 terminals in turn in the frequency domain transmission resource pool according to the proportion of each network influence factor of the N+1 terminals in the total value of the network influence factors and in accordance with the resource allocation order of the N+1 terminals, and the proportion of the frequency domain transmission resources of each of the N+1 terminals in the side transmission resource pool is the same as the proportion of the network influence factor of the terminal in the total value of the network influence factors.

[0023] Optionally, the first terminal sorts the N+1 terminals according to the distance relationship between the respective positions of the N+1 terminals to obtain the resource allocation order of the N+1 terminals, including: the first terminal determines two terminals farthest from each other among the N+1 terminals according to the respective positions of the N+1 terminals, and determines a first resource allocation order between the two terminals, the N+1 terminals including N-1 terminals in addition to the first two terminals, and a terminal that is later in the first resource allocation order is determined as the first target terminal; the first terminal sorts the N+1 terminals according to the respective positions of the N-1 terminals and the position of the first target terminal from the N-1 terminals. A second target terminal farthest from the first target terminal is determined among the terminals, and the second target terminal is added to the end of the first resource allocation order to obtain a second resource allocation order. The N+1 terminals include N-2 terminals in addition to the first two terminals and the second target terminal. The first terminal determines a third target terminal farthest from the second target terminal from the N-2 terminals according to the respective positions of the N-2 terminals and the position of the second target terminal, and adds the third target terminal to the end of the second resource allocation order to obtain a third resource allocation order, and then, and so on, until the resource allocation order of the N+1 terminals is determined.

[0024] Optionally, the two terminals include terminal #1 and terminal #2, and the first terminal determines a first resource allocation order between the two terminals, including: the first terminal determines that the sum of the distances between one of the two terminals and N-1 terminals is a first distance value, and the sum of the distances between the other of the two terminals and N-1 terminals is a second distance value; the first terminal sorts the two terminals in descending order between the first distance value and the second distance value to obtain the first resource allocation order.

[0025] Optionally, the order of allocating frequency domain resources in the frequency domain transmission resource pool is an order of increasing frequencies or an order of decreasing frequencies.

[0026] Optionally, the first terminal is a terminal with a relay function in the Internet of Things system.

[0027] In a third aspect, an electronic device is provided, comprising: a processor and a memory; the memory is used to store a computer program, and when the processor executes the computer program, the electronic device executes the method described in the first aspect.

[0028] In a possible design solution, the electronic device described in the third aspect may further include a transceiver. The transceiver may be a transceiver circuit or an interface circuit. The transceiver may be used for the electronic device described in the third aspect to communicate with other electronic devices.

[0029] In an embodiment of the present invention, the electronic device described in the third aspect may be a terminal, or a chip (system) or other parts or components that may be arranged in the terminal, or a system including the terminal.

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

[0031] In summary, when the second terminal joins the Internet of Things system by establishing a connection with the first terminal, the first terminal determines the network impact factor of the second terminal, that is, the impact of the second terminal joining the establishment of the first terminal on the communication between the first terminal and the other N terminals. On this basis, the first terminal updates the terminals connected to the first terminal to N+1 terminals, that is, the N+1 terminals include the first terminal and the N terminals, and according to the network impact factor of the second terminal, comprehensively allocates respective transmission resources to the N+1 terminals, so that the transmission resources can match their respective network impact factors, that is, the transmission stability of large-scale Internet of Things scenarios is guaranteed through dynamic resource allocation. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] Figure 1 A schematic diagram of the architecture of an Internet of Things system provided by an embodiment of the present invention;

[0033] Figure 2 A schematic diagram of a flow chart of an intelligent control method based on the Internet of Things provided by an embodiment of the present invention;

[0034] Figure 3 A schematic diagram of an application scenario of an intelligent control method based on the Internet of Things provided by an embodiment of the present invention;

[0035] Figure 4 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0036] The technical solution of the present invention will be described below in conjunction with the accompanying drawings.

[0037] In the embodiment of the present invention, "indication" may include direct indication and indirect indication, and may also include explicit indication and implicit indication. The information indicated by a certain information 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 achieved by means of the arrangement order of each information agreed in advance (for example, 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 indicated uniformly to reduce the indication overhead caused by indicating the same information separately.

[0038] 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 invention does not limit the selected indication method. In this way, the indication method involved in the embodiment of the present invention should be understood to cover various methods that can enable the party to be indicated to obtain the information to be indicated.

[0039] 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 invention. 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.

[0040] "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 invention 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 an electronic device. The one or more memories can also be partially set separately and partially integrated in a decoder, a processor, or an electronic device. The type of memory can be any form of storage medium, which is not limited by the embodiments of the present invention.

[0041] The "protocol" involved in the embodiments of the present invention may refer to a protocol family in the communication field, a standard protocol with a similar protocol family frame structure, or a related protocol applied in future systems, and the embodiments of the present invention do not specifically limit this.

[0042] In the embodiments of the present invention, descriptions such as "when...", "in the case of...", "if" and "if" all mean that the device will perform corresponding processing under certain objective circumstances, but do not limit the time, nor do they require the device to perform judgment actions when implementing, nor do they mean the existence of other limitations.

[0043] In the description of the embodiments of the present invention, 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 invention is only a kind of association relationship describing 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 invention, 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 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 solution of the embodiments of the present invention, in the embodiments of the present invention, the words "first" and "second" are used to distinguish the same items or similar items with basically the same functions and effects. Those skilled in the art will appreciate that words such as "first" and "second" do not limit the quantity and execution order, and words such as "first" and "second" do not necessarily limit the difference. At the same time, in the embodiments of the present invention, words such as "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 invention should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a concrete way for easy understanding.

[0044] The network architecture and business scenarios described in the embodiments of the present invention are intended to more clearly illustrate the technical solutions of the embodiments of the present invention, and do not constitute a limitation on the technical solutions provided by the embodiments of the present invention. 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 by the embodiments of the present invention are equally applicable to similar technical problems.

[0045] To facilitate understanding of the embodiments of the present invention, first Figure 1 Taking the Internet of Things system shown in as an example, Figure 1 A schematic diagram of the architecture of an Internet of Things system to which the intelligent control method based on the Internet of Things provided in an embodiment of the present invention is applicable.

[0046] like Figure 1 As shown, the Internet of Things system may include: M terminals, where M is an integer greater than 1.

[0047] The terminal may be a terminal with transceiver functions, or a chip or chip system that may be provided in the terminal. The terminal may also be referred to as user equipment (UE), access terminal, subscriber unit, user station, mobile station (MS), mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication device, user agent or user device. The terminal in the embodiments of the present application can be a mobile phone, a cellular phone, a smartphone, a tablet computer, a wireless data card, a personal digital assistant (PDA), a wireless modem, a handset, a laptop computer, a machine type communication (MTC) terminal, a computer with wireless transceiver function, a virtual reality (VR) terminal, an augmented reality (AR) terminal, 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, a road side unit (RSU) with terminal function, etc. The terminal 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. Alternatively, the terminal may also be customer-premises equipment (CPE). It may also be a terminal of the type of smart furniture / home appliances, etc.

[0048] The IoT system can be applied to the ambient IoT (A-IoT) scenario, which is also called the ambient power-enabled IoT or the passive IoT (P-IoT). A-IoT can be applied to a variety of value scenarios. In the A-IoT scenario, the terminal can also be called an A-IoT device.

[0049] Figure 2 The flowchart of the method provided by the embodiment of the present invention is as follows. The intelligent control method based on the Internet of Things is applicable to the above-mentioned Internet of Things system and involves the interaction between devices in the above-mentioned Internet of Things system. The specific process is as follows:

[0050] S201: When a second terminal joins an Internet of Things system by establishing a connection with a first terminal, the first terminal determines a network influence factor of the second terminal.

[0051] The first terminal may be a terminal with a relay function in the Internet of Things system. The first terminal is connected to N terminals among the M terminals, where N is an integer greater than or equal to 1 and less than M. The second terminal may establish a connection with the first terminal, such as a PC5 connection, and may be implemented by using an existing connection establishment method to join the Internet of Things system.

[0052] The network influence factor of the second terminal may be used to determine the influence of the communication between the second terminal and the first terminal on the communication between the first terminal and N terminals.

[0053] For example, when the second terminal establishes a connection with the first terminal, the first terminal may obtain service plane information and / or control plane information from the second terminal, the service plane information indicating the service that the first terminal interacts with the second terminal, and the control plane information indicating the control signaling that the first terminal interacts with the second terminal. For example, the service plane information may indicate K types of services that the first terminal and the second terminal may interact with, K is an integer greater than or equal to 1, and the K types of services may be different types of services, such as video services, audio services, image services, data synchronization services, etc., which are not specifically limited. The control plane information may indicate L types of control signaling that the first terminal and the second terminal may interact with, L is an integer greater than or equal to 1, and the L types of control signaling may be different types of control signaling, high-layer control signaling (such as application layer control signaling), middle-layer control signaling (such as PDCP layer control signaling) or physical layer control signaling (such as PHY layer control signaling, etc.), which are not specifically limited. The first terminal determines the network impact factor of the second terminal based on the service plane information and / or control plane information. The first terminal weights and averages the impact weights corresponding to the K types of services to obtain the first weight mean, and weights and averages the impact weights corresponding to the L types of control signaling to obtain the second weight mean. It can be understood that different types of services can correspond to different impact weights (the corresponding relationship can be pre-configured), such as the impact weight corresponding to the audio service is 0.1, the impact weight corresponding to the image service is 0.3, the impact weight corresponding to the video service is 0.8, the impact weight corresponding to the data synchronization service is 0.6, and so on. Different types of control signaling can also correspond to different impact weights. For example, as the signaling size gradually decreases from the high layer to the physical layer, there can be: the impact weight corresponding to the high-level control signaling is 0.4, the impact weight corresponding to the middle-level control signaling is 0.3, and the impact weight corresponding to the middle-level control signaling is 0.2. It can also be understood that compared with the summation method, weighting can accurately reflect the overall impact of the service or control signaling. In addition, the weights of the impact weights corresponding to each service or control signaling can be the same when weighted. On this basis, the first terminal performs weighted summation of the first weighted value mean and the second weighted value mean to obtain the network influence factor of the second terminal.

[0054] S202: The first terminal updates terminals connected to the first terminal to N+1 terminals, where the N+1 terminals include the first terminal and N terminals.

[0055] S203: The first terminal allocates respective transmission resources to N+1 terminals according to the network impact factor of the second terminal.

[0056] The first terminal pre-stores the network influence factors of N terminals, a total of N network influence factors, and the network influence factors of the N terminals can be determined in a manner similar to the network influence factor of the second terminal described above. The network influence factor of the second terminal and the N network influence factors total N+1 network influence factors. On this basis, the first terminal performs the following operations:

[0057] The first terminal may sum up the N+1 network impact factors to obtain a total value of the network impact factors.

[0058] The first terminal can allocate corresponding transmission resources to N+1 terminals in the side transmission resource pool according to the proportion of each of the N+1 terminals' network impact factors in the total value of the network impact factors, and the proportion of the transmission resources of each of the N+1 terminals in the side transmission resource pool is the same as the proportion of the network impact factor of the terminal in the total value of the network impact factors. For example, the side transmission resource pool of the first terminal is a frequency domain transmission resource pool with continuous frequency domain transmission resources (such as a continuous plurality of subcarriers, carriers, partial bandwidths, bandwidths, etc.), and the first terminal can allocate domain transmission resources at a certain granularity (such as subcarriers / carriers / partial bandwidths / bandwidths, etc.), such as allocating continuous one or more subcarriers / carriers / partial bandwidths / bandwidths, etc. On this basis, the first terminal can sort the N+1 terminals according to the distance relationship between the respective positions of the N+1 terminals to obtain the resource allocation order of the N+1 terminals.

[0059] Specifically, the first terminal may instruct N+1 terminals to provide their respective locations, wherein each of the N+1 terminals may be positioned (specifically, it may be implemented in an existing manner), or obtain their respective locations (specifically, they may be latitude and longitude coordinates) from other devices (such as a positioning management function network element in the network). In this way, the first terminal determines the two terminals with the farthest distance from each other among the N+1 terminals according to the respective locations of the N+1 terminals, and determines the first resource allocation order between the two terminals. In addition to the first two terminals, the N+1 terminals also include N-1 terminals, and the terminal with the later order in the first resource allocation order is determined as the first target terminal. For example, the two terminals include terminal #1 and terminal #2, and the first terminal may determine that the sum of the distances between one of the two terminals and the N-1 terminals is the first distance value, and the sum of the distances between the other of the two terminals and the N-1 terminals is the second distance value; the first terminal may sort the two terminals in the order from large to small between the first distance value and the second distance value to obtain the first resource allocation order. Afterwards, the first terminal can determine a second target terminal farthest from the first target terminal from the N-1 terminals according to the respective positions of the N-1 terminals and the position of the first target terminal, and add the second target terminal to the end of the first resource allocation order to obtain a second resource allocation order. The N+1 terminals include N-2 terminals in addition to the first two terminals and the second target terminal. Afterwards, the first terminal can also determine a third target terminal farthest from the second target terminal from the N-2 terminals according to the respective positions of the N-2 terminals and the position of the second target terminal, and add the third target terminal to the end of the second resource allocation order to obtain a third resource allocation order. And so on, until the resource allocation order of the N+1 terminals is determined.

[0060] For ease of understanding, the following is an example. Figure 4 As shown, N+1 terminals include terminal A, terminal B, terminal C, and terminal D, wherein the two terminals farthest from each other are terminal A and terminal D. At this time, the sum of the distance between terminal D and terminal B and the distance between terminal D and terminal C is L1, and the sum of the distance between terminal A and terminal B and the distance between terminal A and terminal C is L2. L1 is greater than L2, indicating that the position of terminal D is more discrete and needs to be allocated transmission resources with the highest priority. At this time, the first resource allocation order is terminal D→terminal A. Among terminal B and terminal C, terminal C is farther from terminal A, so the second resource allocation order is terminal D→terminal A→terminal C, and finally the third resource allocation order is terminal D→terminal A→terminal C→terminal B. This can smoothly determine the position of frequency domain resources, thereby effectively avoiding resource interference caused by close physical locations.

[0061] Finally, the first terminal can allocate frequency domain transmission resources of each N+1 terminal in the frequency domain transmission resource pool in accordance with the proportion of each network impact factor of the N+1 terminals in the total value of the network impact factor and the resource allocation order of the N+1 terminals, and the proportion of the frequency domain transmission resources of each terminal in the side transmission resource pool is the same as the proportion of the network impact factor of the terminal in the total value of the network impact factor. The order of allocating frequency domain resources in the frequency domain transmission resource pool is the order of increasing frequency or the order of decreasing frequency.

[0062] For ease of understanding, continue with the above example, such as Figure 4 As shown, assuming that the proportion of the network impact factor of terminal D in the total value of the network impact factor is 0.4, which is recorded as the proportion of terminal D is 0.4, the same below, and no further description is given. The proportion of terminal A is 0.1, the proportion of terminal C is 0.3, and the proportion of terminal B is 0.2. Then the frequency domain transmission resources allocated by the frequency domain transmission resource pool are in the order of terminal D→terminal A→terminal C→terminal B, from top to bottom, the frequency domain transmission resources of terminal D, the frequency domain transmission resources of terminal A, the frequency domain transmission resources of terminal C, and the frequency domain transmission resources of terminal B, and the proportions of these resources in the frequency domain transmission resource pool are the same as the proportions of these terminals. It can be understood that each dynamic resource allocation must allocate all the frequency domain transmission resources in the frequency domain transmission resource pool in proportion.

[0063] It can also be understood that if the number of terminals connected to the first terminal decreases, the first terminal also needs to reallocate transmission resources. The principle is similar to the above and is also allocated proportionally, which will not be repeated here.

[0064] This application is frequency division multiplexing, so the allocation of time domain resources is not considered.

[0065] In summary, when the second terminal joins the Internet of Things system by establishing a connection with the first terminal, the first terminal determines the network impact factor of the second terminal, that is, the impact of the second terminal joining the establishment of the first terminal on the communication between the first terminal and the other N terminals. On this basis, the first terminal updates the terminals connected to the first terminal to N+1 terminals, that is, the N+1 terminals include the first terminal and the N terminals, and according to the network impact factor of the second terminal, comprehensively allocates respective transmission resources to the N+1 terminals, so that the transmission resources can match their respective network impact factors, that is, the transmission stability of large-scale Internet of Things scenarios is guaranteed through dynamic resource allocation.

[0066] Combination of the above Figure 2The method provided by the embodiment of the present invention is described in detail. The following is combined with a detailed description of an Internet of Things system for executing the method provided by the embodiment of the present invention, the Internet of Things system includes M terminals, M is an integer greater than 1, for the first terminal among the M terminals, the first terminal is connected to N terminals among the M terminals, N is an integer greater than or equal to 1 and less than M, and the first terminal is configured as follows: when the second terminal joins the Internet of Things system by establishing a connection with the first terminal, the first terminal determines the network impact factor of the second terminal, the network impact factor of the second terminal is used to determine the communication between the second terminal and the first terminal, and the impact on the communication between the first terminal and the N terminals; the first terminal updates the terminals connected to the first terminal to N+1 terminals, and the N+1 terminals include the first terminal and the N terminals; the first terminal allocates respective transmission resources to the N+1 terminals according to the network impact factor of the second terminal.

[0067] Optionally, the first terminal determines the network impact factor of the second terminal, including: when the second terminal establishes a connection with the first terminal, the first terminal obtains service plane information and / or control plane information from the second terminal, the service plane information indicates the service interacted between the first terminal and the second terminal, and the control plane information indicates the control signaling interacted between the first terminal and the second terminal; the first terminal determines the network impact factor of the second terminal based on the service plane information and / or control plane information.

[0068] Optionally, the service plane information indicates K types of services that may be interacted between the first terminal and the second terminal, where K is an integer greater than or equal to 1, and the control plane information indicates L types of control signaling that may be interacted between the first terminal and the second terminal, where L is an integer greater than or equal to 1; the first terminal determines the network impact factor of the second terminal according to the service plane information and / or the control plane information, including:

[0069] The first terminal weightedly averages the impact weights corresponding to the K types of services to obtain a first weight average, and weightedly averages the impact weights corresponding to the L types of control signaling to obtain a second weight average; the first terminal weightedly sums the first weight average and the second weight average to obtain a network impact factor of the second terminal.

[0070] Optionally, the first terminal pre-stores the network influence factors of N terminals, a total of N network influence factors, the network influence factor of the second terminal plus the N network influence factors total N+1 network influence factors, and the first terminal allocates respective transmission resources to the N+1 terminals according to the network influence factor of the second terminal, including: the first terminal sums the N+1 network influence factors to obtain a total value of the network influence factors; the first terminal allocates corresponding transmission resources to the N+1 terminals in the side transmission resource pool according to the proportion of the network influence factors of the N+1 terminals in the total value of the network influence factors, and the proportion of the transmission resources of each terminal in the N+1 terminals in the side transmission resource pool is the same as the proportion of the network influence factor of the terminal in the total value of the network influence factors.

[0071] Optionally, the side transmission resource pool of the first terminal is a frequency domain transmission resource pool with continuous frequency domain transmission resources, and the first terminal allocates corresponding transmission resources to N+1 terminals in the side transmission resource pool according to the proportion of each network influence factor of the N+1 terminals in the total value of the network influence factors, including: the first terminal sorts the N+1 terminals according to the distance relationship between their respective positions to obtain a resource allocation order for the N+1 terminals; the first terminal allocates frequency domain transmission resources to the N+1 terminals in turn in the frequency domain transmission resource pool according to the proportion of each network influence factor of the N+1 terminals in the total value of the network influence factors and in accordance with the resource allocation order of the N+1 terminals, and the proportion of the frequency domain transmission resources of each of the N+1 terminals in the side transmission resource pool is the same as the proportion of the network influence factor of the terminal in the total value of the network influence factors.

[0072] Optionally, the first terminal sorts the N+1 terminals according to the distance relationship between the respective positions of the N+1 terminals to obtain the resource allocation order of the N+1 terminals, including: the first terminal determines two terminals farthest from each other among the N+1 terminals according to the respective positions of the N+1 terminals, and determines a first resource allocation order between the two terminals, the N+1 terminals including N-1 terminals in addition to the first two terminals, and a terminal that is later in the first resource allocation order is determined as the first target terminal; the first terminal sorts the N+1 terminals according to the respective positions of the N-1 terminals and the position of the first target terminal from the N-1 terminals. A second target terminal farthest from the first target terminal is determined among the terminals, and the second target terminal is added to the end of the first resource allocation order to obtain a second resource allocation order. The N+1 terminals include N-2 terminals in addition to the first two terminals and the second target terminal. The first terminal determines a third target terminal farthest from the second target terminal from the N-2 terminals according to the respective positions of the N-2 terminals and the position of the second target terminal, and adds the third target terminal to the end of the second resource allocation order to obtain a third resource allocation order, and then, and so on, until the resource allocation order of the N+1 terminals is determined.

[0073] Optionally, the two terminals include terminal #1 and terminal #2, and the first terminal determines a first resource allocation order between the two terminals, including: the first terminal determines that the sum of the distances between one of the two terminals and N-1 terminals is a first distance value, and the sum of the distances between the other of the two terminals and N-1 terminals is a second distance value; the first terminal sorts the two terminals in descending order between the first distance value and the second distance value to obtain the first resource allocation order.

[0074] Optionally, the order of allocating frequency domain resources in the frequency domain transmission resource pool is an order of increasing frequencies or an order of decreasing frequencies.

[0075] Optionally, the first terminal is a terminal with a relay function in the Internet of Things system.

[0076] Figure 4 The electronic device provided in the embodiment of the present invention is a schematic diagram of the structure of the electronic device. For example, the electronic device may be a network device, or a chip (system) or other components or assemblies that can be set in the network device. Figure 4 As shown, the electronic device 400 may include a processor 401. Optionally, the electronic device 400 may further include a memory 402 and / or a transceiver 403. The processor 401 is coupled with the memory 402 and the transceiver 403, such as being connected via a communication bus.

[0077] Combine the following Figure 4The components of the electronic device 400 are described in detail:

[0078] 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 an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present invention, such as one or more microprocessors (digital signal processors, DSPs), or one or more field programmable gate arrays (FPGAs).

[0079] 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 intelligent control method based on the Internet of Things is shown.

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

[0081] 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 (e.g., computer program instructions).

[0082] The memory 402 is used to store the software program for executing the solution of the present invention, 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.

[0083] 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 4 (not shown) is coupled to the processor 401, which is not specifically limited in this embodiment of the present invention.

[0084] The transceiver 403 is used for communication with other electronic devices. For example, if the electronic device 400 is a terminal, 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, or with another network device.

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

[0086] 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 4 (not shown) is coupled to the processor 401, which is not specifically limited in this embodiment of the present invention.

[0087] Understandably, Figure 4 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.

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

[0089] It should be understood that the processor in the embodiment of the present invention 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.

[0090] It should also be understood that the memory in the embodiments of the present invention 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 (DRRAM).

[0091] The above embodiments can be implemented in whole or in part by software, hardware (such as circuits), firmware or any other combination. When implemented by software, the above embodiments can 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 invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can 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.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that contains one or more available media sets. The available medium can 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 can be a solid-state hard disk.

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

[0093] In the present invention, "at least one" means one or more, and "more than one" 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 or plural items. For example, at least one of a, b, or c can be represented by: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple.

[0094] It should be understood that in various embodiments of the present invention, 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 invention.

[0095] Those skilled 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 the present invention.

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

[0097] In the several embodiments provided by the present invention, 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.

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

[0099] In addition, each functional unit in each embodiment of the present invention 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.

[0100] 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 invention 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 enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0101] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. An intelligent control method based on the Internet of Things, characterized in that: The Internet of Things system includes M terminals, where M is an integer greater than 1, and the method is applied to a first terminal among the M terminals, where the first terminal is connected to N terminals among the M terminals, where N is an integer greater than or equal to 1 and less than M, and the method includes: In a case where a second terminal joins the Internet of Things system by establishing a connection with the first terminal, the first terminal determines a network influence factor of the second terminal, where the network influence factor of the second terminal is used to determine the influence of communication between the second terminal and the first terminal on communication between the first terminal and the N terminals; The first terminal updates the terminals connected to the first terminal to N+1 terminals, where the N+1 terminals include the first terminal and the N terminals; The first terminal allocates respective transmission resources to the N+1 terminals according to the network impact factor of the second terminal.

2. The method according to claim 1, characterized in that The first terminal determines a network impact factor of the second terminal, including: When the second terminal establishes a connection with the first terminal, the first terminal acquires service plane information and / or control plane information from the second terminal, the service plane information indicating a service interacted between the first terminal and the second terminal, and the control plane information indicating control signaling interacted between the first terminal and the second terminal; The first terminal determines a network impact factor of the second terminal according to the service plane information and / or the control plane information.

3. The method according to claim 2, characterized in that The service plane information indicates K types of services that may be interacted between the first terminal and the second terminal, where K is an integer greater than or equal to 1, and the control plane information indicates L types of control signaling that may be interacted between the first terminal and the second terminal, where L is an integer greater than or equal to 1; The first terminal determines, according to the service plane information and / or the control plane information, a network impact factor of the second terminal, including: The first terminal weighted averages the impact weights corresponding to the K types of services to obtain a first weight average, and weighted averages the impact weights corresponding to the L types of control signaling to obtain a second weight average; The first terminal performs weighted summation of the first weight mean and the second weight mean to obtain a network influence factor of the second terminal.

4. The method according to any one of claims 1 to 3, characterized in that The first terminal pre-stores the network influence factors of the N terminals, a total of N network influence factors, the network influence factor of the second terminal and the N network influence factors total N+1 network influence factors, and the first terminal allocates respective transmission resources to the N+1 terminals according to the network influence factor of the second terminal, including: The first terminal sums the N+1 network impact factors to obtain a total value of the network impact factors; The first terminal allocates corresponding transmission resources to the N+1 terminals in the side transmission resource pool according to the proportion of each network influence factor of the N+1 terminals in the total value of the network influence factors, and the proportion of the transmission resources of each of the N+1 terminals in the side transmission resource pool is the same as the proportion of the network influence factor of the terminal in the total value of the network influence factors.

5. The method according to claim 4, characterized in that The side transmission resource pool of the first terminal is a frequency domain transmission resource pool with continuous frequency domain transmission resources, and the first terminal allocates corresponding transmission resources to the N+1 terminals in the side transmission resource pool according to the proportion of the network influence factors of the N+1 terminals in the total value of the network influence factors, including: The first terminal sorts the N+1 terminals according to the distance relationship between the respective positions of the N+1 terminals to obtain a resource allocation order for the N+1 terminals; The first terminal allocates frequency domain transmission resources to the N+1 terminals in sequence in the frequency domain transmission resource pool according to the proportion of each network impact factor of the N+1 terminals in the total value of the network impact factors and in accordance with the resource allocation order of the N+1 terminals. The proportion of the frequency domain transmission resources of each of the N+1 terminals in the side transmission resource pool is the same as the proportion of the network impact factor of the terminal in the total value of the network impact factors.

6. The method according to claim 5, characterized in that The first terminal sorts the N+1 terminals according to the distance relationship between the respective positions of the N+1 terminals to obtain a resource allocation order for the N+1 terminals, including: The first terminal determines, according to respective positions of the N+1 terminals, two terminals that are farthest from each other among the N+1 terminals, and determines a first resource allocation order between the two terminals, wherein the N+1 terminals include N-1 terminals in addition to the first two terminals, and a terminal that is later in the first resource allocation order is determined as a first target terminal; The first terminal determines, from the N-1 terminals, a second target terminal that is farthest from the first target terminal according to respective positions of the N-1 terminals and the position of the first target terminal, and adds the second target terminal to the end of the first resource allocation sequence to obtain a second resource allocation sequence, wherein the N+1 terminals include N-2 terminals in addition to the first two terminals and the second target terminal; The first terminal determines a third target terminal farthest from the second target terminal from the N-2 terminals according to the respective positions of the N-2 terminals and the position of the second target terminal, and adds the third target terminal to the end of the second resource allocation order to obtain a third resource allocation order, and then, and so on, until the resource allocation order of the N+1 terminals is determined.

7. The method according to claim 6, characterized in that The two terminals include terminal #1 and terminal #2, and the first terminal determines a first resource allocation order between the two terminals, including: The first terminal determines that the sum of distances between one of the two terminals and the N-1 terminals is a first distance value, and the sum of distances between the other of the two terminals and the N-1 terminals is a second distance value; The first terminal sorts the two terminals in descending order of the first distance value and the second distance value to obtain the first resource allocation order.

8. The method according to claim 5, characterized in that The order of allocating frequency domain resources in the frequency domain transmission resource pool is an order of increasing frequencies or an order of decreasing frequencies.

9. The method according to claim 1, characterized in that: The first terminal is a terminal with a relay function in the Internet of Things system.

10. An Internet of Things system, characterized in that: The Internet of Things system includes M terminals, where M is an integer greater than 1. For a first terminal among the M terminals, the first terminal is connected to N terminals among the M terminals, where N is an integer greater than or equal to 1 and less than M. The first terminal is configured as follows: In a case where a second terminal joins the Internet of Things system by establishing a connection with the first terminal, the first terminal determines a network influence factor of the second terminal, where the network influence factor of the second terminal is used to determine the influence of communication between the second terminal and the first terminal on communication between the first terminal and the N terminals; The first terminal updates the terminals connected to the first terminal to N+1 terminals, where the N+1 terminals include the first terminal and the N terminals; The first terminal allocates respective transmission resources to the N+1 terminals according to the network impact factor of the second terminal.