Method, device and storage medium for partition isolation of internet of things devices
By obtaining the regional tags of IoT devices and configuring them to the corresponding partition nodes using a regional mapping table, the problem of configuration differences when IoT devices are used in different regions is solved, and the partition isolation and efficient configuration of devices are achieved.
Patent Information
- Application Number
- CN202310400204.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-07
- Publication Date
- 2026-02-06
- Estimated Expiration
- 2043-04-07
AI Technical Summary
When IoT devices are used in different regions and countries, differences in national security policies and regulations lead to variations in configuration data and services. Existing technologies cannot effectively achieve regional isolation, resulting in market disorder.
By obtaining the region label from the device's basic data and using the region mapping table to obtain the region configuration information, the device's basic data is configured to the corresponding partition node, thereby achieving communication isolation between the device and the specified region.
It simplifies the configuration process for IoT devices, ensures that devices are configured in the correct area, achieves partition isolation, avoids unnecessary communication between devices, and improves configuration efficiency and data consistency.
Smart Images

Figure CN116614356B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of Internet of Things, in particular to a configuration method of Internet of Things device partition isolation, a device and a storage medium. BACKGROUND
[0002] With the rapid development of Internet of Things and the opening of global market, Internet of Things electronic devices will be used in various places overseas. In actual real use scenarios, the same device will have different configuration data and services when used in different regions and countries due to the influence of national security policies and regulations. In order to avoid market disorder caused by mixed goods in the actual sales process, manufacturers will adjust according to different regions. At present, the device is directly configured on the corresponding node of each region to establish communication of the device in the corresponding region. SUMMARY
[0003] The technical problem solved by the present application is to provide a configuration method of Internet of Things device partition isolation, a device and a storage medium, which can realize regional configuration of Internet of Things devices, thereby realizing partition isolation of Internet of Things devices.
[0004] To solve the above technical problem, the first technical solution adopted by the present application is to provide a method, which comprises: obtaining basic data of a device, the basic data comprising a region label; obtaining region configuration information corresponding to the region label through a region mapping table, the region mapping table defining the correspondence between the region label and the region configuration information; and configuring the basic data to a partition node corresponding to the region label by using the region configuration information, so that the device obtains the basic data from the partition node for configuration.
[0005] To solve the above technical problem, the second technical solution adopted by the present application is to provide a method, which comprises: receiving basic data sent by a configuration node; and configuring the basic data, so that the device obtains the basic data for configuration.
[0006] To solve the above technical problem, the third technical solution adopted by the present application is to provide a computer device, which comprises a processor, a memory and a communication circuit, the memory and the communication circuit being coupled to the processor, the memory storing a computer program, and the processor being configured to execute the computer program to implement the method provided by the first technical solution of the present application.
[0007] To solve the above technical problem, the fourth technical solution adopted by the present application is to provide a computer-readable storage medium, which stores a computer program, the computer program being executable by a processor to implement the method provided by the first and second technical solutions of the present application.
[0008] The beneficial effects of the present application are: different from the prior art, the configuration node obtains the basic data of the device, the basic data includes the area label, the area label defines the area where the partition node configured by the device is located, and the area mapping table stored in the configuration node defines the corresponding relationship between the area label and the area configuration information, so that the configuration node obtains the area configuration information corresponding to the area label through the area mapping table, and then configures the basic data of the device to the partition node corresponding to the area label by using the area configuration information, so that the data of the device is stored in the partition node, so that the device can obtain the basic data from the partition node for configuration, thereby simplifying the process of configuring the Internet of Things device. In addition, the device is configured in the partition node, so that the device can establish communication with the partition node and cannot establish communication with the partition node which is not configured, so that partition isolation can be realized. BRIEF DESCRIPTION OF DRAWINGS
[0009] Figure 1 is a system composition schematic block diagram of the configuration system embodiment of the present application;
[0010] Figure 2 is a system structure schematic diagram of the configuration system embodiment of the present application;
[0011] Figure 3 is a flow schematic diagram of the first embodiment of the configuration method of the Internet of Things device partition isolation of the present application;
[0012] Figure 4 is a flow schematic diagram of the second embodiment of the configuration method of the Internet of Things device partition isolation of the present application;
[0013] Figure 5 is a structure schematic block diagram of the first embodiment of the computer device of the present application;
[0014] Figure 6 is a circuit structure schematic block diagram of the computer readable storage medium embodiment of the present application. DETAILED DESCRIPTION
[0015] The technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor are within the scope of protection of the present application.
[0016] With the rapid development of the Internet of Things and the opening of the global market, Internet of Things electronic devices will be used in various places overseas. In actual real use scenarios, the same device will have different configuration data and services when used in different regions and countries due to national security policies and regulations. In order to avoid market disorder caused by mixed goods in the actual sales process, manufacturers will adjust according to different regions.
[0017] The inventors of the present application have found through long-term research that the current method is to directly configure the device on the corresponding node of each region to establish communication between the device and the node. In order to improve or solve the above problems, the present application proposes at least the following embodiments.
[0018] As shown in Figure 1 The configuration system 1 described in the embodiments of the present application can include a configuration node 10 and a partition node 20. The configuration node 10 and the partition node 20 store the basic data of the device, such as installation packages, voice files, image files, and other data. The configuration node 10 is deployed with a service to push the basic data of the device to the partition node 20. The partition node 20 is deployed with a corresponding service to provide configuration to the device and establish communication with the device. Specifically, the device can be an Internet of Things device, such as a camera, a gateway, a vehicle-to-vehicle network, etc.
[0019] The configuration service deployed on the configuration node 10 can include a unified configuration platform 11, a data distribution service 12, and an execution service 13. The manufacturer configures the device on the unified configuration platform 11, such as configuring the basic data of the device, cloud storage resource files, and other necessary configurations. Before configuring the device to the partition node 20, the data of the device can be stored in the configuration node 10. For example, it can be stored in the master database 14 of the configuration node 10, or it can be stored in the cloud storage master resource 15 of the configuration node 10. The manufacturer's configuration of the device on the unified configuration platform 11 can be the configuration of the path of the data of the device, such as determining which part of the data in the master database 14 or the configuration cloud storage master resource 15 needs to be configured to the device. The data distribution service 12 obtains the configuration information of the partition node 20 from the master database 14 of the configuration node 10 so that the subsequent execution service can correctly configure the data of the device in the partition node 20, such as the information of the partition database 21 of the partition node 20. Then the data distribution service 12 pushes the information of the partition node 20 to the execution service 13, so that the execution service 13 can correctly store the data of the device in the partition node 20 according to the configuration information of the partition node 20. The application service 23 in the partition node 20 can process the request sent by the device to provide the data required by the device. The execution service can be a Kafka queue consumption service.
[0020] For details, please refer to the description of the first embodiment of the configuration method for partition isolation of the Internet of Things device of the present application.
[0021] As Figure 2 , Figure 3 shown, the first embodiment of the configuration method of the partition isolation of the Internet of Things device of the present application can take the configuration node 10 as the execution subject, and the described configuration method can include: S100: obtaining the basic data of the device, the basic data including the area label; S200: obtaining the area configuration information corresponding to the area label through the area mapping table, the area mapping table defining the correspondence between the area label and the area configuration information; S300: configuring the basic data to the partition node corresponding to the area label by using the area configuration information, so that the device obtains the basic data from the partition node for configuration.
[0022] The configuration node 10 obtains the basic data of the device, the basic data including the area label, the area label defining the area where the partition node 20 to which the device is configured is located, and the area mapping table stored in the configuration node 10 defines the correspondence between the area label and the area configuration information, so that the configuration node 10 obtains the area configuration information corresponding to the area label through the area mapping table, and then configures the basic data of the device to the partition node 20 corresponding to the area label by using the area configuration information, so that the data of the device is stored in the partition node 20, thereby enabling the device to obtain the basic data from the partition node 20 for configuration, and further simplifying the process of configuring the Internet of Things device. In addition, by configuring the device in the partition node 20, the device can establish communication with the partition node 20 and cannot establish communication with the partition node 20 that is not configured, thereby realizing partition isolation.
[0023] The first embodiment of the configuration method of the partition isolation of the Internet of Things device of the present application is described in detail below.
[0024] S100: obtaining the basic data of the device, the basic data including the area label.
[0025] In the process of configuring the device to the partition node 20, the basic data of the device can be pushed to the partition node 20 so that the device can obtain the basic data from the partition node 20 for configuration. The basic data of the device obtained by the configuration node 10 includes the area label, so the configuration node 10 can read the area label to configure the device to a specified area. For example, the manufacturer sells the Internet of Things device to the United States, so when configuring the device, the area label of the device obtained by the configuration node 10 can be the United States, and then the configuration node 10 can push the basic data of the device to the partition node 20 in the United States.
[0026] Specifically, the manufacturer can configure the device in the unified configuration platform 11 of the configuration node 10, such as configuring the region of the device, configuring the data of the device, etc. The data of the device can exist in the master database 14 or in the cloud storage master resource 15. The manufacturer can determine the path of the data of the device in the master database 14 or the cloud storage master resource 15 when configuring the device in the unified configuration platform 11.
[0027] After the manufacturer configures the region of the device, the configuration node 10 can store the correspondence between the device and the region, such as the association data between the device identifier of the device and the region label in the database. After the data distribution service 12 deployed in the configuration node 10 identifies the data change of the configuration node 10, it can read the identifier of the device and the corresponding region label, so as to obtain the basic data of the device according to the device identifier of the device.
[0028] By obtaining the basic data of the device, and using the service deployed in the configuration node 10 to send the basic data of the device to the partition node 20 corresponding to the region label, so that the partition node 20 stores the basic data of the device, and then the device can access the partition node 20 to configure or obtain the required data, without the need to access the far away configuration node 10 again, reducing the time required for the device to obtain data.
[0029] After the configuration node 10 obtains the region label of the device, since the storage method of data in different regions may be different, the configuration node 10 can obtain the region configuration information corresponding to the region label to correctly push the data to the partition node 20 for storage, which can be referred to the steps after S100:
[0030] S200: Obtain the region configuration information corresponding to the region label through the region mapping table, and the region mapping table defines the correspondence between the region label and the region configuration information.
[0031] The region configuration information can be a storage strategy or an execution strategy of the partition node 20. Specifically, when the data distribution service 12 deployed in the configuration node 10 detects that the device data of the configuration node 10 has changed, it identifies that there is a device that needs to be configured. The data distribution service 12 can read the region mapping table stored in the configuration node 10 to obtain the region configuration information corresponding to the region where the device is configured, so that the basic data of the device can be correctly stored in the partition node 20, such as correctly storing the basic data in the partition database 21 or the cloud storage partition resource 22 of the partition node 20 according to the data storage format of the partition database.
[0032] S300: Configure the basic data to the partition node corresponding to the region label using the region configuration information, so that the device obtains the basic data from the partition node for configuration.
[0033] The configuration node 10 obtains the area configuration information, and can obtain the specific configuration information of the partition node 20, so that the basic data of the device can be correctly configured to the partition node 20.
[0034] Optionally, the area configuration information comprises a storage strategy. The configuration node 10 can store the basic data of the device into the partition node 20 according to the storage strategy of the partition node 20. For details, the following steps included in S300 can be referred to:
[0035] S310: storing the basic data into the partition database of the partition node according to the storage strategy.
[0036] The storage strategy can refer to how to store the basic data into the corresponding partition database 21 according to the category, or refer to how to correctly store the data into the partition database 21 when the database categories of the configuration node 10 and the partition node 20 are different.
[0037] By storing the basic data into the partition database according to the storage strategy, the basic data can be correctly stored into the partition database, the data loss in the configuration process can be effectively avoided, and the data consistency can be ensured.
[0038] Optionally, the basic data comprises configuration data, active data or inactive data, the partition database can comprise a first database and a second database, and the configuration node 10 can store the data into different databases according to the types of the data included in the basic data. For details, the following steps included in S310 can be referred to:
[0039] S311: storing the configuration data or the active data into the first database, and storing the inactive data into the second database. The active data is the basic data accessed by the device within a first preset time period, and the inactive data is the basic data accessed by the device within a second preset time period. The first preset time period is less than the second preset time period.
[0040] The first database can be a database with a faster access speed, and the second database can be a database with a slower access speed. The access speed of the first database is greater than that of the second database.
[0041] The partition node 20 can be provided with a plurality of databases for storing corresponding data. For example, a database with a faster access speed is provided to store the data frequently accessed by the device, and a database with a slower access speed is provided to store the data accessed by the device a long time ago. In addition, in the process of using the device, data can be generated and stored into the partition node 20. Some services can be deployed in the partition node 20 to regularly transfer the data accessed by the device before a certain time point from the first database to the second database.
[0042] Since the device needs to obtain the configuration data from the partition node 20 for configuration, the configuration data and the active data can be stored in the first database, i.e., the database with a faster access speed. For data with a long interval, such as data one month ago, the data can be stored in the second database, i.e., the database with a slower access speed. In this way, when the subsequent device sends a request to the partition node 20 for configuration, the partition node 20 can read the configuration data from the first database and send the configuration data to the device more quickly. In addition, for the active data, the device can use the active data frequently after the configuration is completed. For example, the device can be a sensor that adjusts sensitivity using ambient temperature, and the device can use the temperature of the previous few days to adjust the sensitivity, so the device can obtain the temperature of the previous few days by accessing the active data stored by the partition node 20. For the inactive data, the device can not use the inactive data frequently. For example, the device does not use the temperature of several months ago to adjust the sensitivity of the device, and the temperature data of several months ago is not sufficient as a basis for adjustment, but it does not mean that the device will not use the temperature data of several months ago, so the temperature data of several months ago can be stored in the second database.
[0043] Optionally, the partition node 20 can also set a timing strategy to migrate the data in the first database to the second database. For example, after the device is configured for one month, the data frequently used one month ago can not be frequently used, and thus the data can be migrated to the second database.
[0044] By classifying the basic data according to the access duration of the data and storing the basic data of different categories in different databases, the basic data of the device can be directly and correctly stored in the corresponding database, and the partition node does not need to set a service to classify and store the basic data sent from the configuration node, thereby improving the configuration efficiency of the partition node.
[0045] Optionally, when the basic data is stored in the partition database of the partition node 20, it can be determined whether the type of the partition database and the type of the database of the configuration node 10 are the same, so that the data of the device can be correctly stored in the partition database from the database of the configuration node 10. For details, see the following steps included in S310:
[0046] S312: Determine whether the type of the main database is the same as the type of the partition database.
[0047] S313: If not, convert the type of the basic data to the type of the data stored in the partition database.
[0048] The master database 14 is a database in which the configuration node 10 stores data. The area configuration information obtained by the configuration node 10 from the master database 14 can include information of the partition database 21. Before sending the basic data to the configuration node 10, it can be determined whether the database type of the partition node 20 is the same as the database type of the configuration node 10. If they are the same, the basic data does not need to be converted in format, and the basic data can be directly stored in the partition database 21. For example, if the database of the configuration node 10 and the partition database are both Mysql, the configuration node 10 does not need to convert the basic data. If they are different, the format of the basic data can be converted into a format that can be stored in the partition database 21.
[0049] By determining whether the database type of the configuration node is the same as the database type of the partition database and performing corresponding processing, the correctness of the configuration process and the validity of the data of the partition database can be ensured.
[0050] Optionally, the basic data further includes cloud storage data. When the device is configured to the partition node 20, the cloud storage data of the device can be synchronized to the cloud storage partition resource 22 of the partition node 20. For details, refer to the following steps included in S300:
[0051] S320: Store the cloud storage data in the cloud storage partition resource of the partition node by using the storage strategy.
[0052] Since the basic data of the device further includes cloud storage data, when the configuration node 10 configures the basic data to the partition node 20, the partition node 20 can also configure the cloud storage data of the device. The cloud storage data of the device is stored in the cloud storage master resource 15 of the configuration node 10. The configuration node 10 can synchronize the cloud storage data of the device to the cloud storage partition resource 22 of the partition node 20 by using the storage strategy, so that the partition node 20 can obtain the cloud storage data of the device.
[0053] Optionally, the storage strategy includes partition cloud storage information. The configuration node 10 can synchronize the cloud storage data to the partition node 20 after obtaining the cloud storage information of the partition node 20. For details, refer to the following steps included in S320:
[0054] S321: Synchronize the cloud storage data to the cloud storage partition resource of the partition node by using the partition cloud storage information.
[0055] The partition cloud storage information can be login information of the cloud storage partition resource 22, or can be a specific path in which the device exists in the cloud storage partition resource 22.
[0056] By obtaining the partition cloud storage information and synchronizing the cloud storage data to the cloud storage resource of the partition node by using the cloud storage information, the cloud storage data of the device can be correctly stored in the partition node.
[0057] Optionally, how the configuration node 10 acquires the cloud storage data before synchronizing the cloud storage data can refer to the following steps before S321:
[0058] S322: Authorize the download address of the cloud storage resource path of the configuration node.
[0059] S323: Download the cloud storage data from the cloud storage resource path of the configuration node.
[0060] To ensure the security of the cloud storage master resource 15 of the configuration node 10, the download address can be authorized before downloading the cloud storage data of the device from the cloud storage master resource 15 of the configuration node 10, that is, the path of the cloud storage data of the device in the cloud storage master resource 15 of the configuration node 10 is authorized, so that the configuration node 10 can download the cloud storage data of the device and synchronize it to the cloud storage partition resource 22 of the partition node 20.
[0061] In another embodiment, the configuration node 10 can also not download the cloud storage data, but can send the download address to the partition node 20, so that the partition node 20 can download the cloud storage data and store it in the cloud storage resource of the partition node 20.
[0062] Optionally, the basic data further includes a device identifier, and the configuration node 10 can configure the device identifier to the partition node 20, and the partition node 20 stores the device identifier of the device allowed to access, so as to identify the device allowed to access. The partition node 20 can reject the request when receiving the access request of the device without storing the corresponding device identifier, so as to realize partition isolation.
[0063] As shown in Figure 4 The second embodiment of the configuration method of the partition isolation of the Internet of Things device of the present application can take the partition node 20 as the execution subject, and the configuration method described can include: M100: receiving the basic data sent by the configuration node; M200: configuring the basic data, so that the device acquires the basic data for configuration.
[0064] The partition node 20 receives the basic data of the device sent by the configuration node 10 and stores the basic data to the partition node 20, so that the device can acquire the basic data from the partition node 20 for configuration.
[0065] Optionally, how the device acquires data from the partition node 20 for configuration can refer to the following steps included in M200:
[0066] M210: receiving the access request sent by the device, the access request carrying the device identifier of the device.
[0067] M220: In response to the access request, determine whether the device identifier is stored in the partition data.
[0068] M230: If yes, send the base data to the device.
[0069] M240: If no, return exception data to the device to form partition isolation.
[0070] The partition data is the data stored by the partition node. For example, after the Internet of Things device is shipped but before it is configured, the device can send an access request to the partition node 20 in the area where it is located, where the access request carries the device identifier of the device, so that the partition node 20 can identify the device. After receiving the access request sent by the device, the partition node 20 can first determine whether the device identifier in the access request is stored in the node. That is, the partition node 20 stores the device identifiers of devices allowed to access. If the partition node 20 identifies the device identifier of the device in the list of devices allowed to access, the partition node 20 can send the configuration data of the device to the device, so that the device can be configured using the configuration data in the base data. If the partition node 20 does not identify the device identifier of the device in the device list, the partition node 20 can send an exception code to the device, informing the device that it is not assigned to the node and is not allowed to obtain data from the partition node 20, thereby forming partition isolation.
[0071] For example, a manufacturer sells Internet of Things devices to China and the United Kingdom. Since the regulations in China and the United Kingdom may be different, the data that the Internet of Things devices can request may also be different. The configuration node assigns devices sold to China to the China node and assigns devices sold to the United Kingdom to the United Kingdom node. Then the base data of devices working in China is stored in the China node and the base data of devices working in the United Kingdom is stored in the United Kingdom node. When the Internet of Things devices in the United Kingdom need to be configured, they can send an access request to the United Kingdom node. Assume that the China node receives a request sent by an Internet of Things device in the United Kingdom at this time, and finds that the device identifier of the Internet of Things device is not stored in the China node, then the China node can return an exception code to the Internet of Things device to inform the device that it cannot be configured through the China node. Or the China node can directly discard the access request of the Internet of Things device in the United Kingdom. In this way, the request sent by the Internet of Things device in the United Kingdom can only be responded to and processed by the partition node that stores the device identifier of the device, such as the United Kingdom node, thereby forming partition isolation.
[0072] The device can obtain the required data, such as configuration data or other data, by accessing the partition node, which can reduce network latency and improve the interaction efficiency of the device.
[0073] The second embodiment of the configuration method of the partition isolation of the Internet of Things device of the present application can refer to the description of the configuration node and the partition node of the first embodiment of the configuration method of the partition isolation of the Internet of Things device of the present application, and details are not repeated here.
[0074] As shown in Figure 5 The computer device 100 described in the embodiment of the computer device of the present application can include a processor 110, a memory 120 and a communication circuit 130.
[0075] The memory 120 is used to store computer programs, which can be a ROM (Read-Only Memory) and can also be a RAM (Random Access Memory), or other types of storage devices. Specifically, the memory can include one or more computer readable storage media, which can be non-transitory. The memory can also include a high-speed random access memory and a non-volatile memory such as one or more disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer readable storage medium in the memory is used to store at least one program code.
[0076] The processor 110 is used to control the operation of the computer device 100, and the processor 110 can also be called a CPU (Central Processing Unit). The processor 110 can be an integrated circuit chip with signal processing capability. The processor 110 can also be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a ready-to-program gate array (FPGA) or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component. The general-purpose processor can be a microprocessor or the processor 110 can also be any conventional processor or the like.
[0077] The processor 110 is used to execute the computer program stored in the memory 120 to implement the configuration method of the partition isolation of the Internet of Things device described in the embodiment of the configuration method of the partition isolation of the Internet of Things device of the present application.
[0078] The computer device 100 can also include a communication circuit 130, which is a communication connection device or circuit of the computer device 100 for communicating with external devices, so that the processor 110 can interact with external devices through the communication circuit 130.
[0079] The detailed description of the functions and execution processes of each functional module or component in the embodiment of the computer device of the present application can refer to the description in the embodiment of the configuration method of the partition isolation of the Internet of Things device of the present application, and details are not repeated here.
[0080] In several embodiments provided in the present application, it should be understood that the disclosed computer device 100 and the configuration method of the partition isolation of the Internet of Things device can be implemented in other manners. For example, the above-described embodiments of the computer device 100 are merely schematic, for example, the division of the modules or units is merely a logical function division, and there can be another division manner in actual implementation, for example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the displayed or discussed coupling or direct coupling or communication connection between any two units can be indirect coupling or communication connection through some interfaces, devices or units, and can be electrical, mechanical or in other forms.
[0081] The units described as separate components can or can not be physically separate, and the components displayed as units can or can not be physical units, that is, can be located in one place, or can be distributed on a plurality of network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the present embodiment.
[0082] In addition, each functional unit in each embodiment of the present application can be integrated in one processing unit, or each unit can be physically present separately, or two or more units can be integrated in one unit. The above integrated unit can be realized in the form of hardware or in the form of a software functional unit.
[0083] Referring to Figure 6 The integrated unit, if realized in the form of a software functional unit and sold or used as an independent product, can be stored in the computer readable storage medium 200. Based on such understanding, the technical solutions of the present application essentially or say the part that contributes to the prior art or the whole or part of the technical solutions can be embodied in the form of a software product. The computer software product is stored in a storage medium, and includes a plurality of instructions / computer programs for causing a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to execute all or part of the steps of the method of each embodiment of the present application. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory, a random access memory, a magnetic disk or an optical disk, and various media and electronic terminals with the above storage medium, such as a computer, a mobile phone, a notebook computer, a tablet computer, a camera, etc.
[0084] The execution process of the program data in the computer readable storage medium is described above in the configuration method of the partition isolation of the Internet of Things device, and will not be described here.
[0085] The above merely describes the embodiments of the present application, and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation, or direct or indirect application in other related technical fields, which is made by using the content of the present application specification and drawings, is also included in the patent protection scope of the present application.
Claims
1. A method for configuring partitioned isolation of Internet of Things (IoT) devices, characterized in that, The configuration method is applied to the configuration node and includes: After detecting a data change in the configuration node, the basic data of the device is obtained, including the region label and configuration data; The region configuration information corresponding to the region label is obtained through a region mapping table, whereby the region mapping table defines the correspondence between the region label and the region configuration information. The basic data is configured to the partition node corresponding to the region label using the region configuration information, so that the device can obtain the basic data from the partition node for configuration.
2. The configuration method according to claim 1, characterized in that, The region configuration information includes a storage policy. The step of configuring the basic data to the partition node corresponding to the region label using the region configuration information includes: The basic data is stored in the partition database of the partition node using the storage strategy described above.
3. The configuration method according to claim 2, characterized in that, The basic data includes active or inactive data, the partition database includes a first database and a second database, and the step of storing the basic data into the partition database of the partition node using the storage strategy includes: The configuration data or the active data is stored in the first database, and the inactive data is stored in the second database. The active data is the basic data accessed by the device within a first preset time period, and the inactive data is the basic data accessed by the device within a second preset time period. The first preset time period is shorter than the second preset time period.
4. The configuration method according to claim 2, characterized in that, The step of storing the basic data into the partition database of the partition node using the storage strategy includes: Determine whether the type of the primary database of the configuration node is the same as the type of the partition database; If not, convert the type of the basic data to the data type stored in the corresponding partition database.
5. The configuration method according to claim 2, characterized in that, The basic data includes cloud storage data, and configuring the basic data to the partition node corresponding to the region label using the region configuration information includes: The cloud storage data is stored in the cloud storage partition resources of the partition node using the storage strategy.
6. The configuration method according to claim 5, characterized in that, The storage strategy includes partitioned cloud storage information, and the step of using the storage strategy to store the cloud storage data to the cloud storage partition resources of the partition node includes: The cloud storage data is synchronized to the cloud storage partition resources of the partition node using the partition cloud storage information.
7. The configuration method according to claim 6, characterized in that, Before synchronizing the cloud storage data to the cloud storage partition resources of the partition node using the partition cloud storage information, the process includes: Authorize the download address for the cloud storage resource path of the configuration node; Download the cloud storage data from the cloud storage resource path of the configured node.
8. A method for configuring partitioned isolation of Internet of Things (IoT) devices, characterized in that, The configuration method is applied to partition nodes and includes: The system receives basic data sent by the configuration node, as well as regional configuration information corresponding to the regional labels in the basic data. The basic data includes regional labels and configuration data. The regional configuration information is obtained by the configuration node through matching a regional mapping table. The basic data is obtained by the configuration node after detecting a data change in the configuration node. Using the regional configuration information, the basic data is stored in a partitioned database, and the basic data is configured so that the device can obtain the basic data for configuration.
9. The method according to claim 8, characterized in that, The configuration of the basic data, enabling the device to obtain the basic data for configuration, includes: Receive an access request sent by the device, the access request carrying the device identifier of the device; In response to the access request, determine whether the device identifier exists in the partition data; If so, send the basic data to the device; If not, return the abnormal data to the device to establish partition isolation.
10. A computer device, characterized in that, include: The processor, memory, and communication circuitry are respectively connected to the memory and the communication circuitry. The communication circuit is used for communication connection, the memory stores a computer program, and the processor is used to execute the computer program to implement the method as described in any one of claims 1-9.
11. A computer-readable storage medium, characterized in that, The device contains a computer program that can be executed by a processor to implement the method as described in any one of claims 1-9.
Citation Information
Patent Citations
Control method, device and equipment of Internet of Things equipment and storage medium
CN111432000A
Data classified storage method and system
CN114741033A
Multi-user center access method and device
CN115878909A