Recommended method, apparatus, device and storage medium for Internet of Things devices

By obtaining the device information of IoT applications and using the device information database to recommend matching devices, it solves the problem of matching difficulties when users choose IoT devices, achieves the best match between devices and applications, improves user experience and reduces costs. waste.

CN117812113BActive Publication Date: 2024-08-23中科物栖(南京)科技有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410032701.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-01-09
Publication Date
2024-08-23
Estimated Expiration
2044-01-09

AI Technical Summary

Technical Problem

Users lack understanding when choosing IoT devices and have difficulty accurately judging the match between devices and applications, leading to wrong choices and wasted costs.

Method used

By obtaining the device information of the IoT application to be used, the pre-built device information library is used to recommend matching IoT devices, including device types, capabilities and parameter ranges, and the appropriate device is automatically recommended to the user.

Benefits of technology

It avoids equipment selection errors, improves user experience and reduces cost waste, ensuring the best match between equipment and applications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117812113B
    Figure CN117812113B
Patent Text Reader

Abstract

The present disclosure provides a method, apparatus, device and storage medium for recommending IoT devices, the method comprising obtaining an IoT application to be used; parsing the IoT application to be used, determining the device information of the IoT device to be called by the IoT application to be used; and recommending IoT devices according to the device information of the IoT device to be called. The method of the present disclosure can automatically recommend IoT devices that match the IoT application to users, thereby avoiding the cost waste caused by the wrong selection of IoT devices and improving the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of Internet of Things, and in particular to a method, apparatus, device and storage medium for recommending Internet of Things devices. Background Art

[0002] When building an IoT application scenario, users need to select IoT applications according to their own needs. They also need to equip IoT devices that match the IoT applications and bind the IoT devices to the IoT applications. In this way, the bound IoT devices can be controlled through the selected IoT applications to complete the construction of the IoT application scenario.

[0003] At present, after selecting an IoT application, users usually need to choose IoT devices themselves. However, most users lack understanding of the performance of IoT devices and cannot accurately judge which IoT devices can match the selected IoT application. Therefore, it is easy to make wrong choices and cause cost waste. Summary of the invention

[0004] In view of this, the present disclosure proposes a method, apparatus, device and storage medium for recommending IoT devices, which can automatically recommend IoT devices that match IoT applications to users, thereby avoiding cost waste caused by incorrect selection of IoT devices and improving user experience.

[0005] According to a first aspect of the present disclosure, a method for recommending an IoT device is provided, comprising:

[0006] Get the IoT application to be used;

[0007] Parsing the IoT application to be used to determine device information of the IoT device that needs to be called by the IoT application to be used;

[0008] Recommend IoT devices based on the device information of the IoT devices that need to be called.

[0009] In a possible implementation manner, the device information includes: at least one of a type and capability of the device and a parameter range of the capability.

[0010] In a possible implementation, when recommending an IoT device according to the device information of the IoT device called as needed, it is implemented based on a pre-built device information library;

[0011] The device information database includes at least one device information of the device ID, brand, model, type, capability and parameter range of capability of all devices that can be connected to the Internet of Things.

[0012] In a possible implementation, when recommending an IoT device based on the device information of the IoT device called as needed and a pre-built device information library, the method includes:

[0013] A target IoT device that matches the device information of the IoT device to be called is screened out from the device information library, and the brand and model of the target IoT device are recommended.

[0014] In a possible implementation, the method further includes:

[0015] Get the device information of the connected device;

[0016] Determine the device information of the device to be connected according to the device information of the IoT device that needs to be called and the device information of the connected device;

[0017] Recommend IoT devices based on the device information of the device to be connected.

[0018] In a possible implementation, the Internet of Things application to be used is implemented based on a pre-built standard capability interface document;

[0019] The standard capability interface document includes various capabilities of various types of IoT devices, and standard capability interface information is configured for each capability. The standard capability interface information includes a calling function of the capability and parameter value information of the calling function.

[0020] In a possible implementation, when the Internet of Things application to be used is constructed based on the standard capability interface document, it includes:

[0021] Determine the type and capability of the IoT device that needs to be called by the IoT application to be used;

[0022] Determining standard capability interface information of the capability under the category according to the standard capability interface document;

[0023] Based on the standard capability interface information, generating a call instruction for calling a development toolkit that implements the capability;

[0024] The Internet of Things application to be used is generated based on the calling instruction and a development toolkit that implements the capability.

[0025] According to a second aspect of the present disclosure, a device for recommending an IoT device is provided, comprising:

[0026] An application acquisition module, used to acquire the IoT application to be used;

[0027] An application parsing module, used to parse the IoT application to be used, and determine device information of the IoT device that needs to be called by the IoT application to be used;

[0028] The device recommendation module is used to recommend IoT devices based on the device information of the IoT devices that need to be called.

[0029] According to a third aspect of the present disclosure, a recommendation device for an Internet of Things device is provided, comprising: a processor; and a memory for storing processor-executable instructions; wherein the processor is configured to execute the method described in the first aspect of the present disclosure.

[0030] According to a fourth aspect of the present disclosure, a non-volatile computer-readable storage medium is provided, on which computer program instructions are stored, wherein the computer program instructions, when executed by a processor, implement the method described in the first aspect of the present disclosure.

[0031] The present disclosure provides a method for recommending IoT devices, which includes obtaining an IoT application to be used; parsing the IoT application to be used to determine the device information of the IoT device that needs to be called by the IoT application to be used; and recommending IoT devices based on the device information of the IoT device that needs to be called. The method disclosed in the present disclosure can automatically recommend IoT devices that match the IoT application to users, thereby avoiding the cost waste caused by incorrect selection of IoT devices and improving the user experience.

[0032] Further features and aspects of the present disclosure will become apparent from the following detailed description of exemplary embodiments with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate exemplary embodiments, features, and aspects of the disclosure and, together with the description, serve to explain the principles of the disclosure.

[0034] Figure 1 A flowchart showing a method for recommending an IoT device according to an embodiment of the present disclosure is shown;

[0035] Figure 2 A schematic block diagram showing a device for recommending an Internet of Things device according to an embodiment of the present disclosure;

[0036] Figure 3 A schematic block diagram of a recommendation device for an Internet of Things device according to an embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0037] Various exemplary embodiments, features and aspects of the present disclosure will be described in detail below with reference to the accompanying drawings. The same reference numerals in the accompanying drawings represent elements with the same or similar functions. Although various aspects of the embodiments are shown in the accompanying drawings, the drawings are not necessarily drawn to scale unless otherwise specified.

[0038] The word “exemplary” is used exclusively herein to mean “serving as an example, example, or illustration.” Any embodiment described herein as “exemplary” is not necessarily to be construed as preferred or advantageous over other embodiments.

[0039] In addition, in order to better illustrate the present disclosure, numerous specific details are given in the following specific embodiments. It should be understood by those skilled in the art that the present disclosure can also be implemented without certain specific details. In some examples, methods, means, components and circuits well known to those skilled in the art are not described in detail in order to highlight the subject matter of the present disclosure.

[0040] <Method Example>

[0041] Figure 1 A flowchart of a method for recommending an IoT device according to an embodiment of the present disclosure is shown. The method for recommending an IoT device is implemented by an IoT application platform. Figure 1 As shown, the method includes steps S1100-S1300.

[0042] S1100, obtaining an IoT application to be used.

[0043] Specifically, the IoT application platform includes an IoT application library, which includes a plurality of pre-built IoT applications. Users can select IoT applications in the IoT application library according to their needs. When it is detected that the user has selected an IoT application, the IoT application platform will obtain the currently selected IoT application and use it as the IoT application to be used. For example, if the user needs to build a smart reading scene, he can select the smart reading application in the IoT application library, and the smart reading application is the IoT application to be used.

[0044] It should be noted here that the IoT applications in the IoT application library are all implemented based on pre-built standard capability interface documents (i.e., API documents). Among them, the standard capability interface document includes various capabilities of various types of IoT devices, and standard capability interface information is configured for each capability. The standard capability interface information includes the calling function of the capability and the parameter value information of the calling function. For example: the standard capability interface document contains type A devices, type B devices, and type C devices; among them, for type A devices, the standard capability interface information corresponding to all the capabilities possessed by the type A devices is associated; for type B devices, the standard capability interface information corresponding to all the capabilities possessed by the type B devices is associated; for type C devices, the standard capability interface information corresponding to all the capabilities possessed by the type C devices is associated.

[0045] Here, it can be understood by those skilled in the art that the basic capabilities of type A devices, type B devices, and type C devices are different, that is, the basic functions of the three are different. That is, various types of IoT devices can be divided according to their basic functions. For example, all lighting devices with lighting functions in smart homes can be collectively referred to as type A devices (such as: various types or models of table lamps, various types or models of ceiling lamps, and various types or models of wall lamps on the market are collectively referred to as home lamps). All temperature control devices with temperature adjustment in smart homes can be collectively referred to as type B devices (such as: various types or models of air conditioners on the market are collectively referred to as type B devices. All cleaning devices with cleaning functions in smart homes can be collectively referred to as type C devices (such as: various types or models of sweepers on the market, various types or models of fresh air fans, etc. are collectively referred to as type C devices).

[0046] That is to say, in the standard capability interface document pre-constructed in this application, the types of equipment included therein can be divided according to the basic capabilities (or functions) as described above, or can be divided in other ways, which are not specifically limited in this application.

[0047] In addition, it is also necessary to explain that the determination of the basic functions of the equipment can be determined in combination with the specific application scenarios when it is used, such as: the above-mentioned lighting equipment, temperature control equipment and cleaning equipment, etc., can all correspond to smart home application scenarios. In addition, the determination of the basic functions of the equipment can also be directly based on the equipment's manual or the functions positioned when it is launched on the market. At the same time, the collection of the above-mentioned equipment type information and the capabilities of each device can be obtained through big data collection and acquisition, which will not be elaborated here.

[0048] According to the above, before developing IoT applications in the IoT application library, you need to build a standard capability interface document. When building a standard capability interface document, you can do the following:

[0049] First, for each type of IoT device on the market, determine all the capabilities that the same type of IoT device may have.

[0050] For example, for IoT devices such as home lamps, research has found that some home lamps on the market only have switching capabilities, some have both switching capabilities and relative brightness adjustment capabilities, and some have switching capabilities, relative brightness adjustment capabilities, absolute brightness adjustment capabilities, and color temperature adjustment capabilities. It can be determined that all capabilities possessed by IoT devices of this type include switching capabilities, relative brightness adjustment capabilities, absolute brightness adjustment capabilities, and color temperature adjustment capabilities.

[0051] Second, for each capability of the same type of IoT device, set the standard capability interface information corresponding to each capability. The standard capability interface information includes the calling function of the capability interface and the parameter value information of the calling function, and the parameter value information includes at least one of the parameter value name, data type, value range, step size, example and example description.

[0052] The following uses a home lamp with on / off capability, relative brightness adjustment capability, absolute brightness adjustment capability, and color temperature adjustment capability as an example to illustrate the standard capability interface information set for its various capabilities. Specifically:

[0053] Regarding the switching capability of home lights, the calling function for setting the switching status of home lights in its standard capability interface information is set to light.setOnOff(value), and the parameter value name in the parameter value information of the calling function is set to value, the data type is set to bool, the value range is set to false or true, the example description of example false is set to off, and the example description of example true is set to on.

[0054] Regarding the relative brightness adjustment capability of home lights, the calling function for setting the relative brightness of home lights in its standard capability interface information is set to light.setRelativeBrightness(value), and the parameter value name in the parameter value information of the calling function is set to value, the data type is set to int, the value range is set to 0-100, the unit is set to %, and the step size is set to 1. The example description of Example 67 is set to adjust the relative brightness of the home lights to 67% of the maximum brightness.

[0055] Regarding the absolute brightness adjustment capability of home lights, the calling function for setting the absolute brightness of home lights in its standard capability interface information is set to light.setAbsoluteBrightness(value), and the parameter value name in the parameter value information of the calling function is set to value, the data type is set to int, the value range is set to 0-20000, the unit is set to nit, the step size is set to 1, and the example description of Example 400 is set to adjust the absolute brightness of the home light to 400nit.

[0056] Regarding the color temperature adjustment capability of home lights, the calling function for setting the color temperature of home lights in its standard capability interface information is set to light.setColorTemperature(value), and the parameter value name in the parameter value information of the calling function is set to value, the data type is set to int, the value range is set to 1700-7000, the unit is set to K, the step size is set to 1, and the example description of Example 3700 is set to adjust the color temperature of home lights to 3700K.

[0057] Through the above-mentioned first step and second step, various capabilities of various types of IoT devices and standard capability interface information configured for each capability can be obtained, so that this information can be summarized to obtain a standard capability interface document.

[0058] After the standard capability interface document is created, the IoT application can be developed based on the standard capability interface document. When developing IoT applications based on the standard capability interface document, the following steps are included:

[0059] First, determine the types and capabilities of IoT devices that the IoT application needs to call.

[0060] For example, the IoT application currently being constructed is an IoT application for controlling the turning on of home lights. At this time, the type of IoT device that needs to be called by the IoT application to be used is a home light, and the capability of the home light that needs to be called is the switching capability.

[0061] For another example, the IoT application currently being constructed is an IoT application for controlling the turning on of home lights and the turning on of a humidifier. At this time, the types of IoT devices that the IoT application needs to call are home lights and humidifiers. For furniture, etc., what needs to be called is the switching capability of home lights, and for humidifiers, what needs to be called is the switching capability of humidifiers.

[0062] Second, according to the standard capability interface document, determine the standard capability interface information that matches the type and capability of the IoT device.

[0063] For example, when it is determined that the type of IoT device to be called by the IoT application to be used is a home light, and the capability of the home light to be called is the on / off capability, the standard interface information of the on / off capability of the home light can be queried by querying the standard capability interface document. Among them, in the standard interface information of the on / off capability of the home light, the calling function is light.setOnOff(value), the parameter value name is value, the data type is bool, the value range is false or true, the example description of false is off, and the example description of true is on.

[0064] For another example, when it is determined that the types of IoT devices to be called by the IoT application to be used are home lights and humidifiers, and the home lights need to call the switching capability of the home lights, and the humidifier needs to call the switching capability of the humidifier, the standard interface information of the switching capability of the home lights and the standard interface information of the switching capability of the humidifier can be queried by querying the standard capability interface document. Among them, the standard interface information of the home lights' switching capability of the home lights is shown above and will not be repeated here. In the standard interface information of the humidifier's switching capability, the calling function is humidifier.setOnOff (value), the parameter value name is value, the data type is bool, the value range is false or true, the example description of false is off, and the example description of true is on.

[0065] Third, based on the standard capability interface information that matches the type and capability of the IoT device, a call instruction for calling the SDK development toolkit that implements its capabilities is generated.

[0066] For example, in an embodiment where it is determined that the type of IoT device to be called by the IoT application to be used is a home light, and the capability of the home light to be called is the switching capability, the standard interface information that the capability of the home light is the switching capability will be obtained, and based on the standard interface information of the home light switching capability, a call instruction light.setOnOff(value) for calling the first SDK development toolkit that implements the home light switching capability will be generated. When the value value is true, the home light can be controlled to turn on by calling the first SDK development toolkit, and when the value value is false, the home light can be controlled to turn off by calling the first SDK development toolkit.

[0067] For another example, when it is determined that the types of IoT devices to be called by the IoT application to be used are home lights and humidifiers, the home lights' switching capabilities need to be called for furniture, and the humidifier's switching capabilities need to be called for humidifiers. In this embodiment, a call instruction for calling the first SDK development toolkit that implements the home lights' switching capabilities is generated with reference to the above example. Further, the standard interface information of the humidifier's switching capabilities is obtained, and based on the standard interface information of the humidifier's switching capabilities, a call instruction humidifier.setOnOff(value) is generated to call the SDK development toolkit that implements the humidifier's switching capabilities, wherein when the value is true, the humidifier can be controlled to turn on by calling the SDK development toolkit, and when the value is false, the humidifier can be controlled to turn off by calling the SDK development toolkit.

[0068] Fourth, based on the calling instructions and the SDK development toolkit that realizes its capabilities, generate the IoT application to be used. Among them, how to generate the IoT application to be used based on the calling instructions and the SDK development toolkit that realizes its capabilities is common knowledge in the field and will not be repeated here.

[0069] It should be noted here that before executing this method, it is necessary to first generate an SDK development toolkit that can realize various capabilities of various types of IoT devices according to the standard capability interface document, and store it on the cloud platform. In this way, after generating the call instruction, the corresponding SDK development toolkit can be called on the cloud platform based on the call instruction, thereby generating the corresponding IoT application.

[0070] When an SDK development toolkit that can realize various capabilities of various types of IoT devices is generated according to a standard capability interface document, the following steps are included: for each capability of various types of IoT devices in the standard capability interface document, the corresponding standard capability interface information is extracted, and an SDK development toolkit that can realize its capabilities is constructed based on the standard capability interface information.

[0071] For example, all the capabilities of the IoT device of the type of home lights in the standard capability interface document include switching capability, relative brightness adjustment capability, absolute brightness adjustment capability, and color temperature adjustment capability. Based on the standard capability interface information of the home light switching capability in the standard capability interface document, a first SDK development kit for implementing home light switch control is created. Based on the standard capability interface information of the home light relative brightness adjustment capability in the standard capability interface document, a second SDK development kit for implementing relative brightness adjustment of home lights is created. Based on the standard capability interface information of the home light absolute brightness adjustment capability in the standard capability interface document, a third SDK development kit for implementing absolute brightness adjustment of home lights is created. Based on the standard capability interface information of the home light color temperature adjustment capability in the standard capability interface document, a fourth SDK development kit for implementing color temperature adjustment of home lights is created.

[0072] By referring to the creation process of the SDK development kit for realizing various capabilities of the home lamp, you can build SDK development kits that realize various capabilities of various types of IoT devices, and store all developed SDK development kits in the cloud platform. In this way, when developing IoT applications, you can realize the development of IoT applications by calling the corresponding SDK development kit.

[0073] It should be noted here that since the IoT application is constructed based on the abstracted standard capability interface document, the constructed IoT application to be used can be applicable to all brands and models of IoT devices of the same type, which significantly improves the compatibility of the IoT application to be used.

[0074] After the development of the IoT application is completed, it can be published to the IoT application library, so that users can select the IoT application to be used in the IoT application library according to their needs. Since the IoT application to be used is selected from the IoT application library, it can be determined that the IoT application to be used is also developed based on the pre-built standard capability interface document (i.e., API document).

[0075] S1200, analyze the IoT application to be used, and determine the device information of the IoT device that the IoT application needs to call. The device information may include at least one of the following information: the type of device, the calling capability, and the parameter range of the calling capability. The type is used to identify a class of IoT devices with similar functions. For example, the types of IoT devices may include home lamps, door and window sensors, floor fans, etc. The calling capability is the device function called by the IoT application. For example, the IoT application calls the switch control function, brightness adjustment function, and color temperature adjustment function of the home lamp, and the calling capability obtained by analyzing the IoT application will include the switch capability, brightness adjustment capability, and color temperature adjustment capability of the home lamp. The parameter range of the calling capability refers to the adjustable range of the parameter value of the calling capability. For example, the IoT application calls the brightness adjustment capability of the home lamp, and the brightness of the home lamp can be adjusted within the range of 0-20000nit, and the parameter range of the brightness adjustment capability of the home lamp is 0-20000nit.

[0076] Referring to the development process of the above-mentioned Internet of Things application, it can be seen that the Internet of Things application includes a call instruction, which is constructed according to the standard capability interface information in the standard capability interface document, and the standard capability interface information has a mapping relationship with the device type and capability. Therefore, when parsing the Internet of Things application to be used and determining the device information of the Internet of Things device that the Internet of Things application to be used needs to call, the call instruction can be first extracted from the Internet of Things application to be used, and then the device information of the Internet of Things device that the Internet of Things application to be used needs to call is determined based on the extracted call instruction. Specifically, after extracting the call instruction, the standard interface description information matching the call instruction can be found in the pre-stored standard capability interface document. Then, the capability to which the standard interface description information matching the call instruction belongs and the device type to which the capability belongs are respectively used as the call capability and device type of the Internet of Things device to be called. Further, the data range in the standard interface description information matching the call instruction is used as the parameter range of the call capability. At this point, all the device information of the Internet of Things device to be called can be obtained.

[0077] It should be noted here that when the IoT application to be used includes multiple call instructions, it is necessary to refer to the above method to process each call instruction, so as to obtain the device type, call capability and parameter range of the call capability corresponding to each call instruction. Then, based on the device type, call capability and parameter range of the call capability corresponding to each call instruction, determine the device types of all IoT devices that need to be called by the IoT application to be used, the call capability that each device type needs to call, and the parameter range of each call capability.

[0078] For example, by parsing the IoT application to be used, three calling instructions are obtained, namely, a first calling instruction, a second calling instruction and a third calling instruction. By processing the first call instruction, it is obtained that the device type corresponding to the first call instruction is a home lamp, the call capability is the switching capability, and the parameter range of the call capability is false or true; by processing the second call instruction, it is obtained that the device type corresponding to the second call instruction is a home lamp, the call capability is the color adjustment capability, and the parameter range of the call capability is 1700-7000K; by processing the third call instruction, it is obtained that the device type corresponding to the third call instruction is a humidifier, the call capability is the switching capability, and the parameter range of the call capability is false or true; then, based on the device types, call capabilities and parameter ranges of the call capabilities corresponding to the three call instructions, it is finally determined that the device types of the Internet of Things devices that need to be called by the Internet of Things application to be used include home lamps and humidifiers; among them, for home lamps, the capabilities that need to be called are the switching capability and the color temperature adjustment capability, and the parameter range of the home lamp switching capability is false or true, and the parameter range of the color temperature adjustment capability is 1700-7000K. For the humidifier, the capability that needs to be called is the switch capability, and the parameter range of the humidifier switch capability is false or true.

[0079] S1300: Recommend an IoT device based on device information of the IoT device that needs to be called.

[0080] In a possible implementation, when recommending IoT devices based on the device information of IoT devices that need to be called, it is implemented based on a pre-built device information library, wherein the device information library includes at least one device information of device ID, brand, model, type, capability, and parameter range of capability of all IoT devices that can be connected.

[0081] It should be noted here that when a manufacturer produces a batch of IoT devices, in order to enable the IoT devices in this batch to access the IoT application platform, it is necessary to apply for a device key for each IoT device in the batch and burn the device key into the corresponding IoT device. In this way, the IoT devices with the device keys burned in can access the IoT application platform based on the device keys.

[0082] When applying for a device key for each IoT device in a batch, the following steps may be included: first, open the access platform associated with the IoT application, the access platform interface includes a key application control, and when the key application control is triggered, the key application interface is pushed and displayed. The user can configure at least one device information such as the number, type, brand, model, capability, and parameter range of the capability of the IoT devices in the batch through the key application interface. Secondly, when the key generation control in the key application interface is triggered, N device keys will be generated according to the device information configured by the user, and N is equal to the number of configured IoT devices. Among them, each device key includes a unique device ID and at least one device information such as the type, brand, model, capability, and parameter range of the capability of the IoT devices in the batch. After the manufacturer obtains the device keys of the IoT devices in the batch, the device keys can be burned into the IoT devices in the batch in sequence, so that the IoT devices in the batch can be connected to the IoT application platform. At the same time, each time the access platform generates device keys for a batch of IoT devices, it will store the device keys of the batch of IoT devices in the device information library. In this way, the device information library can include the device keys of all IoT devices that can access the IoT application platform (referred to as accessible devices), that is, the device information library includes at least one device information such as the device ID, type, brand, model, capability and parameter range of the capability of all accessible devices.

[0083] When recommending IoT devices based on the device information of the IoT devices to be called and a pre-built device information library, the following steps may be included: filtering out target IoT devices that match the device information of the IoT devices to be called from the device information library, and recommending the brand and model of the target IoT devices.

[0084] For example, the device types of IoT devices that need to be called by the IoT application to be used include home lamps. For home lamps, the capabilities that need to be called are switching capability and color temperature adjustment capability, and the parameter range of the home lamp switching capability is false or true, and the parameter range of the color temperature adjustment capability is 1700-7000K. In the embodiment, all home lamps with switching capability and color temperature adjustment capability, and the parameter range of the home lamp switching capability is false or true, and the parameter range of the color temperature adjustment capability is 1700-7000K (and or including this parameter range, such as 1000-8000K) can be screened out in the device information library, and the brands and models of the screened home lamps are recommended.

[0085] For another example, the device types of IoT devices that need to be called by the IoT application to be used include home lamps and humidifiers. Among them, for home lamps, the capabilities that need to be called are switching capabilities and color temperature adjustment capabilities, and the parameter range of the home lamp switching capabilities is false or true, and the parameter range of the color temperature adjustment capabilities is 1700-7000K. For humidifiers, the capabilities that need to be called are switching capabilities, and the parameter range of the humidifier switching capabilities is false or true. In the embodiment, all home lamps with switching capabilities and color temperature adjustment capabilities, and the parameter range of the home lamp switching capabilities is false or true, and the parameter range of the color temperature adjustment capabilities is 1700-7000K (and or including this parameter range, such as 1000-8000K) can be first screened out in the device information library, and the brands and models of the screened home lamps are recommended. Then, all humidifiers with switching capabilities and the parameter range of the switching capabilities is false or true are screened out in the device information library, and the brands and models of the screened humidifiers are recommended.

[0086] It can be seen that the method of this embodiment can be used not only to recommend devices for IoT applications of a single device (such as applications developed for sports bracelets), but also to recommend devices for IoT applications that are linked to multiple IoT devices (such as applications that are linked to home lights, floor fans, and door and window sensors).

[0087] It should be further explained here that when making device recommendations, all brands and models of devices in the device information database that meet the device type, calling capability and capability parameter range are recommended, thereby providing users with more choices.

[0088] In a possible implementation, the method may further include the following steps:

[0089] First, obtain the device information of the connected device. Specifically, before selecting an IoT application, the user can bind and configure the purchased accessible device with the IoT application platform. During the configuration process, the IoT application platform will obtain the device key of the accessible device, and obtain the device information of the connected device based on the device key of the accessible device.

[0090] Second, the device information of the device to be connected is determined based on the device information of the IoT device to be called and the device information of the connected device. Specifically, the device information of the connected device is removed from the device information of the IoT device to be called, and the remaining device information is the device information of the device to be connected.

[0091] For example, after analyzing the smart reading application selected by the user, it is determined that the application needs to call the switching capability, relative brightness adjustment capability and color temperature adjustment capability of the home lamp, the height adjustment capability of the smart chair, and the switching capability and spray volume control capability of the humidifier. At the same time, the user has connected a home lamp with switching capability, relative brightness adjustment capability and color temperature adjustment capability, and a smart chair with height adjustment capability. If the user wants to use the application, he or she also needs to purchase and connect a humidifier with switching capability and spray volume capability. The device information of the device to be connected is a humidifier with switching capability and spray volume control capability.

[0092] Third, the IoT device is recommended based on the device information of the device to be connected. The specific recommendation process can refer to the device information of the IoT device called as needed and the pre-built device information library to perform the operation of recommending the IoT device, which will not be repeated here.

[0093] The present disclosure provides a method for recommending IoT devices, including obtaining an IoT application to be used; parsing the IoT application to be used to determine the device information of the IoT device that needs to be called by the IoT application to be used; and recommending IoT devices based on the device information of the IoT device that needs to be called. The method disclosed in the present disclosure can automatically recommend IoT devices that match the IoT application to users, thereby avoiding the cost waste caused by incorrect selection of IoT devices and improving the user experience.

[0094] <Device Example>

[0095] Figure 2 A schematic block diagram of a device for recommending an Internet of Things device according to an embodiment of the present disclosure is shown. Figure 2 As shown, the recommendation device 100 of the Internet of Things device includes:

[0096] The application acquisition module 110 is used to acquire the IoT application to be used;

[0097] The application parsing module 120 is used to parse the IoT application to be used and determine the device information of the IoT device that needs to be called by the IoT application to be used;

[0098] The device recommendation module 130 is used to recommend IoT devices according to the device information of the IoT devices that need to be called.

[0099] <Equipment Embodiment>

[0100] Figure 3 A schematic block diagram of a recommended device for an Internet of Things device according to an embodiment of the present disclosure is shown. Figure 3As shown, the IoT device recommendation device 200 includes: a processor 210 and a memory 220 for storing executable instructions of the processor 210. The processor 210 is configured to implement any of the IoT device recommendation methods described above when executing the executable instructions.

[0101] Here, it should be noted that the number of processors 210 may be one or more. At the same time, in the recommended device 200 of the IoT device of the embodiment of the present disclosure, an input device 230 and an output device 240 may also be included. Among them, the processor 210, the memory 220, the input device 230 and the output device 240 may be connected through a bus or in other ways, which are not specifically limited here.

[0102] The memory 220 is a computer-readable storage medium that can be used to store software programs, computer executable programs, and various modules, such as the program or module corresponding to the method for recommending an IoT device in the embodiment of the present disclosure. The processor 210 executes various functional applications and data processing of the IoT device recommendation device 200 by running the software program or module stored in the memory 220.

[0103] The input device 230 may be used to receive input numbers or signals. The signals may be key signals related to user settings and function control of the device / terminal / server. The output device 240 may include display devices such as display screens.

[0104] <Storage Medium Embodiment>

[0105] According to a fourth aspect of the present disclosure, a non-volatile computer-readable storage medium is also provided, on which computer program instructions are stored. When the computer program instructions are executed by the processor 210, any of the above-mentioned methods for recommending IoT devices is implemented.

[0106] The embodiments of the present disclosure have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or technical improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.

Claims

1. A method for recommending an Internet of Things device, characterized in that: include: Acquire an Internet of Things application to be used, where the Internet of Things application to be used is an application program that implements a specified application scenario; Parsing the IoT application to be used to determine device information of the IoT device that needs to be called by the IoT application to be used; Recommending IoT devices according to the device information of the IoT devices that need to be called; The device information includes: the type and capability of the device and the parameter range of the capability; The IoT application to be used is implemented based on a pre-built standard capability interface document, wherein the standard capability interface document includes various capabilities of various types of IoT devices, and standard capability interface information is configured for each capability, wherein the standard capability interface information includes a calling function of the capability and parameter value information of the calling function, wherein the parameter value information includes at least one of a parameter value name, a data type, a value range, and a step size; When the Internet of Things application to be used is constructed based on the standard capability interface document, it includes: Determine the type and capability of the IoT device that needs to be called by the IoT application to be used; Determining standard capability interface information of the capability under the category according to the standard capability interface document; Based on the standard capability interface information, generating a call instruction for calling a development toolkit that implements the capability; Generate the Internet of Things application to be used based on the calling instruction and the development toolkit that realizes the capability; When parsing the IoT application to be used and determining the device information of the IoT device that needs to be called by the IoT application to be used, the method includes: first extracting a call instruction from the IoT application to be used, searching for standard interface description information that matches the call instruction in a pre-stored standard capability interface document, using the capability to which the standard interface description information that matches the call instruction belongs and the device type to which the capability belongs as the call capability and device type of the IoT device that needs to be called, respectively, and using the value range in the standard interface description information that matches the call instruction as the parameter range of the call capability.

2. The method according to claim 1, characterized in that When recommending IoT devices according to the device information of the IoT devices called as needed, it is implemented based on a pre-built device information library; The device information database includes at least one device information of the device ID, brand, model type, capability and parameter range of capability of all devices that can be connected to the Internet of Things.

3. The method according to claim 2, characterized in that When recommending an IoT device based on the device information of the IoT device and a pre-built device information library called as needed, the IoT device includes: A target IoT device that matches the device information of the IoT device to be called is screened out from the device information library, and the brand and model of the target IoT device are recommended.

4. The method according to claim 1, characterized in that Also includes: Get the device information of the connected device; Determine the device information of the device to be connected according to the device information of the IoT device that needs to be called and the device information of the connected device; Recommend IoT devices based on the device information of the device to be connected.

5. A device for recommending IoT devices, characterized in that: include: An application acquisition module, used to acquire an IoT application to be used, wherein the IoT application to be used is an application program that implements a specified application scenario; An application parsing module, used to parse the IoT application to be used, and determine device information of the IoT device that needs to be called by the IoT application to be used; A device recommendation module, used to call the device information of the IoT device as needed to recommend IoT devices; The device information includes: the type and capability of the device and the parameter range of the capability; The IoT application to be used is implemented based on a pre-built standard capability interface document, wherein the standard capability interface document includes various capabilities of various types of IoT devices, and standard capability interface information is configured for each capability, wherein the standard capability interface information includes a calling function of the capability and parameter value information of the calling function, wherein the parameter value information includes at least one of a parameter value name, a data type, a value range, and a step size; When the Internet of Things application to be used is constructed based on the standard capability interface document, it includes: Determine the type and capability of the IoT device that needs to be called by the IoT application to be used; Determining standard capability interface information of the capability under the category according to the standard capability interface document; Based on the standard capability interface information, generating a call instruction for calling a development toolkit that implements the capability; Generate the Internet of Things application to be used based on the calling instruction and the development toolkit that realizes the capability; When parsing the IoT application to be used and determining the device information of the IoT device that needs to be called by the IoT application to be used, the method includes: first extracting a call instruction from the IoT application to be used, searching for standard interface description information that matches the call instruction in a pre-stored standard capability interface document, using the capability to which the standard interface description information that matches the call instruction belongs and the device type to which the capability belongs as the call capability and device type of the IoT device that needs to be called, respectively, and using the value range in the standard interface description information that matches the call instruction as the parameter range of the call capability.

6. A recommended device for an Internet of Things device, characterized in that: include: processor; a memory for storing processor-executable instructions; Wherein, the processor is configured to implement the method described in any one of claims 1 to 4 when executing the executable instructions.

7. A non-volatile computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the computer program instructions are executed by a processor, the method according to any one of claims 1 to 4 is implemented.