CN111007733B - Method and device for integrating smart home terminal APP with smart device - Google Patents
Method and device for integrating smart home terminal APP with smart device Download PDFInfo
- Publication number
- CN111007733B CN111007733B CN201911150067.2A CN201911150067A CN111007733B CN 111007733 B CN111007733 B CN 111007733B CN 201911150067 A CN201911150067 A CN 201911150067A CN 111007733 B CN111007733 B CN 111007733B
- Authority
- CN
- China
- Prior art keywords
- intelligent
- cloud
- control
- current home
- smart
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 25
- 238000012545 processing Methods 0.000 claims description 13
- 230000003068 static effect Effects 0.000 claims description 11
- 238000004891 communication Methods 0.000 claims description 7
- 230000010354 integration Effects 0.000 abstract description 6
- 238000011161 development Methods 0.000 abstract description 5
- 230000006870 function Effects 0.000 description 12
- 238000010586 diagram Methods 0.000 description 11
- 238000004590 computer program Methods 0.000 description 5
- 238000012986 modification Methods 0.000 description 5
- 230000004048 modification Effects 0.000 description 5
- 230000008569 process Effects 0.000 description 4
- 230000004075 alteration Effects 0.000 description 1
- 230000006837 decompression Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B15/00—Systems controlled by a computer
- G05B15/02—Systems controlled by a computer electric
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/418—Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/26—Pc applications
- G05B2219/2642—Domotique, domestic, home control, automation, smart house
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Manufacturing & Machinery (AREA)
- Quality & Reliability (AREA)
- Stored Programmes (AREA)
- Information Transfer Between Computers (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a method and a device for integrating smart devices into a smart home terminal APP, wherein the method comprises the steps of sending a current home ID of a user to a cloud after the smart devices are confirmed to be bound, so that the cloud confirms a first smart device list corresponding to the current home ID, obtaining the first smart device list corresponding to the current home ID sent by the cloud, obtaining relevant resources for displaying the newly-added smart devices and controlling the newly-added smart devices from the cloud, and refreshing a display interface of the terminal APP according to the relevant resources for displaying the newly-added smart devices and controlling the newly-added smart devices. Through obtaining the smart machine list from the high in the clouds, and then obtain newly-increased smart machine's relevant resource to realize downloading as required of relevant resource, need not to redevelop relevant resource to newly-increased smart machine again, realize the quick integrated smart machine of terminal APP, need not terminal APP and upgrade and can realize the integration of smart machine, but remote control has reduced the development work load of terminal APP.
Description
Technical Field
The embodiment of the invention relates to the technical field of smart home, in particular to a method and a device for integrating smart equipment with a smart home terminal APP.
Background
At present, intelligent device resources (including pictures, descriptions, control instructions and supported states) and the like are built in a terminal APP locally, an intelligent device control page is developed through a native state or through H5, an interface and a logic need to be realized through programming, the speed of integrating new intelligent devices is low, a large amount of development work exists, and the integration of new intelligent devices at each time can be supported only by upgrading the terminal APP.
Disclosure of Invention
The embodiment of the invention provides a method and a device for integrating smart home terminal APP into smart equipment, which are used for realizing the rapid integration of the smart equipment by the terminal APP, realizing the integration of the smart equipment without upgrading the terminal APP, realizing remote control and reducing the development workload of the terminal APP.
In a first aspect, an embodiment of the present invention provides a method for integrating smart devices into a smart home terminal APP, including:
after determining that the intelligent equipment is bound, sending a current home ID of a user to a cloud end so that the cloud end determines a first intelligent equipment list corresponding to the current home ID;
acquiring a first intelligent device list corresponding to the current home ID sent by the cloud, and acquiring relevant resources for displaying the newly added intelligent device and controlling the newly added intelligent device from the cloud according to the first intelligent device list corresponding to the current home ID;
and refreshing the display interface of the terminal APP according to the newly added display intelligent equipment and the related resources for controlling the newly added intelligent equipment.
Among the above-mentioned technical scheme, through obtaining the smart machine list from the high in the clouds, and then obtain newly-increased smart machine's relevant resource to realize downloading as required of relevant resource, need not to redevelop relevant resource to newly-increased smart machine again, realize the quick integrated smart machine of terminal APP, need not terminal APP and upgrade and can realize the integration of smart machine, but remote control, reduced terminal APP's development work load.
Optionally, the related resources include an icon of the smart device, a device name, and a device control page;
the device control page is generated by the cloud according to the obtained device parameters of the intelligent device, the control assembly, the service logic and the static page template.
Optionally, the control component includes any one or a combination of the following components:
the picture control, the title control, the switch control, the button control, the check control, the radio control, the slide bar control.
Optionally, the method further includes:
when the terminal APP is determined to be started, the current home ID of the user is sent to the cloud end, so that the cloud end determines a second intelligent device list corresponding to the current home ID;
acquiring a second intelligent device list corresponding to the current home ID sent by the cloud, and determining a first intelligent device according to the second intelligent device list corresponding to the current home ID, wherein the first intelligent device is an intelligent device of which the version of the related resource in the second intelligent device list is not the latest version;
according to the first intelligent device, acquiring related resources of the first intelligent device from the cloud;
and refreshing the display interface of the terminal APP according to the relevant resources of the first intelligent device.
Optionally, the determining to bind the smart device includes:
discovering newly added intelligent equipment according to the local area network communication protocol consistent with the negotiation;
and uploading the corresponding relation between the newly added intelligent equipment and the current home ID of the user to the cloud end so that the cloud end establishes the binding relation between the newly added intelligent equipment and the current home ID of the user.
In a second aspect, an embodiment of the present invention further provides a device for integrating an intelligent device with an intelligent home terminal APP, including:
the system comprises a sending unit, a receiving unit and a processing unit, wherein the sending unit is used for sending a current home ID of a user to a cloud after the intelligent equipment is determined to be bound, so that the cloud determines a first intelligent equipment list corresponding to the current home ID;
the acquisition unit is used for acquiring a first intelligent device list corresponding to the current home ID sent by the cloud; according to a first intelligent device list corresponding to the current home ID, acquiring and displaying newly-added intelligent devices and related resources for controlling the newly-added intelligent devices from the cloud;
and the processing unit is used for refreshing the display interface of the terminal APP according to the newly added intelligent equipment for display and the related resources for controlling the newly added intelligent equipment.
Optionally, the related resources include an icon of the smart device, a device name, and a device control page;
the device control page is generated by the cloud according to the obtained device parameters of the intelligent device, the control assembly, the service logic and the static page template.
Optionally, the control component includes any one or a combination of the following components:
the picture control, the title control, the switch control, the button control, the check control, the radio control, the slide bar control.
Optionally, the processing unit is further configured to:
when the terminal APP is determined to be started, the current home ID of the user is sent to the cloud end, so that the cloud end determines a second intelligent device list corresponding to the current home ID;
acquiring a second intelligent device list corresponding to the current home ID sent by the cloud, and determining a first intelligent device according to the second intelligent device list corresponding to the current home ID, wherein the first intelligent device is an intelligent device of which the version of the related resource in the second intelligent device list is not the latest version;
according to the first intelligent device, related resources of the first intelligent device are obtained from the cloud;
and refreshing the display interface of the terminal APP according to the relevant resources of the first intelligent device.
Optionally, the processing unit is specifically configured to:
discovering newly added intelligent equipment according to the local area network communication protocol consistent with the negotiation;
and uploading the corresponding relation between the newly-added intelligent equipment and the current home ID of the user to the cloud end so that the cloud end establishes the binding relation between the newly-added intelligent equipment and the current home ID of the user.
In a third aspect, an embodiment of the present invention further provides a computing device, including:
a memory for storing program instructions;
and the processor is used for calling the program instruction stored in the memory and executing the method of the intelligent household terminal APP integrated intelligent equipment according to the obtained program.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable non-volatile storage medium, which includes computer-readable instructions, and when the computer reads and executes the computer-readable instructions, the computer is enabled to execute the method for integrating the smart home terminal APP into the smart device.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic diagram of a system architecture according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a method for integrating smart home terminals APP with smart devices according to an embodiment of the present invention;
fig. 3 is a schematic diagram of an apparatus control page according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an apparatus of an intelligent home terminal APP integrated with an intelligent device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail with reference to the accompanying drawings. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 illustrates an exemplary system architecture applicable to the embodiment of the present invention, which may include a terminal 100, a cloud 200, a gateway 300, and a smart device 400.
The terminal 100 is provided with a terminal APP for managing the gateway 300 and the smart device 400 that can be controlled by the gateway 300. The terminal 100 can communicate with the cloud 200 through the internet.
The cloud 200 is configured to store data required by the terminal 100 and the gateway 300, and may perform registration authentication on device information of the smart device 400, and establish a binding relationship between users of the smart device 400.
The gateway 300 may communicate with the cloud 200 through a router or a switch, so as to download corresponding control data on the cloud 200, create a ZigBee network or a WiFi network, facilitate access by the smart device 400, and control over the smart device 400.
The smart device 400 may be a device having a ZigBee protocol function or a WiFi function, and may access a ZigBee network or a WiFi network of the gateway 300, and the smart device 400 may also directly communicate with the cloud 200 through the WiFi network.
It should be noted that the structure shown in fig. 1 is only an example, and the embodiment of the present invention is not limited thereto.
Based on the above description, fig. 2 shows in detail a flow of a method for integrating smart devices into a smart home terminal APP according to an embodiment of the present invention, where the flow may be executed by a device for integrating smart devices into a smart home terminal APP.
As shown in fig. 2, the process specifically includes:
In the embodiment of the present invention, when determining to bind the smart device, a newly added smart device may be first discovered according to a negotiated lan communication protocol, and then the corresponding relationship between the newly added smart device and the current home ID of the user is uploaded to the cloud, so that the cloud establishes the binding relationship between the newly added smart device and the current home ID of the user.
That is to say, based on the structure shown in fig. 1, the built-in wifi module of the smart device is connected to the internet, or the built-in zigbee chip is connected to the internet through the zigbee gateway, the mutual discovery between the terminal APP and the smart device in the lan is realized according to the communication protocol between the smart device and the mobile terminal lan which are in accordance with the negotiation, the binding relationship between the smart device and the user is established after the correspondence between the smart device and the user uploaded by the terminal APP reaches the cloud, and the status data and the control instruction are reported and received according to the communication protocol between the smart device and the cloud which are in accordance with the negotiation.
After the intelligent device is determined to be bound, the intelligent device list of the current home of the user can be updated from the cloud, and the current home ID of the user needs to be sent to the cloud first, so that the cloud determines the first intelligent device list corresponding to the current home ID. After receiving the current home ID, the cloud end can determine a first intelligent device list corresponding to the current home ID.
Step 202, obtaining a first smart device list corresponding to the current home ID sent by the cloud, and obtaining, from the cloud, related resources for displaying the newly added smart devices and controlling the newly added smart devices according to the first smart device list corresponding to the current home ID.
It should be noted that the related resources may include an icon of the smart device, a device name, and a device control page. And the device control page is generated by the cloud according to the obtained device parameters of the intelligent device, the control component, the service logic and the static page template. The control assembly comprises any one or combination of the following components: picture controls, title controls, switch controls, button controls, check controls, radio controls, slider controls, and the like. It should be noted that the control component is not limited to the above listed controls, and the embodiment of the present invention is merely an example, and in the specific implementation process, the controls can be freely combined and added according to the requirements.
After the cloud acquires the device parameters of the intelligent device of a certain type input by the staff, the cloud can dynamically generate a device control page of the intelligent device of the type. Therefore, the generation of the device control page of the intelligent device can be realized without encoding by developers. For example, most functions of all intelligent devices can be realized through a fixed group of controls, the group of controls comprises a picture control, a title control, a switch control, a button control, a check control, a single-choice control, a slide bar control and the like, only a static page template needs to be developed, after the static page is loaded, the controls need to be set into corresponding states according to the device states, after the controls are operated, an instruction needs to be generated according to the actions of the controls and sent to the intelligent devices through a cloud, so that a device control page can be dynamically generated according to unified business logic, the static page template, a component library and a JSON configuration file, the content of the JSON configuration file mainly comprises the positions of the controls and the controls needed to be used for realizing the functions of the intelligent devices, corresponding state values and instruction values, and parameter values corresponding to the states of the controls, and parameter values corresponding to the actions of the controls, when the device control page is dynamically generated, an interface can be rendered according to the JSON configuration file, the initial state of the control is set, and the preset logic is executed after the control is operated.
As an example of a device control page shown in fig. 3, the smart device is a lamp that can adjust brightness and mode. Firstly, a drawing interface can be dynamically generated through a static page template and page related business logic which are developed and generated according to the functions of equipment and UI design, and a JSON configuration file and a basic control library. Besides the fixed controls of the static page module, the used controls comprise a label control, a switch control, a slide bar control and a single selection control. The JSON configuration file is shown below, wherein a label component has a displayType attribute, which has three values, 0 represents a display-only function title, 1 represents an actual state name of a display-only function, and 3 represents a display of a combination of the function title and the actual state name; the switch component has four attributes of status on, status off, cmdOn and cmdOff, which respectively represent the parameter value of an on state, the parameter value of an off state, the parameter value of an on instruction and the parameter value of an off instruction; the slider component has three attributes of minValue, maxValue and stepSize, and represents the minimum value, the maximum value and the step length of the slide bar control respectively; the radioBox control has two attributes of lineNum and culNum, and respectively represents a row to display a plurality of single options and a column to display a plurality of single options. Therefore, the control interface of the equipment can be dynamically drawn by combining the instruction set and the state set of the equipment.
After the device control interface is generated, the device control interface is compressed and deployed in the background. And configuring other related resources of the equipment category in a background, wherein the other related resources comprise equipment category codes, names, equipment icon downloading connections, equipment control interface compressed package downloading connections, instruction sets, state sets and data version numbers. And updating data after the application is started, and refreshing and displaying according to the corresponding resources of the information acquisition equipment if the equipment is added.
When a new intelligent device type is online, the intelligent device control page is compressed and deployed at the cloud end, the terminal APP needs decompression after being downloaded, and local resources are loaded during loading, so that the problem of slow speed of loading a remote Web interface is solved, and user experience is smoother.
And 203, refreshing a display interface of the terminal APP according to the newly added intelligent equipment and the related resources for controlling the newly added intelligent equipment.
Obtaining and showing newly-increased smart device and control after newly-increased smart device's relevant resource, including equipment icon, equipment name, equipment control page promptly, the smart device control page is realized through H5+ CSS + JS, and Android and iOS terminal APP can multiplex this smart device control page like this, and Android and iOS terminal APP need realize realizing data interaction and page jump each other with the JS interface that smart device control page negotiation is unanimous.
It should be noted that, after the terminal APP is started, that is, when it is determined that the terminal APP is started, the current home ID of the user also needs to be sent to the cloud, so that the cloud determines the second smart device list corresponding to the current home ID, then obtains the second smart device list corresponding to the current home ID sent by the cloud, and determines, according to the second smart device list corresponding to the current home ID, the first smart device, which is a smart device in which the version of the relevant resource in the second smart device list is not the latest version. The intelligent device which needs to obtain the latest version of the resource is mainly determined. And finally, according to the first intelligent device, obtaining the relevant resources of the first intelligent device from the cloud end, and refreshing the display interface of the terminal APP according to the relevant resources of the first intelligent device.
The embodiment shows that after the intelligent device is bound, the current home ID of the user is sent to the cloud end, so that the cloud end determines the first intelligent device list corresponding to the current home ID, the first intelligent device list corresponding to the current home ID sent by the cloud end is obtained, relevant resources for displaying the newly-added intelligent device and controlling the newly-added intelligent device are obtained from the cloud end according to the first intelligent device list corresponding to the current home ID, and the display interface of the terminal APP is refreshed according to the relevant resources for displaying the newly-added intelligent device and controlling the newly-added intelligent device. Through obtaining the smart machine list from the high in the clouds, and then obtain newly-increased smart machine's relevant resource to realize downloading as required of relevant resource, need not to redevelop relevant resource to newly-increased smart machine again, realize the quick integrated smart machine of terminal APP, need not terminal APP and upgrade and can realize the integration of smart machine, but remote control has reduced the development work load of terminal APP.
Based on the same technical concept, fig. 4 exemplarily shows a structure of an apparatus for a smart home terminal APP integrated intelligent device according to an embodiment of the present invention, where the apparatus can execute a process of the smart home terminal APP integrated intelligent device.
As shown in fig. 4, the apparatus specifically includes:
a sending unit 401, configured to send a current home ID of a user to a cloud after determining that an intelligent device is bound, so that the cloud determines a first intelligent device list corresponding to the current home ID;
an obtaining unit 402, configured to obtain a first smart device list corresponding to the current home ID sent by the cloud; according to a first intelligent device list corresponding to the current home ID, acquiring and displaying newly-added intelligent devices and related resources for controlling the newly-added intelligent devices from the cloud;
and the processing unit 403 is configured to refresh a display interface of the terminal APP according to the display of the newly added intelligent device and the control of the related resources of the newly added intelligent device.
Optionally, the related resources include an icon of the smart device, a device name, and a device control page;
the device control page is generated by the cloud according to the obtained device parameters of the intelligent device, the control assembly, the service logic and the static page template.
Optionally, the control component includes any one or a combination of the following components:
the picture control, the title control, the switch control, the button control, the check control, the radio control, the slide bar control.
Optionally, the processing unit 403 is further configured to:
when the terminal APP is determined to be started, the current home ID of the user is sent to the cloud end, so that the cloud end determines a second intelligent device list corresponding to the current home ID;
acquiring a second intelligent device list corresponding to the current home ID sent by the cloud, and determining a first intelligent device according to the second intelligent device list corresponding to the current home ID, wherein the first intelligent device is an intelligent device of which the version of the related resource in the second intelligent device list is not the latest version;
according to the first intelligent device, acquiring related resources of the first intelligent device from the cloud;
and refreshing the display interface of the terminal APP according to the relevant resources of the first intelligent device.
Optionally, the processing unit 403 is specifically configured to:
discovering newly added intelligent equipment according to the local area network communication protocol consistent with the negotiation;
and uploading the corresponding relation between the newly added intelligent equipment and the current home ID of the user to the cloud end so that the cloud end establishes the binding relation between the newly added intelligent equipment and the current home ID of the user.
Based on the same technical concept, an embodiment of the present invention further provides a computing device, including:
a memory for storing program instructions;
and the processor is used for calling the program instruction stored in the memory and executing the method of the intelligent household terminal APP integrated intelligent equipment according to the obtained program.
Based on the same technical concept, the embodiment of the invention also provides a computer-readable non-volatile storage medium, which comprises computer-readable instructions, and when the computer reads and executes the computer-readable instructions, the computer is enabled to execute the method for integrating the intelligent device by the smart home terminal APP.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.
Claims (9)
1. A method for integrating smart home terminal APP into smart equipment is characterized by comprising the following steps:
after determining that the intelligent equipment is bound, sending a current home ID of a user to a cloud end so that the cloud end determines a first intelligent equipment list corresponding to the current home ID;
acquiring a first intelligent device list corresponding to the current home ID sent by the cloud, and acquiring related resources for displaying the newly added intelligent devices and controlling the newly added intelligent devices from the cloud according to the first intelligent device list corresponding to the current home ID; the cloud dynamically generates an equipment control page of the newly-added intelligent equipment;
refreshing a display interface of the terminal APP according to the newly-added intelligent equipment and the related resources for controlling the newly-added intelligent equipment;
when the terminal APP is determined to be started, the current home ID of the user is sent to the cloud end, so that the cloud end determines a second intelligent device list corresponding to the current home ID;
acquiring a second intelligent device list corresponding to the current home ID sent by the cloud, and determining a first intelligent device according to the second intelligent device list corresponding to the current home ID, wherein the first intelligent device is an intelligent device of which the version of the relevant resource in the second intelligent device list is not the latest version;
according to the first intelligent device, acquiring related resources of the first intelligent device from the cloud;
and refreshing the display interface of the terminal APP according to the relevant resources of the first intelligent device.
2. The method of claim 1, wherein the related resources include an icon, a device name, and a device control page of a smart device;
the device control page is generated by the cloud according to the obtained device parameters of the intelligent device, the control assembly, the service logic and the static page template.
3. The method of claim 2, wherein the control component comprises any one or combination of components:
the picture control, the title control, the switch control, the button control, the check control, the radio control, the slide bar control.
4. The method of any of claims 1 to 3, wherein the determining to bind a smart device comprises:
discovering newly added intelligent equipment according to the local area network communication protocol consistent with the negotiation;
and uploading the corresponding relation between the newly-added intelligent equipment and the current home ID of the user to the cloud end so that the cloud end establishes the binding relation between the newly-added intelligent equipment and the current home ID of the user.
5. The utility model provides a device of integrated smart machine of wisdom house terminal APP which characterized in that includes:
the sending unit is used for sending the current home ID of the user to a cloud after the intelligent equipment is confirmed to be bound so that the cloud confirms a first intelligent equipment list corresponding to the current home ID;
the acquisition unit is used for acquiring a first intelligent device list corresponding to the current home ID sent by the cloud; acquiring related resources for displaying the newly added intelligent equipment and controlling the newly added intelligent equipment from the cloud according to a first intelligent equipment list corresponding to the current home ID; the cloud dynamically generates an equipment control page of the newly-added intelligent equipment;
the processing unit is used for refreshing a display interface of the terminal APP according to the newly-added intelligent equipment for displaying and the related resources for controlling the newly-added intelligent equipment;
the processing unit is further to:
when the terminal APP is determined to be started, the current home ID of the user is sent to the cloud end, so that the cloud end determines a second intelligent device list corresponding to the current home ID;
acquiring a second intelligent device list corresponding to the current home ID sent by the cloud, and determining a first intelligent device according to the second intelligent device list corresponding to the current home ID, wherein the first intelligent device is an intelligent device of which the version of the related resource in the second intelligent device list is not the latest version;
according to the first intelligent device, acquiring related resources of the first intelligent device from the cloud;
and refreshing the display interface of the terminal APP according to the relevant resources of the first intelligent device.
6. The apparatus of claim 5, wherein the related resources include an icon, a device name, and a device control page of a smart device;
the device control page is generated by the cloud according to the obtained device parameters of the intelligent device, the control assembly, the service logic and the static page template.
7. The apparatus of claim 6, wherein the control component comprises any one or a combination of components:
the picture control, the title control, the switch control, the button control, the check control, the radio control, the slide bar control.
8. A computing device, comprising:
a memory for storing program instructions;
a processor for invoking program instructions stored in said memory for executing the method of any of claims 1 to 4 in accordance with the obtained program.
9. A computer-readable non-transitory storage medium including computer-readable instructions which, when read and executed by a computer, cause the computer to perform the method of any one of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911150067.2A CN111007733B (en) | 2019-11-21 | 2019-11-21 | Method and device for integrating smart home terminal APP with smart device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911150067.2A CN111007733B (en) | 2019-11-21 | 2019-11-21 | Method and device for integrating smart home terminal APP with smart device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111007733A CN111007733A (en) | 2020-04-14 |
CN111007733B true CN111007733B (en) | 2022-09-30 |
Family
ID=70112821
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911150067.2A Active CN111007733B (en) | 2019-11-21 | 2019-11-21 | Method and device for integrating smart home terminal APP with smart device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111007733B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111901209B (en) * | 2020-07-03 | 2022-08-16 | 惠州拓邦电气技术有限公司 | Internet of things communication method, internet of things communication board, computer equipment and storage medium |
CN114911556B (en) * | 2022-04-25 | 2024-03-08 | 珠海格力电器股份有限公司 | Interface display method, device, equipment and storage medium |
CN115766688B (en) * | 2022-12-09 | 2024-05-28 | 科舸物联科技有限公司 | Production line edge side equipment remote nano-tube method, system and readable storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101436972A (en) * | 2007-11-16 | 2009-05-20 | 海尔集团公司 | Remote household electrical appliance control system |
CN105372998A (en) * | 2015-09-29 | 2016-03-02 | 小米科技有限责任公司 | A method and a device for binding of intelligent apparatuses |
CN105629752A (en) * | 2015-12-30 | 2016-06-01 | 深圳众乐智府科技有限公司 | Intelligent household equipment access method and intelligent household system |
CN106301785A (en) * | 2016-08-09 | 2017-01-04 | Tcl集团股份有限公司 | The binding method of a kind of intelligent home device and intelligent terminal and system |
CN106528209A (en) * | 2016-10-20 | 2017-03-22 | 杭州赛客网络科技有限公司 | Universal cloud communication server management intelligent peripheral version upgrade optimization method |
CN107065578A (en) * | 2016-12-28 | 2017-08-18 | 北京极科极客科技有限公司 | A kind of App controls the method and system of smart home |
CN110166523A (en) * | 2019-04-09 | 2019-08-23 | 腾讯科技(深圳)有限公司 | Content updating method, device, equipment and computer readable storage medium |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7480746B2 (en) * | 2005-09-06 | 2009-01-20 | Home Xperience, Inc. | Extensible universal home automation integration framework and user interface |
-
2019
- 2019-11-21 CN CN201911150067.2A patent/CN111007733B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101436972A (en) * | 2007-11-16 | 2009-05-20 | 海尔集团公司 | Remote household electrical appliance control system |
CN105372998A (en) * | 2015-09-29 | 2016-03-02 | 小米科技有限责任公司 | A method and a device for binding of intelligent apparatuses |
CN105629752A (en) * | 2015-12-30 | 2016-06-01 | 深圳众乐智府科技有限公司 | Intelligent household equipment access method and intelligent household system |
CN106301785A (en) * | 2016-08-09 | 2017-01-04 | Tcl集团股份有限公司 | The binding method of a kind of intelligent home device and intelligent terminal and system |
CN106528209A (en) * | 2016-10-20 | 2017-03-22 | 杭州赛客网络科技有限公司 | Universal cloud communication server management intelligent peripheral version upgrade optimization method |
CN107065578A (en) * | 2016-12-28 | 2017-08-18 | 北京极科极客科技有限公司 | A kind of App controls the method and system of smart home |
CN110166523A (en) * | 2019-04-09 | 2019-08-23 | 腾讯科技(深圳)有限公司 | Content updating method, device, equipment and computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN111007733A (en) | 2020-04-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10985935B2 (en) | Device control application with changeable workflow | |
CN111007733B (en) | Method and device for integrating smart home terminal APP with smart device | |
US10264424B2 (en) | Information processing method and central control device | |
CN104735143B (en) | A kind of lot control system and method based on smart home cloud platform | |
CN113412469A (en) | Equipment network distribution method and device, electronic equipment and storage medium | |
CN111176133A (en) | Method and device for determining smart home scene | |
US9396015B2 (en) | Flexible device templates for connected consumer devices | |
CN106411667A (en) | Intelligent home multi-cloud control method and system based on network chip | |
CN111459039A (en) | Intelligent household equipment management method and device | |
CN113055255A (en) | Scene configuration method and device of intelligent household appliance, storage medium and electronic equipment | |
US10908889B2 (en) | Method, user equipment, and application server for downloading application | |
CN104954394A (en) | Software differential packet production and update method, server, terminal and update system | |
US20230422024A1 (en) | Bluetooth address allocation method for intelligent light, computer device, and computer-readable storage medium | |
CN113992958B (en) | Multi-window same-screen interaction method, terminal and storage medium | |
CN110324808A (en) | Switching method, device and the mobile terminal of configuration file | |
CN110647278A (en) | Method and device for controlling plug-in display, computing equipment and storage medium | |
CN105450450A (en) | Virtual network parameter configuration method and device | |
CN111413876A (en) | Method for configuring control page of APP, cloud platform and terminal equipment | |
CN112954717A (en) | Household appliance network distribution method and device based on H5 page | |
CN112436986A (en) | Network distribution method and device, network distribution equipment and computer readable storage medium | |
CN111866856A (en) | Mesh device control method and system, storage medium and electronic device | |
CN112817593A (en) | Control page display method and device, storage medium and electronic device | |
CN103813014A (en) | Information processing method and electronic devices | |
CN111367561A (en) | Software program remote development method and device | |
CN113625586B (en) | Method and system for controlling intelligent home based on gateway |
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 | ||
CB02 | Change of applicant information |
Address after: 266100 Songling Road, Laoshan District, Qingdao, Shandong Province, No. 399 Applicant after: Qingdao Hisense Smart Life Technology Co.,Ltd. Address before: 266100 Songling Road, Laoshan District, Qingdao, Shandong Province, No. 399 Applicant before: QINGDAO HISENSE SMART HOME SYSTEMS Co.,Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |