CN110489149A - The control method and system of smart machine - Google Patents

The control method and system of smart machine Download PDF

Info

Publication number
CN110489149A
CN110489149A CN201910782930.XA CN201910782930A CN110489149A CN 110489149 A CN110489149 A CN 110489149A CN 201910782930 A CN201910782930 A CN 201910782930A CN 110489149 A CN110489149 A CN 110489149A
Authority
CN
China
Prior art keywords
sdk
app
server
webpage
upgrading
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.)
Granted
Application number
CN201910782930.XA
Other languages
Chinese (zh)
Other versions
CN110489149B (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.)
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun Technology Co Ltd
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun Technology 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 Gree Electric Appliances Inc of Zhuhai, Zhuhai Lianyun Technology Co Ltd filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201910782930.XA priority Critical patent/CN110489149B/en
Publication of CN110489149A publication Critical patent/CN110489149A/en
Application granted granted Critical
Publication of CN110489149B publication Critical patent/CN110489149B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/54Presence management, e.g. monitoring or registration for receipt of user log-on information, or the connection status of the users

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a kind of Compliance control method and system of smart machine, this method comprises: APP, which is applied, sends control instruction by invoking web page SDK;Server receives the control instruction, and controls smart machine according to the control instruction.SDK by being made into webpage version by the present invention, and when there is new version, exploitation only needs online upgrading SDK, is achieved in when upgrading SDK, without re-downloading the SDK of new version, is simplified operation, is promoted user experience.

Description

Control method and system of intelligent equipment
Technical Field
The invention belongs to the field of intelligent control, and particularly relates to a control method and a control system of intelligent equipment.
Background
At present, the use of internet development platforms is becoming more and more popular, and an external reasonable API (Application Programming Interface) Interface can be directly accessed on an open platform, and generally, hundreds of APIs are assumed by the open platform. Even if an open platform provides an API, multiple APIs may need to be called to accomplish one thing. If the open platform provides an SDK (Software Development Kit), the SDK can be called only once.
More and more companies want to control the vigorously produced smart apps in their own apps, and for enterprises, it is certain that source codes cannot be provided to others. For other manufacturers, who want to communicate with smart devices on their apps, SDK is a good choice. Even though the SDK is supplied to other people for use, a Bluetooth distribution network, a ZigBee distribution network, a microwave radar distribution network and the like can be arranged subsequently along with the demand. As the developer certainly needs the latest version, but even if the latest version is packaged, the developer needs to be informed of the new version, ask whether they need, need to have a demand, and also re-provide the SDK, so that both sides need to be re-processed. At present, the SDKs in the market are all provided by third parties, and developers can download the SDKs according to their needs and then integrate the SDKs into the local environment. However, when a third party needs to add some functions, the SDK is updated, and the existing SDK is locally integrated on the third party control end of the smart device. When the SDK is updated, the third-party control end needs to download a new version of the SDK locally, which results in poor user experience.
Disclosure of Invention
The invention aims to solve the technical problems of complex operation and poor user experience of the existing control method of the intelligent device based on the SDK.
In order to solve the above technical problem, the present invention provides a method for controlling an intelligent device, including:
the APP sends a control instruction by calling the webpage SDK;
and the server receives the control instruction and controls the intelligent equipment according to the control instruction.
Preferably, the method further comprises: and the server stores the version number of the webpage SDK, and sends SDK upgrading prompt information to the APP when the version number of the webpage SDK is updated.
Preferably, after the step of sending the SDK upgrade prompt information to the APP application, the method further includes:
the APP receives and displays the SDK upgrading prompt message;
after receiving an instruction for confirming the upgrading of the SDK input by a user, the APP sends feedback information for confirming the upgrading of the SDK to the server;
and the server upgrades the webpage SDK according to the feedback information for confirming the upgrade SDK.
Preferably, the intelligent device is an intelligent household device.
Preferably, the APP is a third-party APP of the smart home device.
In order to solve the above technical problem, the present invention further provides a control system of an intelligent device, including: APP, webpage SDK and intelligent equipment server; wherein,
the APP is used for sending a control instruction to a server of the intelligent device by calling the webpage SDK;
and the server is used for controlling the intelligent equipment according to the control instruction.
Preferably, the server is further configured to store the version number of the web page SDK, and send an SDK upgrade prompt message to the APP application when the version number of the web page SDK is updated.
Preferably, the APP application is further configured to receive and display the SDK upgrade prompt information; after receiving an instruction for confirming the upgrading of the SDK input by a user, the APP sends feedback information for confirming the upgrading of the SDK to the server;
and the server is also used for upgrading the webpage SDK according to the feedback information for confirming the upgrading SDK.
Preferably, the intelligent device is an intelligent household device.
Preferably, the APP is a third-party APP of the smart home device.
Compared with the prior art, one or more embodiments in the above scheme can have the following advantages or beneficial effects:
by applying the control method and the control system of the intelligent device provided by the embodiment of the invention, the SDK is made into the webpage version, the APP sends the control instruction by calling the webpage SDK, the server receives the control instruction and controls the intelligent device according to the control instruction, and because the SDK is the webpage version, when a new version exists, development only needs to upgrade the SDK on line, so that the SDK of the new version does not need to be downloaded again when being upgraded, the operation is simplified, and the user experience is improved.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention. In the drawings:
fig. 1 is a flowchart illustrating a control method of an intelligent device according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a control method of an intelligent device according to an embodiment of the present invention;
fig. 3 shows a block diagram of a control system of a third intelligent device according to an embodiment of the present invention.
Detailed Description
The following detailed description of the embodiments of the present invention will be provided with reference to the drawings and examples, so that how to apply the technical means to solve the technical problems and achieve the technical effects can be fully understood and implemented. It should be noted that, as long as there is no conflict, the embodiments and the features of the embodiments of the present invention may be combined with each other, and the technical solutions formed are within the scope of the present invention.
Example one
In order to solve the technical problems in the prior art, embodiments of the present invention provide a control method for an intelligent device.
Fig. 1 is a flowchart illustrating a control method for an intelligent device according to an embodiment of the present invention.
Referring to fig. 1, the method for controlling the intelligent device of the embodiment includes the following steps:
step S101: the APP sends a control instruction to a server of the intelligent device by calling the webpage SDK;
step S102: and the server controls the intelligent equipment according to the control instruction.
In particular operation, the smart device may be a smart home device. The APP can be a third-party APP of the smart home device.
This embodiment is through making the webpage version with SDK, directly calls, need not local integration, and APP uses and sends control command through calling webpage SDK, and the server receives control command to according to control command control smart machine, because SDK is the webpage version, when there is new version, only need online upgrade SDK, swift effective update version, also need not reissue and developer to download again, only need a key upgrade can, simplified operation promotes user experience.
Example two
In order to solve the above technical problems in the prior art, an embodiment of the present invention further provides another method for controlling an intelligent device. Compared with the embodiment shown in FIG. 1, the method increases the online upgrading process of the web page SDK. Fig. 2 shows a flowchart of a control method of a second smart device according to an embodiment of the present invention.
Referring to fig. 2, the method for controlling the smart device of this embodiment includes the following steps:
step S201: the APP is accessed to the webpage SDK;
step S202: the APP calls a webpage SDK to send a control instruction to a server of the intelligent device;
step S203: and the server receives the control instruction and controls the intelligent equipment.
In particular operation, the smart device may be a smart home device. The APP can be a third-party APP of the smart home device.
Step S204: the server stores the version number of the web page SDK, and when the version number of the web page SDK is updated, the upgrading version of the released SDK is changed;
step S205: and when the version number of the webpage SDK is updated, the server sends SDK upgrading prompt information to the APP. Accordingly, after step S205, the method further includes:
the APP receives and displays the SDK upgrading prompt message;
after receiving an instruction for confirming the upgrading of the SDK input by a user, the APP sends feedback information for confirming the upgrading of the SDK to the server;
and the server upgrades the webpage SDK according to the feedback information for confirming the upgrade SDK.
In the embodiment, the SDK is made into the webpage version and is directly called without local integration, because the SDK is the webpage version, when a new version exists, the server changes and releases the upgrade version of the SDK and sends the SDK upgrade prompt message to the APP application, and the APP application receives and displays the SDK upgrade prompt message; after receiving an instruction for confirming the upgrading of the SDK input by a user, the APP sends feedback information for confirming the upgrading of the SDK to the server; and the server upgrades the webpage SDK according to the feedback information for confirming the upgrade SDK, so that the online upgrade SDK is realized, the version is quickly and effectively updated, the reissue and the re-download of a developer are not needed, and only one-key upgrade is needed, thereby simplifying the operation and improving the user experience.
EXAMPLE III
In order to solve the technical problems in the prior art, embodiments of the present invention provide a control system for an intelligent device. Fig. 3 shows a block diagram of a control system of a third intelligent device according to an embodiment of the present invention. This embodiment is an apparatus embodiment corresponding to the method embodiment shown in fig. 1 and 2, and the explanation of the method embodiment shown in fig. 1 and 2 can be applied to this embodiment. As shown in fig. 3, the control system of the smart device includes an APP application 301, a web page SDK302, and a server 303 of the smart device; wherein,
the APP application 301 is used for sending a control instruction to a server 303 of the intelligent device by calling a webpage SDK 302;
the server 303 is configured to control the intelligent device according to the control instruction.
In a specific operation, the server 303 is further configured to store the version number of the web page SDK302, and send an SDK upgrade prompt message to the APP application 301 when the version number of the web page SDK302 is updated.
The APP application 301 is further configured to receive and display the SDK upgrade prompt information; after receiving an instruction of confirming the upgrade SDK input by the user, the APP application 301 sends feedback information confirming the upgrade SDK to the server 303. Correspondingly, the server 303 is further configured to upgrade the web page SDK302 according to the feedback information for confirming the upgrade SDK. In particular operation, the smart device may be a smart home device. The APP can be a third-party APP of the smart home device.
In the embodiment, the SDK is directly called by making the SDK into the webpage version without local integration, and because the SDK is the webpage version, when a new version exists, the version only needs to be upgraded, and a developer does not need to delete the old version and add the new version. Moreover, with the webpage version, even if more people are used, people only need one step. And the number of bytes of App can be reduced by making the SDK into a webpage version.
Although the embodiments of the present invention have been described above, the above description is only for the convenience of understanding the present invention, and is not intended to limit the present invention. It will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A control method of an intelligent device, characterized by comprising:
the APP sends a control instruction by calling the webpage SDK;
and the server receives the control instruction and controls the intelligent equipment according to the control instruction.
2. The control method according to claim 1, characterized by further comprising:
and the server stores the version number of the webpage SDK, and sends SDK upgrading prompt information to the APP when the version number of the webpage SDK is updated.
3. The control method according to claim 2, wherein after the step of sending the SDK upgrade prompt message to the APP application, the method further comprises:
the APP receives and displays the SDK upgrading prompt message;
after receiving an instruction for confirming the upgrading of the SDK input by a user, the APP sends feedback information for confirming the upgrading of the SDK to the server;
and the server upgrades the webpage SDK according to the feedback information for confirming the upgrade SDK.
4. The control method according to claim 3, wherein the smart device is a smart home device.
5. The control method according to claim 4, wherein the APP is a third-party APP of the smart home device.
6. A control system of an intelligent device, characterized by comprising: APP, webpage SDK and intelligent equipment server; wherein,
the APP is used for sending a control instruction to a server of the intelligent device by calling the webpage SDK;
and the server is used for controlling the intelligent equipment according to the control instruction.
7. The control system of claim 6, wherein the server is further configured to store a version number of the web page SDK, and send an SDK upgrade prompt message to the APP application when the version number of the web page SDK is updated.
8. The control system of claim 7, wherein the APP application is further configured to receive and display the SDK upgrade prompt; after receiving an instruction for confirming the upgrading of the SDK input by a user, the APP sends feedback information for confirming the upgrading of the SDK to the server;
and the server is also used for upgrading the webpage SDK according to the feedback information for confirming the upgrading SDK.
9. The control system of claim 8, wherein the smart device is a smart home device.
10. The control system of claim 9, wherein the APP is a third-party APP of a smart home device.
CN201910782930.XA 2019-08-23 2019-08-23 Control method and system of intelligent equipment Active CN110489149B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910782930.XA CN110489149B (en) 2019-08-23 2019-08-23 Control method and system of intelligent equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910782930.XA CN110489149B (en) 2019-08-23 2019-08-23 Control method and system of intelligent equipment

Publications (2)

Publication Number Publication Date
CN110489149A true CN110489149A (en) 2019-11-22
CN110489149B CN110489149B (en) 2021-03-26

Family

ID=68551733

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910782930.XA Active CN110489149B (en) 2019-08-23 2019-08-23 Control method and system of intelligent equipment

Country Status (1)

Country Link
CN (1) CN110489149B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114338379A (en) * 2021-12-28 2022-04-12 上海黑眸智能科技有限责任公司 Network distribution method and system for SDK client, SDK client and APP client
CN114363990A (en) * 2021-12-28 2022-04-15 上海黑眸智能科技有限责任公司 Equipment end network distribution method and system compatible with multiple APPs, equipment end and APP end

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9231819B2 (en) * 2012-11-30 2016-01-05 Red Hat Israel, Ltd. Abstracting restful web service HTTP between a client and a server
CN106528192A (en) * 2015-09-15 2017-03-22 阿里巴巴集团控股有限公司 Service logic updating method and device
CN107179697A (en) * 2017-05-23 2017-09-19 珠海格力电器股份有限公司 Intelligent household equipment control method, device and system
CN107317882A (en) * 2017-08-12 2017-11-03 厦门多米诺数据科技有限公司 A kind of system and method that mobile device is controlled by page end
CN107526605A (en) * 2016-06-20 2017-12-29 腾讯科技(深圳)有限公司 The method and apparatus for realizing application program loading serviced component
EP3336694A1 (en) * 2015-08-12 2018-06-20 Beijing Gaoyi Information Technology Co., Ltd. Method and system for realizing data tracking by means of software development kit
CN108471376A (en) * 2017-02-23 2018-08-31 腾讯科技(深圳)有限公司 Data processing method, apparatus and system
CN108733395A (en) * 2018-05-14 2018-11-02 广州虎牙信息科技有限公司 software application service updating method, device and computer equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9231819B2 (en) * 2012-11-30 2016-01-05 Red Hat Israel, Ltd. Abstracting restful web service HTTP between a client and a server
EP3336694A1 (en) * 2015-08-12 2018-06-20 Beijing Gaoyi Information Technology Co., Ltd. Method and system for realizing data tracking by means of software development kit
CN106528192A (en) * 2015-09-15 2017-03-22 阿里巴巴集团控股有限公司 Service logic updating method and device
CN107526605A (en) * 2016-06-20 2017-12-29 腾讯科技(深圳)有限公司 The method and apparatus for realizing application program loading serviced component
CN108471376A (en) * 2017-02-23 2018-08-31 腾讯科技(深圳)有限公司 Data processing method, apparatus and system
CN107179697A (en) * 2017-05-23 2017-09-19 珠海格力电器股份有限公司 Intelligent household equipment control method, device and system
CN107317882A (en) * 2017-08-12 2017-11-03 厦门多米诺数据科技有限公司 A kind of system and method that mobile device is controlled by page end
CN108733395A (en) * 2018-05-14 2018-11-02 广州虎牙信息科技有限公司 software application service updating method, device and computer equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
JANI GONZALEZ: "Update Your Kochava SDK", 《HTTPS://WWW.KOCHAVA.COM/UPDATE-YOUR-SDK/》 *
RUFF: "固件升级", 《HTTPS://RUFF.IO/ZH-CN/DOCS/FIRMWARE-UPGRADE.HTML》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114338379A (en) * 2021-12-28 2022-04-12 上海黑眸智能科技有限责任公司 Network distribution method and system for SDK client, SDK client and APP client
CN114363990A (en) * 2021-12-28 2022-04-15 上海黑眸智能科技有限责任公司 Equipment end network distribution method and system compatible with multiple APPs, equipment end and APP end
CN114338379B (en) * 2021-12-28 2023-11-03 上海黑眸智能科技有限责任公司 SDK client network distribution method, system, SDK client and APP client
CN114363990B (en) * 2021-12-28 2024-01-12 上海黑眸智能科技有限责任公司 Equipment end network distribution method and system compatible with multiple APP, equipment end and APP end

Also Published As

Publication number Publication date
CN110489149B (en) 2021-03-26

Similar Documents

Publication Publication Date Title
CN106897086B (en) Method, device and system for upgrading robot operating system
CN102622241B (en) A kind of method for upgrading software and device
KR100883208B1 (en) Mobile communication terminal available to update software based on virtualization technology and updating method thereof
US20150100955A1 (en) Method and System for Updating Software
CN104063239A (en) Application program update method of mobile terminal, server and client
CN110489149B (en) Control method and system of intelligent equipment
CN106775817A (en) Intelligent terminal is spread its tail control method, system and the intelligent terminal of advertisement
CN104077160A (en) Android software upgrading method, device and system
CA3176456A1 (en) Release upgrading method applicable to hybrid application, corresponding device and intelligent equipment
CN106020882A (en) Application upgrading method, intelligent terminal and upgrading system
CN109213533A (en) A kind of advertisement SDK dynamic loading method, device and terminal
WO2006057861A1 (en) System and method for over-the-air update of wireless communication devices
CN108874437A (en) A kind of online cloud update method of android application program
CN102158434A (en) Intelligent gateway and method for realizing application program management on intelligent gateway
CN105279005A (en) Application software updating method and device
CN105335201A (en) Application software updating method and device
CN108334360A (en) Method, apparatus, storage medium and the computer equipment of application program dynamic load
CN106681759A (en) Software updating method and mobile terminal
CN113934438A (en) Software development kit calling method and device, electronic equipment and computer-readable storage medium
CN108107792B (en) Loading method, terminal and the computer readable storage medium of LUA script
CN111221547B (en) Client update progress monitoring method, storage medium, electronic device and system
CN113590151A (en) Method and system for OTA (over the air) upgrade of Bluetooth equipment
CN111338708A (en) Application program processing method, client and system based on android plug-in
KR100524588B1 (en) succeeding method of data in mobile
CN107423367B (en) Web page loading method and device

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
GR01 Patent grant
GR01 Patent grant