CN115529574A - Bluetooth pairing processing method, electric equipment, terminal and server - Google Patents

Bluetooth pairing processing method, electric equipment, terminal and server Download PDF

Info

Publication number
CN115529574A
CN115529574A CN202110636078.2A CN202110636078A CN115529574A CN 115529574 A CN115529574 A CN 115529574A CN 202110636078 A CN202110636078 A CN 202110636078A CN 115529574 A CN115529574 A CN 115529574A
Authority
CN
China
Prior art keywords
terminal
bluetooth
server
information
equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110636078.2A
Other languages
Chinese (zh)
Inventor
陈柏仰
霍伟明
陈奕荣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
GD Midea Air Conditioning Equipment Co Ltd
Foshan Shunde Midea Electric Science and Technology Co Ltd
Original Assignee
GD Midea Air Conditioning Equipment Co Ltd
Foshan Shunde Midea Electric Science and 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 GD Midea Air Conditioning Equipment Co Ltd, Foshan Shunde Midea Electric Science and Technology Co Ltd filed Critical GD Midea Air Conditioning Equipment Co Ltd
Priority to CN202110636078.2A priority Critical patent/CN115529574A/en
Priority to PCT/CN2022/082313 priority patent/WO2022257544A1/en
Publication of CN115529574A publication Critical patent/CN115529574A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/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
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers
    • 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)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the application discloses a Bluetooth pairing processing method, electrical equipment, a terminal and a server, and the method applied to the side of the electrical equipment comprises the following steps: starting a Bluetooth hotspot of the electrical equipment, and receiving a Bluetooth connection request of a first terminal; establishing Bluetooth connection with a first terminal according to the Bluetooth connection request; and sending notification information of the Bluetooth connection to the server, wherein the notification information comprises information of the first terminal, so that the server sends notification information about the Bluetooth connection state of the electric equipment to the second terminal when the second terminal cannot establish the Bluetooth connection with the electric equipment. According to the embodiment, the electric equipment can be timely informed of other terminals after being connected with the terminal, so that a user can timely know the situation when the user can not be connected with the electric equipment through the terminal in a Bluetooth mode, the use experience of the user is improved, and the probability of complaints is reduced.

Description

Bluetooth pairing processing method, electric equipment, terminal and server
Technical Field
The embodiment of the application relates to the field of electrical equipment, in particular to a Bluetooth pairing processing method, electrical equipment, a terminal and a server.
Background
The current digital remote controller adopts a BLE low-power consumption Bluetooth scheme, only one-to-one pairing can be realized, and broadcasting cannot be sent out after successful pairing, so that other equipment cannot be discovered and connected.
Since the devices are in a non-discoverable state after being paired, if one mobile phone is connected to the home, other mobile phones cannot be discovered, and if the user does not know the mechanism or cannot find another mobile phone in time to disconnect, the user may complain and the user experience is reduced.
Disclosure of Invention
The embodiment of the application mainly aims to provide a Bluetooth pairing processing method, electric equipment, a terminal and a server, and aims to solve the technical problems that in an existing Bluetooth pairing scheme, only one-to-one pairing is performed on the basis of low-power-consumption Bluetooth, the electric equipment is in an undiscoverable state after being paired, and user experience is seriously reduced.
In order to achieve the above object, an embodiment of the present application provides a bluetooth pairing processing method, which can be applied to an electrical device side; the method may include:
starting a Bluetooth hotspot of the electric appliance equipment, and receiving a Bluetooth connection request sent by any one first terminal;
establishing Bluetooth connection with the first terminal according to the Bluetooth connection request;
sending notification information that bluetooth is connected to a preset server, wherein the notification information may include: the server sends notification information to the second terminal when any second terminal cannot establish Bluetooth connection with the electric equipment; the notification information may include: current bluetooth connection status information of the electrical device.
In an exemplary embodiment of the present application, the first information may include: the server is used for receiving a first account ID (identity) corresponding to a first account registered by the first terminal on the server, and/or a first Bluetooth MAC (media access control) address corresponding to the first terminal.
In an exemplary embodiment of the present application, the method may further include:
before establishing the bluetooth connection with the first terminal according to the bluetooth connection request, the first terminal may be authenticated and the bluetooth connection may be established with the first terminal after the authentication is successful.
In an exemplary embodiment of the present application, the method may further include:
after the first authentication with the first terminal is successful and the bluetooth connection is established, the device information of the electric device can be sent to the first terminal, so that the first terminal can send the device information to the server, and the server establishes a binding relationship between a first account registered on the server by the first terminal and the electric device according to the device information.
In an exemplary embodiment of the present application, the device information may include: the unique identification mark corresponding to the electric equipment and/or the second Bluetooth MAC address.
In an exemplary embodiment of the present application, the method may further include:
during the bluetooth connection with the first terminal, the server may receive a disconnection command sent by the server, and disconnect the bluetooth connection with the first terminal according to the disconnection command.
In an exemplary embodiment of the present application, the method may further include:
before the Bluetooth connection between the first terminal and the second terminal is disconnected according to the disconnection command, the first terminal can be sent out relevant disconnection prompt information;
after the bluetooth connection with the first terminal is disconnected according to the disconnection command, it may report to the server that the bluetooth connection state of the electrical device is an idle state.
The embodiment of the present application further provides an electrical device, which may include a first processor and a first computer-readable storage medium, where the first computer-readable storage medium may store a first instruction, and the first instruction is executed by the first processor, so that any one of the above processing methods for bluetooth pairing on the electrical device side may be implemented.
The embodiment of the application also provides a Bluetooth pairing processing method which can be applied to a terminal side; the method may include:
detecting a first control operation on a terminal, and starting to scan a Bluetooth hotspot sent by electrical equipment according to the first control operation;
when the Bluetooth hotspot is scanned, displaying a first identifier on a terminal interface; sending out a Bluetooth connection request to the electric equipment, and establishing Bluetooth connection with the electric equipment;
when the Bluetooth hotspot of the electrical equipment is not scanned, displaying a second identifier on the terminal interface; the preset server can be requested to inquire the current Bluetooth connection state of the electric equipment, and the notification information returned by the server is displayed on a terminal interface; the notification information may include: information about the current bluetooth connection status of the electrical device.
In an exemplary embodiment of the present application, the requesting the preset server to query the current bluetooth connection status of the electrical device may include:
and initiating an inquiry request aiming at the current Bluetooth connection state of the electric equipment to the server, and sending equipment information about the electric equipment to the server so that the server can inquire the current Bluetooth connection state information of the electric equipment according to the equipment information.
In an exemplary embodiment of the present application, before starting to scan the bluetooth hotspot of the electrical device according to the first control operation, the method may further include: and registering an account on the server through a preset platform on the terminal interface.
In an exemplary embodiment of the present application, the notification information may further include: information of the related terminal which has performed bluetooth connection with the electric appliance;
the information of the terminal may include: the account ID of the registered account registered on the server, and/or the bluetooth MAC address of the terminal.
In an exemplary embodiment of the present application, the method may further include:
before establishing Bluetooth connection with the electric equipment, the electric equipment is authenticated, so that the Bluetooth connection with the electric equipment can be established after the authentication is successful.
In an exemplary embodiment of the present application, the method may further include:
after the authentication with the electric equipment is successfully carried out for the first time and the Bluetooth connection is established, equipment information about the electric equipment, which is sent by the electric equipment, can be obtained and displayed on a terminal interface;
and detecting a second control operation on the terminal and sending the equipment information to the server according to the second control operation, so that the server can establish a binding relationship between the account number registered on the server by the terminal and the electric equipment.
In an exemplary embodiment of the present application, the device information may include: the unique identification of the electrical equipment and/or the second Bluetooth MAC address.
In an exemplary embodiment of the present application, the notification information may be a message that the electric device has established a bluetooth connection; the method may further comprise:
acquiring the self equipment information of the electrical equipment input through the terminal interface;
and detecting a third control operation executed on the terminal, and sending a disconnection request and equipment information of the electric equipment to the server according to the third control operation, wherein the disconnection request can be used for requesting the electric equipment to disconnect the Bluetooth connection in the current connection state.
In an exemplary embodiment of the present application, after transmitting the disconnection request and the device information of the electrical device to the server according to the third control operation, the method may further include:
receiving the information on the Bluetooth connection state of the electric equipment returned by the server, and displaying the information on the terminal interface;
under the condition that the Bluetooth connection state of the electric equipment is in an idle state, a first control operation executed on a terminal can be detected, and a Bluetooth hotspot sent by the electric equipment is scanned according to the first control operation; alternatively, the information of the idle state is transmitted to another terminal (a terminal waiting for connection with the electric appliance) so that the other terminal attempts bluetooth connection with the electric appliance.
The embodiment of the present application further provides a terminal, which may include a second processor and a second computer-readable storage medium, where the second computer-readable storage medium may store a second instruction, and when the second instruction is executed by the second processor, the method for processing bluetooth pairing at a terminal side may be implemented as any one of the above-mentioned methods.
The embodiment of the application also provides a Bluetooth pairing processing method which can be applied to a server side; the method may include:
receiving notification information sent by the electric appliance, wherein the notification information can comprise information that the electric appliance has established Bluetooth connection with any first terminal and first information about the first terminal;
receiving an inquiry request sent by any second terminal which does not scan a bluetooth hotspot sent by the electrical equipment and equipment information of the electrical equipment, inquiring the current bluetooth connection state of the electrical equipment according to the inquiry request and the equipment information, and sending notification information to the second terminal, wherein the notification information may include: information about bluetooth connection status of the electrical device.
In an exemplary embodiment of the present application, the method may further include:
before receiving first information about the first terminal, receiving a first registration request sent by the first terminal, and displaying an account registration interface to the first terminal according to the first registration request, so that the first terminal can register a first account through the account registration interface;
and/or the presence of a gas in the gas,
before receiving an inquiry request sent by any second terminal which does not scan a Bluetooth hotspot sent by the electric equipment and equipment information of the electric equipment, receiving a second registration request sent by the second terminal, and displaying an account registration interface to the second terminal according to the second registration request, so that the second terminal can register a second account through the account registration interface.
In an exemplary embodiment of the present application, the method may further include:
before first information corresponding to a first terminal is received, equipment information of the electric equipment sent by the first terminal is received, and a binding relation is established between the electric equipment and the first account according to the equipment information;
and/or the presence of a gas in the atmosphere,
before receiving an inquiry request and the device information sent by any second terminal which does not scan the bluetooth hotspot sent by the electric device, the device information sent by the second terminal about the electric device itself can be received, and the electric device and the second account are established into a binding relationship according to the device information.
In an exemplary embodiment of the present application, the method may further include:
receiving a disconnection request sent by a second terminal and equipment information of the electric equipment; the disconnection request may be for requesting the appliance device to disconnect the connected bluetooth connection;
and inquiring corresponding electrical equipment according to the equipment information, and sending a disconnection command to the inquired electrical equipment according to the disconnection request.
In an exemplary embodiment of the present application, after issuing a disconnection command to the queried electrical device according to the disconnection request, the method may further include:
receiving the current Bluetooth connection state of the electrical equipment reported by the electrical equipment;
when the current bluetooth connection state of the electrical equipment is the idle state, the information that the electrical equipment is in the idle state can be sent to the second terminal.
The embodiment of the present application further provides a server, which may include a third processor and a third computer-readable storage medium, where the third computer-readable storage medium stores a third instruction, and the third instruction is executed by the third processor, so that any one of the above methods for processing bluetooth pairing on the server side may be implemented.
The Bluetooth pairing processing method can be applied to an electric appliance side; the method may include: starting a Bluetooth hotspot of the electric appliance equipment, and receiving a Bluetooth connection request sent by any one first terminal; establishing a Bluetooth connection with the first terminal according to the Bluetooth connection request; sending notification information that the Bluetooth is connected to a preset server, wherein the notification information may include first information corresponding to the first terminal, so that when any one of the second terminals fails to establish Bluetooth connection with the electric device, the server may send notification information to the second terminal; the notification information may include: current bluetooth connection status information of the electrical device. According to the embodiment, after the Bluetooth connection is established between the electric equipment and the first terminal, the notification information that the Bluetooth is connected is sent to the preset server, so that when any second terminal cannot establish the Bluetooth connection with the electric equipment, the notification information containing the current Bluetooth connection state information of the electric equipment can be sent to the second terminal by the server, and the fact that the electric equipment can timely notify other terminals after being connected with one terminal is achieved, so that a user can timely know the situation when the user cannot perform the Bluetooth connection with the electric equipment through the terminal, the use experience of the user is improved, and the probability of being complained is reduced.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the description below are only some embodiments of the present application, and it is also possible for those skilled in the art to obtain other drawings based on the structures shown in the drawings without creative efforts.
Fig. 1 is a flowchart of a bluetooth pairing processing method on an electrical device side according to an embodiment of the present application;
fig. 2 is a schematic diagram of a bluetooth pairing processing method according to an embodiment of the present application;
FIG. 3 is a block diagram of an electrical apparatus according to an embodiment of the present application;
fig. 4 is a flowchart of a bluetooth pairing processing method at a terminal side according to an embodiment of the present application;
FIG. 5 is a terminal composition block diagram according to an embodiment of the present application;
fig. 6 is a flowchart of a bluetooth pairing processing method at a server side according to an embodiment of the present application;
FIG. 7 is a block diagram of a server according to an embodiment of the present application;
fig. 8 is a schematic diagram of another bluetooth pairing processing method according to the embodiment of the present application.
The reference numbers illustrate:
Figure BDA0003105757780000061
Figure BDA0003105757780000071
the implementation, functional features and advantages of the objects of the embodiments of the present application will be further described with reference to the accompanying drawings.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without any creative effort belong to the protection scope of the embodiments in the present application.
It should be noted that all directional indicators (such as up, down, left, right, front, back \8230;) in the embodiments of the present application are only used to explain the relative positional relationship between the components, the motion situation, etc. in a specific posture (as shown in the drawings), and if the specific posture is changed, the directional indicator is changed accordingly.
In addition, descriptions such as references to "first", "second", and the like in the embodiments of the present application are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the embodiments of the present application, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
In the embodiments of the present application, unless otherwise explicitly stated or limited, the terms "connected", "fixed", and the like are to be broadly construed, and for example, "fixed" may be fixedly connected, detachably connected, or integrated; can be mechanically or electrically connected; they may be directly connected or indirectly connected through intervening media, or they may be connected internally or in any other suitable relationship, unless expressly stated otherwise. Specific meanings of the above terms in the embodiments of the present application can be understood by those of ordinary skill in the art according to specific situations.
In addition, technical solutions in various embodiments of the present application may be combined with each other, but it must be based on the realization of the technical solutions by a person skilled in the art, and when the technical solutions are contradictory to each other or cannot be realized, such a combination of technical solutions should not be considered to exist, and is not within the protection scope claimed in the embodiments of the present application.
The embodiment of the application provides a Bluetooth pairing processing method which can be applied to an electric appliance side; as shown in fig. 1 and fig. 2, the method may include steps S101 to S103:
s101, starting a Bluetooth hotspot of the electric appliance equipment, and receiving a Bluetooth connection request sent by any one first terminal;
s102, establishing Bluetooth connection with a first terminal according to the Bluetooth connection request;
s103, sending notification information that Bluetooth is connected to a preset server, wherein the notification information may include first information corresponding to a first terminal, so that when any one second terminal cannot establish Bluetooth connection with the electric device, the server can send notification information to the second terminal; the notification information may include, but is not limited to: current bluetooth connection status information of the electrical device.
BLE: bluetooth Low Energy (or Bluetooth LE, BLE, old trademark Bluetooth Smart) is also called Bluetooth Low Energy, is a personal area network technology designed and sold by Bluetooth technical alliance, and is intended to be used for emerging applications in the fields of medical care, sports fitness, beacons, security, home entertainment and the like. Bluetooth low energy is intended to significantly reduce power consumption and cost while maintaining equivalent communication range compared to classical bluetooth.
Pairing BLE: the terminal (such as a mobile device) finds the air conditioner Bluetooth information by scanning Bluetooth broadcast (such as a Bluetooth hotspot), establishes connection with the Bluetooth of the electric appliance device and keeps a communication state.
Based on the above advantages of the BLE Bluetooth low energy scheme, the BLE Bluetooth low energy scheme is widely applied to electrical equipment at present, but because the BLE Bluetooth low energy scheme can only be paired one to one, the broadcast can not be sent out after the pairing is successful, and a Bluetooth hotspot is not generated any more, so that other terminals and the electrical equipment can not discover and connect the current electrical equipment. And the situation can not be known by the user, so that the user can not normally connect when trying to establish connection with the current electrical equipment by adopting other terminals or electrical equipment, the user suspects the fault of the current electrical equipment, and the user experience is reduced.
In the exemplary embodiment of the application, a processing scheme related to bluetooth pairing is provided based on the above problem, notification information that bluetooth is connected can be sent to a preset server after an electrical apparatus establishes bluetooth connection with an arbitrary first terminal, so that when an arbitrary second terminal cannot establish bluetooth connection with the electrical apparatus, notification information including bluetooth connection state information of the electrical apparatus can be sent to the second terminal by the server, and it is achieved that the electrical apparatus can timely notify other terminals after establishing connection with one terminal, so that a user can timely know the situation when the user cannot perform bluetooth connection with the electrical apparatus through the terminal, and the use experience of the user is improved, thereby reducing the probability of being complained.
In the exemplary embodiments of the present application, the electric device may be any form of electric device capable of using bluetooth, and may include, but is not limited to, home appliances, industrial appliances, such as an air conditioner, a refrigerator, a washing machine, and the like.
In exemplary embodiments of the present application, the terminals (which may include a first terminal and a second terminal) may include, but are not limited to: a mobile phone, a computer, a tablet, a microprocessor, a smart wearable device (e.g., a smart watch, a bracelet, a necklace, glasses, a ring, a helmet, etc.), and the like.
In an exemplary embodiment of the present application, the first terminal may refer to any terminal that establishes a bluetooth connection with the electrical device, and the second terminal may refer to any terminal that wants to establish a bluetooth connection with the electrical device but fails to search for a bluetooth hot spot of the electrical device.
In an exemplary embodiment of the present application, after the electrical device establishes a bluetooth connection with any one of the first terminals, the first information of the currently connected first terminal may be sent to the server, so as to inform the server which first terminal the bluetooth connection is currently established with.
In an exemplary embodiment of the present application, the first information may include, but is not limited to: the server is used for receiving a first account ID (identity) corresponding to a first account registered by the first terminal on the server, and/or a first Bluetooth MAC (media access control) address corresponding to the first terminal.
In an exemplary embodiment of the present application, the method may further include:
before establishing the bluetooth connection with the first terminal according to the bluetooth connection request, the first terminal may be authenticated first, and the bluetooth connection may be established with the first terminal after the authentication is successful.
In the exemplary embodiment of the present application, the specific authentication scheme may be implemented by any one or more existing authentication methods, and the specific authentication scheme is not limited herein.
In an exemplary embodiment of the present application, the method may further include:
after the first authentication with the first terminal is successful and the bluetooth connection is established, the device information of the electric device can be sent to the first terminal, so that the first terminal can send the device information to the server, and the server establishes a binding relationship between a first account registered on the server by the first terminal and the electric device according to the device information.
In the exemplary embodiment of the present application, any terminal (including the first terminal and the second terminal) that wants to establish a bluetooth connection with the electrical device may register and establish a corresponding account in a preset server in advance, for example, the first terminal may register and establish the first account in the server, and the second terminal may register and establish the second account in the server.
In the exemplary embodiment of the present application, the server may be a hardware server or a cloud server, where a specific implementation manner of the server is not limited, and a specific number of the servers is not limited.
In an exemplary embodiment of the application, after establishing a first account in a server, a first terminal may scan a bluetooth hotspot around to search for bluetooth of an electrical device that wants to connect, and after scanning the bluetooth of the electrical device that wants to connect, may authenticate with the electrical device, and after the authentication is successful, establish bluetooth connection with the electrical device; and the first terminal sends the equipment information of the electric equipment to the server, so that the server binds the first account with the current electric equipment according to the equipment information.
In an exemplary embodiment of the application, the second terminal may also scan a peripheral bluetooth hotspot after establishing the second account in the server to search for bluetooth of the electrical device that wants to connect, and may authenticate with the electrical device after scanning the bluetooth of the electrical device that wants to connect, and establish bluetooth connection with the electrical device after the authentication is successful; and the second terminal sends the equipment information of the electric equipment to the server, so that the server binds the second account with the current electric equipment according to the equipment information.
In an exemplary embodiment of the present application, the device information may include, but is not limited to: the unique identification mark corresponding to the electric equipment and/or the second Bluetooth MAC address.
In an exemplary embodiment of the present application, the unique identification of the electrical device may be implemented in any one or more of the following forms: characters, codes, patterns, geometric figures, irregular lines and the like.
In an exemplary embodiment of the present application, the unique identification may be, for example, an SN code, which is an abbreviation of Serial Number, also referred to as SerialNo, i.e., a product Serial Number.
In the exemplary embodiment of the present application, the unique identification may be any form of identification code such as a bar code, a two-dimensional code, a three-dimensional code, and the like.
In an exemplary embodiment of the present application, the method may further include:
in the process of bluetooth connection with the first terminal, the server may receive a disconnection command sent by the server, and disconnect the bluetooth connection with the first terminal according to the disconnection command.
In the exemplary embodiment of the application, if the bluetooth of the current electrical equipment (such as a home air conditioner of a user) is occupied by other electrical equipment or terminals, and an account cannot be bound through the bluetooth for a new registered account, for example, a mobile phone of the user cannot be bound with a home air conditioner after the account is registered on a server, so that the use of the user is affected, and the user experience is reduced.
In an exemplary embodiment of the present application, the server may transmit a disconnection command to the current electrical device according to the disconnection request transmitted by the third terminal, and the current electrical device may disconnect the bluetooth connection with the first terminal according to the disconnection command.
In an exemplary embodiment of the present application, the third terminal may send an instruction to the server when the third terminal determines that the first terminal is unreliable or the first terminal needs to be disconnected, and the server sends a disconnection command for disconnecting the bluetooth connection to the current electrical device according to the instruction.
In an exemplary embodiment of the present application, the method may further include:
before the Bluetooth connection between the first terminal and the second terminal is disconnected according to the disconnection command, the first terminal can be sent out relevant disconnection prompt information;
after the bluetooth connection with the first terminal is disconnected according to the disconnection command, the bluetooth connection state of the electrical equipment itself can be reported to the server as an idle state.
In an exemplary embodiment of the present application, when the electrical device disconnects the bluetooth connection with the first terminal, it may be determined whether to send the prompt message to the first terminal according to a determination result of the third terminal on the first terminal. For example, if the third terminal determines that the first terminal is an unreliable terminal (e.g., an illegal connector or a connector incapable of identifying identity), the third terminal may directly reflect to the server that the first terminal is an unreliable terminal, the server may feed back information that the first terminal is an unreliable terminal to the current electrical equipment, and the current electrical equipment may directly disconnect the bluetooth connection with the first terminal without any prompt information, and may pull the first terminal into a blacklist, and refuse to perform bluetooth connection with the first terminal again. On the contrary, if the third terminal determines that the first terminal is a reliable terminal (e.g., a mobile phone of a user's family), the third terminal may directly reflect to the server that the first terminal is a reliable terminal, the server may feed back information that the first terminal is a reliable terminal to the current electrical equipment, the current electrical equipment may send prompt information to the first terminal before disconnecting the bluetooth connection with the first terminal, and may pull the first terminal into a white list, and when the current electrical equipment is in an idle state, the first terminal may establish the bluetooth connection with the first terminal again when sending the connection request to the current electrical equipment again.
In an exemplary embodiment of the present application, the third terminal may be a terminal of a friend or a family of the user, or may also be a terminal of an after-sales service provider, and in short, the terminal must be a reliable terminal that is trusted by the user, has an account registered in the server, and is bound to the electrical device.
In the exemplary embodiment of the present application, for example, if the bluetooth of the air conditioner in the user's home is occupied by other electrical devices or terminals, and therefore the account cannot be bound by the bluetooth for a new registered account of the user, the device currently occupying the bluetooth may be queried by the mobile phone to which the user is bound, and the bluetooth connection may be disconnected.
In the exemplary embodiment of the application, for example, if the bluetooth of the air conditioner in the home of the user is occupied by other electrical equipment or terminals, and therefore the new registered account of the user cannot be bound by the bluetooth, the user does not have a bound account to inquire, and can dial the after-sales service, and the server can communicate with the electrical equipment or terminal bound to the air conditioner through the after-sales service, so that the server checks the electrical equipment or terminal occupying the bluetooth hot spot of the air conditioner of the user, and the server issues a disconnection command to the air conditioner of the user, thereby remotely solving the after-sales problem, improving the problem solving efficiency, and improving the user experience.
The embodiment of the present application further provides an electrical apparatus 1, as shown in fig. 3, which may include a first processor 11, a first computer-readable storage medium 12, and a first bluetooth module 13, where the first computer-readable storage medium 12 may store a first instruction, and when the first instruction is executed by the first processor 11, any one of the above-mentioned processing methods for bluetooth pairing on the electrical apparatus side may be implemented.
In the exemplary embodiment of the present application, any embodiment of the foregoing bluetooth pairing processing method applied to the electrical apparatus side may be applied to the embodiment of the electrical apparatus, and details are not repeated here.
The embodiment of the present application further provides a bluetooth pairing processing method, as shown in fig. 4, which may be applied to a terminal side; the method may comprise steps S201-S203:
s201, detecting a first control operation executed on a terminal, and starting to scan a Bluetooth hotspot sent by electrical equipment according to the first control operation;
s202, when the Bluetooth hotspot is scanned, displaying a first identifier on a terminal interface; sending a Bluetooth connection request to the electric equipment, and establishing Bluetooth connection with the electric equipment;
s203, when the Bluetooth hotspot sent by the electric equipment is not scanned, a second identifier can be displayed on the terminal interface; the preset server can be requested to inquire the current Bluetooth connection state of the electric appliance equipment, and the notification information returned by the server is displayed on a terminal interface; the notification message may include, but is not limited to: information about the current bluetooth connection status of the electrical device.
In exemplary embodiments of the present application, the terminal may include, but is not limited to: a mobile phone, a computer, a tablet, a microprocessor, a smart wearable device (e.g., a smart watch, a bracelet, a necklace, glasses, a ring, a helmet, etc.), and the like.
In the exemplary embodiments of the present application, the first identifier and the second identifier may be defined according to needs or hobbies, for example, any sound, light, shadow, figure, and combination thereof, and the specific form, number, and position of the first identifier and the second identifier are not limited in detail herein.
In the exemplary embodiment of the present application, the first control operation may be an operation for a terminal interface, or an operation for setting a key on a terminal, and a specific implementation manner of the first control operation is not limited herein. When the first control operation is an operation for the terminal interface, a corresponding operation window may be provided on the terminal interface, for example, an operation window provided by a preset platform for performing bluetooth connection with the electrical device.
In an exemplary embodiment of the present application, the preset platform may include, but is not limited to: brand web pages, brand APPs, weChat applets, and the like.
In an exemplary embodiment of the present application, before starting to scan the bluetooth hotspot issued by the electrical device according to the first control operation, the method may further include: and registering an account number on the server.
In an exemplary embodiment of the application, the account may be registered in the server through a preset platform on the terminal interface.
In the exemplary embodiment of the present application, any terminal (e.g., the first terminal and the second terminal) that wants to establish a bluetooth connection with the electrical device may register and establish a corresponding account in a preset server in advance, for example, the first terminal may register and establish the first account in the server, and the second terminal may register and establish the second account in the server.
In an exemplary embodiment of the present application, the method may further include:
after the authentication with the electric equipment is successful for the first time and the Bluetooth connection is established, the equipment information which is sent by the electric equipment and is about the electric equipment per se can be obtained and can be displayed on the terminal interface;
the second control operation on the terminal can be detected, and the device information is sent to the server according to the second control operation, so that the server can establish a binding relationship between the account number registered on the server by the terminal and the electric appliance device.
In the exemplary embodiment of the present application, the second control operation may be an operation for a terminal interface, or an operation for setting a key on a terminal, and a specific implementation manner of the second control operation is not limited herein. When the second control operation is an operation for the terminal interface, a corresponding operation window may be provided on the terminal interface, for example, an operation window provided by a preset platform for bluetooth connection with the electrical device.
In the exemplary embodiment of the present application, any terminal (e.g., the first terminal and the second terminal) that wants to establish a bluetooth connection with the electrical device may register and establish a corresponding account in a preset server in advance, for example, the first terminal may register and establish the first account in the server, and the second terminal may register and establish the second account in the server.
In the exemplary embodiment of the present application, the server may be a hardware server or a cloud server, where a specific implementation manner of the server is not limited, and a specific number of the servers is not limited.
In an exemplary embodiment of the application, after establishing corresponding account numbers (e.g., a first account number and a second account number) in a server, any terminal (e.g., a first terminal and a second terminal) may scan surrounding bluetooth hotspots to search for bluetooth of an electrical device that wants to be connected, and after scanning the bluetooth hotspot sent by the electrical device that wants to be linked, may authenticate with the electrical device, and after the authentication is successful, establish bluetooth connection with the electrical device; and the terminal sends the equipment information of the electric equipment to the server, so that the server binds the registered account with the current electric equipment according to the equipment information.
In an exemplary embodiment of the application, after a terminal has registered on a server, a corresponding account is established, and the account is bound to one or more electric devices, when the terminal wants to establish a bluetooth connection with any bound electric device, a bluetooth hotspot sent by the electric device may be scanned, and a corresponding operation may be executed according to a scanning result.
In the exemplary embodiment of the present application, when the terminal scans the bluetooth hotspot sent by the electrical device, it indicates that the electrical device is not currently in bluetooth connection with the terminal, and therefore, a bluetooth connection request may be initiated to the electrical device to establish bluetooth connection with the electrical device.
In an exemplary embodiment of the present application, the method may further include:
before establishing the bluetooth connection with the electrical equipment, the bluetooth connection can be firstly authenticated with the electrical equipment, and can be established with the electrical equipment after the authentication is successful.
In the exemplary embodiment of the present application, the specific authentication scheme may be implemented by any one or more currently existing authentication methods, and the specific authentication scheme is not limited herein.
In an exemplary embodiment of the present application, after the electrical device establishes a bluetooth connection with any one of the terminals (e.g., the first terminal), first information of the currently connected first terminal (e.g., an account ID corresponding to a first account already registered on the server and/or a first bluetooth MAC address of the first terminal) may be sent to the server, so as to inform the server of which first terminal the bluetooth connection is currently established with.
In the exemplary embodiment of the present application, when the terminal does not scan a bluetooth hotspot sent by the electrical device, it indicates that the current electrical device has bluetooth connection with the terminal, or the electrical device has a fault, and therefore, an inquiry request may be initiated to a preset server to inquire the current bluetooth connection state of the electrical device through the server.
In an exemplary embodiment of the application, the requesting a preset server to query the current bluetooth connection state of the electrical device may include:
and initiating an inquiry request aiming at the current Bluetooth connection state of the electric equipment to the server, and sending the equipment information of the electric equipment to the server, so that the server can inquire the current Bluetooth connection state information of the electric equipment according to the equipment information.
In an exemplary embodiment of the present application, the device information may include, but is not limited to: the unique identification of the electrical equipment, and/or the second bluetooth MAC address.
In an exemplary embodiment of the present application, the unique identification of the electrical device may be implemented in any one or more of the following forms: characters, codes, patterns, geometric figures, irregular lines and the like.
In an exemplary embodiment of the present application, the unique identification may be, for example, an SN code, which is an abbreviation of Serial Number, also referred to as SerialNo, i.e., a product Serial Number.
In an exemplary embodiment of the present application, the unique identification may be any form of identification code such as a bar code, a two-dimensional code, a three-dimensional code, and the like.
In an exemplary embodiment of the application, after determining that the current terminal is a registered terminal, the server may first query a corresponding electrical device according to device information of one electrical device sent by the terminal, and further query a binding condition between the current terminal and the electrical device (i.e., a binding condition between an account registered in the server by the current terminal and the electrical device). When the current terminal is not bound with the electric equipment, the server can inform that the current terminal is not bound with the electric equipment and does not have the right to inquire the Bluetooth connection condition of the electric equipment. When the current terminal is bound to the electrical device, the server may query a bluetooth connection status of the electrical device, and send notification information to the current terminal after obtaining the query result, where the notification information may include the query result (i.e., the bluetooth connection status of the electrical device, for example, the electrical device XX has performed bluetooth connection).
In an exemplary embodiment of the present application, the notification information may further include: information of related terminals connected with the electric equipment through Bluetooth;
the information of the terminal may include: the account ID of the registered account registered on the server, and/or the bluetooth MAC address of the terminal.
In an exemplary embodiment of the present application, in order to further improve the user experience, information of a terminal to which the electric device is currently connected may be further included in the notification information, for example, the electric device XX has made a bluetooth connection with the terminal XXX.
In the exemplary embodiment of the application, if the bluetooth of the current electrical device (such as a home air conditioner of a user) is occupied by other electrical devices or terminals, which may cause that a new registered account cannot be bound to an account through the bluetooth, for example, a mobile phone of the user cannot be bound to an air conditioner of the user after the account is registered in a server, thereby affecting the use of the user, and reducing the use experience of the user. In an exemplary embodiment of the present application, when the notification information is information that the electrical device has established a bluetooth connection; the method may further comprise:
acquiring equipment information which is input by the terminal interface and is about the electrical equipment per se;
detecting a third control operation executed on the terminal, and sending a disconnection request and equipment information of the electrical equipment to the server according to the third control operation; the disconnection request may be for requesting the appliance to disconnect the current bluetooth connection.
In the exemplary embodiment of the present application, the third control operation may be an operation on a terminal interface, or an operation on a button provided on the terminal, and a specific implementation manner of the third control operation is not limited herein. When the third control operation is an operation for the terminal interface, a corresponding operation window may be provided on the terminal interface, for example, an operation window provided by a preset platform for performing bluetooth connection with the electrical device.
In an exemplary embodiment of the application, if the current terminal receives the notification information indicating that the electrical device has established a bluetooth connection, the current terminal (for example, the second terminal) has registered an account in the server in advance, and the registered account is bound to the electrical device, the second terminal may directly send a disconnection request to the server, and send device information of the current electrical device, so that the server queries the electrical device to be disconnected through the device information, and sends a disconnection command to the electrical device according to the disconnection request, so that the current electrical device disconnects the bluetooth connection.
In an exemplary embodiment of the application, if a current terminal (e.g., a fourth terminal) does not register an account on a server in advance and a registered account is not bound to an electrical device, the fourth terminal may retain information (e.g., a mobile phone number, an MAC address, and the like) of at least one terminal (e.g., a third terminal) which has registered an account on the server in advance and bound to the electrical device, and send information to the third terminal, so as to directly send a disconnection request to the server through the third terminal and send device information of the current electrical device, so that the server queries an electrical device to be disconnected through the device information, and send a disconnection command to the electrical device according to the disconnection request, so that the current electrical device disconnects bluetooth.
In an exemplary embodiment of the application, the second terminal or the third terminal may send an instruction to the server in advance when the third terminal determines that the first terminal is unreliable or the first terminal needs to be disconnected, and the server may send a disconnection command for disconnecting the bluetooth connection to the current electrical device according to the instruction, so that the current electrical device disconnects the bluetooth connection.
In an exemplary embodiment of the present application, after issuing a disconnection request and device information of the electrical device itself to the server according to the third control operation, the method may further include:
receiving the information which is returned by the server and relates to the current Bluetooth connection state of the electric equipment, and displaying the information on a terminal interface;
when the Bluetooth connection state of the electric equipment is in an idle state, a first control operation executed on the terminal can be detected, and a Bluetooth hotspot sent by the electric equipment can be scanned according to the first control operation; alternatively, the information in the idle state is transmitted to another terminal (a terminal waiting for connection with the electric appliance) so that the other terminal attempts bluetooth connection with the electric appliance.
In an exemplary embodiment of the application, after a disconnection request is sent to a server by a second terminal (a terminal which has registered an account and is bound with an electrical device, wants to perform bluetooth connection with the electrical device, and cannot scan a bluetooth hotspot) or a third terminal (a terminal which has registered an account and is bound with an electrical device, does not want to perform bluetooth connection with the electrical device, and is requested by a fourth terminal to help communicate with the server to disconnect a current bluetooth connection), the server inquires the electrical device to be disconnected through device information, and sends a disconnection command to the electrical device according to the disconnection request, so that the current electrical device disconnects the bluetooth connection. After the current electric appliance device has disconnected the bluetooth connection with the connected first terminal, the bluetooth connection state information of the current electric appliance device, such as an idle state, may be returned to the server. The server may send the idle state to the second terminal or the third terminal, and may display the idle state on a terminal interface of the second terminal or the third terminal, so as to feed back a disconnection request sent by the second terminal or the third terminal.
In the exemplary embodiment of the present application, after the second terminal knows the information of the idle state, the second terminal may directly detect the first control operation (operation for controlling the terminal to start bluetooth hot spot scanning) on itself again, and start to scan the bluetooth hot spot of the electrical apparatus according to the detected first control operation, so as to retry the bluetooth connection with the electrical apparatus.
In an exemplary embodiment of the application, after the third terminal learns the information of the idle state, the third terminal may send the information of the idle state to a terminal requesting help from the third terminal (for example, a fourth terminal, where the terminal does not register an account number or is not bound to the electrical device, and such a terminal cannot request the server to disconnect the bluetooth connection of the electrical device), so that the fourth terminal directly detects the first control operation on the fourth terminal again (for controlling the terminal to start bluetooth hotspot scanning), and starts scanning the bluetooth hotspot of the electrical device according to the detected first control operation, so as to retry the bluetooth connection with the electrical device.
The embodiment of the present application further provides a terminal 2, as shown in fig. 5, which may include a second processor 21, a second computer-readable storage medium 22, and a second bluetooth module 23, where the second computer-readable storage medium 22 may store a second instruction, and when the second instruction is executed by the second processor 21, the bluetooth pairing processing method at the terminal side may be implemented as any one of the above-mentioned methods.
In the exemplary embodiment of the present application, any embodiment of the foregoing bluetooth pairing processing method applied to the terminal side may be applied to the terminal embodiment, and details are not repeated herein.
The embodiment of the present application further provides a bluetooth pairing processing method, as shown in fig. 6, which may be applied to a server side; the method may comprise steps S301-S302:
s301, receiving notification information sent by the electric equipment, wherein the notification information can include but is not limited to information that the electric equipment has established Bluetooth connection with any first terminal and first information corresponding to the first terminal;
s302, receiving an inquiry request sent by any second terminal that does not scan a bluetooth hotspot sent by the electrical apparatus and the apparatus information of the electrical apparatus itself, and inquiring a current bluetooth connection status of the electrical apparatus according to the inquiry request and the apparatus information, and sending notification information to the second terminal, where the notification information may include, but is not limited to: information about the current bluetooth connection status of the electrical device.
In the exemplary embodiment of the present application, any terminal (e.g., the first terminal and the second terminal) that wants to establish a bluetooth connection with the electrical device may register and establish a corresponding account in a preset server in advance, for example, the first terminal may register and establish a first account in the server, and the second terminal may register and establish a second account in the server.
In an exemplary embodiment of the present application, the method may further include:
before first information corresponding to the first terminal is received, a first registration request sent by the first terminal may be received, and an account registration interface may be presented to the first terminal according to the first registration request, so that the first terminal may register the first account through the account registration interface.
In an exemplary embodiment of the present application, the method may further include:
before receiving an inquiry request sent by any second terminal of the Bluetooth hotspot sent by the electric appliance equipment and equipment information of the electric appliance equipment, the second terminal receives a second registration request sent by the second terminal, and displays an account registration interface to the second terminal according to the second registration request, so that the second terminal can register a second account through the account registration interface.
In the exemplary embodiment of the present application, the server may be a hardware server or a cloud server, where a specific implementation manner of the server is not limited, and a specific number of the servers is not limited.
In an exemplary embodiment of the present application, the device information may include, but is not limited to: the unique identification of the electrical equipment, and/or the second bluetooth MAC address.
In an exemplary embodiment of the present application, the unique identification of the electrical device may be implemented in any one or more of the following forms: characters, codes, patterns, geometric figures, irregular lines and the like.
In an exemplary embodiment of the present application, the unique identification may be, for example, an SN code, which is an abbreviation of Serial Number, also referred to as SerialNo, i.e., a product Serial Number.
In the exemplary embodiment of the present application, the unique identification may be any form of identification code such as a bar code, a two-dimensional code, a three-dimensional code, and the like.
In an exemplary embodiment of the application, after determining that the current terminal is a registered terminal, the server may first query a corresponding electrical device according to device information of one electrical device sent by the terminal, and further query a binding condition between the current terminal and the electrical device (i.e., a binding condition between an account registered in the server by the current terminal and the electrical device). When the current terminal is not bound with the electric equipment, the server can inform that the current terminal is not bound with the electric equipment and does not have the right to inquire the Bluetooth connection condition of the electric equipment. When the current terminal is bound to the electrical apparatus, the server may query a bluetooth connection status of the electrical apparatus, and send notification information to the current terminal after obtaining the query result, where the notification information may include the query result (that is, the bluetooth connection status of the electrical apparatus, for example, the electrical apparatus XX has performed bluetooth connection).
In the exemplary embodiment of the present application, the notification information may further include, but is not limited to: information of related terminals connected with the electric equipment through Bluetooth;
the first information corresponding to the terminal may include, but is not limited to: the account ID of the registered account registered on the server, and/or the bluetooth MAC address of the terminal.
In an exemplary embodiment of the present application, the method may further include:
before first information corresponding to a first terminal is received, equipment information of the electric equipment sent by the first terminal is received, and a binding relationship is established between the electric equipment and the first account according to the equipment information.
In an exemplary embodiment of the present application, the method may further include:
before receiving an inquiry request and the device information sent by any second terminal which does not scan the bluetooth hotspot sent by the electric device, the device information sent by the second terminal about the electric device itself can be received, and the electric device and the second account are established into a binding relationship according to the device information.
In an exemplary embodiment of the present application, after establishing corresponding account numbers (e.g., a first account number and a second account number) in a server, any terminal (e.g., a first terminal and a second terminal) may scan surrounding bluetooth hotspots to search for bluetooth of an electrical device that wants to be connected, and after scanning bluetooth of the electrical device that wants to be linked, may authenticate with the electrical device, and establish bluetooth connection with the electrical device after the authentication is successful; and the terminal sends the equipment information of the electric equipment to the server, so that the server binds the registered account with the current electric equipment according to the equipment information.
In the exemplary embodiment of the application, after the server queries the bluetooth connection state of the electrical equipment, when sending the notification message to the second terminal, the notification message may be sent to the second terminal in one or more manners such as a mobile phone short message, a WeChat message, a preset platform reminding message, an applet message, and an email, where a specific sending manner is not limited, and any communication manner capable of sending the notification message may be used.
In an exemplary embodiment of the present application, the method may further include:
receiving a disconnection request sent by a second terminal and equipment information of the electric equipment; the disconnection request may be for requesting the electric device to disconnect an already connected bluetooth connection;
and inquiring corresponding electrical equipment according to the equipment information, and sending a disconnection command to the inquired electrical equipment according to the disconnection request.
In the exemplary embodiment of the application, the scheme realizes remote control and flexible control of Bluetooth connection of the electric equipment, and improves user experience.
In an exemplary embodiment of the present application, after issuing a disconnection command to the queried electrical device according to the disconnection request, the method may further include:
receiving the current Bluetooth connection state of the electrical equipment reported by the electrical equipment;
when the current bluetooth connection state of the electrical apparatus is the idle state, the information that the electrical apparatus is in the idle state may be sent to the second terminal.
In the exemplary embodiment of the application, the server feeds back the information that the electrical equipment is in the idle state to the terminal in time, so that a reliable terminal needing to establish the bluetooth connection with the electrical equipment can establish the bluetooth connection with the electrical equipment in time.
The embodiment of the present application further provides a server 3, as shown in fig. 7, which may include a third processor 31 and a third computer-readable storage medium 32, where the third computer-readable storage medium 32 stores third instructions, and when the third instructions are executed by the third processor 31, the method for bluetooth pairing on the server side may be implemented.
In the exemplary embodiment of the present application, any embodiment of the foregoing bluetooth pairing processing method applied to the server side may be applied to the server embodiment, and details are not repeated here.
In an exemplary embodiment of the present application, as shown in fig. 2, an embodiment of the present application is given below by taking a scheme of sending notification information to a server when an air conditioner and a mobile phone perform bluetooth connection as an example, and a related process may include steps 1 to 8:
1. after the mobile phone A registers the server account A, scanning surrounding Bluetooth hotspots, and successfully connecting with the air conditioner authentication;
2. the mobile phone A sends the SN bar code and the Bluetooth MAC address of the air conditioner to a server to establish a binding relationship with the account A;
3. after the mobile phone B registers the server account B, scanning surrounding Bluetooth hotspots, and successfully connecting with the air conditioner authentication;
4. the mobile phone B sends the SN bar code and the Bluetooth MAC address of the air conditioner to a server to establish a binding relationship with the account A;
5. the mobile phone B is connected with the air conditioner Bluetooth in a matching way;
6. the air conditioner reports an ID of an account of the access mobile phone B (if the ID of the third-party software connection account can be null), a Bluetooth MAC address of the mobile phone, and informs a server that Bluetooth is connected;
7. the mobile phone A finds that a Bluetooth hotspot cannot be found, and reports an SN bar code and a Bluetooth MAC address of the air conditioner to inquire the Bluetooth connection state of the air conditioner;
8. the server returns pairing information of the air conditioner and the mobile phone B, and the pairing information can comprise an account ID of the mobile phone B and a Bluetooth MAC address of the mobile phone B.
In the exemplary embodiment of the application, a small program interface can be provided to prompt a user that the current pairing condition of the air conditioning equipment, such as that the bluetooth is idle and connectable, or that the bluetooth is paired with the mobile equipment, so that the use experience of the user is improved, and complaints caused by mistaken product problems when the user cannot find bluetooth hotspots are avoided.
In an exemplary embodiment of the present application, as shown in fig. 8, taking a scheme that an air conditioner sends notification information to a server when a bluetooth connection is made with a mobile phone, and another terminal requests to disconnect the bluetooth connection as an example, another embodiment of the present application is given, and a related process may include steps 01 to 08:
001. after the mobile phone A registers the account number of the server, scanning surrounding Bluetooth hotspots, and successfully connecting with the air conditioner authentication;
002. the mobile phone A sends the SN bar code of the air conditioner and the Bluetooth MAC address to a server to establish a binding relationship with the account A;
003. the mobile phone C is connected with the air conditioner Bluetooth hotspot, so that the Bluetooth hotspot disappears;
004. the air conditioner reports an ID of an account C of the access mobile phone (if the ID of the account C of the third-party software connection can be null), and the MAC address of the mobile phone Bluetooth informs the server that the Bluetooth is connected;
005. a user of a mobile phone B registers an account of a server, intends to connect with an air conditioner Bluetooth binding account, but cannot find a Bluetooth hotspot;
006. the mobile phone A reports the Bluetooth connection state of the air conditioner SN bar code and the Bluetooth MAC address inquiry equipment;
007. the server returns pairing information of the air conditioner and the mobile phone C, wherein the pairing information comprises an account ID of the mobile phone C and a Bluetooth MAC address of the mobile phone;
008. the mobile phone A sends SN bar code information of the air conditioner to the server to request to disconnect the connection between the Bluetooth and other mobile phones;
009. the server issues an instruction to inform the air conditioner to actively disconnect the Bluetooth and simultaneously issues an account number A ID requesting disconnection;
010. the air conditioner Bluetooth sends the account ID of the A to the mobile phone C, informs the mobile phone C that the Bluetooth is required to be disconnected due to the request of the A, and disconnects the Bluetooth after sending;
011. reporting the Bluetooth of the server to be in an idle state;
012. the server informs the mobile phone A that the air conditioner Bluetooth is disconnected, the mobile phone A is in an idle state, and the mobile phone B can bind the air conditioner to the account at the moment.
The above description is only a preferred embodiment of the present application, and is not intended to limit the scope of the present application, and all modifications, equivalents, and other related technical fields that are made by using the contents of the specification and drawings of the present application or are directly/indirectly applied to other related technical fields are included in the scope of the present application.

Claims (17)

1. A Bluetooth pairing processing method is characterized by being applied to an electrical equipment side; the method comprises the following steps:
the Bluetooth hotspot is started, and a Bluetooth connection request sent by any first terminal is received;
establishing Bluetooth connection with the first terminal according to the Bluetooth connection request;
sending notification information that Bluetooth is connected to a preset server, wherein the notification information comprises: the first information of the first terminal is used for the server to send notification information to a second terminal which cannot establish Bluetooth connection with the electric appliance equipment; the notification information includes: bluetooth connection state information of the electrical equipment.
2. The bluetooth pairing process method of claim 1, wherein the method further comprises:
and before the Bluetooth connection is established with the first terminal according to the Bluetooth connection request, authenticating with the first terminal to establish the Bluetooth connection with the first terminal after the authentication is successful.
3. The bluetooth pairing process method as claimed in claim 2, wherein the method further comprises:
after the first authentication with the first terminal is successful and the Bluetooth connection is established, sending own equipment information to the first terminal, so that the first terminal sends the equipment information to the server, and the server establishes a binding relationship between a first account registered on the server by the first terminal and the electric equipment according to the equipment information.
4. The bluetooth pairing process method of any one of claims 1 to 3, wherein the method further comprises:
and receiving a disconnection command sent by the server during the Bluetooth connection with the first terminal, and disconnecting the Bluetooth connection with the first terminal according to the disconnection command.
5. The bluetooth pairing process method of claim 4, wherein the method further comprises:
before the Bluetooth connection with the first terminal is disconnected according to the disconnection command, sending disconnection prompt information to the first terminal;
and reporting the Bluetooth connection state of the first terminal to the server as an idle state after the Bluetooth connection with the first terminal is disconnected according to the disconnection command.
6. An electrical device comprising a first bluetooth module, a first processor, and a first computer-readable storage medium, wherein the first computer-readable storage medium has first instructions stored therein, and the first instructions are executed by the first processor to implement the bluetooth pairing processing method according to any one of claims 1 to 5.
7. A Bluetooth pairing processing method is characterized by being applied to a terminal side; the method comprises the following steps:
detecting a first control operation on a terminal, and starting to scan a Bluetooth hotspot of electrical equipment according to the first control operation;
displaying a first identifier on a terminal interface when the Bluetooth hotspot is scanned; sending a Bluetooth connection request to the electric equipment, and establishing Bluetooth connection with the electric equipment;
if the Bluetooth hotspot is not scanned, displaying a second identifier on a terminal interface; requesting a preset server to inquire the Bluetooth connection state of the electric equipment, and displaying notification information returned by the server on the terminal interface; the notification information includes: the Bluetooth connection state information of the electric equipment.
8. The bluetooth pairing method as claimed in claim 7, wherein the requesting the preset server to query the bluetooth connection status of the electric device includes:
and initiating an inquiry request to the server, and sending the equipment information of the electric equipment to the server so that the server inquires the Bluetooth connection state of the electric equipment according to the equipment information.
9. The bluetooth pairing process method as claimed in claim 7, wherein before starting scanning for a bluetooth hotspot of an appliance device according to the first control operation, the method further comprises: and registering an account on the server through a preset platform on the terminal interface.
10. The bluetooth pairing process method as claimed in claim 9, wherein the method further comprises:
after the authentication with the electrical equipment is successfully carried out for the first time and the Bluetooth connection is established, acquiring equipment information about the electrical equipment, which is sent by the electrical equipment, and displaying the equipment information on the terminal interface;
and detecting a second control operation on the terminal, and sending the equipment information to the server according to the second control operation, so that the server establishes a binding relationship between the account registered on the server by the terminal and the electric equipment.
11. The bluetooth pairing method according to any one of claims 7 to 10, wherein the notification information is that the electrical device has established a bluetooth connection; the method further comprises the following steps:
acquiring equipment information of the electrical equipment input through a terminal interface;
detecting a third control operation on the terminal, and sending a disconnection request and equipment information of the electric equipment to the server according to the third control operation; the disconnection request is used for requesting the electric equipment to disconnect the current Bluetooth connection.
12. The bluetooth pairing processing method as claimed in claim 11, wherein after transmitting a disconnection request and device information of the electric device to the server according to the third control operation, the method further comprises:
receiving the information which is returned by the server and relates to the Bluetooth connection state of the electric equipment, and displaying the information on the terminal interface;
under the condition that the Bluetooth connection state of the electrical equipment is an idle state, detecting first control operation on a terminal, and starting to scan a Bluetooth hotspot of the electrical equipment according to the first control operation; or, the information of the idle state is sent to another terminal, so that the another terminal and the electric appliance try Bluetooth connection.
13. A terminal, comprising a second bluetooth module, a second processor and a second computer-readable storage medium, wherein the second computer-readable storage medium stores a second instruction, and the second instruction is executed by the second processor to implement the bluetooth pairing processing method according to any one of claims 7 to 12.
14. A Bluetooth pairing processing method is characterized by being applied to a server side; the method comprises the following steps:
receiving notification information sent by an electric appliance, wherein the notification information comprises information that the electric appliance has established Bluetooth connection with any first terminal and first information about the first terminal;
receiving an inquiry request and equipment information of the electric equipment, which are sent by any second terminal which does not scan the Bluetooth hotspot of the electric equipment, inquiring the Bluetooth connection state of the electric equipment according to the inquiry request and the equipment information, and sending notification information to the second terminal; the notification information includes: the Bluetooth connection state information of the electric equipment.
15. The bluetooth pairing process method as claimed in claim 14, wherein the method further comprises:
before first information about the first terminal is received, a first registration request of the first terminal is received, and an account registration interface is provided for the first terminal according to the first registration request, so that the first terminal registers a first account through the account registration interface; receiving the equipment information of the electrical equipment sent by the first terminal, and establishing a binding relationship between the electrical equipment and the first account according to the equipment information;
and/or the presence of a gas in the atmosphere,
before receiving an inquiry request sent by any second terminal which does not scan the Bluetooth hotspot of the electric equipment and equipment information of the electric equipment, receiving a second registration request of the second terminal, and providing an account registration interface for the second terminal according to the second registration request, so that the second terminal registers a second account through the account registration interface; and receiving the equipment information of the electrical equipment sent by the second terminal, and establishing a binding relationship between the electrical equipment and the second account according to the equipment information.
16. The bluetooth pairing process method as claimed in claim 14 or 15, wherein the method further comprises:
receiving a disconnection request and equipment information of electrical equipment sent by the second terminal; the disconnection request is used for requesting the electric equipment to disconnect the current Bluetooth connection;
and querying corresponding electrical equipment according to the equipment information, and sending a disconnection command to the queried electrical equipment according to the disconnection request.
17. A server, comprising a third processor and a third computer-readable storage medium, wherein the third computer-readable storage medium has third instructions stored therein, and the third instructions are executed by the third processor to implement the bluetooth pairing process method according to any one of claims 14 to 16.
CN202110636078.2A 2021-06-08 2021-06-08 Bluetooth pairing processing method, electric equipment, terminal and server Pending CN115529574A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110636078.2A CN115529574A (en) 2021-06-08 2021-06-08 Bluetooth pairing processing method, electric equipment, terminal and server
PCT/CN2022/082313 WO2022257544A1 (en) 2021-06-08 2022-03-22 Bluetooth pairing processing method, electrical device, terminal, and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110636078.2A CN115529574A (en) 2021-06-08 2021-06-08 Bluetooth pairing processing method, electric equipment, terminal and server

Publications (1)

Publication Number Publication Date
CN115529574A true CN115529574A (en) 2022-12-27

Family

ID=84425745

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110636078.2A Pending CN115529574A (en) 2021-06-08 2021-06-08 Bluetooth pairing processing method, electric equipment, terminal and server

Country Status (2)

Country Link
CN (1) CN115529574A (en)
WO (1) WO2022257544A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116669225B (en) * 2022-12-28 2024-04-19 广州源动智慧体育科技有限公司 Device connection method, electronic device and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101252724A (en) * 2007-02-23 2008-08-27 三星电子株式会社 Wireless communication method for replacing wireless device to perform wireless communication after receiving confirmation from user and image device thereof
CN107548017A (en) * 2016-06-24 2018-01-05 国民技术股份有限公司 A kind of management method and device of bluetooth connection resource
CN108476537A (en) * 2016-09-22 2018-08-31 华为技术有限公司 A kind of configuration method and equipment of functional resources
CN109309965A (en) * 2018-09-05 2019-02-05 北京字节跳动网络技术有限公司 The Bluetooth communication method and device of common-use tunnel based on cloud control

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105490713A (en) * 2015-09-30 2016-04-13 北京清川科技有限公司 Bluetooth connection method, Bluetooth device and system
CN106851535B (en) * 2017-01-13 2020-08-28 北京元心科技有限公司 Method and device for sharing Bluetooth by multiple systems
WO2021038121A1 (en) * 2019-08-27 2021-03-04 Nokia Technologies Oy Channel access for wireless communications

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101252724A (en) * 2007-02-23 2008-08-27 三星电子株式会社 Wireless communication method for replacing wireless device to perform wireless communication after receiving confirmation from user and image device thereof
CN107548017A (en) * 2016-06-24 2018-01-05 国民技术股份有限公司 A kind of management method and device of bluetooth connection resource
CN108476537A (en) * 2016-09-22 2018-08-31 华为技术有限公司 A kind of configuration method and equipment of functional resources
CN109309965A (en) * 2018-09-05 2019-02-05 北京字节跳动网络技术有限公司 The Bluetooth communication method and device of common-use tunnel based on cloud control

Also Published As

Publication number Publication date
WO2022257544A1 (en) 2022-12-15

Similar Documents

Publication Publication Date Title
CN106792493B (en) Bluetooth device pairing method and device and Bluetooth device
EP2793528B1 (en) Method for transmitting data between terminals and terminal
US7693516B2 (en) Method and system for enhanced communications between a wireless terminal and access point
CN113490218B (en) Pairing method, pairing device, bluetooth remote controller, intelligent device and storage medium
US11252229B2 (en) Connection method for smart home device and apparatus thereof
EP2285163A2 (en) System, method and apparatus for wireless network connection using near field communication
US20130336161A1 (en) Terminal and method for p2p connection in wifi network
CN113316147B (en) Network distribution method, terminal device and readable storage medium
JP2004015558A (en) Communication method, communication system, and communication apparatus
JP2010068021A (en) Communication terminal and communication system
CN111371657A (en) Network configuration method and system of intelligent household appliance and intelligent household appliance
TW201503655A (en) User terminal authentication method of access point apparatus
KR100869662B1 (en) Mobile terminal, resource allocation manager, and communication control method
KR102214940B1 (en) Method and apparatus for registering wireless device in wireless communication system
WO2016106737A1 (en) Call transfer method and terminal
JP2010068022A (en) Communication terminal, communication system, and communication method
CN115529574A (en) Bluetooth pairing processing method, electric equipment, terminal and server
CN102571853A (en) Method, system and device for remote point-to-point communication of mobile terminals
CN113132929B (en) Equipment network access method and device, computer equipment and storage medium
EP3043619B1 (en) Proximity request validating method, user equipment using the same, identity request method, and network entity using the same
JP6294814B2 (en) Wireless communication method, wireless communication system, wireless communication apparatus, and program
KR101626465B1 (en) Apparatus and method for connecting the access point in portable communication system
JP2007329768A (en) Input device, communication terminal, and input control method
KR102390887B1 (en) Method and apparatus for registering wireless device in wireless communication system
JP2001298460A (en) Communication system and communication method

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