Equipment cycle management method and device based on Internet of Things technology

By defining and issuing cycle management strategies on the Internet of Things platform, the problem of device attribute cycle management in the Internet of Things system is solved, and unified management of device cycles and efficient utilization of resources are achieved.

CN119922075APending Publication Date: 2025-05-02HUAWEI CLOUD COMPUTING TECHNOLOGIES CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410575731.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-10-30
Filing Date
2024-05-08
Publication Date
2025-05-02

AI Technical Summary

Technical Problem

In the Internet of Things system, it is difficult for the prior art to effectively manage the attribute cycle of IoT devices, resulting in the waste of network bandwidth and server computing resources.

Method used

By defining cycles on the Internet of Things platform and issuing corresponding cycle management policies to edge devices, devices can report their attributes according to cycles, thereby achieving unified management of device cycles.

Benefits of technology

It realizes unified management of IoT device cycles, reduces the waste of network bandwidth and server resources, and improves management efficiency and system flexibility.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119922075A_ABST
    Figure CN119922075A_ABST
Patent Text Reader

Abstract

The invention provides an equipment cycle management method based on the Internet of Things technology, the method is applied to an Internet of Things platform, the Internet of Things platform is used for managing infrastructures, the Internet of Things platform is connected with Internet of Things equipment and Internet of Things applications, and cycle configuration information configured by a user is acquired, so that the cycle configuration information is acquired; the target Internet of Things equipment conforming to the constraint condition is configured to report the attribute information according to the period in the configuration information, and meanwhile, the range configuration of the execution period of a large number of Internet of Things equipment can be realized by configuring the priority, the time condition and the like of the period. Therefore, the periodic dynamic adjustment and multi-dimensional calculation of the Internet of Things equipment are realized, the waste of calculation resources and network resources is reduced, and the deployment and management difficulty of a complex Internet of Things system is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This disclosure claims priority to Chinese patent application No. 202311421616.1, filed on October 30, 2023, and entitled “A method and device for managing equipment telemetry cycle based on Internet of Things technology”, the entire contents of which are incorporated by reference in this disclosure. Technical Field

[0002] The present application relates to the technical field of Internet of Things, and in particular to a method and apparatus for equipment cycle management based on Internet of Things technology. Background Art

[0003] In the actual application of IoT technology, the capabilities of edge devices are defined based on the physical model, which includes device attributes, commands, services, events, and corresponding responses. The edge devices and the IoT platform transmit corresponding information through connections. Among them, the physical model has a detailed definition of the value constraints of the attributes, such as the valid range of integer values, the valid enumeration of state values, value type, length, etc.

[0004] However, there is no definition for the collection and reporting of attributes. When the business continues to expand, the number of IoT devices continues to increase, and the IoT system is expanded, it is difficult to manage the attribute cycle of IoT devices. Unreasonable cycle management will cause huge waste of network bandwidth and server computing resources. Summary of the invention

[0005] The present application provides a device cycle management method and apparatus based on Internet of Things technology. By defining the cycle, the Internet of Things platform issues the corresponding cycle management, so that the edge device can report its attributes according to the cycle under the corresponding cycle management, thereby realizing unified management of the edge device cycle and meeting the usage requirements of multiple business scenarios.

[0006] In the first aspect, the present application provides a cycle management method based on Internet of Things technology, which is applied to an Internet of Things platform, wherein the Internet of Things platform runs on an infrastructure, and at the same time, the infrastructure is connected to Internet of Things devices and application-side devices respectively, the Internet of Things devices are used to transmit data to the Internet of Things platform, and an Internet of Things application runs on the application-side device. The method specifically includes the following steps: obtaining first cycle configuration information sent by the Internet of Things application, the first cycle configuration information including a first device constraint and a first cycle; and determining a target Internet of Things device from multiple Internet of Things devices based on the first device constraint; and then sending the first cycle to the target Internet of Things device.

[0007] In the solution provided in this application, the IoT platform should have the ability to define cycles. In one implementation, users can input cycle configuration information on the application-side device, and the cycle configuration information is obtained by the IoT platform. The target IoT device that meets the constraint conditions in the cycle configuration information is determined among the connected IoT devices, and the IoT cycle is issued so that the target IoT device can report properties to the IoT platform according to the cycle. The IoT platform supports the provision of cycle configuration capabilities, so that users can directly configure the cycle through the IoT application running on the application-side device deployed locally or the application-side device deployed in the cloud. The platform can create and issue the cycle to the target device based on the cycle configuration information, thereby defining the cycle in a multi-dimensional, multi-level priority and controllable range, and more comprehensively realizing the dynamic adjustment of the cycle of IoT devices to cope with more complex business scenarios, reduce the occupation of network resources, improve efficiency, and reduce repeated configuration.

[0008] Another possible implementation of the first aspect is that the IoT platform obtains the first cycle configuration information sent by the IoT application, and the IoT platform creates a first cycle policy based on the first cycle configuration information, wherein the first cycle policy includes a first device constraint and a first cycle. Further, the IoT platform determines the target IoT device among the IoT devices connected to the IoT platform based on the first device constraint. After determining the target IoT device, the IoT platform sends the first cycle policy to the target IoT device, and the first cycle policy is used to instruct the target IoT device to report the attribute information of the target IoT device according to the first cycle.

[0009] In combination with the first aspect, in a possible implementation provided by the application, the first cycle configuration information also includes a first priority, and the first priority is used to indicate the priority of the first cycle. The method also includes the following specific steps: the Internet of Things platform sends the first priority to the target Internet of Things device; obtains the second cycle configuration information sent by the Internet of Things application, the second cycle configuration information includes a second device constraint, a second cycle and a second priority, and the second priority is used to indicate the priority of the second cycle; determines the target Internet of Things device from the multiple Internet of Things devices according to the second device constraint; sends the second priority and the second cycle to the target Internet of Things device; when the first priority is higher than the second priority, the target Internet of Things device uses the first cycle associated with the first priority to report attribute information; and / or, when the second priority is higher than the first priority, the target Internet of Things device uses the second cycle associated with the second priority to report attribute information.

[0010] In the solution provided by the present application, the user can input multiple cycle configuration information through the Internet of Things application, and each cycle configuration information includes corresponding constraints and cycles. The Internet of Things platform determines the corresponding target Internet of Things device according to each constraint. When the same target Internet of Things device meets the constraints of multiple cycle configuration information, the Internet of Things platform can form a cycle configuration list and send it to the target Internet of Things device, and can send multiple cycles to the target Internet of Things device in sequence. So that the target Internet of Things device stores multiple cycle configuration information at the same time, and determines the target cycle according to the strategy and its own business and reports the attributes to the Internet of Things platform. In other words, the Internet of Things platform provides the ability to configure multiple cycles for an Internet of Things device at the same time, simplifies the configuration process, and enables the Internet of Things device to determine the target cycle to be executed according to the decision factors contained in the strategy, adapts to various business scenarios to the greatest extent, and flexibly configures, so that the cycle management has stronger scenario adaptability. At the same time, when the user enters the cycle configuration information, the priority information of the configuration cycle can be synchronized. The priority information is used to indicate the priority of the cycle when the Internet of Things platform creates the cycle. When there are multiple cycles or multiple cycles in the cycle list, the priority cycle can be determined by sorting the priority. Therefore, multiple cycles can be configured to the target IoT device at one time, and the target IoT device determines the target cycle to be executed according to the cycle priority. Specifically, when the first priority is higher than the second priority, the target IoT device reports the attribute information in the first cycle, or when the second priority is higher than the first priority, the device reports the attribute information in the second cycle. This realizes multi-dimensional and multi-level configurable cycles for different application scenarios and different business scenarios, and improves the efficiency of cycle configuration.

[0011] In combination with the first aspect, in a possible implementation method provided in the application, the first device constraint condition includes a first device computing power condition, and a target IoT device is determined from multiple IoT devices based on the first device constraint condition. Specifically, the IoT platform determines the target IoT device that meets the first device computing power condition from multiple IoT devices based on the first device computing power condition.

[0012] In the solution provided in the present application, in order to further adapt to the large-scale configuration of a large number of IoT devices, by configuring constraints, specific target IoT devices can be clearly identified to execute the corresponding cycle. Among them, the user can limit the IoT devices that execute the corresponding cycle by configuring the constraints as device computing power conditions, thereby realizing the cycle configuration for IoT devices with different computing power conditions.

[0013] Priority Priority

[0014] In combination with the first aspect, in a possible implementation method provided in the application, the first cycle configuration information also includes a first time condition, and the first time condition is used to indicate the effective time of the target IoT device to execute the first cycle. Furthermore, the second cycle configuration information also includes a second time condition, and the second time condition is used to indicate the effective time of the target IoT device to execute the second cycle.

[0015] In the solution provided by the present application, when the user inputs the cycle configuration information, the time condition of the configuration cycle can be synchronously configured, and the time condition indicates the effective time when the cycle is executed on the target IoT device. When the target IoT device obtains multiple cycles, including time conditions corresponding to multiple cycles, the target IoT device can determine the target cycle to be executed according to the priorities and time conditions corresponding to the multiple cycles. In this way, when there is a priority conflict among multiple cycles, the target cycle to be executed can be determined according to the time condition, or when the time conditions of multiple cycles conflict, the target cycle to be executed can be determined according to the priority, further meeting multi-dimensional business scenarios and business needs.

[0016] In combination with the first aspect, in a possible implementation method provided in the application, the Internet of Things platform receives multiple reporting information sent by the target Internet of Things device, each of the multiple reporting information includes attribute information and time information of the target Internet of Things device, and determines the cycle of the target Internet of Things device based on the multiple reporting information.

[0017] In the solution provided by the present application, when the IoT device reports attributes to the IoT platform according to the target cycle, it also reports time information. Based on multiple reported information, the IoT platform can determine the cycle of the reported information based on the time information in the multiple reported information, thereby determining the actual execution cycle of the target IoT device, and judging whether there is a delay and whether the execution cycle is reasonable. Prompts and warnings can be given to users based on the cycle, and the corresponding cycle delay information can be provided to users in a visual way, so that users can adjust the cycle based on the delay information. This enables supervision and feedback on the execution of the cycle, and improves the effectiveness of the cycle execution.

[0018] On the second aspect, the present application provides a cycle management method based on Internet of Things technology, which is applied to Internet of Things devices, wherein the Internet of Things devices are connected to the infrastructure, the infrastructure is connected to the application-side devices, and an Internet of Things platform runs on the infrastructure, and an Internet of Things application runs on the application-side devices. Furthermore, the Internet of Things platform is used to receive a first cycle configuration request sent by the Internet of Things application. The method specifically includes the following steps: obtaining the first cycle sent by the Internet of Things platform, and further, according to the first cycle, sending the attribute information of the Internet of Things device to the Internet of Things platform.

[0019] In the solution provided by this application, according to the cycle issued by the physical network platform, the IoT device reports properties to the cloud management platform according to the cycle. As a result, the IoT device can report properties according to the cycle issued by the platform, so that the IoT device reports properties according to the configured period during the execution of the business. On the basis of reducing the system management cost and deployment difficulty, it meets the user's demand for unified configuration of IoT device cycles based on actual business.

[0020] In combination with the first aspect, in a possible implementation method provided in the application, the Internet of Things platform is also used to receive the second cycle configuration information sent by the Internet of Things application. Specifically, the Internet of Things device obtains the second cycle sent by the Internet of Things platform, determines the target cycle based on the first cycle and the second cycle, and sends the attribute information of the Internet of Things device to the Internet of Things platform based on the target cycle.

[0021] In the solution provided by this application, for different business scenarios and business environments, users can set multiple cycles for an IoT device through the IoT platform, so that after receiving multiple cycles or a cycle list sent by the IoT platform, the IoT device calculates the cycle that meets the current business scenario or business attributes, and reports the attributes according to the cycle included in the cycle. This improves the flexibility of cycle configuration and increases the elasticity of the entire IoT system, achieving efficient device business management.

[0022] In combination with the first aspect, in a possible implementation method provided in the application, the IoT device also obtains a first priority and a second priority, the first priority is used to indicate the priority of the first cycle, and similarly, the second priority is used to indicate the priority of the second cycle.

[0023] In the solution provided in the present application, after receiving multiple cycles, the IoT device can determine the cycle in the target cycle to be executed based on the priorities corresponding to the multiple cycles, so that when different business scenarios or its own attribute information changes, the qualified cycle can be executed based on the priority calculation.

[0024] In combination with the first aspect, in a possible implementation method provided in the application, the IoT device determines the target period based on the first period and the second period. Specifically, based on the first priority and the second priority, when the first priority is higher than the second priority, the first period is determined as the target period, or based on the first priority and the second priority, when the second priority is higher than the first priority, the second period is determined as the target period.

[0025] In the solution provided in the present application, when the user sets different levels of priority information when configuring the cycle, in the IoT device, judgment can be made based on the priorities of multiple cycles received, and attributes can be reported according to the cycle with the highest priority.

[0026] In combination with the first aspect, in a possible implementation method provided in the application, the first period also includes a first time condition, and the second period also includes a second time condition. Further, based on the first time condition, the first period is determined to be the effective time of the target period; based on the second time condition, the second period is determined to be the effective time of the target period.

[0027] In the solution provided in the present application, the IoT device can also calculate the effective time of the cycle based on the time conditions included in the cycle. At the same time, when there are multiple cycles, in addition to judging based on priority, it can also be judged based on time conditions. This allows the IoT device to execute different cycles in different business scenarios such as executing business and collecting data, as well as in different time stages, to achieve comprehensive management and improve the overall efficiency of the system.

[0028] In combination with the first aspect, in a possible implementation method provided in the application, further, multiple reporting information is sent, each of the multiple reporting information includes attribute information and time information, and the multiple reporting information is used to instruct the Internet of Things platform to determine the cycle of the Internet of Things device.

[0029] In the solution provided in this application, the IoT platform actively reports or pushes reporting information. In addition to reporting attributes in the cycle, reporting time information helps the IoT platform monitor and manage the cycle execution of IoT devices.

[0030] The third aspect or any implementation of the third aspect is an implementation of the device corresponding to the first aspect or any implementation of the first aspect. The description in the first aspect or any implementation of the first aspect is applicable to the third aspect or any implementation of the third aspect and will not be repeated here.

[0031] The fourth aspect or any implementation method of the fourth aspect is a device implementation corresponding to the first aspect or any implementation method of the first aspect. The description in the first aspect or any implementation method of the first aspect is applicable to the fourth aspect or any implementation method of the fourth aspect and will not be repeated here.

[0032] In a fifth aspect, the present application provides an Internet of Things system, which includes: an Internet of Things platform and an Internet of Things device, wherein the Internet of Things platform runs on an infrastructure, and the infrastructure is also connected to the Internet of Things device and the application-side device respectively, and the Internet of Things application runs on the application-side device. Based on this, the Internet of Things platform is used for the first cycle configuration information sent by the Internet of Things application, and the first cycle configuration information includes a first device constraint and a first cycle. The Internet of Things platform is also used to determine the target Internet of Things device from multiple Internet of Things devices according to the first device constraint, and send the first cycle to the target Internet of Things device; with respect to the Internet of Things device, it is used to obtain the first priority, the first cycle, the second priority, and the second cycle sent by the Internet of Things platform, and is also used to report attribute information using the first cycle associated with the first priority when the first priority is higher than the second priority; and / or report attribute information using the second cycle associated with the second priority when the second priority is higher than the first priority.

[0033] In a sixth aspect, the present application provides a computing device cluster, comprising at least one computing device, each computing device comprising a processor and a memory; the processor of at least one computing device is used to execute instructions stored in the memory of at least one computing device, so that the computing device cluster executes the above-mentioned first aspect and a method combined with any one of the implementation methods of the above-mentioned first aspect.

[0034] In the seventh aspect, the present application provides a computing device cluster, including at least one computing device, each computing device including a processor and a memory; the processor of at least one computing device is used to execute instructions stored in the memory of at least one computing device, so that the computing device cluster executes the above-mentioned second aspect and a method combined with any one of the implementation methods of the above-mentioned second aspect.

[0035] In an eighth aspect, the present application provides a computer program product comprising instructions, which, when executed by a computer device cluster, enables the computer device cluster to execute the above-mentioned first aspect and a method combined with any one of the implementation modes of the above-mentioned first aspect.

[0036] In a ninth aspect, the present application provides a computer program product comprising instructions, which, when executed by a computer device cluster, enables the computer device cluster to execute the second aspect and a method combined with any one of the implementation modes of the second aspect.

[0037] In a tenth aspect, the present application provides a computer-readable storage medium, comprising computer program instructions. When the computer program instructions are executed by a computing device cluster, the computing device cluster executes the above-mentioned first aspect and a method combined with any one of the implementation methods of the above-mentioned first aspect.

[0038] In an eleventh aspect, the present application provides a computer-readable storage medium, comprising computer program instructions. When the computer program instructions are executed by a computing device cluster, the computing device cluster executes the above-mentioned second aspect and a method combined with any one of the implementation methods of the above-mentioned second aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1 This is a schematic diagram of an application scenario of the device cycle management method based on the Internet of Things technology provided in an embodiment of the present application;

[0040] Figure 2 This is a flow chart of a device cycle management method based on Internet of Things technology provided by an embodiment of the present application;

[0041] Figure 3 This is another flow chart of the device cycle management method based on the Internet of Things technology provided in the embodiment of the present application;

[0042] Figure 4 This is another flow chart of the device cycle management method based on the Internet of Things technology provided in the embodiment of the present application;

[0043] Figure 5 This is another flow chart of the device cycle management method based on the Internet of Things technology provided in the embodiment of the present application;

[0044] Figure 6 This is a schematic diagram of the architecture of the device cycle management method based on the Internet of Things technology provided in an embodiment of the present application;

[0045] Figure 7 This is another schematic diagram of the architecture of the device cycle management method based on the Internet of Things technology provided in the embodiment of the present application;

[0046] Figure 8 This is a schematic diagram of an interface for monitoring the execution cycle of an IoT device provided in an embodiment of the present application;

[0047] Fig. 9 It is a structural diagram of an Internet of Things platform provided by an embodiment of the present application;

[0048] Fig.10 It is a structural diagram of an Internet of Things device provided in an embodiment of the present application;

[0049] Fig.11 is a schematic diagram of the structure of a computing device provided in an embodiment of the present application;

[0050] Fig.12 is a structural diagram of another computing device provided in an embodiment of the present application;

[0051] Fig.13is a schematic diagram of the structure of a computing device cluster provided in an embodiment of the present application;

[0052] Fig.14 is a structural diagram of another computing device cluster provided in an embodiment of the present application;

[0053] Fig.15 It is a structural diagram of another computing device cluster provided in an embodiment of the present application. DETAILED DESCRIPTION

[0054] In the description of this application, unless otherwise specified, " / " indicates that the objects associated with each other are in an "or" relationship, for example, A / B can represent A or B; "and / or" in this application is merely a description of the association relationship between associated objects, indicating that three relationships may exist, 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.

[0055] In the description of this application, unless otherwise specified, "plurality" means 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 mean: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple.

[0056] In addition, in order to clearly describe the technical solutions of the embodiments of the present application, in the embodiments of the present application, words such as "first" and "second" are used to distinguish the same items or similar items with substantially the same functions and effects. Those skilled in the art can understand 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.

[0057] In the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. 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 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.

[0058] It is understood that the "embodiment" mentioned throughout the specification means that the specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, the various embodiments in the entire specification do not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It is understood that in various embodiments of the present application, the size of the sequence number of each process does not mean the order of execution, and 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 embodiment of the present application.

[0059] It can be understood that some optional features in the embodiments of the present application may be implemented independently in certain scenarios without relying on other features, such as the solution on which they are currently based, to solve corresponding technical problems and achieve corresponding effects, or may be combined with other features according to needs in certain scenarios. Accordingly, the devices provided in the embodiments of the present application may also realize these features or functions accordingly, which will not be elaborated here.

[0060] In this application, unless otherwise specified, the same or similar parts between the various embodiments can refer to each other. In this application, if there is no special description or logical conflict between the various embodiments, the terms and / or descriptions between different embodiments are consistent and can be referenced to each other, and different embodiments can be combined to form new embodiments according to their inherent logical relationships. The following implementation methods of this application do not constitute a limitation on the scope of protection of this application.

[0061] In order to facilitate understanding of the technical solutions of the embodiments of the present application, a brief introduction to the relevant technologies of the embodiments of the present application is given below:

[0062] Internet of Things Technology: Internet of Things (IoT) refers to the use of various information sensors, radio frequency identification technology, global positioning system, infrared sensor, laser scanner and other devices and technologies to collect any objects or processes that need to be monitored, connected and interacted in real time, collect various required information such as sound, light, heat, electricity, mechanics, chemistry, biology, location, etc., and realize ubiquitous connection between objects and objects and between objects and people through various possible network access, and realize intelligent perception, identification and management of objects and processes. The Internet of Things is an information carrier based on the Internet, traditional telecommunications network, etc. It allows all ordinary physical objects that can be independently addressed to form an interconnected network.

[0063] IoT platform: connects IoT devices or IoT gateways, supports IoT devices / gateways to report data, and provides data for users to view, or allows users to issue control commands to IoT devices / gateways. In some cases, the IoT platform is also called a cloud platform, cloud server, or network-side server. The IoT platform can also connect to business applications for user access.

[0064] The IoT device may be any device that completes one or more processes in the above information interaction. The IoT device may be a smart TV, augmented reality (AR) device, virtual reality (VR) device, tablet computer, smart speaker, smart light, smart watch, smart bracelet, edge device, business device, smart machine tool, smart camera, sensor, radar, etc. In the following embodiments, there is no limitation on the specific form of the IoT device.

[0065] In the embodiment of the present application, the IoT devices can be divided into directly connected IoT devices and edge IoT devices. Directly connected IoT devices are IoT devices that are directly connected to the IoT access platform, and edge IoT devices are IoT devices that are not directly connected to the IoT access platform but are indirectly connected to the IoT access platform through edge IoT gateway devices and the like.

[0066] Application-side devices: In some scenarios, application-side devices are devices that run business systems or IoT applications that users build based on their business and connect to the IoT platform. In other scenarios, application-side devices are devices provided by the cloud platform and run on cloud infrastructure. Users can access the IoT platform through application-side devices, and then control IoT devices and obtain relevant information about IoT devices. IoT applications run on application-side devices.

[0067] Object model: Object model refers to the abstraction and modeling of product functions in terms of properties, methods, and time of IoT devices to form a standardized data model to facilitate interconnection and data exchange between devices. For example, the properties of different types of smart lights are similar, and they all have the properties of on / off status, and their functional logic is also similar. Therefore, the on / off function of smart lights can be standardized as the object model of smart lights.

[0068] Attributes: Attributes are used to describe the specific information and status of a device during operation, such as the cooling temperature of an air conditioner, the switch status of a light, etc. You can create a corresponding physical model for the device based on its attributes.

[0069] The properties of the object model are readable, writable, and reportable. That is, the properties of the IoT device can be read through the application, and the property values ​​can be set for the IoT device through the IoT platform or IoT application and sent to the IoT device. The IoT device can also report the property information to the IoT platform or IoT application. The properties of the IoT device can include any of the three characteristics of readable, writable, and reportable. The properties of the object model can include multiple fields, such as name, identifier, data type, value range, data length, unit, read and write permissions, and parameter description, etc., which are not limited here.

[0070] To facilitate the description of a device cycle management method based on Internet of Things technology in an embodiment of the present invention, please refer to Figure 1 ,like Figure 1 As shown, this figure is a schematic diagram of an application scenario of the device cycle management method based on the Internet of Things technology provided by an embodiment of the present application. The Internet of Things system architecture includes Internet of Things devices, infrastructure and application-side devices. The Internet of Things platform 22 is built based on the infrastructure 20, wherein the Internet of Things devices include Internet of Things devices 31, Internet of Things devices 32, and Internet of Things devices 33 directly connected to the Internet of Things platform 22, and Internet of Things devices 34, Internet of Things devices 35, and Internet of Things devices 36 connected to the Internet of Things platform 22 through the Internet of Things device 32. The Internet of Things devices are used to collect Internet of Things data and process Internet of Things services. The infrastructure running the Internet of Things platform is also connected to the application-side devices to interact with the application-side devices. The Internet of Things platform can send messages to the Internet of Things applications running on the application-side devices so that the Internet of Things applications can process Internet of Things services. Users can also access the Internet of Things platform through the application-side devices and configure the Internet of Things platform. The Internet of Things devices collect information about the surrounding environment and generate device data. The Internet of Things devices send messages including device data to the Internet of Things platform running on the infrastructure through the transmission link formed by the edge gateway and the edge device. The IoT platform running on the infrastructure transmits messages to the IoT application so that the IoT application processes IoT services based on the messages. The application-side device can be a user-created device or run on the infrastructure.

[0071] For example, in the daily management of campus buildings, the control targets and the cycle of reporting attributes of electromechanical equipment are different in different scenarios. For example, the control of lighting equipment systems needs to distinguish between multiple scenarios such as daily, holidays, emergencies, and fault repair. Generally speaking, the current real-time status and attribute data of each device can be monitored in real time through configuration details. In the operation and maintenance monitoring of the entire space plane, managers need to confirm whether the equipment is in an "expected" state. After the manager configures the temperature control target through the Internet of Things platform, he needs to check whether the temperature of the room has reached the expected state. At this time, in addition to checking the temperature value through the configuration page, it is also necessary to confirm that the temperature value is the latest state (that is, within the specified cycle). Different scenarios have different requirements for cycles, so the cycles for different scenarios need to distinguish different priorities and different effective times to meet them. In the current cycle management method, fixed cycles, heartbeat time and other methods cannot match the rapidly changing application scenarios in a timely manner when facing complex Internet of Things systems and a large number of equipment changes. Frequent changes not only cause a large cost increase, but also cause excessive waste of resources.

[0072] To solve the above problems, the present application provides a device cycle management method based on Internet of Things technology, which is applied to the Internet of Things platform in the Internet of Things system. Users can configure the cycle of the Internet of Things devices connected to the Internet of Things platform through the Internet of Things application on the application side device. When the business scenario has multi-dimensional and multi-level requirements, the cycle configuration of different Internet of Things devices can be achieved by configuring the priority, constraints, and time conditions of the cycle. When there are multiple cycles for the same Internet of Things device, the cycle to be executed can be determined based on the time conditions and priority, and the attributes can be reported accurately according to the cycle.

[0073] See also Figure 2 , Figure 2 This is a flow chart of a device cycle management method based on Internet of Things technology provided by an embodiment of the present application, specifically:

[0074] S301. Obtain first cycle configuration information sent by the Internet of Things application, where the first cycle configuration information includes a first target device constraint and a first cycle.

[0075] The IoT platform obtains the first cycle configuration information sent by the IoT application. The user can log in to the IoT platform through the physical network application deployed on the application side device, input on the IoT platform or call the IoT platform through the application programming interface (API) to configure the cycle configuration information of the IoT device connected to the IoT platform. The cycle configuration information may include the cycle, and may also include the priority, constraints, time conditions, and effective range information of the cycle. Among them, the priority may indicate the priority of the cycle, as shown in Table 1, which is a cycle priority table, specifically:

[0076] Table 1 Periodic priority table

[0077] Level Definition Priority describe Cluster level 0 Tenant Level 1 Product Level 2 Equipment level 3 Dynamic calculation 4-9 Can be formulated according to rules

[0078] In one embodiment of the present application, regarding the definition of the period, the platform supports multiple levels of settings.

[0079] 1. Cluster level, or tenant instance level;

[0080] 2. Product dimension: set the cycle by product or product attribute granularity;

[0081] 3. Device dimension: set the cycle according to the specified device or the attribute granularity of the specified device;

[0082] 4. Dynamic calculation, determine the cycle based on the current scene conditions of the device.

[0083] Each level of settings has different priorities, and different priorities are defined from 0 to 9. The priorities received by IoT devices or gateway devices can be shown in Table 1. Table 1 is a period priority table. IoT devices or gateway devices can calculate the priority of periodic reporting based on the received period according to the priority in the table and the properties of the periodic reporting device.

[0084] Based on this, the definition of the cycle is multi-dimensional and multi-level, which can meet the use of more business scenarios. After the definition and configuration are completed, the IoT platform / gateway follows the definition of the cycle. From the perspective of the platform, it is allowed to perform attribute reporting cycle checks on devices that implement the cycle configuration to meet the monitoring of the basic operation of the equipment and the link reachability.

[0085] Furthermore, the size of the cycle will have different performance impacts on the device and platform. The IoT platform can be configured to support necessary constraints on the cycle. For example, the constraints include:

[0086] 1. On the device side, the maximum and minimum constraints of the cycle are supported, where the minimum value is determined based on the existing computing power (core, power consumption) of the device. That is, based on the computing power conditions of the device, the corresponding cycle can be issued to the IoT devices that meet the computing power conditions to avoid high consumption caused by cycle reporting of IoT devices. Appropriate cycles can be issued based on the actual situation of IoT devices.

[0087] 2. On the platform side, the maximum and minimum value constraints of the configuration period are supported, where the maximum period is evaluated based on the platform's predictive analysis requirements.

[0088] The constraint condition may also include a first effective range condition. For example, the effective range condition calculation uses conditions such as basic device attributes, tags, and dynamic attributes as factors, including but not limited to:

[0089] 1. Device product identification, which is used to identify the IoT device and distinguish it from other IoT devices, such as ID information, device number, etc.

[0090] 2. The space where the equipment is located, such as building, floor, space, area, cluster, etc.;

[0091] 3. The location of the device, including latitude and longitude, altitude, and other positioning information;

[0092] 4. The network address of the device, such as IP address or Media Access Control Address (MAC), etc.

[0093] 5. Device label: a class or a type of IoT device can be distinguished based on the device label, such as temperature sensor device, controller device, electromechanical device, etc.

[0094] 6. Equipment asset information, including asset number, administrator, department, etc.;

[0095] 7. Equipment factory information, including manufacturer identifier, manufacturer name, factory model, equipment factory information, etc.;

[0096] 8. Device firmware version, including firewall version, software version, etc.;

[0097] 9. Equipment status: online or offline, frozen, faulty, alarming, expired, etc.;

[0098] 10. Dynamic properties of the device, such as temperature and humidity of the sensor.

[0099] In one embodiment of the present application, when configuring the periodic configuration information, the user can configure the constraint conditions to clarify the target IoT device pointed to by the periodic configuration information in addition to the periodic configuration. According to the aforementioned multiple effective range conditions, the target IoT device can be controlled by configuring the device product ID and other information in a targeted manner to achieve a precise constraint effect. On the other hand, the IoT device that can execute the corresponding period is calculated and determined according to the computing power, network capacity and actual needs of the IoT platform and IoT devices, so as to ensure the validity of the configuration.

[0100] Equipment Constraint Cycle

[0101] S302. Determine a target IoT device according to the first device constraint condition, wherein the IoT devices include the target IoT device.

[0102] The IoT platform determines the target IoT device according to the first device constraint in the first cycle. Exemplarily, the constraint includes computing power conditions, storage conditions, and network conditions that meet the cycle, that is, the computing power conditions, storage conditions, and network conditions in the constraint are used to determine the target IoT device range that meets the constraint. In another example of the present application, the constraint may include a first effective range condition, and the IoT platform determines the target IoT device by calculating the value corresponding to each dynamic factor in the first effective range condition, or the degree of matching with the corresponding effective range condition.

[0103] Exemplary configuration methods of the effective range conditions include:

[0104] 1. ALL / None, which means direct matching, is used to specify the cycle directly to the device scenario. In this configuration mode, when a condition in the effective range conditions matches the IoT device attribute, the IoT device is determined to be the target IoT device.

[0105] 2. Equal value matching, configured in the form of {factor}:{value}, supports multiple factor combinations, and improves configurability.

[0106] 3. Expression, based on the domain-specific language (DSL) expression language, factors are used as expression variables to participate in the calculation process, which is used to implement multi-factor complex logic judgment scenarios. The selection of DSL can be based on open source Groovy, Java, JavaScript, Python, etc., or it can be customized, and this application does not limit this.

[0107] In one embodiment of the present application, the platform configures three cycles based on the effective range conditions:

[0108] Cycle 1: Scope: ALL

[0109] Cycle 2: Scope: ZoneID: {sz.b01.room19}

[0110] Cycle 3: Scope:Exp(self.properties.oncall=true)

[0111] For example, take IoT device 32 as an example:

[0112] When IoT device 32 is in room {sz.b01.room19}:

[0113] When the oncall attribute of the IoT device 32 is true, it is determined that the IoT device 32 meets cycle 3, and the IoT device 32 is the target IoT device of cycle 3;

[0114] When the oncall attribute of the IoT device 32 is false, it is determined that the IoT device 32 meets cycle 2, and the IoT device 32 is the target IoT device of cycle 2;

[0115] When the oncall attribute of the IoT device 32 cannot be determined, it is determined that the IoT device 32 satisfies cycle 2, and the IoT device 32 is the target IoT device of cycle 2;

[0116] When IoT device 32 is in room {sz.b01.room20}:

[0117] When the oncall attribute of the IoT device 32 is true, it is determined that the IoT device 32 meets cycle 3, and the IoT device 32 is the target IoT device of cycle 3;

[0118] When the oncall attribute of the IoT device 32 is false, it is determined that the IoT device 32 meets cycle 1, and the IoT device 32 is the target IoT device of cycle 1;

[0119] When the oncall attribute of the IoT device 32 cannot be determined, it is determined that the IoT device 32 meets cycle 1, and the IoT device 32 is the target IoT device of cycle 1.

[0120] Especially when there are multiple IoT devices, by configuring constraints, the corresponding target IoT devices under the constraints can be clearly defined, which is convenient for batch management of the cycles of massive IoT devices. Especially in scenarios such as repeated business and repeated attribute characteristics, through multi-dimensional constraint configuration, efficient configuration and management of the IoT device cycle can be achieved, improving the overall system management efficiency and meeting the cycle configuration requirements of multi-dimensional and multi-business scenarios.

[0121] S303. Send a first cycle to the target IoT device, where the first cycle is used to instruct the target IoT device to report attribute information of the target IoT device according to the first cycle.

[0122] After the IoT platform determines the target IoT device according to the constraints, it sends the first cycle to the target IoT device. After receiving the first cycle, the target IoT device reports the attribute information of the IoT device to the IoT platform. The attribute information may include the device attributes of the IoT device, and may also include the business attributes of the IoT device in executing the business according to the object model. The business attributes include the collected data, the results of executing the business, etc., and may also include the object model attributes of the IoT device.

[0123] Further, combined with Figure 1 For an explanation of the IoT system structure in Figure 3 , Figure 3 This is another flow chart of the device cycle management method based on the Internet of Things technology provided in the embodiment of the present application, specifically:

[0124] S401. Obtain periodic configuration information: first periodic configuration information.

[0125] The Internet of Things platform 22 obtains the first cycle configuration information of the periodic configuration information sent by the Internet of Things application 30. The first cycle configuration information of the periodic configuration information is input by the user through the Internet of Things application 30 calling the Internet of Things platform 22. The first cycle configuration information of the periodic configuration information includes the first constraint condition, the first cycle, the priority of the first cycle, the time condition of the first cycle, etc.

[0126] S402. Determine the target IoT device according to the first device constraint condition in the first cycle configuration information.

[0127] The IoT platform 22 determines, from among multiple IoT devices, the target IoT device that meets the first device constraint condition according to the first device constraint condition in the configuration information of the first period, as the IoT device 31. Exemplarily, the IoT platform 22 determines, according to the first device constraint condition, that the computing power, network capacity, and storage capacity of the IoT device 31 meet the requirements of the first period. Based on this, the IoT platform 22 also determines, according to the effective range condition configured in the first device constraint condition, that the IoT device 31 meets the requirements of the effective range.

[0128] By calculating the effective scope conditions through the IoT platform and determining the target IoT devices that meet the constraints, and utilizing the computing power of the infrastructure where the IoT platform is located, the calculation results can be quickly obtained, and the target IoT devices can be quickly determined in the scenario of massive IoT devices, thereby improving the system's work efficiency.

[0129] It is worth noting that in the embodiments of the present application, the computing power requirements, network requirements, storage requirements and effective scope conditions in the constraints can be configured simultaneously, separately, or in any combination, and the present application does not limit this.

[0130] S403. Send the first cycle to the target IoT device.

[0131] The IoT platform 22 sends a first cycle to the IoT device 31 .

[0132] S404. According to the first cycle, send attribute information to the Internet of Things platform.

[0133] The IoT device 31 sends attribute information to the IoT platform 22 according to the first cycle.

[0134] S405: Determine the cycle of the target IoT device based on multiple reporting information.

[0135] In addition to sending attribute information to the IoT platform 22 according to the first cycle, the user can also configure the time information reported by the target IoT device when sending the attribute information in the first cycle configuration information. The time information can be a timestamp added when the target IoT device sends the attribute information. The IoT platform 22 can determine the real cycle of the IoT device 31 based on the time information in the multiple reports sent by the IoT device 31. Exemplarily, the cycle execution status can be obtained by comparing the difference between the time information in two adjacent reports with the first cycle. When the difference is greater than the first cycle or less than the first cycle, it means that there is a delay or other failure in the execution of the first cycle by the IoT device 31. By feeding back the cycle execution status to the IoT application, the user can make timely adjustments to improve the stability of the system.

[0136] Furthermore, when the user configures multiple periodic configuration information at the same time, the IoT platform can determine the target IoT device based on the multiple periodic configuration information. For details, see Figure 4 , Figure 4 This is another flow chart of the device cycle management method based on the Internet of Things technology provided in the embodiment of the present application:

[0137] S406. Obtain periodic configuration information: second periodic configuration information.

[0138] The Internet of Things platform 22 obtains the second period configuration information of the period configuration information. The second period configuration information of the period configuration information is input by the user through the Internet of Things application 30 calling the Internet of Things platform 22. The second period configuration information of the period configuration information includes the corresponding second constraint condition, the second period, the priority of the second period, the time condition of the second period, etc.

[0139] It is worth noting that the user can configure or input multiple periodic configuration information at one time through the Internet of Things application 30, or can independently configure a single periodic configuration information, and the application does not impose any limitation on this.

[0140] S407. Determine the target IoT device according to the second device constraint in the second cycle.

[0141] The implementation method of the Internet of Things platform 22 in step S409 is basically similar to that in step S403, and this application will not go into details.

[0142] S408. Send the second cycle and the second priority to the target IoT device.

[0143] In one embodiment of the present application, the IoT platform 22 may directly send the second cycle to the IoT device 31, and the IoT device 31 may update the stored cycle.

[0144] In another embodiment of the present application, the IoT platform 22 establishes a period list for the target IoT device based on the IoT device 31, determines the stored first period and second period as the period list of the IoT device 31, sends the period list to the IoT device 31, and the IoT device 31 updates its own stored period.

[0145] S409. Determine a target period according to the first period and the second period.

[0146] The IoT device 31 determines the target cycle according to the first cycle and the second cycle. Based on this, the IoT device 31 can compare the first priority of the first cycle with the second priority of the second cycle and execute the cycle with the highest priority. Exemplary:

[0147] Period 1 (Priority 4): Period: 120s

[0148] Period 2 (Priority 5): Period: 60s

[0149] Period 3 (Priority 6): Period: 15s

[0150] When the IoT device 31 has cycle 1, cycle 2, and cycle 3, the highest priority is determined to be cycle 3 by comparing the priorities. Based on this, the IoT device 31 adopts cycle 3 (15s) and determines 120s as the target cycle.

[0151] In an embodiment provided in the present application, the IoT platform also sends a first time condition of a first cycle and a second time condition of a second cycle to the target IoT device. Exemplarily, the first time condition can be a time interval including an effective time and an expiration time of the first cycle.

[0152] For example,

[0153] Period 1 (priority 4): Period: 120s, effective time interval: 8:00-18:00;

[0154] Period 2 (priority 5): Period: 60s, effective time interval: 8:00-18:00;

[0155] Period 3 (priority 6): Period: 15s, effective time interval: 18:00-00:00;

[0156] When there are cycles 1, 2, and 3 in the IoT device 31, the effective time intervals can be compared first. When the effective time intervals conflict, the priorities of the cycles can be further compared. Among them, the effectiveness of cycles 1 and 2 is a time interval conflict. The priority is compared to determine that the highest priority is cycle 2. Based on this, the IoT device 31 adopts cycle 2 (60s) and determines 120s as the target cycle. When the effective time does not conflict, the corresponding cycle is executed according to the effective time interval. Therefore, when the IoT device 31 is at 18:00, cycle 3 is determined as the target cycle, and the corresponding cycle 15s can be executed.

[0157] In another embodiment provided by the present application, the effective range condition can also be calculated by the Internet of Things device 31. When there are multiple cycles, the cycle with high priority is calculated first, and the effective time and effective range are calculated. If the high priority within the effective time is not effective, the cycle with the next priority is calculated. The Internet of Things device has the function of detecting its own attributes, and will use the associated attributes as factors to participate in the calculation process according to the configuration of the rules.

[0158] In this way, the cycle to be executed can be adjusted in real time according to the changes in the properties of the device itself, without the need for calculation through the Internet of Things platform 22, thereby improving the timeliness of the cycle calculation and reducing latency.

[0159] For example,

[0160] Cycle 1 (priority 4): Scope: ALL, Period: 120s, effective time range: 8:00-18:00;

[0161] Cycle 2 (priority 5): Scope: ZoneID: {sz.b01.room19}, Period: 60s, effective time interval: 8:00-18:00;

[0162] Cycle 3 (priority 6): Scope: Exp (self.properties.oncall = true), Period: 15s, effective time interval: 18:00-00:00;

[0163] When IoT device 31 is in room {sz.b01.room19}:

[0164] When the oncall attribute of the device is true and the current time attribute of the device is between 18:00-00:00, cycle 3 (15s) is used;

[0165] When the oncall attribute of the device is false and the current time attribute of the device is between 8:00-18:00, cycle 2 (60s) is used;

[0166] When the oncall attribute of the device is true and the current time attribute of the device is between 8:00-18:00, cycle 2 (60s) is used.

[0167] When IoT device 31 is in room {sz.b01.room20}:

[0168] When the oncall attribute of the device is true and the current time attribute of the device is between 18:00-00:00, cycle 3 (15s) is used;

[0169] When the oncall attribute of the device is false and the current time attribute of the device is between 8:00-18:00, cycle 1 (120s) is used;

[0170] When the oncall attribute of the device is false and the current time attribute of the device is between 18:00-00:00, all cycles will not take effect.

[0171] S410. Send attribute information to the Internet of Things platform according to the target period.

[0172] The IoT device 31 sends attribute information to the IoT platform 22 according to the target period.

[0173] S411. Determine the cycle of the target IoT device based on multiple reported information.

[0174] In addition to sending attribute information to the IoT platform 22 according to the first cycle, the IoT device 31 can configure the time information reported by the target IoT device when sending the attribute information according to the target cycle. The time information can be a timestamp added when the target IoT device sends the attribute information. The IoT platform 22 can determine the real cycle of the IoT device 31 based on the time information in the multiple reported information sent by the IoT device 31. By feeding back the execution status of the cycle to the IoT application, the user can make timely adjustments to improve the stability of the system.

[0175] Furthermore, from the perspective of the IoT device, when at least one cycle sent by the IoT platform is obtained, the target cycle to be executed is determined. For details, see Figure 5 , Figure 5 This is another flow chart of the device cycle management method based on the Internet of Things technology provided in the embodiment of the present application:

[0176] S501. Obtain the first cycle sent by the Internet of Things platform.

[0177] S502. According to the first cycle, send the attribute information of the IoT device to the IoT platform.

[0178] Exemplarily, the IoT device 31 sends attribute information to the IoT platform 22 according to the first cycle. When the IoT platform 22 sends a single cycle and no other cycles are stored on the IoT device 31, the first cycle can be determined as the target cycle, and whether to send the attribute information to the IoT platform 22 according to the first cycle is determined according to the time condition or effective range condition of the first cycle. When the IoT platform 22 sends multiple cycles, or a cycle list including at least multiple cycles, the target cycle to be executed is determined by calculation based on the priority, effective range condition, time condition, etc. of the multiple cycles, and the attribute information is sent to the IoT platform 22 according to the target cycle in the target cycle.

[0179] Please continue to see Figure 6 , Figure 6 This is a schematic diagram of the architecture of the device cycle management method based on the Internet of Things technology provided by the embodiment of the present application, specifically:

[0180] In the data center scenario, the IoT devices include sensors 31 and edge gateways 32 directly connected to the IoT platform 22, as well as sensors 321, 322, 323 and early warning devices 34 connected to the IoT platform 22 through the edge gateway 32. When the platform detects a major abnormal warning, it is necessary to quickly adjust the cycle to quickly obtain relevant information of each core device in the data center. For example, when there is a fire warning, sudden weather, or a critical facility reports a failure, the warroom mechanism needs to be started. During the entire process of the warroom, real-time data collection is required for each core electromechanical equipment in the data center. At this time, the cycle is the shortest, occupying a large amount of network bandwidth and throughput. However, under normal conditions, such a long cycle is not required to avoid excessive waste of network resources.

[0181] Through the method of the present application, in this scenario, the IoT platform 22 sends the configured cycle to the edge gateway 32:

[0182] 1. The default policy, cycle = 60s, represents the cycle of the normal state;

[0183] 2. Warroom strategy, period = 5s, representing the period of emergency state.

[0184] In normal mode, the warroom device status is off; at this time, the gateway selects the default policy after calculation, and the cycle is 60s.

[0185] In emergency mode, the warroom state is turned on through cloud / edge linkage. At this time, the gateway finds through calculation that the DSL policy is effective and has a higher priority, so it selects the warroom period, which is 5s.

[0186] Exemplarily, in the warroom collaborative perception scenario based on cloud-edge, warroom can be a device generated based on scene abstraction, which can be regarded as an early warning device 34, wherein the early warning device 34 is used to carry the state attributes of the warroom, and its state can be set through direct control of the cloud; in addition, a rule-based triggering method can be realized based on cloud linkage and edge linkage.

[0187] Through this embodiment, when the number of core devices in the data center is too large, the cloud may suffer from performance bottlenecks, and there is a risk of untimely and unreliable configuration. In this case, the dynamic periodic configuration method can be combined, and the gateway / device side can complete dynamic adjustments based on the edge to improve system reliability and ensure timely response to warning events.

[0188] Please continue to see Figure 7 , Figure 7 This is another schematic diagram of the architecture of the device cycle management method based on the Internet of Things technology provided in the embodiment of the present application, specifically:

[0189] In the building control scenario, in the networking form of the building Internet of Things system, the main node topology model is gateway-controller-electromechanical equipment. In terms of networking protocols, there are many network protocols, such as Building Automation and Control Networks (BACnet), Internet Protocol (IP), Multi-Service Transport Platform (MSTP), Modbus protocol, Transmission Control Protocol (TCP), RTU protocol, OPC-UA protocol, MQTT protocol and many other options. For example Figure 7 In the embodiment, the edge gateway 32 communicates with the electromechanical device 321 via the TCP protocol, the edge gateway 32 communicates with the electromechanical device 322 via the OPC-UA protocol, and the edge gateway 32 communicates with the electromechanical device 323 via the MQTT protocol.

[0190] Building managers monitor the operating status of equipment in real time through equipment, space, and system configuration. Generally speaking, the current real-time status and attribute data of each device can be monitored in real time through the configuration details. In the operation and maintenance monitoring of the entire space plane, managers need to confirm whether the equipment is in an "expected" state. For example, after the manager configures the temperature control target through the platform, he needs to check whether the temperature of the room has reached the expected state. At this time, in addition to checking the temperature value through the configuration page, it is also necessary to confirm that the temperature value is the latest state (that is, within the specified cycle). Combined with the cycle management method provided by this patent, the configuration application can realize dynamic rendering prompts for the real-time attributes of the equipment, such as making sufficient prompts for attributes that have not been reported for more than a period of time, so as to avoid misjudgment by managers. When an abnormality is detected, the manager can further take timely measures to troubleshoot.

[0191] In the building scenario, different electromechanical equipment can be configured with independent cycles according to their types. Considering the networking of the BA scenario, electromechanical equipment is connected in direct connection or gateway-controller relay mode, and the data reporting and cycle management can be simplified by integrating the platform software development kit (SDK).

[0192] After the electromechanical equipment is connected to the platform, the smart building application obtains the attribute reporting data through subscription; the platform calculates the delay mark of the attribute reporting cycle based on the equipment cycle and pushes it to the smart building application. When the smart building application renders the equipment / system / space configuration on the interface, it can determine whether the equipment has a delay based on the cycle calculated by the platform, and perform corresponding visualization processing, so that the management and control personnel can observe it intuitively.

[0193] For details, see Figure 8 , Figure 8 This is a schematic diagram of an interface for monitoring the execution cycle of an IoT device provided in an embodiment of the present application:

[0194] Through this diagram, users can obtain the actual status of IoT devices during the execution cycle through IoT applications. The interface diagram includes IoT devices and the cycle execution status of each IoT device in the entire system. The execution status is determined by the IoT platform based on the time information in the reported information sent by each IoT device.

[0195] Exemplarily, in a smart building scenario, the cycle detection interface includes electromechanical equipment 31, electromechanical equipment 32, electromechanical equipment 33, electromechanical equipment 34, and the cycle execution status corresponding to each electromechanical equipment. When there is a delay in the cycle of the electromechanical equipment, a prompt of "Cycle delay: 1s" is displayed; when the cycle of the electromechanical equipment is executed normally without delay, a prompt of "Cycle normal" is displayed.

[0196] In this way, users can quickly understand the cycle execution status of IoT devices and make timely adjustments to the cycles of electromechanical equipment with delays and problems.

[0197] The present application provides an Internet of Things system, which includes: an Internet of Things platform and an Internet of Things device, wherein the Internet of Things platform runs on an infrastructure, and the infrastructure is also connected to the Internet of Things device and the application-side device respectively, and the Internet of Things application runs on the application-side device. Based on this, the Internet of Things platform is used to obtain the cycle configuration information sent by the Internet of Things application, and to create a cycle according to the cycle configuration information, and is also used to determine the target Internet of Things device according to the constraint conditions in the cycle configuration information, and to send the cycle to the target Internet of Things device; the Internet of Things device is used to obtain the cycle sent by the Internet of Things platform, and is also used to send the attribute information of the Internet of Things device to the Internet of Things platform according to the cycle.

[0198] The present application also provides an Internet of Things platform. Fig. 9 , Fig. 9 This is a schematic diagram of the structure of an Internet of Things platform provided by an embodiment of the present application. The details are as follows:

[0199] An acquisition module 221 is used to acquire first cycle configuration information sent by the Internet of Things application, where the first cycle configuration information includes a first device constraint and a first cycle;

[0200] A determination module 223, the determination module is used to determine a target IoT device from a plurality of IoT devices according to the first device constraint condition;

[0201] The sending module 224 is used to send the first cycle to the target IoT device.

[0202] The present application also provides an Internet of Things device, see below Fig.10 , Fig.10 This is a schematic diagram of the structure of an Internet of Things device provided by an embodiment of the present application. The details are as follows:

[0203] An acquisition module 311 is used to acquire a first cycle sent by the Internet of Things platform;

[0204] The sending module 312 is used to send the attribute information of the Internet of Things device to the Internet of Things platform according to the first cycle.

[0205] It is worth noting that the above modules can all realize corresponding technical functions, and the embodiments of the present application do not limit this.

[0206] The various modules in the IoT platform 22 are used as examples for explanation, wherein the acquisition module 221, the determination module 223, and the sending module 224 can all be implemented by software or by hardware. For example, the implementation of the acquisition module 221 is described below by taking the acquisition module 221 as an example. Similarly, the implementation of the determination module 223 and the sending module 224 can refer to the implementation of the acquisition module 221.

[0207] As an example of a software functional unit, the acquisition module 221 may include code running on a computing instance. Among them, the computing instance may include at least one of a physical host (computing device), a virtual machine, and a container. Further, the above-mentioned computing instance may be one or more. For example, the acquisition module 221 may include code running on multiple hosts / virtual machines / containers. It should be noted that the multiple hosts / virtual machines / containers used to run the code may be distributed in the same area or in different areas. Furthermore, the multiple hosts / virtual machines / containers used to run the code may be distributed in the same availability zone or in different availability zones, each availability zone including a data center or multiple geographically close data centers. Among them, generally a region may include multiple availability zones.

[0208] As an example of a hardware functional unit, the acquisition module 221 may include at least one computing device, such as a server, etc. Alternatively, the acquisition module 221 may also be a device implemented using an application-specific integrated circuit (ASIC) or a programmable logic device (PLD). The PLD may be a complex programmable logical device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL) or any combination thereof.

[0209] It should be noted that, in other embodiments, the acquisition module 221 can be used to execute any step in the equipment life cycle management method based on the Internet of Things technology, the determination module 223 can be used to execute any step in the equipment life cycle management method based on the Internet of Things technology, and the sending module 224 can be used to execute any step in the equipment life cycle management method based on the Internet of Things technology. The steps that the acquisition module 221, the determination module 223, and the sending module 224 are responsible for implementing can be specified as needed. The acquisition module 221, the determination module 223, and the sending module 224 respectively implement different steps in the equipment life cycle management method based on the Internet of Things technology to realize the full functions of the Internet of Things platform.

[0210] The implementation method of each module in the Internet of Things device 31 is similar to the implementation method of the acquisition module 311 and the sending module 312 in the Internet of Things platform 22, and will not be repeated in this application.

[0211] The above describes in detail the method, Internet of Things platform and system of the embodiments of the present application. In order to facilitate the better implementation of the above schemes of the embodiments of the present application, correspondingly, related equipment for cooperating in the implementation of the above schemes is also provided below.

[0212] This application provides a computing device, see below Fig.11 , Fig.11 300 is a schematic diagram of a computing device provided in an embodiment of the present application. The computing device 300 includes: a bus 307, a processor 308, a memory 306, and a communication interface 309. The processor 308, the memory 306, and the communication interface 309 communicate with each other via the bus 307. The computing device 300 may be a server or a terminal device. It should be understood that the present application does not limit the number of processors and memories in the computing device 300.

[0213] The bus 307 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig.11 The bus 307 is represented by only one line, but it does not mean that there is only one bus or one type of bus. The bus 307 may include a path for transmitting information between various components of the computing device 300 (eg, the memory 306, the processor 308, and the communication interface 309).

[0214] The processor 308 may include any one or more of a central processing unit (CPU), a graphics processing unit (GPU), a microprocessor (MP), or a digital signal processor (DSP).

[0215] The memory 306 may include a volatile memory, such as a random access memory (RAM). The processor 308 may also include a non-volatile memory, such as a read-only memory (ROM), a flash memory, a hard disk drive (HDD), or a solid state drive (SSD).

[0216] The memory 306 stores executable program codes, and the processor 308 executes the executable program codes to respectively implement the functions of the acquisition module 221, the determination module 223, and the sending module 224, thereby implementing the device lifecycle management method based on the Internet of Things technology. That is, the memory 306 stores instructions for the Internet of Things platform to execute the device lifecycle management method based on the Internet of Things technology.

[0217] The communication interface 309 uses a transceiver module such as, but not limited to, a network interface card or a transceiver to implement communication between the computing device 300 and other devices or a communication network.

[0218] This application provides another computing device, see below Fig.12 , Fig.12It is a structural diagram of another computing device provided in an embodiment of the present application. Computing device 400 includes: a bus 407, a processor 408, a memory 406 and a communication interface 409. The processor 408, the memory 406 and the communication interface 409 communicate through the bus 407. Computing device 400 can be a server or a terminal device. It should be understood that the present application does not limit the number of processors and memories in computing device 400. Among them, the implementation of bus 407, processor 408 and communication interface 409 is similar to that of each structure in computing device 300, and can refer to computing device 300, and this application will not repeat them.

[0219] In particular, the memory 406 stores executable program codes, and the processor 308 executes the executable program codes to respectively implement the functions of the acquisition module 311 and the sending module 312, thereby implementing the device lifecycle management method based on the Internet of Things technology. That is, the memory 406 stores instructions for the Internet of Things platform to execute the device lifecycle management method based on the Internet of Things technology.

[0220] The embodiment of the present application also provides a computing device cluster. The computing device cluster includes at least one computing device. The computing device can be a server, such as a central server, an edge server, or a local server in a local data center. In some embodiments, the computing device can also be a terminal device such as a desktop computer, a laptop computer, or a smart phone.

[0221] See below Fig.13 , Fig.13 Schematic diagram of a computing device cluster provided in an embodiment of the present application. Fig.13 As shown, the computing device cluster includes at least one computing device 300, and the memory 306 in one or more computing devices 300 in the computing device cluster may store the same Internet of Things platform for executing instructions of the device lifecycle management method based on the Internet of Things technology.

[0222] In some possible implementations, one or more computing devices 300 in the computing device cluster may also be used to execute some instructions of the Internet of Things platform for executing the device lifecycle management method based on the Internet of Things technology. In other words, a combination of one or more computing devices 300 may jointly execute instructions of the Internet of Things platform for executing the device lifecycle management method based on the Internet of Things technology.

[0223] It should be noted that the memory 306 in different computing devices 300 in the computing device cluster can store different instructions for executing some functions of the Internet of Things platform. That is, the instructions stored in the memory 306 in different computing devices 300 can implement the functions of one or more modules in the acquisition module 221, the determination module 223, and the sending module 224.

[0224] In some possible implementations, the memory 306 of one or more computing devices 300 in the computing device cluster may also store partial instructions for executing the device lifecycle management method based on the Internet of Things technology. In other words, the combination of one or more computing devices 300 can jointly execute instructions for executing the device lifecycle management method based on the Internet of Things technology.

[0225] See below Fig.14 , Fig.14 is a schematic diagram of the structure of another computing device cluster provided in an embodiment of the present application. Fig.14 As shown, two computing devices 300A and 300B are connected via a communication interface 309. The memory in the computing device 300A stores instructions for executing the acquisition module 221 and the sending module 224. The memory in the computing device 300B stores instructions for the determination module 223 of the function to be executed. In other words, the memories 306 of the computing devices 300A and 300B jointly store instructions for the IoT platform to execute the device lifecycle management method based on the IoT technology.

[0226] Fig.14 The connection mode between the computing device clusters shown may be based on the fact that the device cycle management method based on the Internet of Things technology provided by the present application requires a large amount of data transmission to the acquisition module 221 and the sending module 224. Considering the amount of data transmission, in order to avoid the computing device 300A from overloading the operation, the function of the determination module 223 is handed over to the computing device 300B for execution.

[0227] It should be understood that Fig.14 The functions of the computing device 300A shown in FIG. 300A may also be completed by multiple computing devices 300. Similarly, the functions of the computing device 300B may also be completed by multiple computing devices 300.

[0228] See below Fig.15 , Fig.15 1 is a schematic diagram of the structure of another computing device cluster provided in an embodiment of the present application. In some possible implementations, one or more computing devices in the computing device cluster may be connected via a network. The network may be a wide area network or a local area network, etc. Fig.15 A possible implementation is shown, such as Fig.15As shown, two computing devices 300C and 300D are connected via a network. Specifically, the network is connected via a communication interface in each computing device. In this type of possible implementation, the memory 306 in the computing device 300C stores instructions for executing the acquisition module 221 and the sending module 224. At the same time, the memory 306 in the computing device 300D stores instructions for executing the determination module 223.

[0229] Fig.15 The connection method between the computing device clusters shown can be considered to be that the device lifecycle management method based on the Internet of Things technology provided in this application requires a large amount of data transmission and needs to be connected through a network. The execution of these functions is relatively independent. In order to achieve the best storage and computing performance, it is considered to implement the function of the determination module 223 and to be executed by the computing device 300D.

[0230] It should be understood that Fig.15 The functions of the computing device 300C shown in FIG. 300A may also be completed by multiple computing devices 300. Similarly, the functions of the computing device 300D may also be completed by multiple computing devices 300.

[0231] In some possible implementations, the memory 306 of one or more computing devices 300 in the computing device cluster may also store partial instructions for executing the device lifecycle management method based on the Internet of Things technology. In other words, the combination of one or more computing devices 300 can jointly execute instructions for executing the device lifecycle management method based on the Internet of Things technology.

[0232] The embodiment of the present application also provides a computer program product including instructions. The computer program product may be a software or program product including instructions that can be run on a computing device or stored in any available medium. When the computer program product is run on at least one computer device, the at least one computer device executes the above-mentioned device cycle management method applied to the Internet of Things platform for executing the Internet of Things technology.

[0233] The embodiment of the present application also provides a computer-readable storage medium. The computer-readable storage medium can be any available medium that can be stored by the computing device or a data storage device such as a data center containing one or more available media. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk). The computer-readable storage medium includes instructions that instruct the computing device to execute the above-mentioned device cycle management method applied to the Internet of Things platform for executing Internet of Things technology-based.

[0234] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the protection scope of the technical solutions of the embodiments of the present application.

[0235] Those skilled in the art can clearly understand that the specific working process of the system, Internet of Things platform or unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

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

[0237] The embodiment of the present application also provides a computer program product including instructions. The computer program product may be a software or program product including instructions that can be run on a computing device or stored in any available medium. When the computer program product is run on at least one computer device, the at least one computer device executes the above-mentioned device cycle management method applied to the Internet of Things platform for executing the Internet of Things technology.

[0238] The embodiment of the present application also provides a computer-readable storage medium. The computer-readable storage medium can be any available medium that can be stored by the computing device or a data storage device such as a data center containing one or more available media. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk). The computer-readable storage medium includes instructions that instruct the computing device to execute the above-mentioned device cycle management method applied to the Internet of Things platform for executing Internet of Things technology-based.

[0239] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the protection scope of the technical solutions of the embodiments of the present application.

[0240] Those skilled in the art can clearly understand that the specific working process of the system, management platform or unit described above can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0241] 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. A cycle management method based on Internet of Things technology, characterized in that: The method is applied to an Internet of Things platform, the Internet of Things platform runs on an infrastructure, the Internet of Things platform is connected to a plurality of Internet of Things devices and an application-side device respectively, the Internet of Things device is used to transmit data to the Internet of Things platform, and an Internet of Things application runs on the application-side device, and the method includes: Acquire first cycle configuration information sent by the Internet of Things application, where the first cycle configuration information includes a first device constraint and a first cycle; Determine a target IoT device from the plurality of IoT devices according to the first device constraint condition; The first cycle is sent to the target IoT device.

2. The method according to claim 1, characterized in that: The first cycle configuration information further includes a first priority, where the first priority is used to indicate a priority of the first cycle. The method further includes: Sending the first priority to the target IoT device; Acquire second cycle configuration information sent by the Internet of Things application, where the second cycle configuration information includes a second device constraint, a second cycle, and a second priority, where the second priority is used to indicate a priority of the second cycle; Determining the target IoT device from the plurality of IoT devices according to the second device constraint condition; Sending the second priority and the second period to the target IoT device; In a case where the first priority is higher than the second priority, the target IoT device reports the attribute information using a first period associated with the first priority; and / or When the second priority is higher than the first priority, the target IoT device reports the attribute information using a second period associated with the second priority.

3. The method according to claim 1 or 2, characterized in that: The first device constraint condition includes a first device computing power condition, and determining a target IoT device from the plurality of IoT devices according to the first device constraint condition includes: According to the first device computing power condition, a target IoT device that meets the first device computing power condition is determined from the multiple IoT devices.

4. The method according to any one of claims 1 to 3, characterized in that: The first cycle configuration information also includes a first time condition, which is used to indicate the effective time of the target IoT device executing the first cycle; the second cycle configuration information also includes a second time condition, which is used to indicate the effective time of the target IoT device executing the second cycle.

5. The method according to any one of claims 1 to 4, characterized in that: The method further comprises: Receive multiple reporting information sent by the target IoT device, each of the multiple reporting information includes attribute information and time information of the target IoT device; Determine the period of the target Internet of Things device according to the multiple reporting information.

6. An Internet of Things platform, characterized in that: The Internet of Things platform runs on the infrastructure, and the Internet of Things platform is connected to the Internet of Things device and the application side device respectively. The Internet of Things device is used to transmit data to the Internet of Things platform, and the Internet of Things application runs on the application side device. The Internet of Things platform includes: An acquisition module, the acquisition module is used to acquire first cycle configuration information sent by the Internet of Things application, the first cycle configuration information including a first device constraint and a first cycle; A determination module, the determination module being configured to determine a target IoT device from the plurality of IoT devices according to the first device constraint condition; A sending module, wherein the sending module is used to send the first cycle to the target Internet of Things device.

7. The Internet of Things platform according to claim 6, characterized in that: The first cycle configuration information further includes a first priority, where the first priority is used to indicate a priority of the first cycle. Then: The sending module is further used to send the first priority to the target IoT device; The acquisition module is further used to acquire second cycle configuration information sent by the Internet of Things application, where the second cycle configuration information includes a second device constraint, a second cycle, and a second priority, where the second priority is used to indicate the priority of the second cycle; The determination module is further configured to determine the target IoT device from the plurality of IoT devices according to the second device constraint condition; The sending module is further used to send the second priority and the second period to the target Internet of Things device; In a case where the first priority is higher than the second priority, the target IoT device reports the attribute information using a first period associated with the first priority; and / or When the second priority is higher than the first priority, the target IoT device reports the attribute information using a second period associated with the second priority.

8. The Internet of Things platform according to claim 6 or 7, characterized in that: The first device constraint condition includes a first device computing power condition, and the target IoT device is determined from the plurality of IoT devices according to the first device constraint condition. The determination module is specifically used to determine, according to the first device computing power condition, a target IoT device that meets the first device computing power condition from among the multiple IoT devices.

9. The Internet of Things platform according to any one of claims 6 to 8, characterized in that: The first cycle configuration information also includes a first time condition, which is used to indicate the effective time of the target IoT device executing the first cycle; the second cycle configuration information also includes a second time condition, which is used to indicate the effective time of the target IoT device executing the second cycle.

10. The Internet of Things platform according to any one of claims 6 to 9, characterized in that: The IoT platform also includes: A receiving module, the receiving module is further used to receive multiple reporting information sent by the target Internet of Things device, each of the multiple reporting information includes attribute information and time information of the target Internet of Things device; then, The determination module is further used to determine the cycle of the target IoT device according to the multiple reporting information.

11. An Internet of Things system, characterized in that: The Internet of Things system includes: An Internet of Things platform, the Internet of Things platform is used for the first cycle configuration information sent by the Internet of Things application, the first cycle configuration information including a first device constraint and a first cycle, and is further used to determine a target Internet of Things device from the multiple Internet of Things devices according to the first device constraint, and send the first cycle to the target Internet of Things device; An Internet of Things device, the Internet of Things device is used to obtain the first priority, the first period, the second priority and the second period sent by the Internet of Things platform, and is also used to report attribute information using the first period associated with the first priority when the first priority is higher than the second priority; and / or When the second priority is higher than the first priority, the attribute information is reported using a second period associated with the second priority.

12. A computing device cluster, characterized in that: comprising at least one computing device, each computing device comprising a processor and a memory; The processor of the at least one computing device is configured to execute instructions stored in the memory of the at least one computing device, so that the computing device cluster executes the method according to any one of claims 1 to 5.

13. A computer program product comprising instructions, characterized in that When the instructions are executed by a computer device cluster, the computer device cluster executes the method according to any one of claims 1 to 5.

14. A computer-readable storage medium, characterized in that: The method comprises computer program instructions. When the computer program instructions are executed by a computing device cluster, the computing device cluster performs the method according to any one of claims 1 to 5.