CN110489149B - Control method and system of intelligent equipment - Google Patents

Control method and system of intelligent equipment Download PDF

Info

Publication number
CN110489149B
CN110489149B CN201910782930.XA CN201910782930A CN110489149B CN 110489149 B CN110489149 B CN 110489149B CN 201910782930 A CN201910782930 A CN 201910782930A CN 110489149 B CN110489149 B CN 110489149B
Authority
CN
China
Prior art keywords
sdk
app
webpage
server
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.)
Active
Application number
CN201910782930.XA
Other languages
Chinese (zh)
Other versions
CN110489149A (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

Images

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

Abstract

The invention discloses a sharing control method and a system of intelligent equipment, wherein the method comprises the following steps: 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. According to the invention, the SDK is made into the webpage version, and when a new version exists, development only needs to upgrade the SDK on line, so that the new version of the SDK does not need to be downloaded again when the SDK is upgraded, the operation is simplified, and the user experience is improved.

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 content of the first and second substances,
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 content of the first and second substances,
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 (6)

1. A control method of an intelligent device, characterized by comprising:
the APP sends a control instruction by calling the webpage SDK;
the server receives the control instruction and controls the intelligent equipment according to the control instruction;
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;
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.
2. The control method according to claim 1, wherein the smart device is a smart home device.
3. The control method according to claim 2, wherein the APP is a third-party APP of the smart home device.
4. A control system of an intelligent device, characterized by comprising: APP, webpage SDK and intelligent equipment server; wherein the content of the first and second substances,
the APP is used for sending a control instruction to a server of the intelligent device by calling the webpage SDK;
the server is used for controlling the intelligent equipment according to the control instruction;
the server is further used for storing the version number of the webpage SDK, and sending SDK upgrading prompt information to the APP when the version number of the webpage SDK is updated;
the APP is also used for receiving and displaying 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 is also used for upgrading the webpage SDK according to the feedback information for confirming the upgrading SDK.
5. The control system of claim 4, wherein the smart device is a smart home device.
6. The control system of claim 5, wherein the APP is a third-party APP of the 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 CN110489149A (en) 2019-11-22
CN110489149B true 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)

Families Citing this family (2)

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

Citations (2)

* 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
CN108733395A (en) * 2018-05-14 2018-11-02 广州虎牙信息科技有限公司 software application service updating method, device and computer equipment

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106445484B (en) * 2015-08-12 2019-09-13 北京易数科技有限公司 The method and system of data tracking are realized by Software Development Kit
CN106528192A (en) * 2015-09-15 2017-03-22 阿里巴巴集团控股有限公司 Service logic updating method and device
CN107526605B (en) * 2016-06-20 2020-03-06 腾讯科技(深圳)有限公司 Method and device for realizing application program loading service assembly
CN108471376B (en) * 2017-02-23 2020-11-10 腾讯科技(深圳)有限公司 Data processing method, device and system
CN107179697A (en) * 2017-05-23 2017-09-19 珠海格力电器股份有限公司 A kind of intelligent home equipment control method, apparatus and system
CN107317882A (en) * 2017-08-12 2017-11-03 厦门多米诺数据科技有限公司 A kind of system and method that mobile device is controlled by page end

Patent Citations (2)

* 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
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/》.2017, *
固件升级;ruff;《https://ruff.io/zh-cn/docs/firmware-upgrade.html》;20180730;第1-4页 *

Also Published As

Publication number Publication date
CN110489149A (en) 2019-11-22

Similar Documents

Publication Publication Date Title
CN104063239B (en) Application program update method and server, the client of mobile terminal
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
CN106502725A (en) The upgrade method of application program, equipment and electronic equipment
CN110489149B (en) Control method and system of intelligent equipment
CN105302563A (en) Plug-in method and system for mobile application service
CN104639648A (en) Remote upgrading method for intelligent cabinet
CN112506584B (en) Resource file loading method, device, equipment, storage medium and product
CN104834541A (en) Function module mounting method, mounting system and mounting system updating method
CN109857416A (en) A kind of application upgrade method, apparatus, equipment and storage medium
CN108874437A (en) A kind of online cloud update method of android application program
CN105279005A (en) Application software updating method and device
CA3176456A1 (en) Release upgrading method applicable to hybrid application, corresponding device and intelligent equipment
CN109213533A (en) A kind of advertisement SDK dynamic loading method, device and terminal
CN105335201A (en) Application software updating method and device
CN113157270A (en) Page adaptation method and device
CN110493644A (en) TV applications upgrade method, television terminal and server
CN108334360A (en) Method, apparatus, storage medium and the computer equipment of application program dynamic load
CN108107792B (en) Loading method, terminal and the computer readable storage medium of LUA script
KR100524588B1 (en) succeeding method of data in mobile
CN107423367B (en) Web page loading method and device
CN114115943A (en) Version updating method, system, medium and equipment supporting breakpoint continuous transmission
CN105320551A (en) Application software updating method and device
CN108572832B (en) Method and system for dynamically updating application version
CN114064307A (en) Method, related device and system for realizing application program sharing of cloud mobile phone

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