CN111045676B - Method and device for generating control interface of Internet of things equipment, storage medium and electronic equipment - Google Patents

Method and device for generating control interface of Internet of things equipment, storage medium and electronic equipment Download PDF

Info

Publication number
CN111045676B
CN111045676B CN201911335613.XA CN201911335613A CN111045676B CN 111045676 B CN111045676 B CN 111045676B CN 201911335613 A CN201911335613 A CN 201911335613A CN 111045676 B CN111045676 B CN 111045676B
Authority
CN
China
Prior art keywords
control
internet
function
equipment
things
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911335613.XA
Other languages
Chinese (zh)
Other versions
CN111045676A (en
Inventor
张锬锬
张轶
徐欣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201911335613.XA priority Critical patent/CN111045676B/en
Publication of CN111045676A publication Critical patent/CN111045676A/en
Application granted granted Critical
Publication of CN111045676B publication Critical patent/CN111045676B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention provides a method for generating a control interface of Internet of things equipment, which comprises the following steps: acquiring the equipment function of the equipment of the Internet of things from an equipment parameter database of the Internet of things according to the product identification code of the equipment of the Internet of things; according to the equipment function of the Internet of things equipment, acquiring a display control corresponding to the equipment function from a function control database; acquiring a control corresponding to the display control from a function control database according to the display control of the equipment function; and setting a control interface of the Internet of things equipment by using a display control and a control. The invention also provides a generation device of the control interface of the Internet of things equipment, a storage medium and the electronic equipment. According to the invention, the display control and the control are separately arranged, so that the corresponding display control or control can be conveniently selected to control the Internet of things equipment; the use efficiency of thing networking device has been improved.

Description

Method and device for generating control interface of Internet of things equipment, storage medium and electronic equipment
The application is a divisional application of a patent application with the patent application number of 201510466461.2, the application date of 2015.07.31 and the name of a method and a device for generating a control interface of internet of things equipment.
Technical Field
The invention relates to the field of Internet of things, in particular to a method and a device for generating a control interface of Internet of things equipment, a storage medium and electronic equipment.
Background
The Internet of things is an important component of a new generation of information technology, and The English name of The Internet of things refers to The Internet with which things are connected. The core and foundation of the internet of things is still the internet, and the internet of things is an extended and expanded network on the basis of the internet, so that the internet based on a user side is extended and expanded to information exchange and communication between goods.
At present, some researches and applications have been carried out in the aspect of the Internet of things, sensors are implanted into some Internet of things devices, the Internet of things is realized by the interconnection of the Internet of things devices and a control terminal and the interconnection of the control terminal and a server platform for managing the Internet of things devices, so that the management Internet of things devices can send control rules and control interfaces to the control terminal, and the control terminal can be interconnected and intercommunicated with various Internet of things devices in which the sensors are implanted.
However, at present, the internet of things equipment can only be simply controlled by a control terminal or controlled by functions, and cannot be completely controlled according to the type of the internet of things equipment, so that part of the equipment cannot play all functions, and the use efficiency of the equipment is reduced.
Disclosure of Invention
The embodiment of the invention provides a method and a device for generating a control interface of Internet of things equipment, which can improve the use efficiency of the Internet of things equipment; the technical problem that the use efficiency of existing Internet of things equipment is low is solved.
The embodiment of the invention provides a method for generating a control interface of equipment of the Internet of things, which comprises the following steps:
acquiring the equipment function of the equipment of the Internet of things from an equipment parameter database of the Internet of things according to the product identification code of the equipment of the Internet of things;
according to the equipment function of the Internet of things equipment, acquiring a display control corresponding to the equipment function from a function control database;
acquiring a control corresponding to the display control from the function control database according to the display control of the equipment function; and
and setting a control interface of the Internet of things equipment by using the display control and the control.
An embodiment of the present invention further provides a device for generating a control interface of an internet of things device, where the device includes:
the equipment function acquisition module is used for acquiring the equipment functions of the Internet of things equipment from the Internet of things equipment parameter database according to the product identification code of the Internet of things equipment;
the display control acquisition module is used for acquiring a display control corresponding to the equipment function from a function control database according to the equipment function of the Internet of things equipment;
the control acquisition module is used for acquiring a control corresponding to the display control from the function control database according to the display control of the equipment function; and
and the control interface generating module is used for setting the control interface of the Internet of things equipment by using the display control and the control.
Compared with the generation method and the generation device of the control interface of the Internet of things equipment in the prior art, the generation method and the generation device of the control interface of the Internet of things equipment are used for separately setting the display control and the control, so that the corresponding display control or the control can be conveniently selected to control the Internet of things equipment; the use efficiency of the Internet of things equipment is improved; the technical problem that the use efficiency of the existing Internet of things equipment is low is solved.
Drawings
Fig. 1 is a flowchart of a method for generating a control interface of an internet of things device according to a preferred embodiment of the present invention;
fig. 2A is a flowchart of creating an internet of things device parameter database according to a preferred embodiment of the method for generating a control interface of an internet of things device of the present invention;
fig. 2B is a data structure diagram of an internet of things device parameter database according to a preferred embodiment of the method for generating a control interface of an internet of things device of the present invention;
fig. 3A is a flowchart of creating a function control database according to a preferred embodiment of the method for generating a control interface of an internet of things device of the present invention;
fig. 3B is a data structure diagram of a function control database according to a preferred embodiment of the method for generating a control interface of an internet of things device of the present invention;
fig. 4 is a flowchart of step S104 of a method for generating a control interface of an internet of things device according to a preferred embodiment of the present invention;
fig. 5 is a schematic structural diagram of a first preferred embodiment of a device for generating a control interface of an internet of things device according to the present invention;
fig. 6 is a schematic structural diagram of a second preferred embodiment of a device for generating a control interface of an internet of things device according to the present invention;
fig. 7A and 7B are schematic diagrams of a first embodiment of a method and a device for generating a control interface of an internet of things device according to the present invention;
fig. 8A and 8B are schematic diagrams of a second embodiment of a method and a device for generating a control interface of an internet of things device according to the present invention;
fig. 9 is a schematic view of a working environment structure of an electronic device in which a device for generating a control interface of an internet of things device is located according to the present invention.
Detailed Description
Referring to the drawings, wherein like reference numbers refer to like elements, the principles of the present invention are illustrated as being implemented in a suitable computing environment. The following description is based on illustrated embodiments of the invention and should not be taken as limiting the invention with regard to other embodiments that are not detailed herein.
In the description that follows, embodiments of the invention are described with reference to steps and symbols of operations performed by one or more computers, unless otherwise indicated. It will thus be appreciated that those steps and operations, which are referred to herein several times as being computer-executed, include being manipulated by a computer processing unit in the form of electronic signals representing data in a structured form. This manipulation transforms the data or maintains it at locations in the computer's memory system, which may reconfigure or otherwise alter the computer's operation in a manner well known to those skilled in the art. The data maintains a data structure that is a physical location of the memory that has particular characteristics defined by the data format. However, while the principles of the invention have been described in language specific to above, it is not intended to be limited to the specific details shown, since one skilled in the art will recognize that various steps and operations described below may be implemented in hardware.
The method for generating a control interface for an internet-of-things device of the present invention may be implemented using a variety of computing-capable electronic devices, including, but not limited to, personal computers, server computers, hand-held or laptop devices, mobile devices (such as mobile phones, Personal Digital Assistants (PDAs), media players, and the like), multiprocessor systems, consumer electronics, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like; but is preferably a server platform for managing internet of things devices. According to the method for generating the control interface of the Internet of things equipment, the display control and the control are separately arranged, so that the corresponding display control or control can be conveniently selected to control the Internet of things equipment, and the use efficiency of the Internet of things equipment is improved.
Referring to fig. 1, fig. 1 is a flowchart of a method for generating a control interface of an internet of things device according to a preferred embodiment of the present invention. The method for generating the control interface of the internet of things device in the preferred embodiment includes:
step S101, acquiring the equipment function of the Internet of things equipment from an Internet of things equipment parameter database according to the product identification code of the Internet of things equipment;
step S102, acquiring a display control corresponding to the equipment function from a function control database according to the equipment function of the Internet of things equipment;
step S103, acquiring a control corresponding to the display control from a function control database according to the display control of the equipment function;
and step S104, setting a control interface of the Internet of things equipment by using the display control and the control.
The following describes in detail specific flows of steps of the method for generating a control interface of an internet of things device according to the preferred embodiment.
In step S101, the generation device of the control interface obtains the device function of the internet of things device from the internet of things device parameter database according to the Product Identification Number (PIN) of the internet of things device.
The product identification code is an identification code for distinguishing different products, each product has a unique product identification code, and products of the same type also have different product identification codes. The product identification code is set on a generating device (namely a server platform for managing the Internet of things equipment) of a control interface for a product manufacturer, and is used for distinguishing different Internet of things equipment by a user. The device functions refer to various adjustable or displayable functions of the internet of things device, and each device function can be implemented by using a function control.
Referring to fig. 2A, fig. 2A is a flowchart of creating an internet of things device parameter database according to a preferred embodiment of a method for generating a control interface of an internet of things device according to the present invention. The step of creating the internet of things equipment parameter database comprises the following steps:
step S201, a product manufacturer sets a product identification code for the Internet of things equipment; the product identification code corresponds to the Internet of things equipment one to one, so that the uniqueness of the product identification code of each Internet of things equipment is guaranteed. Subsequently, the process goes to step S202.
Step S202, setting the device function of the Internet of things device. Here, according to the identification mode of the device function of the internet of things device, a certain data type can be used for representing the device function of the internet of things device. The device functions of the internet of things devices are directly set by product manufacturers, and the device functions of each internet of things device are difficult to understand by users in the modes of text description and the like, so that a certain data type is used for representing a certain type of device functions in the preferred embodiment, so that the users can conveniently classify the certain type of device functions of the internet of things devices into a certain data type, and the data type can well reflect the device functions of the internet of things devices. The specific setting mode is as follows:
if the function parameter of the internet of things device is a function parameter with two operation options, such as an addition and subtraction operation function, a switch operation function and the like, the device function of the internet of things device is represented by using a data type of a boolean (boolean) variable.
If the function parameter of the internet of things device is a function parameter with a numerical adjustment operation option, such as a slide rod adjusting function or a dial adjusting function, the device function of the internet of things device is represented by using a data type of an integer (int) variable or a floating point (float) variable.
If the functional parameters of the internet of things equipment are functional parameters with position adjustment operation options, such as a position adjustment function or an angle adjustment function, the equipment functions of the internet of things equipment are expressed by using position coordinates, such as data types of an XY coordinate system.
If the function parameter of the internet of things device is a function parameter with a plurality of operation options, such as a menu option function, a multi-gear control function and the like, the device function of the internet of things device is represented by using a data type of an enumeration type (enum) variable.
And if the functional parameters of the equipment of the Internet of things are the functional parameters for displaying the data, directly displaying the corresponding data. Subsequently, the process goes to step S203.
Step S203, an Internet of things equipment parameter database is created according to the product identification code and the equipment function (including the data type corresponding to the equipment function) of the Internet of things equipment. The data structure of the internet of things device parameter database may be as shown in fig. 2B. Subsequently, the process goes to step S102.
In step S102, the control interface generating device obtains, according to the device function of the internet of things device obtained in step S101, a display control corresponding to the device function from the function control database; the display control is a function control for displaying numerical values of functional parameters of the internet equipment, such as a picture display control of a camera, an air quality display control of an air purifier and the like. Subsequently, the process goes to step S103.
Referring to fig. 3A, fig. 3A is a flowchart of creating a function control database according to a preferred embodiment of the method for generating a control interface of an internet of things device in the present invention. The step of creating a database of functionality control controls comprises:
step S301, obtaining the display parameter of each equipment function, and setting the display control corresponding to the equipment function according to the display parameter of each equipment function, wherein the display control can display the numerical value of the function parameter of the equipment function. And if the device function does not have the display parameters, not setting the display control corresponding to the device function. Subsequently, the process goes to step S302.
Step S302, obtaining the adjustment parameters of each equipment function, and setting a control corresponding to the equipment function according to the adjustment parameters of each equipment function, wherein the control can modify the function parameters of the equipment function, such as a resolution adjustment control of a camera, a wind speed adjustment control of an air purifier and the like. Subsequently, the process goes to step S303.
Step S303, setting the association between the display control and the control, and between different control controls, where the control having an association with the display control refers to a control that may affect the display control, that is, the operation of the control may change the display parameters of the display control, and of course, the control corresponding to the display control may also be manually set. The control related to the control is a control that may affect other control controls, that is, the operation of the control may change the adjustment parameters of other control controls, and of course, the secondary control corresponding to the primary control may also be manually set. Subsequently, the process goes to step S304.
Step S304, a function control database containing all the equipment functions is established according to the display control or the control corresponding to each equipment function and the relevance of the display control or the control. The data structure of the functionality control database may be as shown in FIG. 3B. Subsequently, the process goes to step S103.
In step S103, the control interface generating device obtains the control corresponding to the display control from the function control database according to the display control obtained in step S102. The control of the internet of things device comprises but is not limited to a control with two operation options, a control with a numerical adjustment operation option, a control with a position adjustment operation option, and a control with a plurality of operation options. Subsequently, the process goes to step S104.
In step S104, the control interface generating device sets a control interface of the internet of things device by using the display control obtained in step S102 and the control obtained in step S103. Referring to fig. 4 in detail, fig. 4 is a flowchart of step S104 of a method for generating a control interface of an internet of things device according to a preferred embodiment of the present invention. The step S104 includes:
step S401, judging whether a display control is acquired, and if the display control is acquired, turning to step S402; if the display control is not acquired, the process goes to step S403. Because the device function of the internet of things device must have a control, but not necessarily a display control, different processing modes are adopted for different situations.
Step S402, if the display control of the device function is obtained, setting the display control of the device function in the middle of the control interface of the internet of things device, and setting the control corresponding to the display control in the periphery of the control interface of the internet of things device. Or the display control of the equipment function is arranged at the upper part of the control interface of the Internet of things equipment, and the control corresponding to the display control is arranged at the lower part of the control interface of the equipment function. The control corresponding to the display control is a control that may affect the display control, and the control corresponding to the display control may also be set manually. The display control with higher attention of the user is arranged in the main operation area of the control interface, so that the use efficiency of the Internet of things equipment can be effectively improved.
Step S403, if the display control of the device function is not obtained, setting the primary control of the device function in the middle of the control interface of the internet of things device, and setting the secondary control corresponding to the primary control at the periphery of the control interface of the device function. Or the main control part of the equipment function is arranged at the upper part of the control interface of the Internet of things equipment, and the secondary control part corresponding to the display control part is arranged at the lower part of the control interface of the equipment function. The secondary control part corresponding to the main control part is a control part which can affect the main control part, and the secondary control part corresponding to the main control part can also be manually set. The user operation frequency of the general master control is greater than that of the secondary control, so that the master control with higher user attention is arranged in the main operation area of the control interface, and the use efficiency of the Internet of things equipment can be effectively improved.
Thus, the control interface generation process of the method for generating a control interface of the internet of things device according to the preferred embodiment is completed.
According to the generation method of the control interface of the internet of things equipment in the preferred embodiment, the display control and the control are separately arranged, so that the corresponding display control or control can be conveniently selected to control the internet of things equipment; the use efficiency of thing networking device has been improved.
Referring to fig. 5, fig. 5 is a schematic structural diagram of a first preferred embodiment of the apparatus for generating a control interface of an internet of things device according to the present invention. The generation device 50 of the control interface of the internet of things device in the preferred embodiment may be implemented by using the preferred embodiment of the generation method of the control interface of the internet of things device. The generating device 50 includes an apparatus function acquiring module 51, a display control acquiring module 52, a control acquiring module 53, and a control interface generating module 54.
The device function acquiring module 51 is configured to acquire a device function of the internet of things device from the internet of things device parameter database 55 according to the product identification code of the internet of things device; the display control acquiring module 52 is configured to acquire, according to the device function of the internet of things device, a display control corresponding to the device function from the function control database 56; the control acquiring module 53 is configured to acquire, according to the display control of the device function, a control corresponding to the display control from the function control database 56; the control interface generating module 54 is configured to set a control interface of the internet of things device using the display control and the control.
When the generation apparatus 50 for a control interface of an internet of things device according to the preferred embodiment is used, first, the device function acquisition module 51 acquires a device function of the internet of things device from the internet of things device parameter database 55 according to a Product Identification Number (PIN) of the internet of things device.
The product identification code is an identification code for distinguishing different products, and each product has a unique product identification code. The product identification code is set on a generating device (namely a server platform for managing the Internet of things equipment) of a control interface for a product manufacturer, and is used for distinguishing different Internet of things equipment by a user.
Then, the display control obtaining module 52 obtains, according to the device function of the internet of things device obtained by the device function obtaining module 51, a display control corresponding to the device function from the function control database 56; the display control is a function control for displaying numerical values of functional parameters of the internet equipment, such as a picture display control of a camera, an air quality display control of an air purifier and the like.
Then, the control obtaining module 53 obtains the control corresponding to the display control from the function control database 56 according to the display control obtained by the display control obtaining module 52. The control of the internet of things device comprises but is not limited to a control with two operation options, a control with a numerical adjustment operation option, a control with a position adjustment operation option, and a control with a plurality of operation options.
Finally, the control interface generating module 54 sets the control interface of the internet of things device by using the display control acquired by the display control acquiring module 52 and the control acquired by the control acquiring module 53.
In this way, the control interface generating process of the control interface generating device 50 of the internet of things device according to the preferred embodiment is completed.
The generation device of the control interface of the internet of things equipment in the preferred embodiment separately sets the display control and the control, so that the corresponding display control or control can be conveniently selected to control the internet of things equipment; the use efficiency of thing networking device has been improved.
Referring to fig. 6, fig. 6 is a schematic structural diagram of a generation apparatus of a control interface of an internet of things device according to a second preferred embodiment of the present invention. The generation device 60 of the control interface of the internet of things device in the preferred embodiment can be implemented by using the preferred embodiment of the generation method of the control interface of the internet of things device. The generating device comprises an equipment function acquiring module 601, a display control acquiring module 602, a control acquiring module 603, a control interface generating module 604, an identification code setting module 605, an equipment function setting module 606, a parameter database creating module 607, a display control setting module 608, a control setting module 609, a relevance setting module 613 and a control database creating module 610.
The identification code setting module 605 is configured to set a product identification code for the internet of things device, where the product identification code corresponds to the internet of things device one to one; the device function setting module 606 is configured to set device functions of the internet of things device; the parameter database creation module 607 is configured to create an internet of things device parameter database 611 according to the product identification code and the device function of the internet of things device; the display control setting module 608 is configured to set a display control corresponding to the device function according to the display parameter of the device function; the control setting module 609 is configured to set a control corresponding to the device function according to the adjustment parameter of each device function; the relevance setting module 613 is configured to set relevance between a display control and the control, and between different control controls; the control database creating module 610 is configured to create a function control database 612 according to a display control or a control corresponding to each device function and a relevance of the display control or the control.
When the generation apparatus 60 of the control interface of the internet of things device in the preferred embodiment is used, first, the device function acquisition module 601 acquires the device function of the internet of things device from the internet of things device parameter database according to the Product Identification Number (PIN) of the internet of things device.
The product identification code is an identification code for distinguishing different products, and each product has a unique product identification code. The product identification code is set on a generating device (namely a server platform for managing the Internet of things equipment) of a control interface for a product manufacturer, and is used for distinguishing different Internet of things equipment by a user.
Here, the internet of things device parameter database 611 is created by the following steps:
a product manufacturer sets a product identification code for the internet of things equipment through the identification code setting module 605; the product identification code corresponds to the Internet of things equipment one to one, so that the uniqueness of the product identification code of each Internet of things equipment is guaranteed.
The device function setting module 606 sets device functions of the internet of things device. Here, according to the identification mode of the device function of the internet of things device, a certain data type can be used for representing the device function of the internet of things device. The device functions of the internet of things devices are directly set by product manufacturers, and the device functions of each internet of things device are difficult to understand by users in the modes of text description and the like, so that a certain data type is used for representing a certain type of device functions in the preferred embodiment, so that the users can conveniently classify the certain type of device functions of the internet of things devices into a certain data type, and the data type can well reflect the device functions of the internet of things devices. The specific setting mode is as follows:
if the function parameter of the internet of things device is a function parameter with two operation options, such as an addition and subtraction operation function, a switch operation function and the like, the device function of the internet of things device is represented by using a data type of a boolean (boolean) variable.
If the function parameter of the internet of things device is a function parameter with a numerical adjustment operation option, such as a slide rod adjusting function or a dial adjusting function, the device function of the internet of things device is represented by using a data type of an integer (int) variable or a floating point (float) variable.
If the functional parameters of the internet of things equipment are functional parameters with position adjustment operation options, such as a position adjustment function or an angle adjustment function, the equipment functions of the internet of things equipment are expressed by using position coordinates, such as data types of an XY coordinate system.
If the function parameter of the internet of things device is a function parameter with a plurality of operation options, such as a menu option function, a multi-gear control function and the like, the device function of the internet of things device is represented by using a data type of an enumeration type (enum) variable.
And if the functional parameters of the equipment of the Internet of things are the functional parameters for displaying the data, directly displaying the corresponding data.
The parameter database creation module 607 creates an internet of things device parameter database 611 according to the product identification code and the device function (including the data type corresponding to the device function) of the internet of things device.
The display control acquiring module 602 acquires, according to the device function of the internet of things device acquired by the device function acquiring module 601, a display control corresponding to the device function from the function control database 612; the display control is a function control for displaying numerical values of functional parameters of the internet equipment, such as a picture display control of a camera, an air quality display control of an air purifier and the like.
The function control database 612 herein is created by:
the display control setting module 608 obtains the display parameter of each device function, and sets a display control corresponding to the device function according to the display parameter of each device function, where the display control can display the numerical value of the function parameter of the device function. And if the device function does not have the display parameters, not setting the display control corresponding to the device function.
The control setting module 609 obtains the adjustment parameter of each device function, and sets a control corresponding to the device function according to the adjustment parameter of each device function, where the control can modify the function parameter of the device function, such as a resolution adjustment control of a camera and a wind speed adjustment control of an air purifier.
The relevance setting module 613 sets relevance between the display control and the control, and between different control controls, where the control related to the display control refers to a control that may affect the display control, that is, the operation of the control may change the display parameters of the display control, and of course, the control corresponding to the display control may also be manually set. The control related to the control is a control that may affect other control controls, that is, the operation of the control may change the adjustment parameters of other control controls, and of course, the secondary control corresponding to the primary control may also be manually set.
The control database creating module 610 creates a function control database 612 containing all the device functions according to the display control or the control corresponding to each device function and the relevance of the display control or the control.
The control obtaining module 603 obtains a control corresponding to the display control from the function control database 612 according to the display control obtained by the display control obtaining module. The control of the internet of things device comprises but is not limited to a control with two operation options, a control with a numerical adjustment operation option, a control with a position adjustment operation option, and a control with a plurality of operation options.
The control interface generating module 604 sets the control interface of the internet of things device by using the display control acquired by the display control acquiring module 602 and the control acquired by the control acquiring module 603. The method specifically comprises the following steps:
the control interface generating module 604 determines whether to acquire a display control, and since the device function of the internet of things device must have a control but not necessarily a display control, different processing methods are adopted for different situations.
If the display control of the device function is obtained, the control interface generation module 604 sets the display control of the device function in the middle of the control interface of the internet of things device, and sets the control corresponding to the display control in the periphery of the control interface of the internet of things device. Or the display control of the equipment function is arranged at the upper part of the control interface of the Internet of things equipment, and the control corresponding to the display control is arranged at the lower part of the control interface of the equipment function. The control corresponding to the display control is a control that may affect the display control, and the control corresponding to the display control may also be set manually. The display control with higher attention of the user is arranged in the main operation area of the control interface, so that the use efficiency of the Internet of things equipment can be effectively improved.
If the display control of the device function is not obtained, the control interface generation module 604 sets the primary control of the device function in the middle of the control interface of the device function, and sets the secondary control corresponding to the primary control in the periphery of the control interface of the device function. Or the main control part of the equipment function is arranged at the upper part of the control interface of the Internet of things equipment, and the secondary control part corresponding to the display control part is arranged at the lower part of the control interface of the equipment function. The secondary control part corresponding to the main control part is a control part which can affect the main control part, and the secondary control part corresponding to the main control part can also be manually set. The user operation frequency of the general master control is greater than that of the secondary control, so that the master control with higher user attention is arranged in the main operation area of the control interface, and the use efficiency of the Internet of things equipment can be effectively improved.
In this way, the control interface generation process of the generation device 60 for a control interface of an internet of things device according to the preferred embodiment is completed.
The generation device of the control interface of the internet of things equipment in the preferred embodiment can better create the internet of things equipment parameter database and the function control database on the basis of the first preferred embodiment, and the control interface generation module uses different control interface generation schemes according to different conditions, so that the use efficiency of the internet of things equipment is further improved.
The following describes the working principle of the method and the device for generating the control interface of the internet of things device according to the present invention with two specific embodiments. Referring to fig. 7A and 7B, fig. 7A and 7B are schematic diagrams of a method and a device for generating a control interface of an internet of things device according to a first embodiment of the present invention. The specific embodiment is a generation process of a control interface of an air purifier.
First, the manufacturer of the air purifier sets the functions of the air purifier on the server platform as shown in fig. 7A, including an air quality display function, a humidity display function, a PM2.5 display function, a formaldehyde display function, an organic matter display function, a carbon dioxide display function, a wind speed adjustment function, an anion output function, and an ozone generation function.
When the user passes through air purifier's product identification code, obtain the demonstration controlling part 71 that corresponds of above-mentioned air purifier's equipment function from the server platform, show the controlling part for air quality, humidity and show the controlling part for air quality, PM2.5 shows the controlling part for air quality, formaldehyde shows the controlling part for air quality, organic matter shows the controlling part for air quality, and the controlling part for carbon dioxide shows the controlling part for air quality.
The server platform then obtains corresponding control controls 72 through the display control 71, and these control controls 92 are preferably control controls 72 that can change parameter values of the device functions on the display control 71, such as a wind speed adjustment function control, an anion output function control, and an ozone generation function control.
Finally, the display control 71 and the control 72 are used to set a control interface of the device function of the air purifier, so as to facilitate the use of the air purifier by the user and improve the use efficiency of the air purifier, the server platform enables the display control 71 to be arranged in the middle of the control interface, and the control 72 to be arranged on the periphery of the control interface, as shown in fig. 7B.
Referring to fig. 8A and 8B, fig. 8A and 8B are schematic diagrams of a method and an apparatus for generating a control interface of an internet of things device according to a second embodiment of the present invention. The specific embodiment is a generation process of a control interface of a living room television.
First, the manufacturer of the tv in the living room sets the device functions of the tv in the living room as shown in fig. 8A, which includes a channel adjustment function, a volume adjustment function, and a position adjustment function.
When the user passes the product identification code of the living room television, the control controls corresponding to the device functions of the living room television, such as the channel adjustment function control 81, the volume adjustment function control 82, and the position adjustment function control 83, are obtained from the server platform.
Because the device function does not have a corresponding display control, the server platform determines the use frequency of the control, sets the position adjustment function control 83 with a high use frequency as a main control, and sets the channel adjustment function control 81 and the volume adjustment function control 82 as secondary control controls.
And finally, setting a control interface of the equipment function of the living room television by using the control, so as to facilitate the use of a user and improve the use efficiency of the living room television, wherein the server platform enables the main control to be arranged in the middle of the control interface and the secondary control to be arranged at the periphery of the control interface, and the control interface is specifically shown in fig. 8B.
According to the generation method and the generation device for the control interface of the Internet of things equipment, the display control and the control are separately arranged, so that the corresponding display control or control can be conveniently selected to control the Internet of things equipment; the use efficiency of the Internet of things equipment is improved; the technical problem that the use efficiency of the existing Internet of things equipment is low is solved.
As used herein, the terms "component," "module," "system," "interface," "process," and the like are generally intended to refer to a computer-related entity: hardware, a combination of hardware and software, or software in execution. For example, a component may be, but is not limited to being, a process running on a processor, an object, an executable, a thread of execution, a program, and/or a computer. By way of illustration, both an application running on a controller and the controller can be a component. One or more components can reside within a process and/or thread of execution and a component may be localized on one computer and/or distributed between two or more computers.
Furthermore, the claimed subject matter may be implemented as a method, apparatus, or article of manufacture using standard programming and/or engineering techniques to produce software, firmware, hardware, or any combination thereof to control a computer to implement the disclosed subject matter. The term "article of manufacture" as used herein is intended to encompass a computer program accessible from any computer-readable device, carrier, or media. Of course, those skilled in the art will recognize many modifications may be made to this configuration without departing from the scope or spirit of the claimed subject matter.
FIG. 9 and the following discussion provide a brief, general description of an operating environment for an electronic device in which the data processing apparatus of the present invention is implemented. The operating environment of FIG. 9 is only one example of a suitable operating environment and is not intended to suggest any limitation as to the scope of use or functionality of the operating environment. Example electronic devices 912 include, but are not limited to, personal computers, server computers, hand-held or laptop devices, mobile devices (such as mobile phones, Personal Digital Assistants (PDAs), media players, and the like), multiprocessor systems, consumer electronics, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like.
Although not required, embodiments are described in the general context of "computer readable instructions" being executed by one or more electronic devices. Computer readable instructions may be distributed via computer readable media (discussed below). Computer readable instructions may be implemented as program modules, such as functions, objects, Application Programming Interfaces (APIs), data structures, etc. that perform particular tasks or implement particular abstract data types. Typically, the functionality of the computer readable instructions may be combined or distributed as desired in various environments.
FIG. 9 illustrates an example of an electronic device 912 including one or more embodiments of the data processing apparatus of the present invention. In one configuration, electronic device 912 includes at least one processing unit 916 and memory 918. Depending on the exact configuration and type of electronic device, memory 918 may be volatile (such as RAM), non-volatile (such as ROM, flash memory, etc.) or some combination of the two. This configuration is illustrated in fig. 9 by dashed line 914.
In other embodiments, electronic device 912 may include additional features and/or functionality. For example, device 912 may also include additional storage (e.g., removable and/or non-removable) including, but not limited to, magnetic storage, optical storage, and the like. Such additional storage is illustrated in fig. 9 by storage 920. In one embodiment, computer readable instructions to implement one or more embodiments provided herein may be in storage 920. Storage 920 may also store other computer readable instructions to implement an operating system, an application program, and the like. Computer readable instructions may be loaded in memory 918 for execution by processing unit 916, for example.
The term "computer readable media" as used herein includes computer storage media. Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions or other data. Memory 918 and storage 920 are examples of computer storage media. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disks (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by electronic device 912. Any such computer storage media may be part of electronic device 912.
Electronic device 912 may also include communication connection 926 that allows electronic device 912 to communicate with other devices. Communication connection 926 may include, but is not limited to, a modem, a Network Interface Card (NIC), an integrated network interface, a radio frequency transmitter/receiver, an infrared port, a USB connection, or other interfaces for connecting electronic device 912 to other electronic devices. Communication connection 926 may include a wired connection or a wireless connection. Communication connection 926 may transmit and/or receive communication media.
The term "computer readable media" may include communication media. Communication media typically embodies computer readable instructions or other data in a "modulated data signal" such as a carrier wave or other transport mechanism and includes any information delivery media. The term "modulated data signal" may include signals that: one or more of the signal characteristics may be set or changed in such a manner as to encode information in the signal.
The electronic device 912 may include input device(s) 924 such as keyboard, mouse, pen, voice input device, touch input device, infrared camera, video input device, and/or any other input device. Output device(s) 922 such as one or more displays, speakers, printers, and/or any other output device may also be included in device 912. Input device 924 and output device 922 may be connected to electronic device 912 via a wired connection, wireless connection, or any combination thereof. In one embodiment, an input device or an output device from another electronic device may be used as input device 924 or output device 922 for electronic device 912.
Components of electronic device 912 may be connected by various interconnects, such as a bus. Such interconnects may include Peripheral Component Interconnect (PCI), such as PCI express, Universal Serial Bus (USB), firewire (IEEE 1394), optical bus structures, and the like. In another embodiment, components of electronic device 912 may be interconnected by a network. For example, memory 918 may be comprised of multiple physical memory units located in different physical locations interconnected by a network.
Those skilled in the art will realize that storage devices utilized to store computer readable instructions may be distributed across a network. For example, an electronic device 930 accessible via a network 928 may store computer readable instructions to implement one or more embodiments provided by the present invention. Electronic device 912 may access electronic device 930 and download a part or all of the computer readable instructions for execution. Alternatively, electronic device 912 may download pieces of the computer readable instructions, as needed, or some instructions may be executed at electronic device 912 and some at electronic device 930.
Various operations of embodiments are provided herein. In one embodiment, the one or more operations may constitute computer readable instructions stored on one or more computer readable media, which when executed by an electronic device, will cause the computing device to perform the operations. The order in which some or all of the operations are described should not be construed as to imply that these operations are necessarily order dependent. Those skilled in the art will appreciate alternative orderings having the benefit of this description. Moreover, it should be understood that not all operations are necessarily present in each embodiment provided herein.
Also, as used herein, the word "preferred" is intended to serve as an example, instance, or illustration. Any aspect or design described herein as "preferred" is not necessarily to be construed as advantageous over other aspects or designs. Rather, use of the word "preferred" is intended to present concepts in a concrete fashion. The term "or" as used in this application is intended to mean an inclusive "or" rather than an exclusive "or". That is, unless specified otherwise or clear from context, "X employs A or B" is intended to include either of the permutations as a matter of course. That is, if X employs A; x employs B, or X employs both A and B, then "X employs A or B" is satisfied in any of the foregoing examples.
Also, although the disclosure has been shown and described with respect to one or more implementations, equivalent alterations and modifications will occur to others skilled in the art based upon a reading and understanding of this specification and the annexed drawings. The present disclosure includes all such modifications and alterations, and is limited only by the scope of the appended claims. In particular regard to the various functions performed by the above described components (e.g., elements, resources, etc.), the terms used to describe such components are intended to correspond, unless otherwise indicated, to any component which performs the specified function of the described component (e.g., that is functionally equivalent), even though not structurally equivalent to the disclosed structure which performs the function in the herein illustrated exemplary implementations of the disclosure. In addition, while a particular feature of the disclosure may have been disclosed with respect to only one of several implementations, such feature may be combined with one or more other features of the other implementations as may be desired and advantageous for a given or particular application. Furthermore, to the extent that the terms "includes," has, "" contains, "or variants thereof are used in either the detailed description or the claims, such terms are intended to be inclusive in a manner similar to the term" comprising.
Each functional unit in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium. The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Each apparatus or system described above may perform the method in the corresponding method embodiment.
In summary, although the present invention has been described with reference to the preferred embodiments, the above-described preferred embodiments are not intended to limit the present invention, and those skilled in the art can make various changes and modifications without departing from the spirit and scope of the present invention, therefore, the scope of the present invention shall be determined by the appended claims.

Claims (10)

1. A method for generating a control interface of Internet of things equipment is characterized by comprising the following steps:
acquiring the equipment function of the Internet of things equipment from an Internet of things equipment parameter database according to the product identification code of the Internet of things equipment;
according to the equipment function of the Internet of things equipment, acquiring a display control corresponding to the equipment function from a function control database;
if the device function of the Internet of things device does not have the corresponding display control, directly acquiring a main control corresponding to the device function from a function control database; then according to the main control of the equipment function, obtaining a secondary control corresponding to the main control from the function control database; and
setting a control interface of the Internet of things equipment by using the primary control and the secondary control; wherein the user operating frequency of the primary control is greater than the user operating frequency of the secondary control;
wherein the control of the internet of things device comprises a control which has two operation options and represents the function of the device by using a data type of a Boolean type variable; a control having a numerical adjustment operation option, representing a device function using a data type of an integer variable or a floating point variable; a control having a position adjustment operation option, the control representing a device function using position coordinates; and a control having a plurality of operational options, the control representing a function of the device using an enumerated variable.
2. The generation method of the control interface of the internet of things equipment according to claim 1, further comprising:
setting a product identification code for the Internet of things equipment, wherein the product identification code corresponds to the Internet of things equipment one to one;
setting the equipment function of the Internet of things equipment; and
and creating the internet of things equipment parameter database according to the product identification code and the equipment function of the internet of things equipment.
3. The generation method of the control interface of the internet of things equipment according to claim 1, further comprising:
setting a display control corresponding to the equipment function according to the display parameter of each equipment function;
setting a control corresponding to the equipment function according to the adjustment parameter of each equipment function;
setting the relevance between the display control and the control and between different control controls; and
and creating the function control database according to the display control or the control corresponding to each equipment function and the relevance of the display control or the control.
4. The generation method of the control interface of the Internet of things equipment according to claim 1,
enabling the main control to be arranged in the middle of a control interface of the Internet of things equipment, and enabling the secondary control to be arranged on the periphery of the control interface of the Internet of things equipment; or
And enabling the main control to be arranged at the upper part of the control interface of the Internet of things equipment, and enabling the secondary control to be arranged at the lower part of the control interface of the Internet of things equipment.
5. A generation device for a control interface of Internet of things equipment is characterized by comprising:
the equipment function acquisition module is used for acquiring the equipment functions of the Internet of things equipment from the Internet of things equipment parameter database according to the product identification code of the Internet of things equipment;
the display control acquisition module is used for acquiring a display control corresponding to the equipment function from a function control database according to the equipment function of the Internet of things equipment;
the control acquisition module is used for directly acquiring a main control corresponding to the equipment function from the function control database if the equipment function of the Internet of things equipment does not have a corresponding display control; then according to the main control of the equipment function, obtaining a secondary control corresponding to the main control from the function control database; and
the control interface generating module is used for setting a control interface of the Internet of things equipment by using the primary control and the secondary control; wherein the user operating frequency of the primary control is greater than the user operating frequency of the secondary control;
the control of the Internet of things equipment comprises a control which has two operation options and represents the function of the equipment by using a data type of a Boolean type variable; a control having a numerical adjustment operation option, representing a device function using a data type of an integer variable or a floating point variable; a control having a position adjustment operation option, the control representing a device function using position coordinates; and a control having a plurality of operational options, the control representing a function of the device using an enumerated variable.
6. The apparatus for generating a control interface of an internet of things device according to claim 5, further comprising:
the system comprises an identification code setting module, a product identification code setting module and a product identification code setting module, wherein the product identification code and the Internet of things equipment are in one-to-one correspondence;
the equipment function setting module is used for setting the equipment functions of the Internet of things equipment; and
and the parameter database creating module is used for creating the parameter database of the equipment of the Internet of things according to the product identification code and the equipment function of the equipment of the Internet of things.
7. The apparatus for generating a control interface of an internet of things device according to claim 5, further comprising:
the display control setting module is used for setting a display control corresponding to the equipment function according to the display parameter of the equipment function;
the control setting module is used for setting the control corresponding to the equipment function according to the adjustment parameter of each equipment function;
the relevance setting module is used for setting the relevance between the display control and the control and between different control controls; and
and the control database creating module is used for creating the function control database according to the display control or the control corresponding to each equipment function and the relevance of the display control or the control.
8. The device for generating the control interface of the internet of things equipment according to claim 5, wherein the primary control component is arranged in the middle of the control interface of the internet of things equipment, and the secondary control component is arranged on the periphery of the control interface of the internet of things equipment; or
And enabling the main control to be arranged at the upper part of the control interface of the Internet of things equipment, and enabling the secondary control to be arranged at the lower part of the control interface of the Internet of things equipment.
9. A storage medium having stored therein processor-executable instructions to be loaded by one or more processors to perform a method of generating a control interface for an internet of things device as claimed in any one of claims 1 to 4.
10. An electronic device comprising a processor and a memory, wherein the memory stores a computer program, and the processor is used for executing the method for generating the control interface of the internet of things device according to any one of claims 1 to 4 by calling the computer program.
CN201911335613.XA 2015-07-31 2015-07-31 Method and device for generating control interface of Internet of things equipment, storage medium and electronic equipment Active CN111045676B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911335613.XA CN111045676B (en) 2015-07-31 2015-07-31 Method and device for generating control interface of Internet of things equipment, storage medium and electronic equipment

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510466461.2A CN106708483B (en) 2015-07-31 2015-07-31 Method and device for generating control interface of Internet of things equipment
CN201911335613.XA CN111045676B (en) 2015-07-31 2015-07-31 Method and device for generating control interface of Internet of things equipment, storage medium and electronic equipment

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201510466461.2A Division CN106708483B (en) 2015-07-31 2015-07-31 Method and device for generating control interface of Internet of things equipment

Publications (2)

Publication Number Publication Date
CN111045676A CN111045676A (en) 2020-04-21
CN111045676B true CN111045676B (en) 2021-05-07

Family

ID=58923316

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201911335613.XA Active CN111045676B (en) 2015-07-31 2015-07-31 Method and device for generating control interface of Internet of things equipment, storage medium and electronic equipment
CN201510466461.2A Active CN106708483B (en) 2015-07-31 2015-07-31 Method and device for generating control interface of Internet of things equipment

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN201510466461.2A Active CN106708483B (en) 2015-07-31 2015-07-31 Method and device for generating control interface of Internet of things equipment

Country Status (1)

Country Link
CN (2) CN111045676B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109428911A (en) * 2017-08-24 2019-03-05 阿里巴巴集团控股有限公司 Apparatus control method, device, terminal device and operating system
CN109522072B (en) * 2018-11-05 2020-11-03 珠海格力电器股份有限公司 Control interface generation method and device
CN110673494A (en) * 2019-09-19 2020-01-10 北京金茂绿建科技有限公司 Control page generation method, device, terminal and storage medium
CN111158940B (en) * 2019-12-31 2022-01-28 因特睿科技有限公司 Method and device for docking and dynamically loading different devices in field of Internet of things
CN111897588B (en) * 2020-06-19 2024-04-02 深圳奇迹智慧网络有限公司 Product model configuration method, device, computer equipment and storage medium
CN114301940B (en) * 2021-12-27 2024-06-07 锐迪科创微电子(北京)有限公司 Internet of things equipment control method, device and system

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100685001B1 (en) * 2005-03-08 2007-02-20 삼성전자주식회사 Display apparatus and control method thereof
CN1776681A (en) * 2005-12-13 2006-05-24 北京大学 WEB control interface unified generating method and IP home network integrated control method
CN101316183B (en) * 2007-05-31 2011-07-27 海尔集团公司 Human-machine interaction interface generation method and system of digital home network
US8671417B2 (en) * 2011-12-12 2014-03-11 Microsoft Corporation Lightweight framework for web applications
CN103116336B (en) * 2013-01-14 2015-04-29 从兴技术有限公司 Method and device for automatic management of controlled device through intelligent home control terminal
CN103116443B (en) * 2013-02-06 2016-04-13 福建星网视易信息系统有限公司 A kind of interface display control method and device
US9733894B2 (en) * 2013-07-02 2017-08-15 24/7 Customer, Inc. Method and apparatus for facilitating voice user interface design
CN103581316A (en) * 2013-10-31 2014-02-12 中国科学院计算机网络信息中心 Intercommunication control system and method of internet-of-things controllers
CN104699361A (en) * 2013-12-04 2015-06-10 航天信息股份有限公司 Starting and data entering method for man-machine interaction interface of industrial control equipment
CN104717287B (en) * 2015-03-07 2018-08-31 上海恩辅信息科技有限公司 Realize that internet of things equipment is in communication with each other and distributed intelligence control method and system

Also Published As

Publication number Publication date
CN106708483A (en) 2017-05-24
CN111045676A (en) 2020-04-21
CN106708483B (en) 2020-01-31

Similar Documents

Publication Publication Date Title
CN111045676B (en) Method and device for generating control interface of Internet of things equipment, storage medium and electronic equipment
US10241649B2 (en) System and methods for application discovery and trial
CN109741755B (en) Voice awakening word threshold management device and method for managing voice awakening word threshold
JP5905638B2 (en) User interface content optimization system
EP2813931A1 (en) Electronic apparatus and method for providing services thereof
US20160042723A1 (en) Electronic device and method of controlling display thereof
EP2992417A1 (en) Cross-device user interface selection
US20150178253A1 (en) Method and apparatus for outputting digital content
CN105320509B (en) Picture processing method and picture processing device
US20130036196A1 (en) Method and system for publishing template-based content
KR20110044204A (en) Presenting dynamic grids
KR20160001180A (en) Method and its apparatus for displaying the virtual keybord
CN104102734A (en) Data display method and system
CN106406127B (en) The generation method and generating means of the control interface of internet of things equipment
CN111586235A (en) Electronic device, method, and computer-readable medium for dynamically laying out messages
KR102184162B1 (en) System and method for producing reactive webtoons
CN106535002B (en) Desktop starter template layout updating method and device
CN112306473A (en) Program interface parameter transmission method, system and related equipment
CN109783748B (en) Display method, device and equipment for display field and readable storage medium
CN110968311B (en) Front-end page construction method and device and electronic equipment
CN111797413A (en) BIM model modification method, device, equipment and computer readable storage medium
CN113342420B (en) Firmware configuration method, device, equipment and storage medium
CN111737784B (en) Board card type selection configuration method and equipment based on digital three-dimensional ZXMP S385 subframe
US11317129B1 (en) Targeted content distribution in a messaging system
US11405341B1 (en) Audience-based content optimization in a messaging system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40021566

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant