CN113285810A - Target equipment login method and device, storage medium and electronic device - Google Patents

Target equipment login method and device, storage medium and electronic device Download PDF

Info

Publication number
CN113285810A
CN113285810A CN202110632555.8A CN202110632555A CN113285810A CN 113285810 A CN113285810 A CN 113285810A CN 202110632555 A CN202110632555 A CN 202110632555A CN 113285810 A CN113285810 A CN 113285810A
Authority
CN
China
Prior art keywords
list
equipment
device list
target
cloud platform
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110632555.8A
Other languages
Chinese (zh)
Other versions
CN113285810B (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.)
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 CN202110632555.8A priority Critical patent/CN113285810B/en
Publication of CN113285810A publication Critical patent/CN113285810A/en
Application granted granted Critical
Publication of CN113285810B publication Critical patent/CN113285810B/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
    • 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/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • 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
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]
    • 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 invention provides a target device login method and device, a storage medium and an electronic device, wherein the target device login method comprises the following steps: acquiring a first device list in a communication range of a mobile terminal; sending the first device list to a cloud platform, wherein the first device list is used for instructing the cloud platform to determine a second device list from the first device list, and all devices indicated in the second device list support a wireless communication protocol; receiving the second device list sent by the cloud platform, and sending an access token corresponding to the mobile terminal to a target device in the second device list, wherein the access token is used for indicating the target device to send a login request to the cloud platform through the access token so as to realize login operation of the target device. By adopting the technical scheme, the problems that the equipment login process is complex and the user needs to input the password in the related technology are solved.

Description

Target equipment login method and device, storage medium and electronic device
Technical Field
The present invention relates to the field of communications, and in particular, to a login method and apparatus for a target device, a storage medium, and an electronic apparatus.
Background
With the popularization of intelligent household appliances, more and more intelligent devices support networking and remote control, and the life of human beings is changed invisibly. However, for some screenless or non-touch screen devices, the operation steps required to complete the device login and thus facilitate the device login are cumbersome. Meanwhile, due to the popularization of intelligent household appliances, people have many accounts, but simple passwords and massive account numbers cause many troublesome things, and the passwords are cracked and forgotten frequently.
Aiming at the problems that the equipment login process is complex and a user needs to input a password in the related technology, an effective solution is not provided.
Disclosure of Invention
The embodiment of the invention provides a login method and device of target equipment, a storage medium and an electronic device, and aims to solve the problems that in the related art, a video file obtained through monitoring is directly sent to a mobile terminal, the sending time of the file is long due to the fact that the file is too large, and meanwhile interference is caused to a user.
According to an embodiment of the present invention, there is provided a login method of a target device, including: acquiring a first device list in a communication range of a mobile terminal; sending the first device list to a cloud platform, wherein the first device list is used for instructing the cloud platform to determine a second device list from the first device list, and all devices indicated in the second device list support a wireless communication protocol; receiving the second device list sent by the cloud platform, and sending an access token corresponding to the mobile terminal to a target device in the second device list, wherein the access token is used for indicating the target device to send a login request to the cloud platform through the access token so as to realize login operation of the target device.
Further, the obtaining of the first device list within the communication range of the mobile terminal includes at least one of: searching intelligent equipment in a communication range through a home local area network to obtain the first equipment list; and searching intelligent equipment in the communication range through the mobile Internet to obtain the first equipment list.
Further, before receiving the second device list sent by the cloud platform, the method further includes: instructing the cloud platform to determine a second device list from the first device list by: calling equipment filtering service; and filtering the intelligent equipment in the first equipment list through the equipment filtering service so as to determine a second equipment list from the first equipment list.
Further, after the first device list is sent to a cloud platform, the method further includes: and instructing the target device to send a token replacement service request to the cloud platform through the access token so that the target device replaces the access token with a device-specific token.
According to an embodiment of the present invention, there is provided another login method for a target device, including: receiving a first equipment list which is sent by a mobile terminal and is in a communication range of the mobile terminal; determining a second device list from the first device list, wherein the devices indicated in the second device list each support a wireless communication protocol; and receiving a login request sent by the target equipment in the second equipment list through the access token corresponding to the mobile terminal, so as to realize the login operation of the target equipment according to the login request.
Further, after determining the second device list from the first device list, the method further comprises: receiving a token replacement service request sent by the target device through the access token; and determining a device-specific token corresponding to the access token according to the token replacement service request, and sending the device-specific token to the target device.
Further, determining the second device list from the first device list comprises: calling equipment filtering service; and filtering the intelligent equipment in the first equipment list through the equipment filtering service so as to determine a second equipment list from the first equipment list.
According to an embodiment of the present invention, there is provided a login apparatus for a target device, applied to a mobile terminal, including: the mobile terminal comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring a first equipment list in a communication range of the mobile terminal; the sending module is used for sending the first device list to a cloud platform, wherein the first device list is used for indicating the cloud platform to determine a second device list from the first device list, and all devices indicated in the second device list support a wireless communication protocol; the first receiving module is used for receiving the second equipment list sent by the cloud platform and sending an access token corresponding to the mobile terminal to target equipment in the second equipment list, wherein the access token is used for indicating the target equipment to send a login request to the cloud platform through the access token so as to realize login operation of the target equipment.
According to yet another embodiment of the invention, there is also provided a computer-readable storage medium comprising a stored program, wherein the program when executed performs the method described in any of the above.
According to yet another embodiment of the present invention, there is also provided an electronic apparatus comprising a memory having a computer program stored therein and a processor arranged to perform the method described in any one of the above by means of the computer program.
According to the invention, a first equipment list in the communication range of the mobile terminal is obtained; sending the first device list to a cloud platform, wherein the first device list is used for instructing the cloud platform to determine a second device list from the first device list, and all devices indicated in the second device list support a wireless communication protocol; receiving the second device list sent by the cloud platform, and sending an access token corresponding to the mobile terminal to a target device in the second device list, wherein the access token is used for indicating the target device to send a login request to the cloud platform through the access token so as to realize login operation of the target device. That is, the present invention may acquire a first device list that is within a communication range of the mobile terminal; determining, by the cloud platform, a second device list from the first device list; and sending the access token corresponding to the mobile terminal to the target equipment in the second equipment list to indicate the target equipment to send a login request to a cloud platform through the access token so as to realize the login operation of the target equipment. Therefore, by adopting the technical scheme, the problems that the equipment login process is complex and the user needs to input the password in the related technology are solved, and the quick automatic login method of the intelligent equipment is provided.
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 structure of a mobile terminal of a login method of a target device according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a login method of a target device according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating a login method of a target device according to an embodiment of the present invention (ii);
FIG. 4 is a diagram illustrating a login method of a target device according to an embodiment of the present invention;
FIG. 5 is a block diagram (I) of a login device of a target device according to an embodiment of the present invention;
fig. 6 is a block diagram (ii) of a login apparatus of a target device according to an embodiment of the present invention.
Detailed Description
The invention will be described in detail hereinafter with reference to the accompanying drawings in conjunction with embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
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.
The method provided by the embodiment of the application can be executed in a mobile terminal or a similar operation device. Taking an example of the present invention running on a mobile terminal, fig. 1 is a block diagram of a hardware structure of the mobile terminal of a login method of a target device according to an embodiment of the present invention. As shown in fig. 1, the mobile 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 mobile 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 does not limit the structure of the mobile terminal. For example, the mobile 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 a computer program, for example, a software program and a module of application software, such as a computer program corresponding to the login method of the target device in the embodiment of the present invention, and the processor 102 executes various functional applications and data processing by running the computer program 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 the mobile 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 mobile 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 login method of a target device is provided, which is applied to the mobile terminal, and fig. 2 is a schematic flow chart (a) of the login method of the target device according to the embodiment of the present invention, where the flow chart includes the following steps:
step S202: acquiring a first device list in a communication range of a mobile terminal;
step S204: sending the first device list to a cloud platform, wherein the first device list is used for instructing the cloud platform to determine a second device list from the first device list, and all devices indicated in the second device list support a wireless communication protocol;
step S206: receiving the second device list sent by the cloud platform, and sending an access token corresponding to the mobile terminal to a target device in the second device list, wherein the access token is used for indicating the target device to send a login request to the cloud platform through the access token so as to realize login operation of the target device.
Through the steps, a first equipment list in the communication range of the mobile terminal is obtained; sending the first device list to a cloud platform, wherein the first device list is used for instructing the cloud platform to determine a second device list from the first device list, and all devices indicated in the second device list support a wireless communication protocol; receiving the second device list sent by the cloud platform, and sending an access token corresponding to the mobile terminal to a target device in the second device list, wherein the access token is used for indicating the target device to send a login request to the cloud platform through the access token so as to realize login operation of the target device. That is, the present invention may acquire a first device list that is within a communication range of the mobile terminal; determining, by the cloud platform, a second device list from the first device list; and sending the access token corresponding to the mobile terminal to the target equipment in the second equipment list to indicate the target equipment to send a login request to a cloud platform through the access token so as to realize the login operation of the target equipment. Therefore, by adopting the technical scheme, the problems that the equipment login process is complex and the user needs to input the password in the related technology are solved, and the quick automatic login method of the intelligent equipment is provided.
In one exemplary embodiment, obtaining a first list of devices within communication range of a mobile terminal includes at least one of: searching intelligent equipment in a communication range through a home local area network to obtain the first equipment list; and searching intelligent equipment in the communication range through the mobile Internet to obtain the first equipment list.
The method comprises the steps of obtaining a first device list in a communication range of the mobile terminal, wherein the optional communication range can be a Bluetooth communication range specifically, the wireless communication protocol can be a Bluetooth communication protocol, the Bluetooth communication range can be adjusted according to specific conditions, and the Bluetooth communication range can be adjusted by adjusting the strength of a Bluetooth signal. If the user increases the strength of the bluetooth signal, the acquired first device list may include more smart devices (compared to the number of smart devices included in the acquired first device list without the strength of the bluetooth signal), and if the user decreases the strength of the bluetooth signal, the acquired first device list may include fewer smart devices. In the embodiment of the invention, the intelligent equipment in the Bluetooth communication range can be searched through a home local area network, or the intelligent equipment in the Bluetooth communication range can be searched through a mobile internet, so that the first equipment list is obtained. It should be noted that, by means of searching for an intelligent device in a bluetooth communication range through a home local area network, the first device list may be obtained without a network or without a network.
In an exemplary embodiment, before receiving the second device list sent by the cloud platform, the method further includes: instructing the cloud platform to determine a second device list from the first device list by: calling equipment filtering service; and filtering the intelligent equipment in the first equipment list through the equipment filtering service so as to determine a second equipment list from the first equipment list.
In order to achieve rapid determination of the target device, in the embodiment of the present invention, a device filtering service is added, and a second device list may be determined from the first device list by performing a filtering operation on the smart devices in the first device list through the device filtering service. A fast determination of the target device can be achieved by means of the second device list.
In an exemplary embodiment, after sending the first device list to a cloud platform, the method further includes: and instructing the target device to send a token replacement service request to the cloud platform through the access token so that the target device replaces the access token with a device-specific token.
In the embodiment of the present invention, in addition to providing a method for implementing the login operation of the target device, a method for replacing the access token with a device-specific token by the target device is also provided: and under the condition of obtaining the access token, instructing the target device to send a token replacement service request to the cloud platform through the access token, replacing the access token with a device-specific token by the cloud platform, and sending the device-specific token to the target device by the cloud platform. And the target equipment calls the business support service of the software development package according to the special token of the equipment and supports the software development package through the business support service.
In this embodiment, a login method of a target device is provided, which is applied to the mobile terminal, and fig. 3 is a schematic flow chart (ii) of a login method of a target device according to an embodiment of the present invention, where the flow chart includes the following steps:
step S302: receiving a first equipment list which is sent by a mobile terminal and is in a communication range of the mobile terminal;
step S304: determining a second device list from the first device list, wherein the devices indicated in the second device list each support a wireless communication protocol;
step S306: and receiving a login request sent by the target equipment in the second equipment list through the access token corresponding to the mobile terminal, so as to realize the login operation of the target equipment according to the login request.
According to the invention, a first equipment list which is sent by a mobile terminal and is in a communication range of the mobile terminal is received; determining a second device list from the first device list, wherein the devices indicated in the second device list each support a wireless communication protocol; and receiving a login request sent by the target equipment in the second equipment list through the access token corresponding to the mobile terminal, so as to realize the login operation of the target equipment according to the login request. That is, the present invention may receive a first device list transmitted by a mobile terminal, which is within a communication range of the mobile terminal; determining a second device list from the first device list; and receiving a login request sent by the target equipment in the second equipment list through the access token corresponding to the mobile terminal, so as to realize the login operation of the target equipment according to the login request. Therefore, by adopting the technical scheme, the problems that the equipment login process is complex and the user needs to input the password in the related technology are solved, and the quick automatic login method of the intelligent equipment is provided.
Optionally, the communication range may specifically be a bluetooth communication range, and the wireless communication protocol may be a bluetooth communication protocol.
In one exemplary embodiment, after determining the second device list from the first device list, the method further comprises: receiving a token replacement service request sent by the target device through the access token; and determining a device-specific token corresponding to the access token according to the token replacement service request, and sending the device-specific token to the target device.
In the embodiment of the present invention, in the method for replacing the access token with the device-specific token by the target device, the cloud platform is required to replace the access token with the device-specific token and send the device-specific token to the target device when receiving a token replacement service request sent by the target device. The device-specific token is used for the target device to call the business support service of the software development kit according to the device-specific token, and the software development kit is supported by the business support service.
In one exemplary embodiment, determining the second device list from the first device list comprises: calling equipment filtering service; and filtering the intelligent equipment in the first equipment list through the equipment filtering service so as to determine a second equipment list from the first equipment list.
In the embodiment of the present invention, the cloud platform is added to provide a device filtering service, and a second device list can be determined from the first device list by performing a filtering operation on a target device in the first device list received from the target device through the device filtering service. And under the condition that the second equipment list is determined, the second equipment list is sent to the application end, and the application end can rapidly determine the target equipment through the second equipment list.
In order to better understand the above technical solution, the following alternative flowchart is used to explain the whole flow of the login method of the target device.
Fig. 4 is a schematic diagram of a login method of a target device according to an embodiment of the present invention, as shown in fig. 4:
s402: enter login page/press login button;
s404: retrieving Bluetooth devices in the local area network;
s406: searching a device list in ten meters near by the Bluetooth, removing cloud filtering, and acquiring a device which supports quick login and is currently on a login page;
s408: selecting a device to be logged in;
s410: sending the mobile phone App token to the equipment through Bluetooth;
s412: using an application token to request a cloud end, replacing the device token, and realizing login;
s414: in the internal logic of the cloud, equipment binding and family sharing are completed;
s416: and returning the replaced token through the cloud end for the equipment to finish various subsequent services.
Through the steps, a first device list in the Bluetooth communication range of the mobile terminal is obtained; sending the first device list to a cloud platform to instruct the cloud platform to determine a second device list from the first device list, wherein the devices indicated in the second device list all support a Bluetooth communication protocol; and receiving the second equipment list sent by the cloud platform, and sending an access token corresponding to the mobile terminal to target equipment in the second equipment list so as to indicate the target equipment to send a login request to the cloud platform through the access token, so as to realize the login operation of the target equipment. That is, the present invention may acquire a first device list within a bluetooth communication range of the mobile terminal; determining, by the cloud platform, a second device list from the first device list; and sending the access token corresponding to the mobile terminal to the target equipment in the second equipment list to indicate the target equipment to send a login request to a cloud platform through the access token so as to realize the login operation of the target equipment. Therefore, by adopting the technical scheme, the problems that the equipment login process is complex and the user needs to input the password in the related technology are solved, and the quick automatic login method of the intelligent equipment is provided.
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 (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a mobile terminal, or a network device) to execute the method according to the embodiments of the present invention.
In this embodiment, a login apparatus of a target device is further provided, and the apparatus is used to implement the foregoing embodiments and preferred embodiments, and the description of which 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 means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
FIG. 5 is a block diagram (I) of a login device of a target device according to an embodiment of the present invention; as shown in fig. 5, includes:
an obtaining module 50, configured to obtain a first device list within a communication range of the mobile terminal;
a sending module 52, configured to send the first device list to a cloud platform, where the first device list is used to instruct the cloud platform to determine a second device list from the first device list, and all devices indicated in the second device list support a wireless communication protocol;
the first receiving module 54 is configured to receive the second device list sent by the cloud platform, and send an access token corresponding to the mobile terminal to a target device in the second device list, where the access token is used to instruct the target device to send a login request to the cloud platform through the access token, so as to implement a login operation of the target device.
Acquiring a first equipment list in a communication range of the mobile terminal through the module; sending the first device list to a cloud platform, wherein the first device list is used for instructing the cloud platform to determine a second device list from the first device list, and all devices indicated in the second device list support a wireless communication protocol; receiving the second device list sent by the cloud platform, and sending an access token corresponding to the mobile terminal to a target device in the second device list, wherein the access token is used for indicating the target device to send a login request to the cloud platform through the access token so as to realize login operation of the target device. That is, the present invention may acquire a first device list that is within a communication range of the mobile terminal; determining, by the cloud platform, a second device list from the first device list; and sending the access token corresponding to the mobile terminal to the target equipment in the second equipment list to indicate the target equipment to send a login request to a cloud platform through the access token so as to realize the login operation of the target equipment. Therefore, by adopting the technical scheme, the problems that the equipment login process is complex and the user needs to input the password in the related technology are solved, and the quick automatic login method of the intelligent equipment is provided.
Optionally, the obtaining module 50 is further configured to search for an intelligent device in a communication range through a home local area network to obtain the first device list; and searching intelligent equipment in the communication range through the mobile Internet to obtain the first equipment list.
The method comprises the steps of obtaining a first device list in a Bluetooth communication range of the mobile terminal, wherein the first device list is optional, the communication range can be specifically a Bluetooth communication range, the wireless communication protocol can be a Bluetooth communication protocol, the Bluetooth communication range can be adjusted according to specific conditions, and the Bluetooth communication range can be adjusted by adjusting the strength of a Bluetooth signal. If the user increases the strength of the bluetooth signal, the acquired first device list may include more smart devices (compared to the number of smart devices included in the acquired first device list without the strength of the bluetooth signal), and if the user decreases the strength of the bluetooth signal, the acquired first device list may include fewer smart devices. In the embodiment of the invention, the intelligent equipment in the Bluetooth communication range can be searched through a home local area network, or the intelligent equipment in the Bluetooth communication range can be searched through a mobile internet, so that the first equipment list is obtained. It should be noted that, by means of searching for an intelligent device in a bluetooth communication range through a home local area network, the first device list may be obtained without a network or without a network.
Optionally, the sending module 52 is further configured to instruct the cloud platform to determine a second device list from the first device list by: calling equipment filtering service; and filtering the intelligent equipment in the first equipment list through the equipment filtering service so as to determine a second equipment list from the first equipment list.
In order to achieve rapid determination of the target device, in the embodiment of the present invention, a device filtering service is added, and a second device list may be determined from the first device list by performing a filtering operation on the smart devices in the first device list through the device filtering service. A fast determination of the target device can be achieved by means of the second device list.
Optionally, the sending module 52 is further configured to instruct the target device to send a token replacement service request to the cloud platform through the access token, so that the target device replaces the access token with a device-specific token.
In the embodiment of the present invention, in addition to providing a method for implementing the login operation of the target device, a method for replacing the access token with a device-specific token by the target device is also provided: and under the condition of obtaining the access token, instructing the target device to send a token replacement service request to the cloud platform through the access token, replacing the access token with a device-specific token by the cloud platform, and sending the device-specific token to the target device by the cloud platform. And the target equipment calls the business support service of the software development package according to the special token of the equipment and supports the software development package through the business support service.
In this embodiment, a login method of a target device is provided, which is applied to the mobile terminal described above, and fig. 6 is a block diagram of a structure of a login apparatus of a target device according to an embodiment of the present invention (ii), where the process includes the following steps:
a second receiving module 60, configured to receive a first device list sent by the mobile terminal and located in a communication range of the mobile terminal;
a determining module 62, configured to determine a second device list from the first device list, where the devices indicated in the second device list all support wireless communication protocols;
a third receiving module 64, configured to receive a login request sent by a target device in the second device list through an access token corresponding to the mobile terminal, so as to implement a login operation of the target device according to the login request.
According to the invention, a first equipment list which is sent by a mobile terminal and is in a communication range of the mobile terminal is received; determining a second device list from the first device list, wherein the devices indicated in the second device list each support a wireless communication protocol; and receiving a login request sent by the target equipment in the second equipment list through the access token corresponding to the mobile terminal, so as to realize the login operation of the target equipment according to the login request. That is, the present invention may receive a first device list transmitted by a mobile terminal, which is within a communication range of the mobile terminal; determining a second device list from the first device list; and receiving a login request sent by the target equipment in the second equipment list through the access token corresponding to the mobile terminal, so as to realize the login operation of the target equipment according to the login request. Therefore, by adopting the technical scheme, the problems that the equipment login process is complex and the user needs to input the password in the related technology are solved, and the quick automatic login method of the intelligent equipment is provided.
Optionally, the communication range may specifically be a bluetooth communication range, and the wireless communication protocol may be a bluetooth communication protocol.
Optionally, the determining module 62 is further configured to receive a token replacement service request sent by the target device through the access token; and determining a device-specific token corresponding to the access token according to the token replacement service request, and sending the device-specific token to the target device.
In the embodiment of the present invention, in the method for replacing the access token with the device-specific token by the target device, the cloud platform is required to replace the access token with the device-specific token and send the device-specific token to the target device when receiving a token replacement service request sent by the target device. The device-specific token is used for the target device to call the business support service of the software development kit according to the device-specific token, and the software development kit is supported by the business support service.
Optionally, the determining module 62 is further configured to invoke a device filtering service; and filtering the intelligent equipment in the first equipment list through the equipment filtering service so as to determine a second equipment list from the first equipment list.
In the embodiment of the present invention, the cloud platform is added to provide a device filtering service, and a second device list can be determined from the first device list by performing a filtering operation on a target device in the first device list received from the target device through the device filtering service. And under the condition that the second equipment list is determined, the second equipment list is sent to the application end, and the application end can rapidly determine the target equipment through the second equipment list.
It should be noted that, the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in different processors in any combination.
Embodiments of the present invention also provide a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
Further, in the present embodiment, the above-mentioned storage medium may be configured to store a computer program for executing the steps of:
s1, acquiring a first device list in the communication range of the mobile terminal;
s2, sending the first device list to a cloud platform, where the first device list is used to instruct the cloud platform to determine a second device list from the first device list, and all devices indicated in the second device list support a wireless communication protocol;
and S3, receiving the second device list sent by the cloud platform, and sending an access token corresponding to the mobile terminal to a target device in the second device list, wherein the access token is used for indicating the target device to send a login request to the cloud platform through the access token, so as to realize login operation of the target device.
Further, in the present embodiment, the 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.
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.
Further, 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.
Further, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, acquiring a first device list in the communication range of the mobile terminal;
s2, sending the first device list to a cloud platform, where the first device list is used to instruct the cloud platform to determine a second device list from the first device list, and all devices indicated in the second device list support a wireless communication protocol;
and S3, receiving the second device list sent by the cloud platform, and sending an access token corresponding to the mobile terminal to a target device in the second device list, wherein the access token is used for indicating the target device to send a login request to the cloud platform through the access token, so as to realize login operation of the target device.
Further, in this embodiment, reference may be made to the examples described in the above embodiments and optional implementation manners for specific examples, and details of this embodiment are not repeated herein.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and further, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a 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 individual 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 login method of a target device, comprising:
acquiring a first device list in a communication range of a mobile terminal;
sending the first device list to a cloud platform, wherein the first device list is used for instructing the cloud platform to determine a second device list from the first device list, and all devices indicated in the second device list support a wireless communication protocol;
receiving the second device list sent by the cloud platform, and sending an access token corresponding to the mobile terminal to a target device in the second device list, wherein the access token is used for indicating the target device to send a login request to the cloud platform through the access token so as to realize login operation of the target device.
2. The target device login method of claim 1, wherein obtaining the first device list within the communication range of the mobile terminal comprises at least one of:
searching intelligent equipment in a communication range through a home local area network to obtain the first equipment list;
and searching intelligent equipment in the communication range through the mobile Internet to obtain the first equipment list.
3. The login method of the target device according to claim 1, wherein before receiving the second device list sent by the cloud platform, the method further comprises:
instructing the cloud platform to determine a second device list from the first device list by: calling equipment filtering service; and filtering the intelligent equipment in the first equipment list through the equipment filtering service so as to determine a second equipment list from the first equipment list.
4. The login method of a target device according to claim 1, wherein after sending the first device list to a cloud platform, the method further comprises:
and instructing the target device to send a token replacement service request to the cloud platform through the access token so that the target device replaces the access token with a device-specific token.
5. A login method of a target device, comprising:
receiving a first equipment list which is sent by a mobile terminal and is in a communication range of the mobile terminal;
determining a second device list from the first device list, wherein the devices indicated in the second device list each support a wireless communication protocol;
and receiving a login request sent by the target equipment in the second equipment list through the access token corresponding to the mobile terminal, so as to realize the login operation of the target equipment according to the login request.
6. The login method of a target device according to claim 5, wherein after determining the second device list from the first device list, the method further comprises:
receiving a token replacement service request sent by the target device through the access token;
and determining a device-specific token corresponding to the access token according to the token replacement service request, and sending the device-specific token to the target device.
7. The login method of a target device according to claim 5, wherein determining the second device list from the first device list comprises:
calling equipment filtering service;
and filtering the intelligent equipment in the first equipment list through the equipment filtering service so as to determine a second equipment list from the first equipment list.
8. A login apparatus of a target device, comprising:
the mobile terminal comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring a first equipment list in a communication range of the mobile terminal;
the sending module is used for sending the first device list to a cloud platform, wherein the first device list is used for indicating the cloud platform to determine a second device list from the first device list, and all devices indicated in the second device list support a wireless communication protocol;
the first receiving module is used for receiving the second equipment list sent by the cloud platform and sending an access token corresponding to the mobile terminal to target equipment in the second equipment list, wherein the access token is used for indicating the target equipment to send a login request to the cloud platform through the access token so as to realize login operation of the target equipment.
9. A computer-readable storage medium, comprising a stored program, wherein the program is operable to perform the method of any of claims 1 to 4 or the method of any of claims 5 to 7.
10. An electronic device comprising a memory and a processor, wherein the memory has stored therein a computer program, and wherein the processor is arranged to execute the method of any of claims 1 to 4, or the method of any of claims 5 to 7, by means of the computer program.
CN202110632555.8A 2021-06-07 2021-06-07 Target equipment login method and device, storage medium and electronic device Active CN113285810B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110632555.8A CN113285810B (en) 2021-06-07 2021-06-07 Target equipment login method and device, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110632555.8A CN113285810B (en) 2021-06-07 2021-06-07 Target equipment login method and device, storage medium and electronic device

Publications (2)

Publication Number Publication Date
CN113285810A true CN113285810A (en) 2021-08-20
CN113285810B CN113285810B (en) 2023-04-07

Family

ID=77283533

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110632555.8A Active CN113285810B (en) 2021-06-07 2021-06-07 Target equipment login method and device, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN113285810B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113747415A (en) * 2021-09-14 2021-12-03 青岛海尔科技有限公司 Connection method and device for wireless access point, storage medium and electronic device
CN114697359A (en) * 2022-03-04 2022-07-01 青岛海尔科技有限公司 Data collection method and device, storage medium and electronic device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120291114A1 (en) * 2011-05-13 2012-11-15 Cch Incorporated Single sign-on between applications
CN104079565A (en) * 2014-06-13 2014-10-01 小米科技有限责任公司 Authorization method and device
US20150121501A1 (en) * 2013-10-31 2015-04-30 Cellco Partnership D/B/A Verizon Wireless Connected authentication device using mobile single sign on credentials
WO2018113130A1 (en) * 2016-12-22 2018-06-28 华为技术有限公司 Application program authorization method, terminal, and server
CN109104722A (en) * 2018-07-27 2018-12-28 努比亚技术有限公司 Terminal access method, apparatus and computer readable storage medium
CN110149352A (en) * 2018-02-11 2019-08-20 腾讯科技(深圳)有限公司 A kind of service request processing method, device, computer equipment and storage medium
WO2020047710A1 (en) * 2018-09-03 2020-03-12 华为技术有限公司 Login method, token sending method, and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120291114A1 (en) * 2011-05-13 2012-11-15 Cch Incorporated Single sign-on between applications
US20150121501A1 (en) * 2013-10-31 2015-04-30 Cellco Partnership D/B/A Verizon Wireless Connected authentication device using mobile single sign on credentials
CN104079565A (en) * 2014-06-13 2014-10-01 小米科技有限责任公司 Authorization method and device
WO2018113130A1 (en) * 2016-12-22 2018-06-28 华为技术有限公司 Application program authorization method, terminal, and server
CN110149352A (en) * 2018-02-11 2019-08-20 腾讯科技(深圳)有限公司 A kind of service request processing method, device, computer equipment and storage medium
CN109104722A (en) * 2018-07-27 2018-12-28 努比亚技术有限公司 Terminal access method, apparatus and computer readable storage medium
WO2020047710A1 (en) * 2018-09-03 2020-03-12 华为技术有限公司 Login method, token sending method, and device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113747415A (en) * 2021-09-14 2021-12-03 青岛海尔科技有限公司 Connection method and device for wireless access point, storage medium and electronic device
CN113747415B (en) * 2021-09-14 2024-03-22 青岛海尔科技有限公司 Connection method and device of wireless access point, storage medium and electronic device
CN114697359A (en) * 2022-03-04 2022-07-01 青岛海尔科技有限公司 Data collection method and device, storage medium and electronic device
CN114697359B (en) * 2022-03-04 2024-03-22 青岛海尔科技有限公司 Data collection method and device, storage medium and electronic device

Also Published As

Publication number Publication date
CN113285810B (en) 2023-04-07

Similar Documents

Publication Publication Date Title
US11777916B2 (en) Wireless local area network WLAN access method, terminal, and server
CN113285810B (en) Target equipment login method and device, storage medium and electronic device
CN111885115B (en) Device binding changing method and device
CN109041140B (en) Method for rapidly switching wireless network, intelligent hardware and terminal equipment
CN108781473B (en) Method and equipment for sharing files among different terminals
US10901716B2 (en) Implicit file creation in APDU scripts
CN111885594A (en) Equipment binding method and device
CN107947985B (en) Equipment network access method and device, intelligent terminal, network access equipment and network access waiting equipment
CN109561002B (en) Voice control method and device for household electrical appliance
CN103517328A (en) Information processing apparatuses, information processing system and information processing method
CN108718457A (en) Network reselection method, device, chip and storage medium
CN112566078A (en) Device connection method and apparatus, storage medium, and electronic apparatus
JP2019514245A (en) Method and device for establishing an association between terminal devices
CN105050123A (en) Load control method for wireless network and terminal
CN111510995B (en) Wireless communication method and apparatus
CN114205378A (en) Network distribution method and device of Internet of things equipment, storage medium and electronic device
CN111385110B (en) Network management method and device
CN110650071B (en) Access management method and device of user equipment and management server
CN112738785A (en) Device connection method and apparatus, storage medium, and electronic apparatus
CN111786963B (en) Method and device for realizing communication process, storage medium and electronic device
US20170086232A1 (en) ProSe Information Transmission Method, Terminal, and Communications Device
CN113747415A (en) Connection method and device for wireless access point, storage medium and electronic device
CN113395744A (en) Equipment networking method and device, storage medium and electronic device
CN112188593A (en) Wireless configuration method and device, storage medium and electronic device
JP2024515008A (en) Electronic device and method for installing an embedded subscriber identity module profile in an electronic device - Patents.com

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant