CN113365225A - Method and device for receiving building connection result, storage medium and electronic device - Google Patents

Method and device for receiving building connection result, storage medium and electronic device Download PDF

Info

Publication number
CN113365225A
CN113365225A CN202110621044.6A CN202110621044A CN113365225A CN 113365225 A CN113365225 A CN 113365225A CN 202110621044 A CN202110621044 A CN 202110621044A CN 113365225 A CN113365225 A CN 113365225A
Authority
CN
China
Prior art keywords
connection
random code
household appliance
target object
remote server
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.)
Pending
Application number
CN202110621044.6A
Other languages
Chinese (zh)
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.)
Qingdao Haier Technology Co Ltd
Haier Smart Home Co Ltd
Original Assignee
Qingdao Haier Technology Co Ltd
Haier Smart Home 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 Qingdao Haier Technology Co Ltd, Haier Smart Home Co Ltd filed Critical Qingdao Haier Technology Co Ltd
Priority to CN202110621044.6A priority Critical patent/CN113365225A/en
Publication of CN113365225A publication Critical patent/CN113365225A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2816Controlling appliance services of a home automation network by calling their functionalities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Multimedia (AREA)
  • Automation & Control Theory (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention discloses a method and a device for receiving a result of a connection establishment, a storage medium and an electronic device, wherein the method comprises the following steps: receiving a connection random code broadcasted by the household appliance through Bluetooth, wherein the connection random code is generated after the household appliance receives an instruction corresponding to a target object; sending a connection establishing request to a remote server, wherein the connection establishing request carries the equipment identification of the household appliance equipment, the connection establishing random code and the object identification of the target object; and receiving a connection establishing result sent by the remote server under the condition of verifying that the connection establishing random code passes, wherein the connection establishing result is used for indicating that the household appliance corresponding to the equipment identifier and the target object corresponding to the object identifier establish an association relationship.

Description

Method and device for receiving building connection result, storage medium and electronic device
Technical Field
The invention relates to the field of communication, in particular to a method and a device for receiving a connection establishing result, a storage medium and an electronic device.
Background
With the continuous development of the intelligent household appliance industry, more and more intelligent household appliances can realize remote control. Meanwhile, since the part of the production enterprises of the smart home products comes from traditional electrical appliance manufacturing enterprises, and the attacking behaviors and viruses aiming at the smart home products are rare, manufacturers often ignore the 'firewall mechanism' of the products to attack from the outside, so that the risks caused by remote control become increasingly prominent, and particularly in the field of electrical appliances, products such as water heaters, microwave ovens and the like are likely to cause overload and cause fire or other personal property losses if being attacked remotely.
In the related art, as long as a user is connected with a Wireless Fidelity (WiFi) router through a mobile phone, all pieces of information of the intelligent household appliances connected to the WiFi router can be searched through a mobile phone APP, and then the user can establish an association relationship between the currently logged-in user and the device through the APP and upload the association information to a remote server. The mobile phone can be separated from the WiFi router, and the equipment can be remotely controlled through the remote server. However, in this way, if the router is illegally accessed, a huge potential safety hazard exists.
Aiming at the problems that the prior art is matched and connected with intelligent household appliances to realize remote control, illegal connection and the like are easy to happen, and an effective solution is not provided at present.
Disclosure of Invention
The embodiment of the invention provides a method and a device for receiving a connection result, a storage medium and an electronic device, which are used for at least solving the problems that illegal connection is easy to happen in the process of matching connection with an intelligent household appliance and realizing remote control.
According to an embodiment of the present invention, a method for receiving a result of a link establishment is provided, including: receiving a connection random code broadcasted by the household appliance through Bluetooth, wherein the connection random code is generated after the household appliance receives an instruction corresponding to a target object; sending a connection establishing request to a remote server, wherein the connection establishing request is used for requesting to establish an association relationship with the household appliance equipment, and the connection establishing request carries an equipment identifier of the household appliance equipment, the connection establishing random code and an object identifier of the target object; and receiving a connection establishing result sent by the remote server under the condition of verifying that the connection establishing random code passes, wherein the connection establishing result is used for indicating that the household electrical appliance corresponding to the equipment identifier and a target object corresponding to the object identifier establish an association relationship.
Further, after receiving the association random code broadcasted by the home device through bluetooth, the method further includes: and displaying notification information on the mobile terminal bound by the target object, wherein the notification information is used for indicating that the association relationship between the target object and the household appliance is allowed to be established.
Further, sending a connection establishing request to a remote server, comprising: acquiring target household electrical appliance equipment to be established with an incidence relation; and acquiring a connection random code corresponding to the target household appliance, and sending a connection request carrying the connection random code corresponding to the target household appliance, the equipment identifier of the household appliance and the object identifier of the target object to the remote server.
Further, acquiring the target household appliance device to be associated with the relationship, including: displaying an association list on the mobile terminal bound by the target object, wherein the association list comprises: a plurality of household appliances to be associated; and acquiring the target household appliance equipment to be subjected to association relationship establishment in the association list.
Further, before receiving the association random code broadcasted by the home appliance through bluetooth, the method further includes: receiving a control instruction of a target object; and controlling the mobile terminal bound by the target object to enter a connection establishing mode according to the control instruction, wherein in the connection establishing mode, the mobile terminal is allowed to receive the connection establishing dynamic code sent by the household appliance equipment.
Further, after receiving the connection establishment result sent by the remote server, the method further comprises: displaying the connection establishing result on the mobile terminal bound by the target object; and/or controlling the household electrical appliance indicated by the association relation based on the association relation indicated by the association result.
According to an embodiment of the present invention, there is also provided a method for receiving a result of a link establishment, including: the first receiving module is used for receiving a connection random code broadcasted by the household appliance through Bluetooth, wherein the connection random code is generated after the household appliance receives an instruction corresponding to a target object; a sending module, configured to send a connection establishment request to a remote server, where the connection establishment request is used to request the target object to establish an association relationship with the home appliance device, and the connection establishment request carries a device identifier of the home appliance device, the connection establishment random code, and an object identifier of the target object; and a second receiving module, configured to receive a connection establishment result sent by the remote server when the connection establishment random code is verified to pass, where the connection establishment result is used to indicate that the home appliance device corresponding to the device identifier and the target object corresponding to the object identifier have established an association relationship.
Further, the sending module is further configured to obtain a target household appliance device to be associated; and acquiring a connection random code corresponding to the target household appliance, and sending a connection request carrying the connection random code corresponding to the target household appliance, the equipment identifier of the household appliance and the object identifier of the target object to the remote server.
According to another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium, in which a computer program is stored, where the computer program is configured to execute the above method for receiving the result of the link establishment when the computer program runs.
According to another aspect of the embodiments of the present invention, there is also provided an electronic apparatus, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the method for receiving the concatenation result through the computer program.
According to the invention, a connection random code broadcasted by the household appliance through Bluetooth is received, wherein the connection random code is generated after the household appliance receives an instruction corresponding to a target object; sending a connection establishing request to a remote server, wherein the connection establishing request is used for requesting to establish an association relationship with the household appliance equipment, and the connection establishing request carries an equipment identifier of the household appliance equipment, the connection establishing random code and an object identifier of the target object; and receiving a connection establishing result sent by the remote server under the condition of verifying that the connection establishing random code passes, wherein the connection establishing result is used for indicating that the household electrical appliance corresponding to the equipment identifier and a target object corresponding to the object identifier establish an association relationship. That is to say, the household appliance device sends the establishing connection random code broadcasted by the bluetooth to the remote server, and then the remote server verifies the received establishing connection random code, and receives the establishing connection result sent by the remote server under the condition that the verification is passed, and indicates that the establishing connection between the target object and the household appliance device is successful. By adopting the technical scheme, the problems that the illegal connection is easily met in the process of carrying out matching connection with the intelligent household appliance and realizing remote control are solved. And then through receiving the random code of establishing a federation of household electrical appliances bluetooth broadcast, will establish a federation and send to the remote server and verify, guaranteed the security of connecting.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a block diagram of a hardware configuration of a computer terminal of a method for receiving a result of a link establishment according to an embodiment of the present invention;
fig. 2 is a flowchart (one) of a method for receiving a concatenation result according to an embodiment of the present invention;
fig. 3 is a flowchart (ii) of a method for receiving a result of a link establishment according to an embodiment of the present invention;
fig. 4 is a block diagram of a receiving apparatus of a concatenation result according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The method embodiments provided in the embodiments of the present application may be executed in a computer terminal or a similar computing device. Taking the operation on a computer terminal as an example, fig. 1 is a hardware structure block diagram of a computer terminal of a method for receiving a connection establishment result according to an embodiment of the present invention. As shown in fig. 1, the computer terminal may include one or more processors 102 (only one is shown in fig. 1), wherein the processors 102 may include, but are not limited to, a Microprocessor (MPU) or a Programmable Logic Device (PLD), and a memory 104 for storing data, and in an exemplary embodiment, the computer terminal may further include a transmission device 106 for communication function and an input/output device 108. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration and is not intended to limit the structure of the computer terminal. For example, the computer terminal may also include more or fewer components than shown in FIG. 1, or have a different configuration with equivalent functionality to that shown in FIG. 1 or with more functionality than that shown in FIG. 1.
The memory 104 may be used to store computer programs, for example, software programs and modules of application software, such as computer programs corresponding to the method for receiving the association result in the embodiment of the present invention, and the processor 102 executes various functional applications and data processing by running the computer programs stored in the memory 104, so as to implement the method described above. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory located remotely from the processor 102, which may be connected to a computer terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used for receiving or transmitting data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the computer terminal. In one example, the transmission device 106 includes a Network adapter (NIC), which can be connected to other Network devices through a base station so as to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
In this embodiment, a method for receiving a result of a link-up is provided, and fig. 2 is a flowchart of the method for receiving a result of a link-up according to the embodiment of the present invention, where the flowchart includes the following steps:
step S202, receiving a connection random code broadcasted by the household appliance through Bluetooth, wherein the connection random code is generated after the household appliance receives an instruction corresponding to a target object;
step S204, sending a connection establishing request to a remote server, wherein the connection establishing request is used for requesting to establish an association relationship with the household appliance equipment, and the connection establishing request carries an equipment identifier of the household appliance equipment, the connection establishing random code and an object identifier of the target object;
step S206, receiving a connection establishing result sent by the remote server under the condition that the connection establishing random code is verified to pass, where the connection establishing result is used to indicate that the home appliance device corresponding to the device identifier and the target object corresponding to the object identifier have established an association relationship.
Through the steps, receiving a connection establishing random code broadcasted by the household appliance through Bluetooth, wherein the connection establishing random code is generated after the household appliance receives an instruction corresponding to a target object; sending a connection establishing request to a remote server, wherein the connection establishing request is used for requesting to establish an association relationship with the household appliance equipment, and the connection establishing request carries an equipment identifier of the household appliance equipment, the connection establishing random code and an object identifier of the target object; and receiving a connection establishing result sent by the remote server under the condition of verifying that the connection establishing random code passes, wherein the connection establishing result is used for indicating that the household electrical appliance corresponding to the equipment identifier and a target object corresponding to the object identifier establish an association relationship. That is to say, the household appliance device sends the establishing connection random code broadcasted by the bluetooth to the remote server, and then the remote server verifies the received establishing connection random code, and receives the establishing connection result sent by the remote server under the condition that the verification is passed, and indicates that the establishing connection between the target object and the household appliance device is successful. By adopting the technical scheme, the problems that the illegal connection is easily met in the process of carrying out matching connection with the intelligent household appliance and realizing remote control are solved. And then through receiving the random code of establishing a federation of household electrical appliances bluetooth broadcast, will establish a federation and send to the remote server and verify, guaranteed the security of connecting.
The target object in step S202 may be specifically a user, application software on the mobile terminal, an account in the application software, or the like.
It should be noted that the home appliance device is in the connection establishing state after receiving the instruction corresponding to the target object, at this time, the home appliance device generates a connection establishing random code, sends the connection establishing random code to the remote server through the wireless network, broadcasts the connection establishing random code to the mobile device through the bluetooth, the mobile terminal obtains the connection establishing random code of the device to be connected, and then the mobile terminal sends a connection establishing request to the remote server, so that the target object and the home appliance device can establish an association relationship. It should be noted that the association request carries the device identifier of the home appliance device, the association random code, and the object identifier of the target object, and the mobile terminal receives the association result sent by the remote server and indicates that the association relationship between the target object and the home appliance device has been established when the remote server verifies that the association random code sent by the home appliance device is consistent with the association random code sent by the mobile terminal.
In order to better understand the scheme, taking a target object as an example, a user physically touches the household appliance to give an instruction to the household appliance, so that the household appliance can generate a connection establishing random code, the connection establishing random code is sent to a remote server through a wireless network, the connection establishing random code is broadcasted to the mobile device through bluetooth, then the mobile device sends a connection establishing request containing an equipment identifier of the household appliance, the connection establishing random code and an object identifier of the user to the remote server, and the remote server receives a connection establishing result and indicates that the user is successfully connected with the household appliance when verification passes. It should be noted that, if the target object is application software, the application software may send an instruction to the home appliance, and the home appliance generates the association random code. It should be noted that, after receiving the first association random code broadcasted by the home appliance through bluetooth, the method further includes: and displaying notification information on the mobile terminal bound by the target object, wherein the notification information is used for indicating that the association relationship between the target object and the household appliance is allowed to be established. In this embodiment, after the target device receives the association random code broadcasted by the home appliance device through bluetooth, the information that the mobile terminal will display indicates that the association between the target object and the home appliance device is allowed to be established.
It should be noted that, sending the connection establishing request to the remote server includes: acquiring target household electrical appliance equipment to be established with an incidence relation; and acquiring a connection random code corresponding to the target household appliance, and sending a connection request carrying the connection random code corresponding to the target household appliance, the equipment identifier of the household appliance and the object identifier of the target object to the remote server.
In this embodiment, taking a target object as an example of a user, there is a case that the user sends an instruction to only one household electrical appliance to enable the household electrical appliance to be in a connection establishment state, and there may also be a case that the user sends an instruction to multiple household electrical appliances at the same time to enable the multiple household electrical appliances to be in the connection establishment state at the same time, so that multiple household electrical appliances generate a connection establishment random code to be sent to a mobile terminal when used, and therefore, the user needs to select a target household electrical appliance currently needing to establish an association relationship on the mobile terminal, and then the application software obtains the target household electrical appliance selected by the user, and sends a connection establishment request carrying the connection establishment random code corresponding to the target household electrical appliance, an appliance identifier of the household electrical appliance, and an object identifier of the user to the remote server.
For better explanation, the obtaining of the target home appliance device to be associated with includes: displaying an association list on a mobile terminal bound by a target object, wherein the association list comprises: a plurality of household appliances to be associated; and acquiring the target household appliance equipment to be subjected to association relationship establishment in the association list.
Optionally, before receiving the association random code broadcasted by the home appliance through the bluetooth, the method further includes: receiving a control instruction of a target object; and controlling the mobile terminal bound by the target object to enter a connection establishing mode according to the control instruction, wherein in the connection establishing mode, the mobile terminal is allowed to receive the connection establishing dynamic code sent by the household appliance equipment. In this embodiment, before establishing a connection with a home appliance, the mobile terminal needs to be controlled to a mode of establishing a connection with the home appliance, and then the mobile terminal can receive the dynamic connection establishing code sent by the home appliance.
In an optional embodiment, after receiving the connection establishment result sent by the remote server, the method further includes: displaying the connection establishing result on the mobile terminal bound by the target object; and/or controlling the household electrical appliance indicated by the association relation based on the association relation indicated by the association result.
In order to better understand how the remote server verifies the connection random code, the connection random code broadcasted to the mobile terminal by the household appliance through the Bluetooth is recorded as a first connection random code, the connection random code sent to the remote server by the household appliance through a wireless network is recorded as a second connection random code, the mobile terminal can send a connection request carrying the first connection random code corresponding to the household appliance, the device identification of the household appliance and the object identification of the target object to the remote server, and under the condition that the remote server verifies that the first connection random code is consistent with the second connection random code, the connection result is sent to the mobile terminal after verification is passed.
That is, in this embodiment, the remote server may verify whether the second association random code sent by the home appliance device is consistent with the first association random code sent from the mobile terminal, and if so, the remote server may send a message that the association is successful to the mobile terminal, and simultaneously display the association success on a screen of the mobile terminal to inform that the target object is successfully bound, and/or control the home appliance device indicated by the association based on the association indicated by the association result.
It is to be understood that the above-described embodiments are only a few, but not all, embodiments of the present invention. In order to better understand the method for receiving the above-mentioned association result, the following describes the above-mentioned process with reference to an embodiment, but the method is not limited to the technical solution of the embodiment of the present invention, and specifically:
in an alternative embodiment, fig. 3 is a flowchart (ii) of a method for receiving a connection result according to an embodiment of the present invention, where a target object is taken as an example of a user, and the user may connect an intelligent household appliance (which is equivalent to a household appliance in the foregoing embodiment) through a mobile phone (which is equivalent to a mobile terminal in the foregoing embodiment), and the specific steps are as follows:
step 1: a user logs in a mobile phone APP;
step 2: the mobile phone APP sends login (user information) to a remote server;
and step 3: the intelligent household appliance reports the equipment information to the mobile phone APP;
and 4, step 4: the mobile phone APP informs the user of discovering the equipment;
and 5: the user puts the device into a connection (binding) mode;
step 6: the intelligent household appliance generates a set-up dynamic random code;
and 7: the intelligent household appliance reports the dynamic random code of the building link to a remote server;
and 8: the intelligent household appliance reports the dynamic random code of the building link to the mobile phone APP through Bluetooth Low Energy (BLE) broadcasting;
and step 9: the mobile phone APP informs a user that the intelligent household appliance can establish a binding relationship;
step 10: establishing an association relation (equipment identification) between a user and equipment;
step 11: a user finds a set-up dynamic random code of the equipment on a mobile phone APP;
step 12: sending a message requesting to establish an association relation with a device to a remote server on a mobile phone APP, wherein the request message comprises: equipment identification, a set dynamic random code and user identification;
step 13: the remote server verifies the dynamic random code;
step 14: the remote server sends an APP connection establishing result to the sending mobile phone;
step 15: and informing the user of the connection establishing result through the mobile phone APP.
It should be noted that, in the above steps, only step 8 is to send the message by bluetooth broadcast, and all the rest messages are propagated through the wireless network. Firstly, a user needs to log in a mobile phone APP, user information is sent to a remote server, meanwhile, the intelligent household appliances report device information to the mobile phone, and then the user physically contacts the intelligent household appliances, so that the intelligent household appliances enter a connection (binding) establishing mode, the intelligent household appliances generate connection dynamic random codes, the connection dynamic random codes are sent to the remote server through a wireless network and sent to the mobile phone through Bluetooth BLE, the user selects the intelligent household appliances to be connected on the mobile phone APP, then the mobile phone sends device identification, connection dynamic random codes and user identification to the remote server together, the remote server verifies the connection dynamic random codes uploaded by the intelligent household appliances and the connection dynamic random codes sent by the mobile phone, and under the same condition, the successful connection establishment of the mobile phone and the intelligent household appliances is indicated, and successful information is sent to the user.
Through the key safety step of establishing the association relation between the user and the intelligent household appliance on the cloud server, the feasibility scheme that based on BLE broadcasting, after the user physically contacts the intelligent household appliance, the intelligent household appliance sends key data (establishing dynamic random codes) of establishing the association through the BLE broadcasting is provided, and therefore user authentication, safe access and equipment control are achieved. Meanwhile, the intelligent household appliance is manually operated by a user to enter a Bluetooth authentication connection establishing mode, the intelligent household appliance sends connection establishing key data through a BLE broadcast channel, and after the mobile phone receives the connection establishing data, the mobile phone sends a connection establishing data format (equipment identification, a connection establishing dynamic random code and user identification) to the cloud server intelligent equipment, so that the cloud server verifies whether an association relationship can be established between the intelligent equipment and the user.
In addition, the technical scheme of the embodiment of the invention reduces the potential safety hazard possibly brought by remote control of the intelligent household appliance, and can be realized through the Bluetooth chip of the intelligent equipment without increasing the hardware cost, and the used software is only slightly upgraded and reformed in the existing system, thus being beneficial to popularization; no risk of technical realization, and all mature technologies are used; the user only needs to participate simply, and the difficulty of using the APP by the user is not increased; the security policy is put on the remote server, which is beneficial to later maintenance, upgrading and reconstruction.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
In this embodiment, a device for receiving a result of a link establishment is further provided, and the device is used to implement the foregoing embodiments and preferred embodiments, and the description of the device that has been already made is omitted. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementations in hardware or a combination of software and hardware are also possible and contemplated.
Fig. 4 is a block diagram of a receiving apparatus for a concatenation result according to an embodiment of the present invention, the apparatus including:
the first receiving module 42 is configured to receive a connection random code broadcasted by a home appliance through bluetooth, where the connection random code is generated after the home appliance receives an instruction corresponding to a target object;
a sending module 44, configured to send a connection establishment request to a remote server, where the connection establishment request is used to request establishment of an association relationship with the home appliance device, and the connection establishment request carries a device identifier of the home appliance device, the connection establishment random code, and an object identifier of the target object;
a second receiving module 46, configured to receive a connection establishing result sent by the remote server when the connection establishing random code is verified to pass, where the connection establishing result is used to indicate that the home appliance device corresponding to the device identifier and the target object corresponding to the object identifier have established an association relationship.
Receiving a connection random code broadcasted by the household appliance through Bluetooth through the module, wherein the connection random code is generated after the household appliance receives an instruction corresponding to a target object; sending a connection establishing request to a remote server, wherein the connection establishing request is used for requesting to establish an association relationship with the household appliance equipment, and the connection establishing request carries an equipment identifier of the household appliance equipment, the connection establishing random code and an object identifier of the target object; and receiving a connection establishing result sent by the remote server under the condition of verifying that the connection establishing random code passes, wherein the connection establishing result is used for indicating that the household electrical appliance corresponding to the equipment identifier and a target object corresponding to the object identifier establish an association relationship. That is to say, the household appliance device sends the establishing connection random code broadcasted by the bluetooth to the remote server, and then the remote server verifies the received establishing connection random code, and receives the establishing connection result sent by the remote server under the condition that the verification is passed, and indicates that the establishing connection between the target object and the household appliance device is successful. By adopting the technical scheme, the problems that the illegal connection is easily met in the process of carrying out matching connection with the intelligent household appliance and realizing remote control are solved. And then through receiving the random code of establishing a federation of household electrical appliances bluetooth broadcast, will establish a federation and send to the remote server and verify, guaranteed the security of connecting.
The target object may be specifically a user, or may be application software on the mobile terminal, or may be an account in the application software.
It should be noted that the home appliance device is in the connection establishing state after receiving the instruction corresponding to the target object, at this time, the home appliance device generates a connection establishing random code, sends the connection establishing random code to the remote server through the wireless network, broadcasts the connection establishing random code to the mobile device through the bluetooth, the mobile terminal obtains the connection establishing random code of the device to be connected, and then the mobile terminal sends a connection establishing request to the remote server, so that the target object and the home appliance device can establish an association relationship. It should be noted that the association request carries the device identifier of the home appliance device, the association random code, and the object identifier of the target object, and the mobile terminal receives the association result sent by the remote server and indicates that the association relationship between the target object and the home appliance device has been established when the remote server verifies that the association random code sent by the home appliance device is consistent with the association random code sent by the mobile terminal.
For better understanding, taking a target object as an example of a user, the user physically touches the household appliance to give an instruction to the household appliance, so that the household appliance can generate a connection establishing random code, the connection establishing random code is sent to a remote server through a wireless network, the connection establishing random code is broadcasted to the mobile device through Bluetooth, then the mobile device sends a connection establishing request containing an equipment identifier of the household appliance, the connection establishing random code and an object identifier of the user to the remote server, and the remote server receives a connection establishing result and indicates that the user is successfully connected with the household appliance under the condition of passing verification. It should be noted that, if the target object is application software, the application software may send an instruction to the home appliance, and the home appliance generates the association random code. It should be noted that the first obtaining module 42 is further configured to display notification information on the mobile terminal to which the target object is bound, where the notification information is used to indicate that the association relationship between the target object and the home appliance is allowed to be established. In this embodiment, after the target device receives the association random code broadcasted by the home appliance device through bluetooth, the information that the mobile terminal will display indicates that the association between the target object and the home appliance device is allowed to be established.
It should be noted that the sending module 44 is further configured to obtain a target home appliance device to be associated; and acquiring a connection random code corresponding to the target household appliance, and sending a connection request carrying the connection random code corresponding to the target household appliance, the equipment identifier of the household appliance and the object identifier of the target object to the remote server.
In this embodiment, taking a target object as an example of a user, there is a case that the user sends an instruction to only one household electrical appliance to enable the household electrical appliance to be in a connection establishment state, and there may also be a case that the user sends an instruction to multiple household electrical appliances at the same time to enable the multiple household electrical appliances to be in the connection establishment state at the same time, so that multiple household electrical appliances generate a connection establishment random code to be sent to a mobile terminal when used, and therefore, the user needs to select a target household electrical appliance currently needing to establish an association relationship on the mobile terminal, and then the application software obtains the target household electrical appliance selected by the user, and sends a connection establishment request carrying the connection establishment random code corresponding to the target household electrical appliance, an appliance identifier of the household electrical appliance, and an object identifier of the user to the remote server.
For better illustration, the first obtaining module 42 is further configured to display an association list on the mobile terminal to which the target object is bound, where the association list includes: a plurality of household appliances to be associated; and acquiring the target household appliance equipment to be subjected to association relationship establishment in the association list.
Optionally, the first obtaining module 42 is further configured to receive a control instruction of the target object; and controlling the mobile terminal bound by the target object to enter a connection establishing mode according to the control instruction, wherein in the connection establishing mode, the mobile terminal is allowed to receive the connection establishing dynamic code sent by the household appliance equipment. In this embodiment, before establishing a connection with a home appliance, the mobile terminal needs to be controlled to a mode of establishing a connection with the home appliance, and then the mobile terminal can receive the dynamic connection establishing code sent by the home appliance.
In an optional embodiment, the second obtaining module 46 is further configured to display the association result on the mobile terminal bound to the target object; and/or controlling the household electrical appliance indicated by the association relation based on the association relation indicated by the association result.
In order to better understand how the remote server verifies the connection random code, the connection random code broadcasted to the mobile terminal by the household appliance through the Bluetooth is recorded as a first connection random code, the connection random code sent to the remote server by the household appliance through a wireless network is recorded as a second connection random code, the mobile terminal can send a connection request carrying the first connection random code corresponding to the household appliance, the device identification of the household appliance and the object identification of the target object to the remote server, and under the condition that the remote server verifies that the first connection random code is consistent with the second connection random code, the connection result is sent to the mobile terminal after verification is passed.
That is, in this embodiment, the remote server may verify whether the second association random code sent by the home appliance device is consistent with the first association random code sent from the mobile terminal, and if so, the remote server may send a message that the association is successful to the mobile terminal, and simultaneously display the association success on a screen of the mobile terminal to inform that the target object is successfully bound, and/or control the home appliance device indicated by the association based on the association indicated by the association result.
Embodiments of the present invention also provide a computer-readable storage medium having a computer program stored thereon, wherein the computer program is arranged to perform the steps of any of the above-mentioned method embodiments when executed.
Alternatively, in the present embodiment, the storage medium may be configured to store a computer program for executing the steps of:
s1, receiving a connection random code broadcasted by the household appliance through Bluetooth, wherein the connection random code is generated after the household appliance receives an instruction corresponding to a target object;
s2, sending a connection establishing request to a remote server, wherein the connection establishing request is used for requesting to establish an association relationship with the household appliance equipment, and the connection establishing request carries an equipment identifier of the household appliance equipment, the connection establishing random code and an object identifier of the target object;
and S3, receiving a connection establishing result sent by the remote server under the condition that the connection establishing random code is verified to pass, wherein the connection establishing result is used for indicating that the home appliance device corresponding to the device identifier and the target object corresponding to the object identifier establish an association relationship.
In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to: various media capable of storing computer programs, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary embodiments, and details of this embodiment are not repeated herein.
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, receiving a connection random code broadcasted by the household appliance through Bluetooth, wherein the connection random code is generated after the household appliance receives an instruction corresponding to a target object;
s2, sending a connection establishing request to a remote server, wherein the connection establishing request is used for requesting to establish an association relationship with the household appliance equipment, and the connection establishing request carries an equipment identifier of the household appliance equipment, the connection establishing random code and an object identifier of the target object;
and S3, receiving a connection establishing result sent by the remote server under the condition that the connection establishing random code is verified to pass, wherein the connection establishing result is used for indicating that the home appliance device corresponding to the device identifier and the target object corresponding to the object identifier establish an association relationship.
In an exemplary embodiment, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary embodiments, and details of this embodiment are not repeated herein.
It will be apparent to those skilled in the art that the various modules or steps of the invention described above may be implemented using a general purpose computing device, they may be centralized on a single computing device or distributed across a network of computing devices, and they may be implemented using program code executable by the computing devices, such that they may be stored in a memory device and executed by the computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into various integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A method for receiving a concatenation result is characterized by comprising the following steps:
receiving a connection random code broadcasted by the household appliance through Bluetooth, wherein the connection random code is generated after the household appliance receives an instruction corresponding to a target object;
sending a connection establishing request to a remote server, wherein the connection establishing request is used for requesting to establish an association relationship with the household appliance equipment, and the connection establishing request carries an equipment identifier of the household appliance equipment, the connection establishing random code and an object identifier of the target object;
and receiving a connection establishing result sent by the remote server under the condition of verifying that the connection establishing random code passes, wherein the connection establishing result is used for indicating that the household electrical appliance corresponding to the equipment identifier and a target object corresponding to the object identifier establish an association relationship.
2. The method of claim 1, wherein after receiving the association random code broadcast by the home device via bluetooth, the method further comprises:
and displaying notification information on the mobile terminal bound by the target object, wherein the notification information is used for indicating that the association relationship between the target object and the household appliance is allowed to be established.
3. The method of claim 1, wherein sending a connection request to a remote server comprises:
acquiring target household electrical appliance equipment to be established with an incidence relation;
and acquiring a connection random code corresponding to the target household appliance, and sending a connection request carrying the connection random code corresponding to the target household appliance, the equipment identifier of the household appliance and the object identifier of the target object to the remote server.
4. The method of claim 3, wherein obtaining the target home device to be associated comprises:
displaying an association list on the mobile terminal bound by the target object, wherein the association list comprises: a plurality of household appliances to be associated;
and acquiring the target household appliance equipment to be subjected to association relationship establishment in the association list.
5. The method of claim 1, wherein prior to receiving the association random code broadcasted by the home device via bluetooth, the method further comprises:
receiving a control instruction of a target object;
and controlling the mobile terminal bound by the target object to enter a connection establishing mode according to the control instruction, wherein in the connection establishing mode, the mobile terminal is allowed to receive the connection establishing random code sent by the household appliance equipment.
6. The method of claim 1, wherein after receiving the connection establishment result sent by the remote server, the method further comprises:
displaying the connection establishing result on the mobile terminal bound by the target object; and/or
And controlling the household appliances indicated by the association relation based on the association relation indicated by the association result.
7. A device for receiving a result of a federation, comprising:
the first receiving module is used for receiving a connection random code broadcasted by the household appliance through Bluetooth, wherein the connection random code is generated after the household appliance receives an instruction corresponding to a target object;
the system comprises a sending module, a receiving module and a sending module, wherein the sending module is used for sending a connection establishing request to a remote server, the connection establishing request is used for requesting to establish an association relationship with the household appliance equipment, and the connection establishing request carries an equipment identifier of the household appliance equipment, the connection establishing random code and an object identifier of a target object;
and a second receiving module, configured to receive a connection establishment result sent by the remote server when the connection establishment random code is verified to pass, where the connection establishment result is used to indicate that the home appliance device corresponding to the device identifier and the target object corresponding to the object identifier have established an association relationship.
8. The apparatus of claim 7, wherein the sending module is further configured to obtain a target home appliance device to be associated; and acquiring a connection random code corresponding to the target household appliance, and sending a connection request carrying the connection random code corresponding to the target household appliance, the equipment identifier of the household appliance and the object identifier of the target object to the remote server.
9. A computer-readable storage medium, comprising a stored program, wherein the program is operable to perform the method of any one of claims 1 to 6.
10. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to execute the method of any of claims 1 to 6 by means of the computer program.
CN202110621044.6A 2021-06-03 2021-06-03 Method and device for receiving building connection result, storage medium and electronic device Pending CN113365225A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110621044.6A CN113365225A (en) 2021-06-03 2021-06-03 Method and device for receiving building connection result, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110621044.6A CN113365225A (en) 2021-06-03 2021-06-03 Method and device for receiving building connection result, storage medium and electronic device

Publications (1)

Publication Number Publication Date
CN113365225A true CN113365225A (en) 2021-09-07

Family

ID=77531873

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110621044.6A Pending CN113365225A (en) 2021-06-03 2021-06-03 Method and device for receiving building connection result, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN113365225A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116527306A (en) * 2023-03-13 2023-08-01 无锡锐泰节能系统科学有限公司 Security management method and system for router of Internet of things

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090327310A1 (en) * 2008-06-27 2009-12-31 Sony Ericsson Mobile Communications Ab Methods for providing access to files on an electronic device using a phone number for authentication and related electronic devices and computer program products
CN103024599A (en) * 2011-09-20 2013-04-03 中国联合网络通信集团有限公司 Communication method, communication device and communication system for set top box
CN107800687A (en) * 2017-09-26 2018-03-13 无锡小天鹅股份有限公司 Apparatus bound method, system and washing machine based on Internet of Things
CN110022618A (en) * 2018-01-08 2019-07-16 佛山市顺德区美的电热电器制造有限公司 A kind of method that establishing connection and server, household electrical appliance, storage medium
CN112202747A (en) * 2020-09-24 2021-01-08 青岛海尔科技有限公司 Target device binding method and device, storage medium and electronic device
CN112737845A (en) * 2020-12-29 2021-04-30 青岛海尔科技有限公司 Binding method and device of intelligent equipment, storage medium and electronic device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090327310A1 (en) * 2008-06-27 2009-12-31 Sony Ericsson Mobile Communications Ab Methods for providing access to files on an electronic device using a phone number for authentication and related electronic devices and computer program products
CN103024599A (en) * 2011-09-20 2013-04-03 中国联合网络通信集团有限公司 Communication method, communication device and communication system for set top box
CN107800687A (en) * 2017-09-26 2018-03-13 无锡小天鹅股份有限公司 Apparatus bound method, system and washing machine based on Internet of Things
CN110022618A (en) * 2018-01-08 2019-07-16 佛山市顺德区美的电热电器制造有限公司 A kind of method that establishing connection and server, household electrical appliance, storage medium
CN112202747A (en) * 2020-09-24 2021-01-08 青岛海尔科技有限公司 Target device binding method and device, storage medium and electronic device
CN112737845A (en) * 2020-12-29 2021-04-30 青岛海尔科技有限公司 Binding method and device of intelligent equipment, storage medium and electronic device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116527306A (en) * 2023-03-13 2023-08-01 无锡锐泰节能系统科学有限公司 Security management method and system for router of Internet of things

Similar Documents

Publication Publication Date Title
CN109121136B (en) Network access method, terminal connection method, terminal verification method, gateway and system
CN104375497B (en) Smart home and its control method, control system and electronic equipment
CN105072012A (en) Quick network access method of intelligent device
CN105636162A (en) Network access method and device for intelligent household electrical appliance
CN109890065B (en) Networking method and system of household appliance
CN113423105B (en) Network connection method and device
CN110831245B (en) Network connection method, device and router
CN112152853A (en) Equipment network distribution method and device, computer-readable storage medium and electronic device
CN105141342A (en) Method and system used for adding power line carrier wave communication network to electric appliance equipment
CN104580549A (en) Controlled terminal and control terminal correlation method and system
CN111163469A (en) Network distribution method of intelligent household appliance, wireless module and intelligent household appliance
CN112637931A (en) Method and device for establishing network connection
CN108541077B (en) WPS-based rapid network distribution method and system for intelligent hardware equipment
CN111406397A (en) Method and apparatus for managing events in a communication system
CN112737845A (en) Binding method and device of intelligent equipment, storage medium and electronic device
CN110149622B (en) Intelligent household appliance control method and device
CN112040484A (en) Password updating method and device, storage medium and electronic device
CN113596792B (en) Binding method and device of electronic equipment, storage medium and electronic device
CN113365225A (en) Method and device for receiving building connection result, storage medium and electronic device
CN111343057B (en) Control method of intelligent household appliance and intelligent household appliance
CN113613251B (en) Information synchronization method and system, storage medium and electronic device
CN114205378A (en) Network distribution method and device of Internet of things equipment, storage medium and electronic device
CN112637221A (en) Equipment control method and device
CN113985743A (en) Equipment control method, device and system, storage medium and electronic device
CN113472763A (en) Control instruction sending method and device, storage medium and electronic device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20210907

RJ01 Rejection of invention patent application after publication