CN112583866B - Sharing method and device of intelligent household electrical appliance, electronic equipment and medium - Google Patents

Sharing method and device of intelligent household electrical appliance, electronic equipment and medium Download PDF

Info

Publication number
CN112583866B
CN112583866B CN201910926997.6A CN201910926997A CN112583866B CN 112583866 B CN112583866 B CN 112583866B CN 201910926997 A CN201910926997 A CN 201910926997A CN 112583866 B CN112583866 B CN 112583866B
Authority
CN
China
Prior art keywords
shared information
household appliance
public platform
control
shared
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
CN201910926997.6A
Other languages
Chinese (zh)
Other versions
CN112583866A (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.)
Baidu Online Network Technology Beijing Co Ltd
Shanghai Xiaodu Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Shanghai Xiaodu 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 Beijing Baidu Netcom Science and Technology Co Ltd, Shanghai Xiaodu Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201910926997.6A priority Critical patent/CN112583866B/en
Publication of CN112583866A publication Critical patent/CN112583866A/en
Application granted granted Critical
Publication of CN112583866B publication Critical patent/CN112583866B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/06Network architectures or network communication protocols for network security for supporting key management in a packet data network
    • H04L63/062Network architectures or network communication protocols for network security for supporting key management in a packet data network for key distribution, e.g. centrally by trusted party
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0807Network architectures or network communication protocols for network security for authentication of entities using tickets, e.g. Kerberos
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/083Network architectures or network communication protocols for network security for authentication of entities using passwords
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0816Key establishment, i.e. cryptographic processes or cryptographic protocols whereby a shared secret becomes available to two or more parties, for subsequent use
    • H04L9/0819Key transport or distribution, i.e. key establishment techniques where one party creates or otherwise obtains a secret value, and securely transfers it to the other(s)
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0816Key establishment, i.e. cryptographic processes or cryptographic protocols whereby a shared secret becomes available to two or more parties, for subsequent use
    • H04L9/085Secret sharing or secret splitting, e.g. threshold schemes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/321Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving a third party or a trusted authority
    • H04L9/3213Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving a third party or a trusted authority using tickets or tokens, e.g. Kerberos
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0815Network architectures or network communication protocols for network security for authentication of entities providing single-sign-on or federations
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The embodiment of the application discloses a sharing method and device of intelligent household appliances, electronic equipment and a medium, and relates to the technical field of intelligent home furnishing. The specific implementation scheme comprises the following steps: responding to a device sharing request sent by a household appliance control client, and generating sharing information of household appliance devices; sending the shared information to the household appliance control client to send the shared information to the public platform client through the household appliance control client; responding to a shared information receiving request sent by a public platform client, calling a control applet of the household appliance at the public platform client, and determining a shared token corresponding to the shared information carried in the shared information receiving request, wherein the shared token is used as a control certificate for controlling the household appliance by a target user through the control applet. According to the method and the device, the effect that the public platform user shares the same household appliance with a master user for controlling the household appliance in the state that the user is free from the login of the household appliance control account can be achieved.

Description

Sharing method and device of intelligent household electrical appliance, electronic equipment and medium
Technical Field
The embodiment of the application relates to the technical field of computers, in particular to the technical field of intelligent home furnishing, and specifically relates to a sharing method and device of intelligent household appliances, electronic equipment and a medium.
Background
In the prior art, when an intelligent household appliance is controlled by application software, a login account of the application software needs to be bound with the controlled intelligent household appliance one to one, and then the control can be realized. If a plurality of users wish to control the same intelligent household appliance, the plurality of users can share the same household appliance only after executing program account login and binding operation with the intelligent household appliance on respective terminals, so that the implementation process of device sharing is complicated.
Disclosure of Invention
The embodiment of the application discloses a sharing method and device of intelligent household appliances, electronic equipment and a medium, so that a public platform user and a control master user of the household appliances share the effect of controlling the same household appliances in a household appliance control account login-free state.
In a first aspect, an embodiment of the present application discloses a method for sharing an intelligent home appliance, which is applied to a home appliance control server, and the method includes:
responding to a device sharing request sent by a household appliance control client, and generating sharing information of the household appliance based on a control relation between a login account corresponding to the household appliance control client and the household appliance;
sending the shared information to the household appliance control client to send the shared information to a public platform client through the household appliance control client;
and responding to a shared information receiving request sent by the public platform client, calling a control applet of the household appliance at the public platform client, and determining a shared token corresponding to the shared information carried in the shared information receiving request, wherein the shared token is used as a control certificate for controlling the household appliance by a target user through the control applet.
One embodiment in the above application has the following advantages or benefits: the target user uses the sharing token corresponding to the received sharing information as a control certificate for controlling the household appliance through the control small program, so that account login operation corresponding to the household appliance to be controlled is omitted, the effect of controlling the same household appliance with a household appliance control main user in a household appliance control account login-free state is achieved, the problem of complex operation caused by the fact that different users must perform control account login and device binding in the process of controlling the household appliance by using respective terminals in the prior art is solved, and the implementation process of device sharing is simplified; meanwhile, the shared token is sent to the public platform client only under the touch operation of the target user, so that the sending safety of the shared token is ensured, and the leakage or illegal stealing of the shared token is effectively avoided.
Optionally, in response to a shared information receiving request sent by the public platform client, invoking a control applet of the household appliance at the public platform client, and determining a shared token corresponding to shared information carried in the shared information receiving request, where the method includes:
responding to a first shared information receiving request sent by the public platform client, and calling a control applet of the household appliance at the public platform client, wherein the first shared information receiving request is triggered by the target user by touching the shared information in the public platform client;
responding to a second shared information receiving request sent by the public platform client, and determining a shared token corresponding to shared information carried in the second shared information receiving request, wherein the second shared information receiving request is triggered by the target user performing touch control on the control applet in the public platform client.
One embodiment in the above application has the following advantages or benefits: by receiving the two transmissions of the request, the acquisition requirement of the shared token of the target user can be determined, and the effectiveness of the shared token transmission operation of the household appliance control server is ensured.
Optionally, sending the shared information to the appliance control client includes:
and carrying the shared information in target page link information and sending the target page link information to the household appliance control client.
Optionally, in response to a first shared information receiving request sent by the public platform client, invoking, at the public platform client, a control applet of the household appliance, where the invoking includes:
responding to a target page generation request sent by the public platform client, generating a target page, and sending the target page to the public platform client for displaying, wherein the target page generation request is triggered by the target user in the public platform client by touching the target page link information;
receiving sharing information sent by a target page in the public platform client, and generating a two-dimensional code displayed on the target page according to the sharing information sent by the target page;
receiving code scanning event information sent by a public platform server, and generating a small control program carrying the shared information, wherein the code scanning event information carries the platform identifier of the target user and the two-dimensional code information, and the code scanning event information is generated by the public platform server according to the identification result of the target user on the two-dimensional code;
and sending the small control program to the public platform server so as to send the small control program to the public platform client through the public platform server based on the platform identification of the target user.
One embodiment in the above application has the following advantages or benefits: the attention operation of a target user to the public account of the household appliance is confirmed through setting, so that the touch rate of the information pushed by the household appliance to a household appliance control user is improved, and the management and maintenance of the household appliance control user are facilitated; the shared information is carried in the target page link information for sharing, and the target page and the two-dimensional code are asynchronously generated, so that the data transmission amount in the equipment sharing process is reduced, the time delay of household appliance sharing triggering is reduced, and the smoothness of the overall interactive experience of the household appliance sharing process is improved.
Optionally, determining, in response to a second shared information receiving request sent by the public platform client, a shared token corresponding to shared information carried in the second shared information receiving request includes:
and responding to a second shared information receiving request sent by the public platform client, triggering the generation operation of the shared token, and generating the shared token corresponding to the shared information carried in the second shared information receiving request.
Optionally, before determining the sharing token corresponding to the sharing information carried in the sharing information receiving request, the method further includes:
acquiring user identity information corresponding to the public platform client;
according to the user identity information, platform identification of the target user in a public platform is obtained through interaction with a public platform server;
and generating the sharing token by utilizing the platform identification and the household appliance identification carried in the received sharing information, and establishing a corresponding relation between the sharing token and the received sharing information.
One embodiment in the above application has the following advantages or benefits: the generation operation of the shared token is triggered after the shared information is received, so that the safety of the shared token can be ensured; by establishing the corresponding relation between the sharing token and the sharing information, the household appliance control authority of the target user in the household appliance control-free account login state can be effectively verified in the follow-up process.
Optionally, after determining the sharing token corresponding to the sharing information carried in the sharing information receiving request, the method further includes:
and establishing a corresponding relation between the platform identification of the target user and the sharing token.
Optionally, after determining the sharing token corresponding to the sharing information carried in the shared information receiving request, the method further includes:
and determining the shared information received by the public platform client as invalid information.
One embodiment in the above application has the following advantages or benefits: the control authority of the household electrical appliance is prevented from being abused in the sharing process of the household electrical appliance by setting the validity of the shared information for limitation.
Optionally, the method further includes:
and receiving a household appliance control instruction which is sent by a control small program in the public platform client and carries the shared token so as to instruct household appliance equipment to execute the operation corresponding to the household appliance control instruction.
In a second aspect, an embodiment of the present application further discloses a sharing method for an intelligent household appliance, which is applied to a terminal, where a public platform client is installed in the terminal, and an applet is integrated in the public platform client, and the method includes:
receiving shared information sent by a household appliance control client through a public platform client, wherein the shared information is generated by a household appliance control server in response to a device sharing request sent by the household appliance control client based on a control relation between a login account corresponding to the household appliance control client and household appliances;
sending a shared information receiving request to the household appliance control server through the public platform client, so that the household appliance control server calls a control applet of the household appliance at the public platform client and determines a shared token corresponding to shared information carried in the shared information receiving request, wherein the shared token is used as a control certificate of a target user for controlling the household appliance through the control applet.
In a third aspect, an embodiment of the present application further discloses a sharing apparatus for an intelligent home appliance, configured in a home appliance control server, where the apparatus includes:
the shared information generating module is used for responding to an equipment sharing request sent by the household appliance control client and generating shared information of the household appliance equipment based on the control relation between a login account corresponding to the household appliance control client and the household appliance equipment;
the shared information sending module is used for sending the shared information to the household appliance control client, wherein the shared information is sent to a public platform client through the household appliance control client;
and the shared token determining module is used for responding to a shared information receiving request sent by the public platform client, calling a control applet of the household appliance at the public platform client, and determining a shared token corresponding to the shared information carried in the shared information receiving request, wherein the shared token is used as a control certificate for controlling the household appliance through the control applet by a target user.
In a fourth aspect, an embodiment of the present application further discloses a sharing apparatus for an intelligent household electrical appliance, where the sharing apparatus is configured in a terminal, a public platform client is installed in the terminal, and a control applet is integrated in the public platform client, and the apparatus includes:
the shared information receiving module is used for receiving shared information sent by the household appliance control client through the public platform client, wherein the shared information is generated by a household appliance control server in response to an equipment sharing request sent by the household appliance control client and based on the control relation between a login account corresponding to the household appliance control client and household appliance equipment;
and the shared information receiving request sending module is used for sending a shared information receiving request to the household appliance control server through the public platform client so that the household appliance control server calls a small control program of the household appliance at the public platform client and determines a shared token corresponding to the shared information carried in the shared information receiving request, wherein the shared token is used as a control certificate for controlling the household appliance through the small control program by a target user.
In a fifth aspect, an embodiment of the present application further discloses an electronic device, including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor, and the instructions are executable by the at least one processor to enable the at least one processor to perform the method for sharing an intelligent home device applied to a home control server according to any one of the embodiments of the present disclosure, or perform the method for sharing an intelligent home device applied to a terminal according to any one of the embodiments of the present disclosure.
In a sixth aspect, the present application further discloses a non-transitory computer-readable storage medium storing computer instructions for causing a computer to execute the method for sharing an intelligent home appliance applied to a home appliance control server according to any one of the embodiments of the present application, or execute the method for sharing an intelligent home appliance applied to a terminal according to any one of the embodiments of the present application.
According to the technical scheme of the embodiment of the application, the sharing token corresponding to the shared information can be used as the control certificate for controlling the household appliance through the control applet by the target user through the sharing between the household appliance control client and the control applet by the device sharing information, so that the account login operation corresponding to the household appliance to be controlled is omitted, the effect of controlling the same household appliance with a main user controlled by the household appliance in a household appliance control account login-free state is realized, the problem of complicated operation caused by the fact that different users must perform control account login and device binding in the process of controlling the household appliance by using respective terminals by the different users in the prior art is solved, and the implementation process of device sharing is simplified; moreover, due to the use convenience of the small program, a home appliance control client does not need to be installed on the target user terminal, the use threshold of multiple persons on the same home appliance is reduced, and the control form of the home appliance is enriched; meanwhile, the shared token is sent to the public platform client only under the touch operation of the target user, so that the sending safety of the shared token is ensured, and the leakage or illegal stealing of the shared token is effectively avoided. Other effects of the above alternatives will be described below with reference to specific embodiments.
Drawings
The drawings are included to provide a better understanding of the present solution and are not intended to limit the present application. Wherein:
fig. 1 is a flowchart illustrating a sharing method for an intelligent home device according to an embodiment of the present disclosure;
fig. 2 is a schematic diagram of an interaction between a control applet and a home appliance control server according to an embodiment of the application;
fig. 3 is a flowchart of another sharing method for an intelligent home device according to an embodiment of the present disclosure;
fig. 4 is a schematic diagram of interaction among multiple parties involved in a sharing method for an intelligent home appliance according to an embodiment of the present disclosure;
fig. 5 is a flowchart illustrating another sharing method for an intelligent home device according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of a sharing apparatus of an intelligent home appliance according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of another sharing apparatus for an intelligent home device according to an embodiment of the present disclosure;
fig. 8 is a block diagram of an electronic device disclosed according to an embodiment of the present application.
Detailed Description
The following description of the exemplary embodiments of the present application, taken in conjunction with the accompanying drawings, includes various details of the embodiments of the application to assist in understanding, which are to be considered exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present application. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
In the embodiment of the present application, the home appliance control client is an application program that can be installed on any portable terminal and can control an intelligent home appliance in response to a user operation. The household appliance control server is a server for providing operation and maintenance for the household appliance service provider, can be in communication interaction with the household appliance control client, and jointly realizes control and management of the intelligent household appliance. The portable terminal includes, but is not limited to, a mobile terminal, a notebook, a tablet computer, and the like. The intelligent household appliance can support terminal-controlled household appliances at will, including but not limited to intelligent sound boxes, cleaning robots, intelligent air conditioners and the like, and is hereinafter referred to as household appliance for short.
The public platform can be any open platform, such as a wechat public platform, and the public platform client refers to a public platform application program which can be installed on any portable terminal. The development of various applets is supported on a public platform, the applets are applications which can be used without downloading, and the application convenience is high. Since the public platform supports development of applets with various functions according to developers, various applets, for example, control applets that can be used to control smart home appliances, can be integrated into a public platform client installed in a portable terminal.
Fig. 1 is a flowchart of a sharing method for an intelligent household appliance according to an embodiment of the present disclosure, where this embodiment may be applied to sharing information of a household appliance among different terminals, so as to implement a situation that multiple users may control the same household appliance, for example, multiple family members may share the same household appliance through the household appliance, and control the same household appliance by using their respective terminals. The method is applied to the household appliance control server, can be executed by a sharing device of the intelligent household appliance, can be realized in a software and/or hardware mode, and can be integrated in the household appliance control server.
As shown in fig. 1, the method for sharing an intelligent household electrical appliance disclosed in this embodiment may include:
s101, responding to a device sharing request sent by a household appliance control client, and generating sharing information of the household appliance based on the control relation between a login account corresponding to the household appliance control client and the household appliance.
Before a terminal is used for controlling household appliances, an account login request needs to be sent to a household appliance control server by a main user for controlling the household appliances or an initiator shared by the household appliances through a household appliance control client (app), after the account login is successful, a control relation or a binding relation between a login account and the household appliances is established by adding an appliance identifier of the household appliances in the household appliance control client, and the household appliance control server stores the control relation. The login account described in this embodiment includes an account name and/or a login password. When a control master user of the household appliance or an initiator shared by the household appliance sends an appliance sharing request to a household appliance control server through a household appliance control client under the account login state of the household appliance control client, the household appliance control server determines a household appliance identifier corresponding to the account according to account information carried in the appliance sharing request, or the household appliance control server confirms the relationship according to the binding relationship between a login account carried in the appliance sharing request and the household appliance, then generates shared information of the household appliance by taking the login account of the client and the household appliance identifier as sharing parameters, and stores the corresponding relationship among the shared information, the login account of the client and the appliance identifier. The shared information may be in the form of a shared code (share code), which may be a string of randomly generated characters, such as a random string of arbitrary length formed by upper and lower case letters, numbers, and special characters, and may be 32 bits long, for example.
And S102, sending the shared information to the household appliance control client so as to send the shared information to the public platform client through the household appliance control client.
After the household appliance control server generates the shared information, the shared information is carried in the two-dimensional code or the sharing page and is sent to a household appliance control client on a household appliance control main user terminal, the household appliance control client configures the two-dimensional code or the sharing page carrying the shared information on an interface in communication interaction with a public platform in a sharing parameter mode based on the sharing operation of the control main user, and sends the shared information to friends in the public platform client.
S103, responding to a shared information receiving request sent by a public platform client, calling a control small program of the household appliance at the public platform client, and determining a shared token corresponding to the shared information carried in the shared information receiving request, wherein the shared token is used as a control certificate for controlling the household appliance by a target user through the control small program.
After the shared information is shared on the public platform, the home appliance device controls a friend of the master user, namely a receiver shared by the devices, hereinafter referred to as a target user, and performs touch operation, such as clicking, on the received shared information in a public platform client installed on a terminal of the target user, so as to trigger sending of a shared information receiving request to the home appliance control server, so as to request the home appliance control server to receive the shared information, and meanwhile, the shared information receiving request can also be used as a control request for the target user to control the home appliance device through a control applet integrated in the public platform client. Therefore, the household appliance control server responds to a shared information receiving request sent by a public platform client installed on the target user terminal, calls the control applet in the public platform client, and determines the shared token corresponding to the shared information carried in the shared information receiving request. The shared token is used as the household appliance to control the master user to share the control authority of the target user to the same household appliance through equipment sharing. The shared token is sent to the public platform client only under the touch operation of the target user, so that the sending safety of the shared token is guaranteed, and the leakage or illegal stealing of the shared token is effectively avoided.
The shared information receiving request not only can carry shared information, but also can carry a terminal identifier of a target user terminal, a public platform application identifier and a login account of a public platform client. The terminal identifier and the public platform application identifier can be used for assisting the household appliance control server to determine a source of a shared information receiving request, and the public platform application identifier can be a public platform application id (app id) and is used for uniquely identifying the public platform application; the login account of the public platform client can be used as an information exchange condition between the household appliance control server and the public platform server, for example, the household appliance control server calls a communication interface with the public platform server to send the login account of the public platform client to the public platform server so as to exchange a platform identifier of a target user on the public platform, such as a WeChat public platform identifier open id. After the shared token is determined, the home appliance control server may establish a corresponding relationship between the shared token and at least one of the terminal identifier of the target user and the public platform identifier, so as to confirm that the target user may control the same home appliance device as a control master user of the home appliance device by using the shared token as a control credential without performing account login corresponding to the home appliance device to be controlled.
After the household appliance control server sends the sharing token to the small control program in the public platform client, when a target user has a control demand on household appliances, the household appliance control server sends a household appliance control instruction carrying the sharing token to the household appliance control server by performing instruction triggering operation on the small control program, receives the household appliance control instruction and sends the household appliance control instruction to the corresponding household appliances, and instructs the household appliances to execute the operation corresponding to the household appliance control instruction, for example, the intelligent sound box is controlled by the small control program to play audio and the like. After the household appliance control server receives a household appliance control instruction sent by a target user through an applet, a sharing token is analyzed from the instruction, a terminal identification and/or a public platform identification of the target user are/is also analyzed from the instruction, the analyzed information is matched and confirmed in a stored corresponding relation related to the sharing token, if at least one of the terminal identification and the public platform identification of the target user is confirmed and the corresponding relation with the sharing token is established, the equipment control authority of the target user is verified, the target user can pass the verification on the condition that the account corresponding to the household appliance to be controlled is not logged in, namely the household appliance control account login state is avoided, and the same household appliance equipment is controlled by a control master user of the household appliance.
Fig. 2 is an interaction diagram of a control applet and a home appliance control server according to an embodiment of the application. As shown in fig. 2, the household appliance control Server may include a data access layer Server (App Server) and a data management layer Server (Device Server), and the control applet may interact with the data management layer Server through the data access layer Server. The data management layer server is responsible for generation, deletion and modification of shared information and a shared token, verification of household appliance control authority of a target user, maintenance of information such as a device identifier and a public platform identifier of the target user and the like. The data access layer server is equivalent to a packaging interface for communication between the control applet and the data management layer server and between the control applet and the public platform server, and is also responsible for providing other back-end data of the household appliance control service, for example, when a target user controls the household appliance through the control applet, the resource data supported by the household appliance needs to be called through the data access layer server, and when the target user checks the device identifier bound to the client login account of the main user for controlling the household appliance and the device identifier bound to the added or deleted user, the target user needs to interact with the data management layer server through the data access layer server, that is, the communication interface of the data management layer server is only opened to the internal module of the household appliance control system, and the calling of the external network (device) interface needs to be proxied through the data access layer server.
The long connection communication between the control applet for controlling the household appliance and the data management layer server, or between the control applet and the household appliance control server, is provided by a long connection service providing module, and the long connection protocol supported by the long connection service providing module is related to the protocol supported by the public platform, for example, for the control applet integrated in the wessockel client, since the wessockel platform only supports the websocket protocol, the long connection service providing module provides the long connection service between the control applet and the data management layer server based on the websocket protocol. The page in fig. 2 refers to a display page in the control applet, and when the target user controls the same home appliance device as the home appliance device control master user through the operation on the page, the shared token needs to be carried in the control instruction triggered on the page, so that the home appliance device can be shared and controlled in a home appliance control account login-free state.
On the basis of the foregoing technical solution, optionally, before determining the sharing token corresponding to the sharing information carried in the shared information receiving request, the method of this embodiment further includes:
acquiring user identity information corresponding to a public platform client, wherein the user identity information is used for representing the login identity of a target user on a second public platform, and can be, for example, user login name, user head portrait and other openness information which can be acquired by a household appliance control server;
according to the user identity information, platform identification of a target user in a public platform is obtained through interaction with a public platform server;
and generating a sharing token by utilizing the platform identifier and the household appliance identifier carried in the received sharing information, and establishing a corresponding relation between the sharing token and the received sharing information.
The home device identification includes, but is not limited to, information such as a home device ID. The generation operation of the shared token is triggered after the shared information is received, so that the safety of the shared token can be ensured; by establishing the corresponding relation between the sharing token and the sharing information, the household appliance control authority of the target user in the household appliance control-free account login state can be effectively verified in the follow-up process.
Optionally, after determining the sharing token corresponding to the sharing information carried in the request for receiving the sharing information, the method of this embodiment further includes: the corresponding relation between the platform identification of the target user and the sharing token is established, so that public platform users participating in equipment sharing are clarified, management and operation and maintenance of the public platform users are facilitated, and for example, related household appliance information and the like can be regularly pushed to the public platform users.
Optionally, after determining the sharing token corresponding to the sharing information carried in the request for receiving the sharing information, the method of this embodiment further includes: and determining the shared information received by the public platform client as invalid information. In this embodiment, the home appliance control server may set a validity period of the shared information, and if the shared information is not always touched by the target user within the validity period, the shared information sent to the public platform client after the validity period expires is automatically invalidated, or after the home appliance control server determines the shared token corresponding to the shared information sent by the target user terminal, the shared information sent to the target user terminal is determined as invalid information, so that the shared information can be shared only once after being generated, secondary sharing is not supported, and abuse of the control authority of the home appliance device can be avoided.
According to the technical scheme of the embodiment of the application, the sharing token corresponding to the shared information can be used as the control certificate for controlling the household appliance through the control applet by the target user through the sharing between the household appliance control client and the control applet by the device sharing information, so that the account login operation corresponding to the household appliance to be controlled is omitted, the effect of controlling the same household appliance with a main user controlled by the household appliance in a household appliance control account login-free state is realized, the problem of complicated operation caused by the fact that different users must perform control account login and device binding in the process of controlling the household appliance by using respective terminals by the different users in the prior art is solved, and the implementation process of device sharing is simplified; moreover, due to the use convenience of the small program, the target user terminal does not need to be provided with a household appliance control client, so that the use threshold of multiple people for the same household appliance is reduced, and the control form of the household appliance is enriched; meanwhile, the shared token is sent to the public platform client only under the touch operation of the target user, so that the sending safety of the shared token is ensured, and the leakage or illegal stealing of the shared token is effectively avoided.
Fig. 3 is a flowchart of another method for sharing an intelligent household appliance, which is disclosed according to an embodiment of the present application, and this embodiment is further extended on the basis of the foregoing embodiment and may be combined with various optional technical solutions in the foregoing embodiment. As shown in fig. 3, the method may include:
s201, responding to a device sharing request sent by the household appliance control client, and generating shared information of the household appliance based on the control relation between a login account corresponding to the household appliance control client and the household appliance.
S202, carrying the shared information in the target page link information and sending the shared information to the household appliance control client, so that the shared information is sent to the public platform client through the household appliance control client.
S203, responding to a first shared information receiving request sent by the public platform client, and calling a small control program of the household appliance at the public platform client, wherein the first shared information receiving request is triggered by a target user in the public platform client through touch control of shared information.
In this embodiment, the shared information may be carried in the target page link information, for example, the hypertext markup language page link information, that is, the H5 page link information, and the like, and is sent to the public platform by the master user of the home appliance. The link information of the target page comprises a link address of the target page and the image-text material information required by page display. After a target user receives target page link information through a public platform client on a terminal of the target user, the target user carries the shared information in a first shared information receiving request through touch target page link information, namely the touch target page link information is equal to touch shared information, and sends the shared information to a household appliance control server, the household appliance control server analyzes the shared information from the first shared information receiving request, confirms that the target user currently belongs to a receiver of equipment sharing, and calls a household appliance control small program in the public platform client of the target user terminal. The first shared information receiving request can carry a terminal identifier and a public platform application identifier of a target user besides shared information so as to assist the household appliance control server to confirm the source of the first shared information receiving request and call a control applet in a public platform client according to the source path.
Illustratively, in response to a first shared information receiving request sent by a public platform client, invoking a control applet of a home appliance at the public platform client, including:
responding to a target page generation request sent by a public platform client, generating a target page, such as an H5 page, and sending the target page to the public platform client for displaying, wherein the target page generation request is triggered by a target user in the public platform client by touching and controlling target page link information, and the target page carries shared information;
receiving shared information sent by a target page in a public platform client, and generating a two-dimensional code displayed on the target page according to the shared information sent by the target page, wherein the shared information sent by the target page to a household appliance control server can be automatically triggered by the target page in the display process of the target page or triggered according to touch operation of a target user on the target page; in the process that the household appliance control server sends the two-dimensional code to the public platform client, specifically, the picture address of the two-dimensional code is sent to the public platform client, and the target page displays the two-dimensional code on the page of the target page after obtaining the picture address of the two-dimensional code;
receiving code scanning event information sent by a public platform server, and generating a control small program or a control small program entry carrying shared information, wherein the code scanning event information carries platform identification and two-dimensional code information of a target user, and the code scanning event information is generated by the public platform server according to a recognition result of the target user on the two-dimensional code, and can also be called as attention event information;
and sending the small control program or the small control program inlet to a public platform server, so that the small control program or the small control program inlet is sent to a public platform client through the public platform server based on the platform identification of the target user, namely, the small control program is called at the public platform client.
In the above operation, the two-dimensional code may be used to represent the public number information of the household appliance, and the target user identifies the two-dimensional code by using the terminal camera, so that the public platform server may confirm whether the target user pays attention to the public number of the household appliance, if the target user pays attention to the public number, the public platform server may directly generate the code scanning event information, if the target user does not pay attention to the public number of the household appliance, the target user is prompted to pay attention to the public number, and the code scanning event information is generated after the message prompt indicating that the target user pays attention to the household appliance is obtained. The public platform server can determine the public platform identification of the target user according to the login information of the target user at the public platform client, and carry the public platform identification in the code scanning event information.
The public platform server sends the code scanning event information to the household appliance control server, namely, the public number of the household appliance equipment which is concerned by the target user currently is indicated, unified management and maintenance of the household appliance control user by the household appliance control server can be facilitated, for example, activity information about the household appliance equipment is sent to the public platform user regularly, household appliance use feedback of the user is collected, and the like, and the rate of reaching the household appliance control user by household appliance equipment push information is improved. In addition, in the early stage of equipment sharing, the shared information is carried in the link information of the target page for sharing, and the target page and the two-dimensional code are asynchronously generated, so that the data transmission quantity in the equipment sharing process can be reduced, the time delay of sharing triggering can be reduced, and the smoothness of the overall interactive experience of the household appliance equipment sharing process is improved.
And S204, responding to a second shared information receiving request sent by the public platform client, and determining a shared token corresponding to the shared information carried in the second shared information receiving request, wherein the second shared information receiving request is triggered by a target user by touching a control applet in the public platform client, and the shared token is used as a control certificate for the target user to control the household appliance through the control applet.
Illustratively, in response to a second shared information receiving request sent by the public platform client, determining a sharing token corresponding to the shared information carried in the second shared information receiving request includes: and responding to a second shared information receiving request sent by the public platform client, triggering the generation operation of the shared token, and generating the shared token corresponding to the shared information carried in the second shared information receiving request. The second shared information receiving request may also carry a terminal identifier of the target user, a public platform application identifier, and a program id of the control applet, in addition to the shared information.
By receiving the request for sharing information and sending the request twice, the obtaining requirement of the sharing token of the target user can be determined, and the effectiveness of the operation of sending the sharing token of the household appliance control server is ensured.
Fig. 4 is a schematic diagram of interaction among multiple parties involved in a sharing method for an intelligent home appliance according to an embodiment of the present disclosure. Fig. 4 is an example, and should not be construed as a specific limitation on the present embodiment. As shown in fig. 4, a master control user of a home appliance device sends a device sharing request to a home appliance control server through a home appliance control client on a terminal of the master control user; the household appliance control server responds to the sharing request, obtains parameters required for generating shared information from the household appliance control client, carries the shared information in an H5 card in a shared code mode and sends the shared information to the household appliance control client; a master user of the household appliance control shares the H5 card to friends of a public platform through a household appliance control client; a public platform friend, namely a target user, receives an H5 card through a public platform client on a terminal of the user, the H5 card sends a shared code to a household appliance control server by clicking the H5 card, the household appliance control server receives the shared code and calls a public platform communication interface to generate a two-dimensional code related to a public account of household appliance equipment, a picture address of the two-dimensional code is sent to the public platform client, and the H5 page displays the two-dimensional code on a page after obtaining the picture address of the two-dimensional code; the target user identifies the two-dimensional code on the H5 page, the public platform server determines whether the target user pays attention to the public number of the household appliance according to the code scanning identification result, and if the target user pays attention to the public number, code scanning event information or attention event information is generated and sent to the household appliance control server; the household appliance control server receives the code scanning event information or the attention event information and sends a template message carrying small program parameters to the public platform server; the public platform server sends the applet carrying the shared information to a public platform client of a target user according to the template message, specifically in the form of a template message card; the target user touches the control small program in the public platform client, the control small program calls a communication interface, a sharing code is sent to the household appliance control server to exchange a corresponding sharing token, and in the process of sending the sharing code by the control small program, the program id of the control small program can be sent to the household appliance control server at the same time to distinguish the source of the current sharing code; the control small program takes the shared token as an authentication voucher for controlling the household appliance to realize the calling of each equipment resource interface.
According to the technical scheme of the embodiment of the application, the sharing token corresponding to the shared information can be used as the control certificate for controlling the household appliance through the control applet by the target user through the sharing between the household appliance control client and the control applet by the device sharing information, so that the account login operation corresponding to the household appliance to be controlled is omitted, the effect of controlling the same household appliance device with the household appliance control master user in the household appliance control account login-free state is realized, and the problem of complicated operation caused by the fact that different users must perform control account login and device binding in the process of controlling the household appliance device by using respective terminals in the prior art is solved; in addition, in the equipment sharing process, the target page carrying the equipment sharing information and the public account two-dimensional code of the household appliance are asynchronously generated, so that the data transmission amount in the equipment sharing process is reduced, the time delay of equipment sharing triggering is reduced, and the smoothness of the overall interactive experience of the household appliance sharing process is improved; meanwhile, the attention operation of the target user to the public account of the household appliance is confirmed through setting, the touch rate of the household appliance push information to the household appliance control user is improved, and management and maintenance of the household appliance control user are facilitated.
Fig. 5 is a flowchart of another sharing method for an intelligent household electrical appliance according to an embodiment of the present disclosure, where this embodiment may be applied to a case where multiple persons may control the same household electrical appliance by sharing shared information of the household electrical appliance among different terminals, for example, multiple family members may share the household electrical appliance, and each terminal is used to control the same household electrical appliance. The method of the embodiment is applied to the terminal, and can be executed by a sharing device of the intelligent household appliance, and the device can be implemented in a software and/or hardware manner and can be integrated in the terminal, such as a mobile terminal, a notebook, a tablet computer, and the like.
The sharing method of the intelligent household electrical appliance applied to the terminal disclosed in the embodiment of the present application may be executed in cooperation with the sharing method of the intelligent household electrical appliance applied to the household electrical appliance control server disclosed in the embodiment of the present application, and reference may be made to the description in the above embodiment for details that are not described in detail in the embodiment.
As shown in fig. 5, the method for sharing an intelligent home appliance disclosed in this embodiment may include:
and S301, receiving shared information sent by the household appliance control client through the public platform client, wherein the shared information is generated by the household appliance control server in response to a device sharing request sent by the household appliance control client and based on a control relation between a login account corresponding to the household appliance control client and the household appliance.
S302, a shared information receiving request is sent to the household appliance control server through the public platform client, so that the household appliance control server calls a small control program of the household appliance at the public platform client, and a shared token corresponding to the shared information carried in the shared information receiving request is determined, wherein the shared token is used as a control certificate for controlling the household appliance through the small control program by a target user.
Optionally, the sending, by the public platform client, the shared information receiving request to the appliance control server includes:
triggering a first shared information receiving request according to touch operation of a target user on shared information in a public platform client, and sending the first shared information receiving request to a household appliance control server, so that the household appliance control server responds to the first shared information receiving request and calls a small control program of household appliance equipment in the public platform client;
and triggering a second shared information receiving request according to the touch operation of the target user on the control applet in the public platform client, and sending the second shared information receiving request to the household appliance control server, so that the household appliance control server responds to the second shared information receiving request and determines a shared token corresponding to the shared information carried in the second shared information receiving request.
Optionally, the receiving, by the public platform client, the shared information sent by the appliance control client includes: and receiving target page link information sent by the household appliance control client through the public platform client, wherein the target page link information carries shared information.
Optionally, triggering a first shared information receiving request according to a touch operation of a target user on shared information in a public platform client, and sending the first shared information receiving request to a home appliance control server, where the triggering includes:
generating a target page generation request according to the touch operation of a target user on the target page link information in a public platform client, and sending the target page generation request to a household appliance control server so that the household appliance control server responds to the target page generation request to generate a target page, wherein the target page carries shared information;
receiving a target page sent by the household appliance control server, and displaying the target page through a public platform client;
sending shared information to the household appliance control server through the target page, so that the household appliance control server generates a two-dimensional code displayed on the target page according to the shared information;
calling a camera to identify a two-dimensional code on a target page, enabling a public platform server to generate code scanning event information according to an identification result of the two-dimensional code, sending the code scanning event information to a household appliance control server, enabling the household appliance control server to generate a control applet carrying shared information according to the code scanning event information, and sending the control applet to the public platform server, enabling the household appliance control server to send the control applet to a public platform client based on a platform identification of a target user through the public platform server, wherein the code scanning event information carries the platform identification and the two-dimensional code information of the target user.
Optionally, the method further includes:
and sending a household appliance control instruction carrying the shared token to a household appliance control server through a control applet in the public platform client, wherein the household appliance control instruction is used for indicating household appliance equipment to execute the operation corresponding to the household appliance control instruction.
According to the technical scheme of the embodiment of the application, the sharing token corresponding to the shared information can be used as the control certificate for controlling the household appliance through the control small program by the target user through the sharing of the device sharing information between the household appliance control client and the control small program, the account login operation corresponding to the household appliance to be controlled is omitted, the effect that the same household appliance is controlled by the main user in the household appliance control account login-free state is achieved, the problem that in the prior art, the operation is complicated because different users use respective terminals to control the household appliance, the control account login and the device binding are required to be carried out in the process of controlling the household appliance is solved, the implementation process of device sharing is simplified, the convenience in use of the small program is benefited, the household appliance control client does not need to be installed on the target user terminal, the use threshold of multiple users on the same household appliance is reduced, and the control form of the household appliance is enriched.
Fig. 6 is a schematic structural diagram of a sharing apparatus for an intelligent household appliance according to an embodiment of the present disclosure, and this embodiment may be applicable to sharing information of a household appliance among different terminals, so as to implement a situation that multiple persons may control the same household appliance, for example, multiple family members may share information of a household appliance through the household appliance, and control the same household appliance by using their respective terminals. The device disclosed in the embodiment can be implemented in software and/or hardware, and can be integrated in the household appliance control server.
As shown in fig. 6, the sharing apparatus 400 of the intelligent home appliance disclosed in this embodiment may include a shared information generating module 401, a shared information sending module 402, and a shared token determining module 403, where:
a shared information generating module 401, configured to generate shared information of the home appliance device based on a control relationship between a login account corresponding to the home appliance control client and the home appliance device in response to a device sharing request sent by the home appliance control client;
a shared information sending module 402, configured to send shared information to the appliance control client, where the shared information is sent to the public platform client through the appliance control client;
the shared token determining module 403 is configured to, in response to a shared information receiving request sent by a public platform client, invoke a control applet of the home appliance at the public platform client, and determine a shared token corresponding to shared information carried in the shared information receiving request, where the shared token is used as a control credential for a target user to control the home appliance through the control applet.
Optionally, the sharing token determining module 403 includes:
the household appliance control system comprises a control small program calling unit, a control small program receiving unit and a control small program receiving unit, wherein the control small program calling unit is used for responding to a first shared information receiving request sent by a public platform client and calling a control small program of household appliances at the public platform client, and the first shared information receiving request is triggered by a target user through touch control on shared information in the public platform client;
and the shared token determining unit is used for responding to a second shared information receiving request sent by the public platform client, and determining a shared token corresponding to the shared information carried in the second shared information receiving request, wherein the second shared information receiving request is triggered by a target user in the public platform client through touch control on the control applet.
Optionally, the shared information sending module 402 is specifically configured to:
and carrying the shared information in the target page link information and sending the target page link information to the household appliance control client.
Optionally, the control applet invoking unit includes:
the system comprises a target page generation subunit, a public platform client and a target page generation subunit, wherein the target page generation subunit is used for responding to a target page generation request sent by the public platform client, generating a target page and sending the target page to the public platform client for displaying, and the target page generation request is triggered by a target user in the public platform client by touching and controlling target page link information;
the two-dimensional code generating subunit is used for receiving the shared information sent by the target page in the public platform client and generating a two-dimensional code displayed on the target page according to the shared information sent by the target page;
the control small program generating subunit is used for receiving the code scanning event information sent by the public platform server and generating a control small program carrying shared information, wherein the code scanning event information carries platform identification and two-dimensional code information of a target user, and the code scanning event information is generated by the public platform server according to a recognition result of the target user on the two-dimensional code;
and the control small program sending subunit is used for sending the control small program to the public platform server so as to send the control small program to the public platform client based on the platform identifier of the target user through the public platform server.
Optionally, the shared token determining unit is specifically configured to:
and responding to a second shared information receiving request sent by the public platform client, triggering the generation operation of the shared token, and generating the shared token corresponding to the shared information carried in the second shared information receiving request.
Optionally, before the shared token determining module 403 executes an operation of determining a shared token corresponding to shared information carried in the shared information receiving request, the apparatus disclosed in this embodiment further includes:
the user identity information acquisition module is used for acquiring user identity information corresponding to the public platform client;
the platform identification acquisition module is used for acquiring a platform identification of a target user in a public platform through interaction with a public platform server according to the user identity information;
and the sharing token generation module is used for generating a sharing token by utilizing the platform identifier and the household appliance identifier carried in the received sharing information, and establishing a corresponding relation between the sharing token and the received sharing information.
Optionally, after the shared token determining module 403 executes an operation of determining a shared token corresponding to the shared information carried in the shared information receiving request, the apparatus disclosed in this embodiment further includes:
and the corresponding relation establishing module is used for establishing the corresponding relation between the platform identification of the target user and the sharing token.
Optionally, after the shared token determining module 403 executes an operation of determining a shared token corresponding to the shared information carried in the shared information receiving request, the apparatus disclosed in this embodiment further includes:
and the shared information invalidation module is used for determining the shared information received by the public platform client as invalid information.
Optionally, the apparatus disclosed in this embodiment further includes:
and the household appliance control instruction receiving module is used for receiving a household appliance control instruction which is sent by the control applet in the public platform client and carries the shared token so as to instruct the household appliance equipment to execute the operation corresponding to the household appliance control instruction.
The sharing apparatus 400 of the intelligent home appliance configured in the home appliance control server disclosed in the embodiment of the present application may perform any sharing method applied to the intelligent home appliance of the home appliance control server disclosed in the embodiment of the present application, and has functional modules and advantageous effects corresponding to the execution method. Reference may be made to the description of any method embodiment of the present application for content not described in detail in this embodiment.
Fig. 7 is a schematic structural diagram of another sharing apparatus for an intelligent home appliance according to an embodiment of the present disclosure, where this embodiment may be applicable to sharing information of a home appliance among different terminals, so as to implement a situation that multiple users may control the same home appliance, for example, multiple family members may share information of the home appliance through the home appliance, and control the same home appliance by using their respective terminals. The apparatus disclosed in this embodiment may be implemented in software and/or hardware, and may be integrated in a terminal, for example, a mobile terminal, a notebook, a tablet computer, and the like.
As shown in fig. 7, the sharing apparatus 500 of the intelligent home device disclosed in this embodiment may include a shared information receiving module 501 and a shared information receiving request sending module 502, where:
a shared information receiving module 501, configured to receive, through a public platform client, shared information sent by a home appliance control client, where the shared information is generated by a home appliance control server in response to a device sharing request sent by the home appliance control client, and based on a control relationship between a login account corresponding to the home appliance control client and a home appliance device;
the shared information receiving request sending module 502 is configured to send a shared information receiving request to the home appliance control server through the public platform client, so that the home appliance control server invokes a control applet of the home appliance at the public platform client, and determines a shared token corresponding to the shared information carried in the shared information receiving request, where the shared token is used as a control credential for a target user to control the home appliance through the control applet.
Optionally, the shared information receiving request sending module 502 includes:
the household appliance control system comprises a first shared information receiving request sending unit, a public platform client and a household appliance control server, wherein the first shared information receiving request sending unit is used for triggering a first shared information receiving request according to touch operation of a target user on shared information in the public platform client, and sending the first shared information receiving request to the household appliance control server so that the household appliance control server responds to the first shared information receiving request and calls a small control program of household appliance equipment at the public platform client;
and the second shared information receiving request sending unit is used for triggering a second shared information receiving request according to the touch operation of the target user on the control applet in the public platform client, and sending the second shared information receiving request to the household appliance control server, so that the household appliance control server responds to the second shared information receiving request and determines a shared token corresponding to the shared information carried in the second shared information receiving request.
Optionally, the shared information receiving module 501 is specifically configured to: and receiving target page link information sent by the household appliance control client through the public platform client, wherein the target page link information carries shared information.
Optionally, the first shared information receiving request sending unit includes:
the home appliance control server is used for responding to the target page generation request to generate a target page, wherein the target page carries shared information;
the target page receiving and displaying subunit is used for receiving the target page sent by the household appliance control server and displaying the target page through the public platform client;
the shared information sending subunit is used for sending the shared information to the household appliance control server through the target page, so that the household appliance control server generates the two-dimensional code displayed on the target page according to the shared information;
and the two-dimension code identification subunit is used for calling the camera to identify the two-dimension code on the target page, so that the public platform server generates code scanning event information according to the identification result of the two-dimension code and sends the code scanning event information to the household appliance control server, so that the household appliance control server generates a small control program carrying shared information according to the code scanning event information and sends the small control program to the public platform server, so that the small control program is sent to a public platform client based on the platform identification of the target user through the public platform server, wherein the code scanning event information carries the platform identification of the target user and the two-dimension code information.
Optionally, the apparatus disclosed in this embodiment further includes:
and the household appliance control instruction sending module is used for sending a household appliance control instruction carrying the shared token to the household appliance control server through the control applet in the public platform client, and the household appliance control instruction is used for indicating the household appliance equipment to execute the operation corresponding to the household appliance control instruction.
The sharing apparatus 500 of the intelligent home appliance configured in the terminal disclosed in the embodiment of the present application can perform any sharing method of the intelligent home appliance applied to the terminal disclosed in the embodiment of the present application, and has functional modules and advantageous effects corresponding to the execution method. Reference may be made to the description of any method embodiment of the present application for content not described in detail in this embodiment.
According to an embodiment of the present application, an electronic device and a readable storage medium are also provided.
As shown in fig. 8, fig. 8 is a block diagram of an electronic device for implementing a method for sharing an intelligent household appliance in the embodiment of the present application. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of embodiments of the present application described and/or claimed herein.
As shown in fig. 8, the electronic apparatus includes: one or more processors 801, memory 802, and interfaces for connecting the various components, including a high speed interface and a low speed interface. The various components are interconnected using different buses and may be mounted on a common motherboard or in other manners as desired. The processor may process instructions for execution within the electronic device, including instructions stored in or on the memory to display Graphical information for a Graphical User Interface (GUI) on an external input/output device, such as a display device coupled to the Interface. In other embodiments, multiple processors and/or multiple buses may be used, along with multiple memories and multiple memories, if desired. Also, multiple electronic devices may be connected, with each device providing some of the necessary operations, e.g., as an array of servers, a group of blade servers, or a multi-processor system. Fig. 8 illustrates an example of a processor 801.
The memory 802 is a non-transitory computer readable storage medium provided by the embodiments of the present application. The memory stores instructions executable by the at least one processor, so that the at least one processor executes the sharing method of the intelligent household appliance provided by the embodiment of the application. The non-transitory computer readable storage medium of the embodiment of the present application stores computer instructions for causing a computer to execute the sharing method of the intelligent home appliance provided by the embodiment of the present application.
The memory 802 is a non-transitory computer readable storage medium, and can be used to store non-transitory software programs, non-transitory computer executable programs, and modules, such as program instructions/modules corresponding to the sharing method of the smart home device applied to the home control server in the embodiment of the present application, for example, the shared information generating module 401, the shared information sending module 402, and the shared token determining module 403 shown in fig. 6, or program instructions/modules corresponding to the sharing method of the smart home device applied to the terminal in the embodiment of the present application, for example, the shared information receiving module 501 and the shared information receiving request sending module 502 shown in fig. 7. The processor 801 executes various functional applications of the server and data processing by running non-transitory software programs, instructions and modules stored in the memory 802, that is, implements the sharing method of the intelligent home appliance in the above method embodiment.
The memory 802 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the electronic device for implementing the sharing method of the intelligent home appliance in the embodiment of the present application, and the like. Further, the memory 802 may include high-speed random access memory and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory 802 optionally includes memory located remotely from the processor 801, which may be connected over a network to an electronic device for implementing the sharing method for intelligent home devices in the embodiments of the present application. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The electronic device for implementing the sharing method of the intelligent household appliance in the embodiment of the present application may further include: an input device 803 and an output device 804. The processor 801, the memory 802, the input device 803, and the output device 804 may be connected by a bus or other means, as exemplified by the bus connection in fig. 8.
The input device 803 may receive input numeric or character information and generate key signal inputs related to user settings of the electronic device and function control for implementing the sharing method of the intelligent home appliance in the embodiment of the present application, such as an input device of a touch screen, a keypad, a mouse, a track pad, a touch pad, a pointing stick, one or more mouse buttons, a track ball, a joystick, or the like. The output device 804 may include a display apparatus, an auxiliary lighting device such as a Light Emitting Diode (LED), a tactile feedback device, and the like; the tactile feedback device is, for example, a vibration motor or the like. The Display device may include, but is not limited to, a Liquid Crystal Display (LCD), an LED Display, and a plasma Display. In some implementations, the display device can be a touch screen.
Various implementations of the systems and techniques described here can be realized in digital electronic circuitry, integrated circuitry, application Specific Integrated Circuits (ASICs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
These computer programs, also known as programs, software applications, or code, include machine instructions for a programmable processor, and may be implemented using high-level procedural and/or object-oriented programming languages, and/or assembly/machine languages. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and/or Device for providing machine instructions and/or data to a Programmable processor, such as a magnetic disk, optical disk, memory, programmable Logic Device (PLD), including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal used to provide machine instructions and/or data to a programmable processor.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device for displaying information to a user, for example, a Cathode Ray Tube (CRT) or an LCD monitor; and a keyboard and a pointing device, such as a mouse or a trackball, by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback, e.g., visual feedback, auditory feedback, or tactile feedback; and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component, e.g., as a data server, or that includes a middleware component, e.g., an application server, or that includes a front-end component, e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here, or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication, e.g., a communication network. Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), and the internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.
According to the technical scheme of the embodiment of the application, the sharing token corresponding to the shared information can be used as the control certificate for controlling the household appliance through the control applet by the target user through the sharing between the household appliance control client and the control applet by the equipment sharing information, so that the account login operation corresponding to the household appliance to be controlled is omitted, the effect of controlling the same household appliance equipment by the main user in the state of free from household appliance control account login and the household appliance control user is realized, the problem of complicated operation caused by the fact that different users must perform control account login and equipment binding in the process of controlling the household appliance equipment by utilizing respective terminals in the prior art is solved, and the implementation process of equipment sharing is simplified; moreover, due to the use convenience of the small program, a home appliance control client does not need to be installed on the target user terminal, the use threshold of multiple persons on the same home appliance is reduced, and the control form of the home appliance is enriched; meanwhile, the shared token is sent to the public platform client only under the touch operation of the target user, so that the sending safety of the shared token is ensured, and the leakage or illegal stealing of the shared token is effectively avoided.
It should be understood that various forms of the flows shown above, reordering, adding or deleting steps, may be used. For example, the steps described in the present application may be executed in parallel, sequentially, or in different orders, and are not limited herein as long as the desired results of the technical solutions disclosed in the present application can be achieved.
The above-described embodiments are not intended to limit the scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (12)

1. A sharing method of intelligent household appliances is characterized by being applied to a household appliance control server and comprising the following steps:
responding to a device sharing request sent by a household appliance control client, and generating sharing information of the household appliance based on a control relation between a login account corresponding to the household appliance control client and the household appliance;
carrying the shared information in target page link information and sending the target page link information to the household appliance control client so as to send the shared information to a public platform client through the household appliance control client; the target page link information comprises a target page link address and image-text material information required by page display;
responding to a shared information receiving request sent by the public platform client, calling a control applet of the household appliance at the public platform client, and determining a shared token corresponding to shared information carried in the shared information receiving request, wherein the shared token comprises:
responding to a first shared information receiving request sent by the public platform client, calling a control applet of the household appliance at the public platform client, wherein the first shared information receiving request is triggered by a target user in the public platform client by touching the target page link information, and the first shared information comprises: sharing information, a terminal identification of a target user and a public platform application identification;
responding to a second shared information receiving request sent by the public platform client, and determining a shared token corresponding to shared information carried in the second shared information receiving request, wherein the second shared information receiving request is triggered by the target user by touching the control applet in the public platform client, and the shared token is used as a control certificate for the target user to control the household appliance through the control applet.
2. The method of claim 1, wherein invoking a control applet of the home device at the public platform client in response to a first shared information reception request sent by the public platform client comprises:
responding to a target page generation request sent by the public platform client, generating a target page, and sending the target page to the public platform client for displaying, wherein the target page generation request is triggered by the target user in the public platform client by touching the target page link information;
receiving sharing information sent by a target page in the public platform client, and generating a two-dimensional code displayed on the target page according to the sharing information sent by the target page;
receiving code scanning event information sent by a public platform server, and generating a small control program carrying the shared information, wherein the code scanning event information carries the platform identifier of the target user and the two-dimensional code information, and the code scanning event information is generated by the public platform server according to the identification result of the target user on the two-dimensional code;
and sending the small control program to the public platform server so as to send the small control program to the public platform client through the public platform server based on the platform identification of the target user.
3. The method according to claim 1, wherein determining, in response to a second shared information reception request sent by the public platform client, a shared token corresponding to shared information carried in the second shared information reception request includes:
and responding to a second shared information receiving request sent by the public platform client, triggering the generation operation of the shared token, and generating the shared token corresponding to the shared information carried in the second shared information receiving request.
4. The method according to claim 1, wherein before determining the sharing token corresponding to the sharing information carried in the sharing information reception request, the method further comprises:
acquiring user identity information corresponding to the public platform client;
according to the user identity information, platform identification of the target user in a public platform is obtained through interaction with a public platform server;
and generating the sharing token by utilizing the platform identification and the household appliance identification carried in the received sharing information.
5. The method of claim 4, wherein after determining the sharing token corresponding to the sharing information carried in the request for receiving sharing information, the method further comprises:
and establishing a corresponding relation between the platform identification of the target user and the sharing token.
6. The method according to claim 1, wherein after determining the sharing token corresponding to the sharing information carried in the request for receiving sharing information, the method further comprises:
and determining the shared information received by the public platform client as invalid information.
7. The method of claim 1, further comprising:
and receiving a household appliance control instruction carrying the shared token and sent by a control applet in the public platform client so as to instruct the household appliance device to execute the operation corresponding to the household appliance control instruction.
8. A sharing method of intelligent household electrical appliances is characterized in that the method is applied to a terminal, a public platform client is installed in the terminal, and a control applet is integrated in the public platform client, and the method comprises the following steps:
receiving, by a public platform client, shared information sent by a home appliance control client, where the shared information is generated by a home appliance control server in response to a device sharing request sent by the home appliance control client, based on a control relationship between a login account corresponding to the home appliance control client and a home appliance device; the shared information is carried in target page link information, and the target page link information comprises a target page link address and image-text material information required by page display;
sending a shared information receiving request to the household appliance control server through the public platform client, so that the household appliance control server calls a control applet of the household appliance at the public platform client and determines a shared token corresponding to shared information carried in the shared information receiving request, wherein the shared token is used as a control certificate for a target user to control the household appliance through the control applet;
wherein, the sending a shared information receiving request to the household appliance control server through the public platform client comprises:
triggering a first shared information receiving request according to the touch operation of the target user on the target page link information in the public platform client, and sending the first shared information receiving request to the household appliance control server, so that the household appliance control server responds to the first shared information receiving request and calls a small control program of the household appliance equipment in the public platform client, wherein the first shared information comprises: sharing information, a terminal identifier of a target user and a public platform application identifier;
triggering a second shared information receiving request according to the touch operation of the target user on the control applet in the public platform client, and sending the second shared information receiving request to the household appliance control server, so that the household appliance control server responds to the second shared information receiving request and determines a shared token corresponding to shared information carried in the second shared information receiving request.
9. An apparatus for sharing an intelligent home device, configured in a home control server, the apparatus comprising:
the shared information generating module is used for responding to an equipment sharing request sent by a household appliance control client and generating shared information of the household appliance equipment based on the control relation between a login account corresponding to the household appliance control client and the household appliance equipment;
the shared information sending module is used for carrying the shared information in target page link information and sending the target page link information to the household appliance control client, wherein the shared information is sent to a public platform client through the household appliance control client; the target page link information comprises a target page link address and image-text material information required by page display;
a shared token determining module, configured to respond to a shared information receiving request sent by the public platform client, call a control applet of the home appliance at the public platform client, and determine a shared token corresponding to shared information carried in the shared information receiving request, where the shared token is used as a control credential for a target user to control the home appliance through the control applet;
the sharing token determining module comprises a control applet calling unit and a sharing token determining unit;
the control applet invoking unit is configured to invoke a control applet of the home appliance device at the public platform client in response to a first shared information receiving request sent by the public platform client, where the first shared information receiving request is triggered by the target user performing touch control on the target page link information in the public platform client, and the first shared information includes: sharing information, a terminal identifier of a target user and a public platform application identifier;
the shared token determining unit is configured to determine, in response to a second shared information receiving request sent by the public platform client, a shared token corresponding to shared information carried in the second shared information receiving request, where the second shared information receiving request is triggered by the target user performing touch control on the control applet in the public platform client.
10. An apparatus for sharing an intelligent household appliance, configured to be installed in a terminal, where a public platform client is installed in the terminal, and a control applet is integrated in the public platform client, the apparatus comprising:
the shared information receiving module is used for receiving shared information sent by the household appliance control client through the public platform client, wherein the shared information is generated by a household appliance control server in response to a device sharing request sent by the household appliance control client based on the control relation between a login account corresponding to the household appliance control client and household appliances; the shared information is carried in target page link information, and the target page link information comprises a target page link address and image-text material information required by page display; a shared information receiving request sending module, configured to send a shared information receiving request to the home appliance control server through the public platform client, so that the home appliance control server invokes a control applet of the home appliance at the public platform client, and determines a shared token corresponding to shared information carried in the shared information receiving request, where the shared token is used as a control credential for a target user to control the home appliance through the control applet;
wherein, the shared information receiving request sending module comprises:
a first shared information receiving request sending unit, configured to trigger a first shared information receiving request according to a touch operation performed by the target user on the target page link information in the public platform client, and send the first shared information receiving request to the home appliance control server, so that the home appliance control server responds to the first shared information receiving request, and invokes a small control program of the home appliance device at the public platform client, where the first shared information includes: sharing information, a terminal identifier of a target user and a public platform application identifier;
a second shared information receiving request sending unit, configured to trigger a second shared information receiving request according to a touch operation performed by the target user on the control applet in the public platform client, and send the second shared information receiving request to the home appliance control server, so that the home appliance control server responds to the second shared information receiving request and determines a shared token corresponding to shared information carried in the second shared information receiving request.
11. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein, the first and the second end of the pipe are connected with each other,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of sharing an intelligent home device of any one of claims 1-7 or the method of sharing an intelligent home device of claim 8.
12. A non-transitory computer-readable storage medium storing computer instructions for causing a computer to perform the method for sharing an intelligent home device according to any one of claims 1 to 7, or the method for sharing an intelligent home device according to claim 8.
CN201910926997.6A 2019-09-27 2019-09-27 Sharing method and device of intelligent household electrical appliance, electronic equipment and medium Active CN112583866B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910926997.6A CN112583866B (en) 2019-09-27 2019-09-27 Sharing method and device of intelligent household electrical appliance, electronic equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910926997.6A CN112583866B (en) 2019-09-27 2019-09-27 Sharing method and device of intelligent household electrical appliance, electronic equipment and medium

Publications (2)

Publication Number Publication Date
CN112583866A CN112583866A (en) 2021-03-30
CN112583866B true CN112583866B (en) 2023-03-10

Family

ID=75110511

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910926997.6A Active CN112583866B (en) 2019-09-27 2019-09-27 Sharing method and device of intelligent household electrical appliance, electronic equipment and medium

Country Status (1)

Country Link
CN (1) CN112583866B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115733631A (en) * 2021-08-26 2023-03-03 青岛海尔科技有限公司 Family group joining method and device, storage medium and electronic device
CN113723126A (en) * 2021-08-31 2021-11-30 北京市商汤科技开发有限公司 Data acquisition method and device, electronic equipment and storage medium
CN115001887B (en) * 2022-04-29 2024-03-22 青岛海尔科技有限公司 Login identification sending method and device, storage medium and electronic device

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4487490B2 (en) * 2003-03-10 2010-06-23 ソニー株式会社 Information processing apparatus, access control processing method, information processing method, and computer program
KR101086427B1 (en) * 2007-01-30 2011-11-23 삼성전자주식회사 Method and apparatus for sharing access right of content
CN105243318B (en) * 2015-08-28 2020-07-31 小米科技有限责任公司 Method and device for determining control authority of user equipment and terminal equipment
CN105763418A (en) * 2016-01-29 2016-07-13 四川长虹电器股份有限公司 Method for sharing household appliance control based on WeChat relationship
CN107566323B (en) * 2016-06-30 2020-11-20 北京金山安全软件有限公司 Application system login method and device
CN106371327B (en) * 2016-09-28 2020-07-31 北京小米移动软件有限公司 Method and device for sharing control right
CN108199932A (en) * 2017-12-26 2018-06-22 美的集团股份有限公司 Control method, server and the computer readable storage medium of home appliance

Also Published As

Publication number Publication date
CN112583866A (en) 2021-03-30

Similar Documents

Publication Publication Date Title
US10805380B2 (en) Data transmission method and device
CN112583867B (en) Sharing method and device of intelligent household electrical appliance, electronic equipment and medium
CN108737242B (en) System for providing dialog content
CN112583866B (en) Sharing method and device of intelligent household electrical appliance, electronic equipment and medium
CN111932246B (en) Method and device for transmitting information
US10863312B2 (en) Moving track sharing method and apparatus, and storage medium
JP2022502692A (en) Speech processing methods, devices, devices, programs and computer storage media
CN111965996A (en) Intelligent device control method, device, equipment and storage medium
CN113691602B (en) Service processing method, system, device, equipment and medium based on cloud mobile phone
CN103513858A (en) Remote assistance method and device
CN112016068A (en) Account control method, device, equipment and computer readable storage medium
KR20160140708A (en) User-specific application activation for remote sessions
US20230013371A1 (en) Data communication method, apparatus, and device, storage medium, and computer program product
EP3859575A2 (en) Method and apparatus for providing applet service capability, electronic device, and storage medium
CN104635543A (en) Method and device for carrying out management operation
JP7052168B2 (en) Speech processing methods, devices, devices, programs and computer storage media
CN103634419A (en) Remote control method of terminal and terminal
CN111274596B (en) Device interaction method, authority management method, interaction device and user side
CN102932791A (en) Method for collaboratively processing information through WIFI wireless network between smart phone and computer
CN112000880B (en) Push message processing method and device, electronic equipment and readable storage medium
CN110968856B (en) Login method, login device, electronic equipment and storage medium
US20150088521A1 (en) Speech server, speech method, recording medium, speech system, speech terminal, and mobile terminal
CN107346197B (en) Information display method and device
CN104346161A (en) Information processing method and electronic equipment
CN111030900A (en) Authentication-free login method and device and electronic equipment

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
TA01 Transfer of patent application right

Effective date of registration: 20210513

Address after: 100085 Baidu Building, 10 Shangdi Tenth Street, Haidian District, Beijing

Applicant after: BAIDU ONLINE NETWORK TECHNOLOGY (BEIJING) Co.,Ltd.

Applicant after: Shanghai Xiaodu Technology Co.,Ltd.

Address before: 100085 Baidu Building, 10 Shangdi Tenth Street, Haidian District, Beijing

Applicant before: BAIDU ONLINE NETWORK TECHNOLOGY (BEIJING) Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant