CN111757422B - Equipment activation method and device, user terminal, equipment to be activated and storage medium - Google Patents

Equipment activation method and device, user terminal, equipment to be activated and storage medium Download PDF

Info

Publication number
CN111757422B
CN111757422B CN202010531697.0A CN202010531697A CN111757422B CN 111757422 B CN111757422 B CN 111757422B CN 202010531697 A CN202010531697 A CN 202010531697A CN 111757422 B CN111757422 B CN 111757422B
Authority
CN
China
Prior art keywords
activated
equipment
data channel
wireless network
bluetooth
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010531697.0A
Other languages
Chinese (zh)
Other versions
CN111757422A (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.)
Chongqing Huiye Iot Technology Co ltd
Original Assignee
Chongqing Huiye Iot Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chongqing Huiye Iot Technology Co ltd filed Critical Chongqing Huiye Iot Technology Co ltd
Priority to CN202010531697.0A priority Critical patent/CN111757422B/en
Publication of CN111757422A publication Critical patent/CN111757422A/en
Application granted granted Critical
Publication of CN111757422B publication Critical patent/CN111757422B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • 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/2807Exchanging configuration information on appliance services in a home automation network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1073Registration or de-registration
    • 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
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • 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
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Automation & Control Theory (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Multimedia (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention discloses a device activation method, a device, a user terminal, a device to be activated and a storage medium. The method comprises the following steps: scanning a two-dimensional code displayed on equipment to be activated, wherein the two-dimensional code comprises Bluetooth connection information; analyzing the two-dimension code, and establishing a Bluetooth data channel with the equipment to be activated; and sending wireless network account information and registration information to the equipment to be activated through the Bluetooth data channel so that the equipment to be activated is connected with a cloud server according to the wireless network account information and is activated and bound by using the registration information. According to the technical scheme of the embodiment of the invention, the wireless network account information and the registration information are transmitted to the equipment to be activated by using the Bluetooth technology, so that the equipment to be activated can be connected with the cloud server for activation and binding, and the convenience and the reliability of the equipment activation and binding are improved.

Description

Equipment activation method, device, user terminal, equipment to be activated and storage medium
Technical Field
The embodiment of the invention relates to the technical field of Internet of things, in particular to a device activation method and device, a user terminal, a device to be activated and a storage medium.
Background
In the world of everything interconnection, the internet of things equipment without a keyboard cannot be networked by manually inputting a wireless account and a password, so that the activation and binding functions of the equipment cannot be directly performed, and the function use is influenced.
Disclosure of Invention
The embodiment of the invention provides a device activation method, a device, a user terminal, a device to be activated and a storage medium, and aims to solve the technical problem that the Internet of things device without a keyboard cannot be networked by manually inputting a wireless account number and a password.
In a first aspect, an embodiment of the present invention provides an apparatus activation method, which is applied to a user terminal, and includes:
scanning a two-dimensional code displayed on equipment to be activated, wherein the two-dimensional code comprises Bluetooth connection information;
analyzing the two-dimensional code, and establishing a Bluetooth data channel with the equipment to be activated;
and sending wireless network account information and registration information to the equipment to be activated through the Bluetooth data channel so that the equipment to be activated is connected with a cloud server according to the wireless network account information and is activated and bound by using the registration information.
Optionally, the analyzing the two-dimensional code and establishing a bluetooth data channel with the device to be activated includes:
analyzing the two-dimension code, and checking whether the equipment to be activated corresponding to the two-dimension code meets a preset condition;
and if so, establishing a Bluetooth data channel with the equipment to be activated.
Optionally, the wireless network account information includes an account and a password of the wireless network; the registration information includes an authorized device number and a registration key acquired from a device authorization center.
In a second aspect, an embodiment of the present invention further provides an apparatus activation method, which is applied to an apparatus to be activated, and includes:
generating a two-dimensional code according to the Bluetooth name and the equipment number information and displaying the two-dimensional code;
receiving a request for establishing a Bluetooth data channel sent by a user terminal after scanning the two-dimensional code, and establishing the Bluetooth data channel with the user terminal;
receiving wireless network account information and registration information sent by the user terminal through the Bluetooth data channel;
establishing a wireless network data channel with a cloud server according to the wireless network account information;
and activating and binding the cloud server through the wireless network data channel based on the registration information.
Optionally, the wireless network account information includes an account and a password of the wireless network;
the activating and binding to the cloud server through the wireless network data channel based on the registration information includes:
sending the registration information to the cloud server through the wireless network data channel for activation request;
receiving an activation result fed back by the cloud server, and judging whether the registration information is bound with the cloud server;
if yes, the device activation is successful.
In a third aspect, an embodiment of the present invention further provides an apparatus for activating a device, which is applied to a user terminal, and includes:
the scanning unit is used for scanning a two-dimensional code displayed on the equipment to be activated, and the two-dimensional code comprises Bluetooth connection information;
the analysis unit is used for analyzing the two-dimension code and establishing a Bluetooth data channel with the equipment to be activated;
and the sending unit is used for sending wireless network account information and registration information to the equipment to be activated through the Bluetooth data channel so that the equipment to be activated is connected with a cloud server according to the wireless network account information and is activated and bound by using the registration information.
In a fourth aspect, an embodiment of the present invention further provides an apparatus for activating a device, which is applied to a device to be activated, and includes:
the display unit is used for generating and displaying the two-dimensional code according to the Bluetooth name and the equipment number information;
the Bluetooth unit is used for receiving a request for establishing a Bluetooth data channel sent by the user terminal after scanning the two-dimensional code and establishing the Bluetooth data channel with the user terminal;
the account unit is used for receiving wireless network account information and registration information sent by the user terminal through the Bluetooth data channel;
the wireless unit is used for establishing a wireless network data channel with a cloud server according to the wireless network account information;
and the binding unit is used for activating and binding the cloud server through the wireless network data channel based on the registration information.
In a fifth aspect, an embodiment of the present invention further provides a user terminal, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor, when executing the computer program, implements the device activation method described in any of the foregoing embodiments.
In a sixth aspect, an embodiment of the present invention further provides a device to be activated, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor executes the computer program to implement the device activation method in any of the foregoing embodiments.
In a seventh aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the device activation method in any one of the foregoing embodiments.
According to the technical scheme of the embodiment of the invention, the wireless network account information and the registration information are transmitted to the equipment to be activated by using the Bluetooth technology, so that the equipment to be activated can be connected with the cloud server for activation and binding, and the convenience and the reliability of the equipment activation and binding are improved.
Drawings
Fig. 1 is a flowchart illustrating a device activation method according to a first embodiment of the present invention;
fig. 2 is a flowchart illustrating a device activation method according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of an apparatus activation device according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of an apparatus activating device according to a fourth embodiment of the present invention;
fig. 5 is a schematic structural diagram of a user terminal in a fifth embodiment of the present invention;
fig. 6 is a schematic structural diagram of a device to be activated in a sixth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the steps as a sequential process, many of the steps can be performed in parallel, concurrently or simultaneously. In addition, the order of the steps may be rearranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
Furthermore, the terms "first," "second," and the like may be used herein to describe various orientations, actions, steps, elements, or the like, but the orientations, actions, steps, or elements are not limited by these terms. These terms are only used to distinguish one direction, action, step or element from another direction, action, step or element. For example, a first speed difference may be referred to as a second speed difference, and similarly, a second speed difference may be referred to as a first speed difference, without departing from the scope of the present application. The first speed difference and the second speed difference are both speed differences, but they are not the same speed difference. The terms "first", "second", etc. are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Example one
Fig. 1 is a flowchart illustrating a device activation method according to an embodiment of the present invention, where the embodiment of the present invention is applicable to a device activation situation. The method of the embodiment of the present invention may be performed by a device activation apparatus, which may be implemented by software and/or hardware, and may be generally integrated in a user terminal. Referring to fig. 1, a device activation method according to an embodiment of the present invention specifically includes the following steps:
step S110, scanning a two-dimensional code displayed on the equipment to be activated, wherein the two-dimensional code comprises Bluetooth connection information.
Specifically, the device to be activated may be various smart home devices such as a smart speaker, a smart watch, a router, a set-top box, a television, a smart camera, and a projector. For example, a device number and a key required by a batch of production are registered in a microsoft IOT center, the device number and the key are correspondingly imported into a factory for writing, a device to be activated has a bluetooth connection function, a bluetooth name is renamed according to the device number, the bluetooth name of the device is unique, connection with other devices is prevented, the bluetooth name and the device number information of the device are encrypted through an AES (advanced encryption standard) and subjected to CRC (cyclic redundancy check) check, a two-dimensional code is generated according to the bluetooth name and the device number information and displayed, the two-dimensional code comprises the bluetooth connection information, and a user terminal can scan the two-dimensional code displayed on the device to be activated by using a customized application program.
And step S120, analyzing the two-dimension code, and establishing a Bluetooth data channel with the equipment to be activated.
Specifically, the user terminal scans the two-dimensional code displayed on the equipment to be activated, analyzes the two-dimensional code, obtains the Bluetooth connection information of the equipment to be activated, and establishes a Bluetooth data channel with the equipment to be activated. As an optional embodiment, after the two-dimensional code is analyzed, whether the equipment to be activated corresponding to the two-dimensional code meets a preset condition is checked; and if so, establishing a Bluetooth data channel with the equipment to be activated. Specifically, the user terminal checks whether the corresponding device to be activated registers the device number and the key in the microsoft IOT center according to the bluetooth protocol defined between the client and the server, and if so, establishes a bluetooth data channel with the device to be activated.
Step S130, sending wireless network account information and registration information to the to-be-activated device through the Bluetooth data channel, so that the to-be-activated device is connected with a cloud server according to the wireless network account information and is activated and bound by using the registration information.
Specifically, the wireless network account information includes an account and a password of the wireless network, for example, a WiFi account, a password, and the like; the registration information includes an authorized device number obtained from a device authority and a registration key, such as a token to be activated. After a Bluetooth data channel is established between a user terminal and a device to be activated, a wireless network account, a password and a token to be activated are sent to the device to be activated through the Bluetooth data channel, after the device to be activated receives the token, a cloud server is connected according to the wireless network account and the password, the token, a device number and a current firmware version are sent to the cloud server to request activation, and after the device to be activated receives a bound token fed back by the cloud server, the device is indicated to be successfully activated, and the account token is obtained. The account token can be used for performing other functional operations with the cloud server, including unbinding, upgrading and the like. After the device activation account is bound, the device activation account can be directly connected to the IOT center according to the device number and the secret key written in from the factory, so that the application customized by the user terminal and the cloud server can directly control the device and push any data.
According to the technical scheme of the embodiment of the invention, the wireless network account information and the registration information are transmitted to the equipment to be activated by using the Bluetooth technology, so that the equipment to be activated can be connected with the cloud server for activation and binding, and the convenience and the reliability of the equipment activation and binding are improved.
Example two
Fig. 2 is a flowchart illustrating a device activation method according to a second embodiment of the present invention, where the second embodiment of the present invention is applicable to a device activation situation. The method of the embodiment of the present invention may be performed by a device activation apparatus, which may be implemented by software and/or hardware, and may be generally integrated in a device to be activated. Referring to fig. 2, a device activation method according to an embodiment of the present invention specifically includes the following steps:
and step S210, generating and displaying a two-dimensional code according to the Bluetooth name and the equipment number information.
Specifically, the to-be-activated equipment has a Bluetooth connection function, names of Bluetooth are renamed according to the equipment number, the Bluetooth names of the equipment are unique, other equipment is prevented from being connected, the Bluetooth names of the equipment and the equipment number information are encrypted through AES (advanced encryption standard), CRC (cyclic redundancy check) and the like, a two-dimensional code is generated and displayed according to the Bluetooth names and the equipment number information, the two-dimensional code comprises Bluetooth connection information, and the user terminal can scan the two-dimensional code displayed on the to-be-activated equipment by using a customized application program.
Step S220, receiving a request for establishing a Bluetooth data channel sent by the user terminal after scanning the two-dimensional code, and establishing the Bluetooth data channel with the user terminal.
Specifically, the user terminal scans the two-dimensional code displayed by the equipment to be activated, analyzes the two-dimensional code to obtain the Bluetooth connection information of the equipment to be activated, sends a request for establishing a Bluetooth data channel to the equipment to be activated, and after receiving the request, the equipment to be activated establishes the Bluetooth data channel with the user terminal.
Step S230, receiving the wireless network account information and the registration information sent by the user terminal through the bluetooth data channel.
Specifically, after a bluetooth data channel is established with a user terminal, wireless network account information and registration information sent by the user terminal through the bluetooth data channel are received, wherein the wireless network account information includes an account and a password of a wireless network, for example, a WiFi account, a password, and the like; the registration information includes an authorized device number obtained from a device authority and a registration key, such as a token to be activated.
Step S240, a wireless network data channel is established with the cloud server according to the wireless network account information.
Specifically, the device to be activated establishes a wireless network data channel with the cloud server by using the wireless network account and the password, for example, establishes WiFi connection with the cloud server by using a WiFi account and the password.
And step S250, activating and binding the cloud server through the wireless network data channel based on the registration information.
Specifically, after a wireless network data channel is established with a cloud server, the registration information is sent to the cloud server through the wireless network data channel to request activation; receiving an activation result fed back by the cloud server, and judging whether the registration information is bound with the cloud server; if yes, the equipment activation is successful. For example, the device to be activated sends the token, the device number and the current firmware version to the cloud server to request activation, and after receiving the bound token fed back by the cloud server, the device to be activated indicates that the device is successfully activated, and acquires the account token. If an error message is fed back, the activation fails, indicating that the token may be invalid or bound by other users. The account token can be used for performing other functional operations with the cloud server, including unbinding, upgrading and the like. After the device activation account is bound, the device activation account can be directly connected to the IOT center according to the device number and the secret key written in from the factory, so that the application customized by the user terminal and the cloud server can directly control the device and push any data.
According to the technical scheme of the embodiment of the invention, the wireless network account information and the registration information are transmitted to the equipment to be activated by using the Bluetooth technology, so that the equipment to be activated can be connected with the cloud server for activation and binding, and the convenience and the reliability of the equipment activation and binding are improved.
EXAMPLE III
The device activation apparatus provided in the embodiments of the present invention may execute a device activation method provided in any embodiment of the present invention, and has a functional module and a beneficial effect corresponding to the execution method. Fig. 3 is a schematic structural diagram of a device activation apparatus 300 according to a third embodiment of the present invention. Referring to fig. 3, an apparatus activation device 300 according to an embodiment of the present invention may specifically include:
the scanning unit 310 is configured to scan a two-dimensional code displayed on a device to be activated, where the two-dimensional code includes bluetooth connection information;
the analyzing unit 320 is configured to analyze the two-dimensional code and establish a bluetooth data channel with the device to be activated;
a sending unit 330, configured to send wireless network account information and registration information to the device to be activated through the bluetooth data channel, so that the device to be activated is connected to a cloud server according to the wireless network account information and is activated and bound by using the registration information.
Optionally, the analyzing unit 320 is further configured to analyze the two-dimensional code, and check whether the to-be-activated device corresponding to the two-dimensional code meets a preset condition; and if so, establishing a Bluetooth data channel with the equipment to be activated.
Optionally, the wireless network account information includes an account and a password of the wireless network; the registration information includes an authorized device number and a registration key acquired from a device authorization center.
According to the technical scheme of the embodiment of the invention, the wireless network account information and the registration information are transmitted to the equipment to be activated by using the Bluetooth technology, so that the equipment to be activated can be connected with the cloud server for activation and binding, and the convenience and the reliability of the equipment activation and binding are improved.
Example four
The device activation apparatus provided in the embodiment of the present invention may execute a device activation method provided in any embodiment of the present invention, and has a functional module and a beneficial effect corresponding to the execution method. Fig. 4 is a schematic structural diagram of an apparatus activation device 400 according to a fourth embodiment of the present invention. Referring to fig. 4, an apparatus activation device 400 according to an embodiment of the present invention may specifically include:
the display unit 410 is used for generating and displaying a two-dimensional code according to the Bluetooth name and the equipment number information;
a bluetooth unit 420, configured to receive a request for establishing a bluetooth data channel sent by a user terminal after scanning the two-dimensional code, and establish the bluetooth data channel with the user terminal;
an account unit 430, configured to receive wireless network account information and registration information sent by the user terminal through the bluetooth data channel;
the wireless unit 440 is configured to establish a wireless network data channel with a cloud server according to the wireless network account information;
a binding unit 450, configured to perform activation binding to the cloud server through the wireless network data channel based on the registration information.
Optionally, the wireless network account information includes an account and a password of the wireless network; the binding unit 450 is further configured to send the registration information to the cloud server through the wireless network data channel to request activation; receiving an activation result fed back by the cloud server, and judging whether the registration information is bound with the cloud server; if yes, the equipment activation is successful.
According to the technical scheme of the embodiment of the invention, the wireless network account information and the registration information are transmitted to the equipment to be activated by using the Bluetooth technology, so that the equipment to be activated can be connected with the cloud server for activation and binding, and the convenience and the reliability of the equipment activation and binding are improved.
EXAMPLE five
Fig. 5 is a schematic structural diagram of a user terminal according to a fifth embodiment of the present invention, as shown in fig. 5, the user terminal includes a processor 510, a memory 520, an input device 530, and an output device 540; the number of the processors 510 in the user terminal may be one or more, and one processor 510 is taken as an example in fig. 5; the processor 510, the memory 520, the input device 530 and the output device 540 in the user terminal may be connected by a bus or other means, and are exemplified by being connected by a bus in fig. 5.
Memory 520, which is a computer-readable storage medium, may be used to store software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the device activation method in the embodiment of the present invention (e.g., scanning unit 310, parsing unit 320, and sending unit 330 in device activation apparatus 300). The processor 510 executes various functional applications and data processing of the user terminal by executing software programs, instructions and modules stored in the memory 520, that is, implements the above-described device activation method.
Namely:
scanning a two-dimensional code displayed on equipment to be activated, wherein the two-dimensional code comprises Bluetooth connection information;
analyzing the two-dimension code, and establishing a Bluetooth data channel with the equipment to be activated;
and sending wireless network account information and registration information to the equipment to be activated through the Bluetooth data channel so that the equipment to be activated is connected with a cloud server according to the wireless network account information and is activated and bound by using the registration information.
Of course, the processor of the user terminal provided in the embodiment of the present invention is not limited to execute the method operations described above, and may also execute related operations in the device activation method provided in any embodiment of the present invention.
The memory 520 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory 520 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, memory 520 may further include memory located remotely from processor 510, which may be connected to a user terminal through 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 input device 530 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the user terminal. The output device 540 may include a display device such as a display screen.
According to the technical scheme of the embodiment of the invention, the wireless network account information and the registration information are transmitted to the equipment to be activated by using the Bluetooth technology, so that the equipment to be activated can be connected with the cloud server for activation and binding, and the convenience and the reliability of the equipment activation and binding are improved.
EXAMPLE six
Fig. 6 is a schematic structural diagram of a device to be activated according to a sixth embodiment of the present invention, as shown in fig. 6, the device to be activated includes a processor 610, a memory 620, an input device 630, and an output device 640; the number of the processors 610 in the device to be activated may be one or more, and one processor 610 is taken as an example in fig. 6; the processor 610, the memory 620, the input device 630 and the output device 640 in the device to be activated may be connected by a bus or other means, and fig. 6 illustrates the connection by a bus as an example.
The memory 620 serves as a computer-readable storage medium for storing software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the device activation method in the embodiment of the present invention (e.g., the presentation unit 410, the bluetooth unit 420, the account unit 430, the wireless unit 440, and the binding unit 450 in the device activation apparatus 400). The processor 610 executes various functional applications and data processing of the device to be activated by running software programs, instructions and modules stored in the memory 620, that is, implements the device activation method described above.
Namely:
generating a two-dimensional code according to the Bluetooth name and the equipment number information and displaying the two-dimensional code;
receiving a request for establishing a Bluetooth data channel sent by a user terminal after scanning the two-dimensional code, and establishing the Bluetooth data channel with the user terminal;
receiving wireless network account information and registration information sent by the user terminal through the Bluetooth data channel;
establishing a wireless network data channel with a cloud server according to the wireless network account information;
and activating and binding the cloud server through the wireless network data channel based on the registration information.
Of course, the processor of the device to be activated provided in the embodiment of the present invention is not limited to execute the method operations described above, and may also execute the relevant operations in the device activation method provided in any embodiment of the present invention.
The memory 620 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory 620 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, memory 620 may further include memory located remotely from processor 610, which may be connected to the device to be activated via 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 input means 630 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function controls of the device to be activated. The output device 640 may include a display device such as a display screen.
According to the technical scheme of the embodiment of the invention, the wireless network account information and the registration information are transmitted to the equipment to be activated by using the Bluetooth technology, so that the equipment to be activated can be connected with the cloud server for activation and binding, and the convenience and the reliability of the equipment activation and binding are improved.
EXAMPLE seven
An embodiment of the present invention further provides a storage medium containing computer-executable instructions, which when executed by a computer processor, perform a device activation method, including:
scanning a two-dimensional code displayed on equipment to be activated, wherein the two-dimensional code comprises Bluetooth connection information;
analyzing the two-dimension code, and establishing a Bluetooth data channel with the equipment to be activated;
and sending wireless network account information and registration information to the equipment to be activated through the Bluetooth data channel so that the equipment to be activated is connected with a cloud server according to the wireless network account information and is activated and bound by using the registration information.
Alternatively, the computer-executable instructions, when executed by a computer processor, are for performing another device activation method comprising:
generating a two-dimensional code according to the Bluetooth name and the equipment number information and displaying the two-dimensional code;
receiving a request for establishing a Bluetooth data channel sent by a user terminal after scanning the two-dimensional code, and establishing the Bluetooth data channel with the user terminal;
receiving wireless network account information and registration information sent by the user terminal through the Bluetooth data channel;
establishing a wireless network data channel with a cloud server according to the wireless network account information;
and activating and binding the cloud server through the wireless network data channel based on the registration information.
Of course, the storage medium provided by the embodiment of the present invention contains computer-executable instructions, and the computer-executable instructions are not limited to the operations of the method described above, and may also perform related operations in the device activation method provided by any embodiment of the present invention.
The computer-readable storage media of embodiments of the invention may take any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or terminal. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
According to the technical scheme of the embodiment of the invention, the wireless network account information and the registration information are transmitted to the equipment to be activated by using the Bluetooth technology, so that the equipment to be activated can be connected with the cloud server for activation and binding, and the convenience and the reliability of the equipment activation and binding are improved.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (9)

1. A device activation method is applied to a user terminal, and is characterized by comprising the following steps:
scanning a two-dimensional code displayed on equipment to be activated, wherein the two-dimensional code comprises Bluetooth connection information;
analyzing the two-dimension code, and establishing a Bluetooth data channel with the equipment to be activated;
sending wireless network account information and registration information to the to-be-activated device through the Bluetooth data channel, so that the to-be-activated device is connected with a cloud server according to the wireless network account information and is activated and bound by using the registration information;
wherein, the analyzing the two-dimensional code and establishing a bluetooth data channel with the device to be activated includes:
analyzing the two-dimension code, and checking whether the equipment to be activated corresponding to the two-dimension code meets a preset condition;
if yes, establishing a Bluetooth data channel with the equipment to be activated;
the preset condition is that the equipment to be activated registers an equipment number and a key in a Microsoft IOT center.
2. The device activation method according to claim 1, wherein the wireless network account information includes an account number, a password of the wireless network; the registration information includes an authorized device number and a registration key obtained from a device authorization center.
3. A device activation method is applied to a device to be activated, and is characterized by comprising the following steps:
generating a two-dimensional code according to the Bluetooth name and the equipment number information and displaying the two-dimensional code;
receiving a request for establishing a Bluetooth data channel sent by a user terminal after scanning the two-dimensional code, and establishing the Bluetooth data channel with the user terminal;
receiving wireless network account information and registration information sent by the user terminal through the Bluetooth data channel;
establishing a wireless network data channel with a cloud server according to the wireless network account information;
activating and binding to the cloud server through the wireless network data channel based on the registration information;
the request for establishing the Bluetooth data channel is sent by analyzing the two-dimension code through the user terminal and checking whether the equipment to be activated corresponding to the two-dimension code meets a preset condition or not;
the preset condition is that the equipment to be activated registers an equipment number and a key in a Microsoft IOT center.
4. The device activation method according to claim 3, wherein the wireless network account information includes an account number, a password of the wireless network;
the activating and binding to the cloud server through the wireless network data channel based on the registration information includes:
sending the registration information to the cloud server through the wireless network data channel for activation request;
receiving an activation result fed back by the cloud server, and judging whether the registration information is bound with the cloud server;
if yes, the equipment activation is successful.
5. An apparatus for activating a device, applied to a user terminal, comprising:
the scanning unit is used for scanning a two-dimensional code displayed on the equipment to be activated, and the two-dimensional code comprises Bluetooth connection information;
the analysis unit is used for analyzing the two-dimension code and establishing a Bluetooth data channel with the equipment to be activated;
the transmitting unit is used for transmitting wireless network account information and registration information to the equipment to be activated through the Bluetooth data channel so that the equipment to be activated is connected with a cloud server according to the wireless network account information and is activated and bound by using the registration information;
the analysis unit is further used for analyzing the two-dimensional code and checking whether the equipment to be activated corresponding to the two-dimensional code meets a preset condition; if yes, establishing a Bluetooth data channel with the equipment to be activated; the preset condition is that the equipment to be activated registers an equipment number and a secret key in a Microsoft IOT center.
6. A device activation device applied to a device to be activated is characterized by comprising:
the display unit is used for generating and displaying the two-dimensional code according to the Bluetooth name and the equipment number information;
the Bluetooth unit is used for receiving a request for establishing a Bluetooth data channel sent by the user terminal after scanning the two-dimensional code and establishing the Bluetooth data channel with the user terminal;
the account unit is used for receiving wireless network account information and registration information sent by the user terminal through the Bluetooth data channel;
the wireless unit is used for establishing a wireless network data channel with a cloud server according to the wireless network account information;
the binding unit is used for carrying out activation binding on the cloud server through the wireless network data channel based on the registration information;
the request for establishing the Bluetooth data channel is sent by analyzing the two-dimension code through the user terminal and checking whether the equipment to be activated corresponding to the two-dimension code meets a preset condition or not; the preset condition is that the equipment to be activated registers an equipment number and a secret key in a Microsoft IOT center.
7. A user terminal comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the device activation method according to any of claims 1-2 when executing the computer program.
8. A device to be activated comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the device activation method according to any of claims 3-4 when executing the computer program.
9. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out a device activation method according to any one of claims 1-2 or a device activation method according to any one of claims 3-4.
CN202010531697.0A 2020-06-11 2020-06-11 Equipment activation method and device, user terminal, equipment to be activated and storage medium Active CN111757422B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010531697.0A CN111757422B (en) 2020-06-11 2020-06-11 Equipment activation method and device, user terminal, equipment to be activated and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010531697.0A CN111757422B (en) 2020-06-11 2020-06-11 Equipment activation method and device, user terminal, equipment to be activated and storage medium

Publications (2)

Publication Number Publication Date
CN111757422A CN111757422A (en) 2020-10-09
CN111757422B true CN111757422B (en) 2022-09-16

Family

ID=72675091

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010531697.0A Active CN111757422B (en) 2020-06-11 2020-06-11 Equipment activation method and device, user terminal, equipment to be activated and storage medium

Country Status (1)

Country Link
CN (1) CN111757422B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113115435B (en) * 2021-03-12 2022-11-11 武汉慧联无限科技有限公司 Activation processing method, device, equipment and storage medium
CN113468506B (en) * 2021-06-30 2024-04-02 百度在线网络技术(北京)有限公司 Method, device, equipment and storage medium for activating equipment
CN114554522B (en) * 2022-01-29 2023-12-19 青岛海尔科技有限公司 Equipment control method and device, electronic equipment and medium
CN115865539B (en) * 2023-03-03 2023-06-09 新云网科技集团股份有限公司 Security binding method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104796265A (en) * 2015-05-06 2015-07-22 厦门大学 Internet-of-things identity authentication method based on Bluetooth communication access
CN105592409A (en) * 2016-03-23 2016-05-18 北京清川科技有限公司 Bluetooth-based WI-FI connection and communication method and system
US10382203B1 (en) * 2016-11-22 2019-08-13 Amazon Technologies, Inc. Associating applications with Internet-of-things (IoT) devices using three-way handshake
CN110635901A (en) * 2019-09-11 2019-12-31 北京方研矩行科技有限公司 Local Bluetooth dynamic authentication method and system for Internet of things equipment
CN111162975A (en) * 2019-12-19 2020-05-15 华为技术有限公司 Method for managing intelligent equipment, mobile terminal and communication system

Family Cites Families (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104302014A (en) * 2014-09-11 2015-01-21 小米科技有限责任公司 Method and device for connecting terminal with Wi-Fi hotspot
CN104243576A (en) * 2014-09-11 2014-12-24 深圳万物新生科技有限公司 Intelligent home system and user terminal and device terminal binding method of intelligent home system
CN104936304B (en) * 2015-06-01 2018-09-18 小米科技有限责任公司 Smart machine binding method, smart machine and server
CN105100067B (en) * 2015-06-26 2018-09-18 上海庆科信息技术有限公司 A kind of high in the clouds Activiation method and system
CN106358186A (en) * 2015-07-15 2017-01-25 中兴通讯股份有限公司 Method for controlling access to WIFI (wireless fidelity) network and intelligent terminal
US10470063B2 (en) * 2015-10-30 2019-11-05 Afero, Inc. Apparatus and method for capturing, manipulating, and analyzing wireless network traffic
CN105553931B (en) * 2015-11-27 2018-09-21 深圳市美贝壳科技有限公司 A kind of method that mobile phone is quickly activated, bound with domestic intelligent equipment
CN105722012B (en) * 2016-02-02 2020-08-11 腾讯科技(深圳)有限公司 Method for connecting communication equipment, terminal equipment and server system
CN106161154A (en) * 2016-06-30 2016-11-23 无锡小天鹅股份有限公司 The distribution method of household electrical appliance, system and distribution module
CN106604266A (en) * 2016-12-06 2017-04-26 深圳市晟天维科技有限公司 Intelligent equipment system connection method, intelligent equipment and intelligent equipment access system
GB201704636D0 (en) * 2017-03-23 2017-05-10 Asio Ltd A method and system for authenticating a device
CN108881228B (en) * 2018-06-20 2021-05-04 上海庆科信息技术有限公司 Cloud registration activation method, device, equipment and storage medium
CN108834226A (en) * 2018-06-25 2018-11-16 深圳市智能体科技有限公司 A kind of method and system of smart machine binding
CN109525976A (en) * 2018-12-05 2019-03-26 深圳创维数字技术有限公司 With network method, system and readable storage medium storing program for executing
CN109921943A (en) * 2019-03-19 2019-06-21 维沃移动通信有限公司 One kind matching network method and terminal
CN110708709A (en) * 2019-09-18 2020-01-17 深圳拓邦股份有限公司 Terminal networking and binding method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104796265A (en) * 2015-05-06 2015-07-22 厦门大学 Internet-of-things identity authentication method based on Bluetooth communication access
CN105592409A (en) * 2016-03-23 2016-05-18 北京清川科技有限公司 Bluetooth-based WI-FI connection and communication method and system
US10382203B1 (en) * 2016-11-22 2019-08-13 Amazon Technologies, Inc. Associating applications with Internet-of-things (IoT) devices using three-way handshake
CN110635901A (en) * 2019-09-11 2019-12-31 北京方研矩行科技有限公司 Local Bluetooth dynamic authentication method and system for Internet of things equipment
CN111162975A (en) * 2019-12-19 2020-05-15 华为技术有限公司 Method for managing intelligent equipment, mobile terminal and communication system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"Bluetooth: a viable solution for IoT";Kuor-Hsin Chang;《 IEEE Wireless Communications》;20141231;全文 *
东辉 ; 唐景然 ; 于东兴."物联网通信技术的发展现状及趋势综述".《通信技术》.2014,全文. *

Also Published As

Publication number Publication date
CN111757422A (en) 2020-10-09

Similar Documents

Publication Publication Date Title
CN111757422B (en) Equipment activation method and device, user terminal, equipment to be activated and storage medium
CN111639319B (en) User resource authorization method, device and computer readable storage medium
CN109598115B (en) Method, device, equipment, system, platform and medium for realizing authorized login
US20110150266A1 (en) Automated security control using encoded security information
CN108810896B (en) Connection authentication method and device of wireless access point
CN113271296B (en) Login authority management method and device
US11064361B2 (en) Electronic device binding method, electronic device, mobile terminal and server
CN109510754B (en) Online document generation method, device and system and electronic equipment
CN109800557B (en) Block chain-based integrated processing method, device, server, equipment and medium
CN109815666B (en) Identity authentication method and device based on FIDO protocol, storage medium and electronic equipment
CN111249740A (en) Resource data access method and system
CN112560003A (en) User authority management method and device
CN111241518B (en) User authentication method, device, equipment and medium
CN114979048B (en) Identity verification method, system, electronic device and medium based on instant messaging
CN112448917B (en) Website login method and device, readable medium and electronic equipment
CN110417784B (en) Authorization method and device of access control equipment
US20240177200A1 (en) Business service interaction method and apparatus, device, and storage medium
CN111935138B (en) Protection method and device for secure login and electronic equipment
CN114860360A (en) Login page generation method and device and electronic equipment
CN114245161B (en) Live broadcast push method and device, storage medium and electronic equipment
CN113660100B (en) Method, system and electronic equipment for generating soft token seed
CN110910536A (en) Control method of intelligent door lock, related device and storage medium
US20100071045A1 (en) Information Processing Apparatus and Information Processing Method
CN114697137B (en) Application program login method, device, equipment and storage medium
CN112231648A (en) Information transmission method and device, electronic equipment and storage medium

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
CB02 Change of applicant information

Address after: 400030 No. 6, No. 4, comprehensive security road, Shapingba District, Chongqing.

Applicant after: Chongqing Huiye IOT Technology Co.,Ltd.

Address before: 400030 No. 6, No. 4, comprehensive security road, Shapingba District, Chongqing.

Applicant before: Chongqing Huiye Communication Technology Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant