Internet of Things service configuration method, device, electronic device, and program product
By using the color recognition model in the IoT business configuration process, the color category results of the IoT business demand table parameters are solved, and the problems of high error rate, low efficiency and high labor costs in the existing technology are fully automated and efficient in the IoT business configuration.
Patent Information
- Application Number
- CN202111223494.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-20
- Publication Date
- 2025-03-04
- Estimated Expiration
- 2041-10-20
AI Technical Summary
There are problems with high error rate, low efficiency and high labor costs in the existing IoT business configuration process, mainly due to the need for manual intervention in color label configuration and script production.
Through the color recognition model, the color category results of the IoT business demand table parameters are automatically identified, and the corresponding color category labels are configured for it, and the IoT business configuration script is generated to realize a fully automated configuration process.
It improves the efficiency of IoT business configuration, reduces manual errors, significantly reduces labor costs, and ensures the accuracy of configuration results.
Smart Images

Figure CN116016153B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of Internet of Things service technology, and specifically to Internet of Things service configuration methods, devices, electronic devices, and computer program products. Background Art
[0002] The configuration process of existing IoT services is generally as follows: first, the marking personnel check the IoT service requirement table and configure the corresponding color labels for different service requirements on the IoT service requirement table, then the configuration personnel analyze the service requirements according to the color labels, and then make a service configuration script in combination with the service configuration rules, and finally send the service configuration script to the corresponding network element device to implement the configuration of IoT access control services. All links of the existing IoT service configuration process require manual intervention, but the types of IoT services are numerous and complex, the parameters on the IoT service requirement table are even more numerous, and the configuration requirements are various. When configuring color labels and making scripts, personnel are extremely prone to errors, and it takes a long time, is inefficient, and has high labor costs. Although a small part of the links can be achieved with the help of auxiliary tools, most of the process is still completed manually, and the auxiliary tools also need to be manually monitored, resulting in extremely low configuration efficiency of IoT access control services. Summary of the invention
[0003] The embodiment of the present application provides an Internet of Things service configuration method to solve the technical problems of high configuration error rate, low configuration efficiency and high labor cost of Internet of Things access control service.
[0004] In a first aspect, an embodiment of the present application provides an Internet of Things service configuration method, including:
[0005] Identify the color category results of the IoT business requirement table parameters through the color recognition model, and set color category labels corresponding to the color category results for the IoT business requirement table parameters to obtain an IoT business requirement configuration set;
[0006] Generate an Internet of Things service configuration script by combining the Internet of Things service requirement configuration set and the Internet of Things service configuration rule;
[0007] The color recognition model is trained based on sample data of IoT business requirements.
[0008] In one embodiment, the IoT business demand sample data includes a number of historical IoT business demand parameters and color category results corresponding to the historical IoT business demand parameters, and the color category results of the IoT business demand table parameters identified by the color recognition model include:
[0009] Obtaining distance values between a number of the historical IoT service demand parameters and the IoT service demand table parameters by using the distance measurement algorithm through the color recognition model;
[0010] According to the color category results of the historical Internet of Things business demand parameters whose distance values are within a preset range, the color category results of the Internet of Things business demand table parameters are obtained.
[0011] In one embodiment, the distance values between the historical IoT service demand parameters and the IoT service demand table parameters are obtained by using the color recognition model using a distance measurement algorithm, specifically:
[0012] According to the RGB values of the historical IoT business demand parameters and the RGB values of the IoT business demand table parameters, the distance values between the historical IoT business demand parameters and the IoT business demand table parameters are obtained by using the color recognition model using a distance measurement algorithm.
[0013] In one embodiment, obtaining the color classification result of the Internet of Things service demand table parameter according to the color classification result of the historical Internet of Things service demand parameter whose distance value is within a preset range includes:
[0014] According to the color classification results of the historical IoT business demand parameters whose distance values are within the preset range, the historical IoT business demand parameters whose distance values are within the preset range are classified;
[0015] The color category result of the historical Internet of Things business demand parameter with the largest number of results belonging to the same color category and a distance value within a preset range is used as the color category result of the Internet of Things business demand table parameter.
[0016] In one embodiment, the color classification results of the parameters of the Internet of Things business demand table are obtained based on the color classification results of the historical Internet of Things business demand parameters whose distance values are within a preset range, which is specifically achieved by using the k-nearest neighbor classification algorithm through the color recognition model.
[0017] In one embodiment, the color category result includes at least one of the following: a red added category result, a blue deleted category result, and a black kept category result.
[0018] In one embodiment, the Internet of Things service configuration method further includes:
[0019] Audit the color category results of the IoT business requirement table parameters identified by the color recognition model.
[0020] In a second aspect, an embodiment of the present application provides an IoT service configuration device, including:
[0021] The module for obtaining an IoT business requirement configuration set is used to identify the color category results of IoT business requirement table parameters through a color recognition model, and set color category labels corresponding to the color category results for the IoT business requirement table parameters to obtain an IoT business requirement configuration set;
[0022] An IoT service configuration script generation module, used to generate an IoT service configuration script by combining the IoT service requirement configuration set and the IoT service configuration rules;
[0023] The color recognition model is trained based on sample data of IoT business requirements.
[0024] In a third aspect, an embodiment of the present application provides an electronic device, comprising a processor and a memory storing a computer program, wherein when the processor executes the program, the steps of the Internet of Things service configuration method described in the first aspect are implemented.
[0025] In a fourth aspect, an embodiment of the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the steps of the Internet of Things service configuration method described in the first aspect.
[0026] The IoT service configuration method, device, electronic device, and computer program product provided in the embodiments of the present application can automatically identify the color category results of the IoT service demand table parameters in the IoT service demand table through a color recognition model, and configure the color category labels corresponding to the color category results for the IoT service demand table parameters, quickly obtain the IoT service demand configuration set, and then automatically generate the IoT service configuration script by combining the IoT service demand configuration set and the IoT service configuration rules. The IoT service configuration method, device, electronic device, and computer program product provided in the embodiments of the present application can realize the full automation of IoT service configuration, effectively improve the configuration efficiency of IoT services while ensuring the accuracy of the color category results of the IoT service demand table parameters, and greatly reduce labor costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] In order to more clearly illustrate the technical solutions in the present application or the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0028] Figure 1 This is one of the flow diagrams of the method for configuring an Internet of Things service provided in an embodiment of the present application;
[0029] Figure 2This is the second flow chart of the method for configuring the Internet of Things service provided in the embodiment of the present application;
[0030] Figure 3 It is a structural diagram of an Internet of Things service configuration device provided in an embodiment of the present application;
[0031] Figure 4 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0032] In order to make the purpose, technical solutions and advantages of this application clearer, the technical solutions in this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0033] Figure 1 One of the flowcharts of the method for configuring IoT services. Figure 1 , the embodiment of the present application provides an Internet of Things service configuration method, which may include:
[0034] S110, identifying the color category results of the IoT business requirement table parameters through a color recognition model, and setting color category labels corresponding to the color category results for the IoT business requirement table parameters to obtain an IoT business requirement configuration set;
[0035] S120, generating an Internet of Things service configuration script by combining the Internet of Things service requirement configuration set and the Internet of Things service configuration rule;
[0036] The color recognition model is trained based on sample data of IoT business requirements.
[0037] It should be noted that the execution subject of the Internet of Things service configuration method provided in the embodiment of the present application can be a terminal-side device, such as an Internet of Things service central control terminal.
[0038] Before executing S110 and S120, the terminal device will first execute S100:
[0039] Receive IoT business requirements form.
[0040] The IoT business demand form can be provided by the user, or it can be prepared and provided by the front-end user-oriented staff according to the user's needs. For example, the IoT business demand form can be an IoT business access control work order, which will have many parameters, such as IP address, URL (Uniform Resource Locator), etc. These parameters form the IoT business demand form parameters.
[0041] In S110, the terminal side device identifies the color category results of the IoT business requirement table parameters through the color recognition model, and sets color category labels corresponding to the color category results for the IoT business requirement table parameters to obtain an IoT business requirement configuration set.
[0042] The IoT business access control work order achieves the goal of access restriction and classified billing based on the logical relationship rules between the parameters in the IoT business access control work order (such as priority, inclusion relationship, enabling DNS SNIFFER (DNS sniffer)), and these complex logical relationship rules are based on the "add", "delete", "keep" and other operations of each parameter in the IoT business access control work order. Therefore, it is extremely important to accurately classify the parameters of the IoT business demand table in the IoT business demand table.
[0043] The IoT business requirement configuration set obtained by the terminal side device through the color recognition model includes both the IoT business requirement table parameters and the color category labels corresponding to the IoT business requirement table parameters. The IoT business requirement configuration set is the result of accurate classification of the IoT business requirement table parameters in the IoT business requirement table through the color recognition model, which provides accurate basic data for the subsequent generation of IoT business configuration scripts.
[0044] In S120, the terminal side device generates an IoT service configuration script by combining the IoT service requirement configuration set and the IoT service configuration rule.
[0045] In one embodiment, the color category result includes at least one of the following: a red added category result, a blue deleted category result, and a black kept category result.
[0046] The terminal side device obtains the actual demand of the user's IoT business demand table (for example, deleting an old IP address, adding a new IP address, keeping an old IP address, etc.) based on the IoT business demand table parameters in the IoT business demand configuration set and the color category labels corresponding to the IoT business demand table parameters, and then generates an IoT business configuration script in combination with the IoT business configuration rules. The IoT business configuration rules can be the current unified IoT business configuration rules or the pre-set IoT business configuration rules.
[0047] The IoT service configuration method provided in the embodiment of the present application automatically identifies the color category results of the IoT service demand table parameters in the IoT service demand table through a color recognition model, and configures the color category labels corresponding to the color category results for the IoT service demand table parameters, quickly obtains the IoT service demand configuration set, and then automatically generates the IoT service configuration script by combining the IoT service demand configuration set and the IoT service configuration rules. The IoT service configuration method provided in the embodiment of the present application can realize the full automation of IoT service configuration. The completion of such mechanical and regular work through the terminal side device can greatly reduce the labor cost while ensuring the accuracy of the color category results of the IoT service demand table parameters, and effectively improve the configuration efficiency of the IoT service.
[0048] In one embodiment, the IoT business demand sample data includes a number of historical IoT business demand parameters and color category results corresponding to the historical IoT business demand parameters. The color category results of IoT business demand table parameters identified by the color recognition model in S110 include:
[0049] Obtaining distance values between a number of the historical IoT service demand parameters and the IoT service demand table parameters by using the distance measurement algorithm through the color recognition model;
[0050] According to the color category results of the historical Internet of Things business demand parameters whose distance values are within a preset range, the color category results of the Internet of Things business demand table parameters are obtained.
[0051] For example, the distance measurement algorithm may be a distance measurement algorithm for calculating Euclidean distance, calculating cosine value (cos), calculating correlation, or calculating Manhattan distance.
[0052] In the embodiment of the present application, the terminal side device preferably adopts a distance measurement algorithm for calculating the Euclidean distance to calculate the distance value between the historical IoT business demand parameters and the IoT business demand table parameters.
[0053] Euclidean distance refers to the true distance between two points in m-dimensional space, or the natural length of a vector (i.e. the distance from the point to the origin).
[0054] Exemplarily, let the historical IoT business demand parameter and the IoT business demand table parameter be two points, the historical IoT business demand parameter is P1=(x1, y1), the IoT business demand table parameter is P2=(x2, y2), and the Euclidean distance between the historical IoT business demand parameter and the IoT business demand table parameter is:
[0055]
[0056] In m-dimensional space, the calculation formula of Euclidean distance is:
[0057]
[0058] Among them, E(x, y) represents the distance value between the historical IoT business demand parameter and the IoT business demand table parameter, i represents the i-th IoT business demand table parameter, and n represents the number of IoT business demand table parameters.
[0059] In one embodiment, the distance values between the historical IoT service demand parameters and the IoT service demand table parameters are obtained by using the color recognition model using a distance measurement algorithm, specifically:
[0060] According to the RGB values of the historical IoT business demand parameters and the RGB values of the IoT business demand table parameters, the distance values between the historical IoT business demand parameters and the IoT business demand table parameters are obtained by using the color recognition model using a distance measurement algorithm.
[0061] Each IoT business demand table parameter in the IoT business demand table will correspond to an RGB value. The terminal side device will obtain the distance values between several historical IoT business demand parameters and the IoT business demand table parameters based on the RGB values of the RGB historical IoT business demand parameters and the RGB values of the IoT business demand table parameters through the color recognition model using the distance measurement algorithm. The distance value between the historical IoT business demand parameters and the IoT business demand table parameters can be the difference between their RGB values.
[0062] In one embodiment, obtaining the color classification result of the Internet of Things service demand table parameter according to the color classification result of the historical Internet of Things service demand parameter whose distance value is within a preset range includes:
[0063] According to the color classification results of the historical IoT business demand parameters whose distance values are within the preset range, the historical IoT business demand parameters whose distance values are within the preset range are classified;
[0064] The color category result of the historical Internet of Things business demand parameter with the largest number of results belonging to the same color category and a distance value within a preset range is used as the color category result of the Internet of Things business demand table parameter.
[0065] Specifically, the terminal side device will sort the historical IoT business demand parameters and the IoT business demand table parameters in ascending order according to the distance values, and then select K points within a preset range (i.e., K historical IoT business demand parameters), and then select the color category results of the historical IoT business demand parameters with the most results in the same color category among the K points, and use the color category results as the color category results of the IoT business demand table parameters.
[0066] In one embodiment, the color category results of the parameters of the Internet of Things business demand table are obtained based on the color category results of the historical Internet of Things business demand parameters whose distance values are within a preset range, which is specifically achieved by using the k-nearest neighbor classification algorithm (KNN classification algorithm) through the color recognition model.
[0067] The idea of the KNN classification algorithm is: in the feature space, if most of the k nearest samples (i.e. the nearest neighbors in the feature space) near a sample belong to a certain category, then the sample also belongs to this category. The terminal side device uses the KNN classification algorithm through the color recognition model to obtain the color category results of the parameters in the IoT business demand table.
[0068] Figure 2 Flowchart 2 of the method for configuring IoT services. Figure 2 The IoT service configuration method provided in the embodiment of the present application may further include S130:
[0069] Audit the color category results of the IoT business requirement table parameters identified by the color recognition model.
[0070] Specifically, the audit can be carried out through the data verification mechanism of the benchmark library or the existing network library of the terminal side device to ensure the accuracy of the data.
[0071] The color recognition model used in the IoT service configuration method provided in the embodiment of the present application can be pre-trained. When new IoT service requirement table parameters appear, the recognition results of the original color recognition model may not meet expectations. At this time, the color recognition model can be corrected according to the audit results. Alternatively, when a user complains about the effect of IoT service configuration, the staff can also check the audit results based on the complaint content to correct the color recognition model.
[0072] The following is a description of an Internet of Things service configuration device provided in an embodiment of the present application. The Internet of Things service configuration device described below and the Internet of Things service configuration method described above can refer to each other.
[0073] The present application embodiment provides an Internet of Things service configuration device, such as Figure 3 As shown, including:
[0074] The IoT business requirement configuration set obtaining module 310 is used to identify the color category results of the IoT business requirement table parameters through the color recognition model, and set color category labels corresponding to the color category results for the IoT business requirement table parameters to obtain the IoT business requirement configuration set;
[0075] An IoT service configuration script generation module 320 is used to generate an IoT service configuration script by combining the IoT service requirement configuration set and the IoT service configuration rule;
[0076] The color recognition model is trained based on sample data of IoT business requirements.
[0077] In one embodiment, the IoT business demand sample data includes a number of historical IoT business demand parameters and color category results corresponding to the historical IoT business demand parameters, and the IoT business demand configuration set obtaining module 310 includes:
[0078] A distance value obtaining submodule, used for obtaining the distance values between the historical IoT service demand parameters and the IoT service demand table parameters by using the distance measurement algorithm through the color recognition model;
[0079] The color category result obtaining submodule is used to obtain the color category results of the parameters of the Internet of Things business demand table according to the color category results of the historical Internet of Things business demand parameters whose distance values are within a preset range.
[0080] In one embodiment, the distance value obtaining submodule is specifically used for:
[0081] According to the RGB values of the historical IoT business demand parameters and the RGB values of the IoT business demand table parameters, the distance values between the historical IoT business demand parameters and the IoT business demand table parameters are obtained by using the color recognition model using a distance measurement algorithm.
[0082] In one embodiment, the color category result obtaining submodule includes:
[0083] A historical IoT business demand parameter classification submodule is used to classify historical IoT business demand parameters within a preset range of distance values according to color classification results of the historical IoT business demand parameters within a preset range of distance values;
[0084] The color category result obtaining submodule of the Internet of Things business demand table parameters is used to use the color category result of the historical Internet of Things business demand parameters with the largest number of distance values within a preset range and belonging to the same color category as the color category result of the Internet of Things business demand table parameters.
[0085] In one embodiment, the color classification result obtaining submodule specifically implements the color classification result of the historical Internet of Things business demand parameters according to the distance value within a preset range through the color recognition model using the k-nearest neighbor classification algorithm to obtain the color classification result of the Internet of Things business demand table parameters.
[0086] In one embodiment, the color category results of the IoT business requirement table parameters identified by the color recognition model in the IoT business requirement configuration set module include at least one of the following: a red new category result, a blue deleted category result, and a black retained category result.
[0087] In one embodiment, the Internet of Things service configuration device further includes:
[0088] The color category result audit submodule is used to audit the color category results of the Internet of Things business demand table parameters identified by the color recognition model.
[0089] Figure 4 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 4 As shown, the electronic device may include: a processor 810, a communication interface 820, a memory 830 and a communication bus 840, wherein the processor 810, the communication interface 820, and the memory 830 communicate with each other through the communication bus 840. The processor 810 may call a computer program in the memory 830 to execute the steps of the Internet of Things service configuration method, for example including:
[0090] Identify the color category results of the IoT business requirement table parameters through the color recognition model, and set color category labels corresponding to the color category results for the IoT business requirement table parameters to obtain an IoT business requirement configuration set;
[0091] Generate an Internet of Things service configuration script by combining the Internet of Things service requirement configuration set and the Internet of Things service configuration rule;
[0092] The color recognition model is trained based on sample data of IoT business requirements.
[0093] In addition, the logic instructions in the above-mentioned memory 830 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art, and the computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk.
[0094] On the other hand, an embodiment of the present application further provides a computer program product, the computer program product including a computer program, the computer program can be stored on a non-transitory computer-readable storage medium, and when the computer program is executed by a processor, the computer can perform the steps of the Internet of Things service configuration method provided in the above embodiments, for example, including:
[0095] Identify the color category results of the IoT business requirement table parameters through the color recognition model, and set color category labels corresponding to the color category results for the IoT business requirement table parameters to obtain an IoT business requirement configuration set;
[0096] Generate an Internet of Things service configuration script by combining the Internet of Things service requirement configuration set and the Internet of Things service configuration rule;
[0097] The color recognition model is trained based on sample data of IoT business requirements.
[0098] On the other hand, an embodiment of the present application further provides a processor-readable storage medium, wherein the processor-readable storage medium stores a computer program, wherein the computer program is used to enable the processor to execute the steps of the methods provided in the above embodiments, for example, including:
[0099] Identify the color category results of the IoT business requirement table parameters through the color recognition model, and set color category labels corresponding to the color category results for the IoT business requirement table parameters to obtain an IoT business requirement configuration set;
[0100] Generate an Internet of Things service configuration script by combining the Internet of Things service requirement configuration set and the Internet of Things service configuration rule;
[0101] The color recognition model is trained based on sample data of IoT business requirements.
[0102] The processor-readable storage medium can be any available medium or data storage device that can be accessed by the processor, including but not limited to magnetic storage (such as floppy disks, hard disks, magnetic tapes, magneto-optical disks (MO), etc.), optical storage (such as CD, DVD, BD, HVD, etc.), and semiconductor storage (such as ROM, EPROM, EEPROM, non-volatile memory (NANDFLASH), solid-state drive (SSD)), etc.
[0103] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Those of ordinary skill in the art may understand and implement it without creative effort.
[0104] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0105] 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 deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A method for configuring an Internet of Things service, characterized in that: include: Identify the color category results of the IoT business requirement table parameters through the color recognition model, and set color category labels corresponding to the color category results for the IoT business requirement table parameters to obtain an IoT business requirement configuration set; Generate an Internet of Things service configuration script by combining the Internet of Things service requirement configuration set and the Internet of Things service configuration rule; Wherein, the color recognition model is trained based on sample data of IoT business requirements; The IoT business demand sample data includes a number of historical IoT business demand parameters and color category results corresponding to the historical IoT business demand parameters. The color category results of IoT business demand table parameters identified by the color recognition model include: Obtaining distance values between a number of the historical IoT service demand parameters and the IoT service demand table parameters by using the distance measurement algorithm through the color recognition model; Obtaining color category results of the parameters of the Internet of Things business demand table according to color category results of historical Internet of Things business demand parameters whose distance values are within a preset range; The color classification results of the parameters of the Internet of Things business demand table are obtained according to the color classification results of the historical Internet of Things business demand parameters whose distance values are within a preset range, including: According to the color classification results of the historical IoT business demand parameters whose distance values are within the preset range, the historical IoT business demand parameters whose distance values are within the preset range are classified; The color category result of the historical Internet of Things business demand parameter with the largest number of results belonging to the same color category and a distance value within a preset range is used as the color category result of the Internet of Things business demand table parameter.
2. The method for configuring Internet of Things services according to claim 1, characterized in that: The distance values between the historical IoT service demand parameters and the IoT service demand table parameters are obtained by using the distance measurement algorithm through the color recognition model, specifically: According to the RGB values of the historical IoT business demand parameters and the RGB values of the IoT business demand table parameters, the distance values between the historical IoT business demand parameters and the IoT business demand table parameters are obtained by using the color recognition model using a distance measurement algorithm.
3. The method for configuring Internet of Things services according to claim 1, characterized in that: The color classification results of the parameters of the Internet of Things business demand table are obtained according to the color classification results of the historical Internet of Things business demand parameters with distance values within a preset range, which is specifically achieved by using the k-nearest neighbor classification algorithm through the color recognition model.
4. The method for configuring Internet of Things services according to any one of claims 1 to 3, characterized in that: The color category result includes at least one of the following: a red added category result, a blue deleted category result, and a black kept category result.
5. The method for configuring Internet of Things services according to any one of claims 1 to 3, characterized in that: The Internet of Things service configuration method also includes: Audit the color category results of the IoT business requirement table parameters identified by the color recognition model.
6. An Internet of Things service configuration device, characterized in that: include: The module for obtaining an IoT business requirement configuration set is used to identify the color category results of IoT business requirement table parameters through a color recognition model, and set color category labels corresponding to the color category results for the IoT business requirement table parameters to obtain an IoT business requirement configuration set; An IoT service configuration script generation module, used to generate an IoT service configuration script by combining the IoT service requirement configuration set and the IoT service configuration rules; Wherein, the color recognition model is trained based on sample data of IoT business requirements; The IoT business demand sample data includes several historical IoT business demand parameters and color category results corresponding to several historical IoT business demand parameters. The IoT business demand configuration set obtaining module includes: A distance value obtaining submodule, used for obtaining the distance values between the historical IoT service demand parameters and the IoT service demand table parameters by using the distance measurement algorithm through the color recognition model; A color category result obtaining submodule is used to obtain the color category results of the parameters of the Internet of Things business demand table according to the color category results of the historical Internet of Things business demand parameters whose distance values are within a preset range; The color category result obtaining submodule includes: A historical IoT business demand parameter classification submodule is used to classify historical IoT business demand parameters within a preset range of distance values according to color classification results of the historical IoT business demand parameters within a preset range of distance values; The color category result obtaining submodule of the Internet of Things business demand table parameters is used to use the color category result of the historical Internet of Things business demand parameters with the largest number of distance values within a preset range and belonging to the same color category as the color category result of the Internet of Things business demand table parameters.
7. An electronic device comprising a processor and a memory storing a computer program, characterized in that: When the processor executes the computer program, the steps of the Internet of Things service configuration method described in any one of claims 1 to 5 are implemented.
8. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the Internet of Things service configuration method according to any one of claims 1 to 5 are implemented.
Citation Information
Patent Citations
Industry identification method and system of Internet of Things equipment
CN111275453A
Data processing method, device, equipment and storage medium
CN112396084A