CN104684056A - Pairing method and device for user equipment and server - Google Patents

Pairing method and device for user equipment and server Download PDF

Info

Publication number
CN104684056A
CN104684056A CN201510119625.4A CN201510119625A CN104684056A CN 104684056 A CN104684056 A CN 104684056A CN 201510119625 A CN201510119625 A CN 201510119625A CN 104684056 A CN104684056 A CN 104684056A
Authority
CN
China
Prior art keywords
main process
type
subscriber equipment
gateway
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.)
Granted
Application number
CN201510119625.4A
Other languages
Chinese (zh)
Other versions
CN104684056B (en
Inventor
侯恩星
孟德国
高自光
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Technology Co Ltd
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201510119625.4A priority Critical patent/CN104684056B/en
Publication of CN104684056A publication Critical patent/CN104684056A/en
Application granted granted Critical
Publication of CN104684056B publication Critical patent/CN104684056B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals
    • 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)
  • Databases & Information Systems (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention relates to a pairing method and device for user equipment and a server. The method comprises the following steps: detecting the type of main machine equipment paired with the user equipment at present and detecting whether main machine equipment communicated with the user equipment in type of a gateway around the user equipment is available or not; when the type of the main machine equipment paired with the user equipment at present is an intelligent terminal and at least one main machine equipment communicated with the user equipment in type of the gateway around the user equipment is available, determining the main machine equipment in type of the gateway paired with the user equipment in the at least one main machine equipment in type of the gateway; sending a pairing command to the main machine equipment in type of the gateway paired with the user equipment, wherein the main machine equipment in type of the gateway is paired with the user equipment according to the pairing command. According to the technical scheme, over-long communication time of the user equipment and the intelligent terminal can be avoided, the power consumption of the intelligent terminal is reduced, and the standby duration of the intelligent terminal is prolonged as much as possible.

Description

Subscriber equipment matching method, device and server
Technical field
The disclosure relates to communication technical field, particularly relates to a kind of subscriber equipment matching method, device and server.
Background technology
In the related, Bluetooth terminal BLE is by adopting the mode of principal and subordinate's pairing, realize the communication between Bluetooth terminal and main frame, take Bluetooth terminal as bluetooth bracelet be example, bluetooth bracelet can be connected on mobile phone or Bluetooth gateway as accessing terminal, although Bluetooth terminal BLE power consumption is not high, when Bluetooth terminal needs to communicate for a long time with mobile phone, for mobile phone, still can consume larger power consumption.
Summary of the invention
For overcoming Problems existing in correlation technique, disclosure embodiment provides a kind of subscriber equipment matching method, device and server, in order to reduce the power consumption of intelligent terminal.
According to the first aspect of disclosure embodiment, a kind of subscriber equipment matching method is provided, comprises:
Detect the type of the current main process equipment matched with subscriber equipment and detect that around described subscriber equipment, whether there is the type of carrying out communicating with described subscriber equipment be the main process equipment of gateway;
When detecting that the type of the main process equipment that current and described subscriber equipment matches is intelligent terminal and detects that there is at least one type of carrying out communicating with described subscriber equipment around described subscriber equipment is the main process equipment of gateway, be the main process equipment of gateway, determine that the type by matching with described subscriber equipment is the main process equipment of gateway from least one type described;
Send matched order to the described main process equipment being gateway by the type of matching with described subscriber equipment, make described type be that the main process equipment of gateway matches according to described matched order and described subscriber equipment.
In one embodiment, the type of the main process equipment of described detection and the current pairing of subscriber equipment, can comprise:
Receive at least one notification message from least one main process equipment;
The facility information of described subscriber equipment and the unpaired message of described subscriber equipment is resolved from least one notification message described;
The type of the main process equipment that current and described subscriber equipment matches is detected from described unpaired message.
In one embodiment, whether described detection exists the type of carrying out communicating with described subscriber equipment around described subscriber equipment is the main process equipment of gateway, can comprise:
From at least one notification message described, determine that at least one main process equipment described, type is the number of the main process equipment of gateway device;
If determine that described number is greater than or equal to 1, then determine that around described subscriber equipment, there is at least one type of carrying out communicating with described subscriber equipment is the main process equipment of gateway.
In one embodiment, described is determine the main process equipment of gateway that the type of matching with described subscriber equipment is the main process equipment of gateway from least one type described, can comprise:
At least one type described in determining is the intensity of the signal from described subscriber equipment that the main process equipment of gateway is currently received, or, determine the intensity of the signal from described main process equipment that described subscriber equipment is currently received;
Determine that type corresponding to signal strength signal intensity maximum in described signal strength signal intensity be the main process equipment of gateway be the type of matching with described subscriber equipment is the main process equipment of gateway.
In one embodiment, the described main process equipment to being gateway by the type of matching with described subscriber equipment sends matched order, can comprise:
The facility information of described subscriber equipment is added in described matched order;
Indicating described is that the main process equipment of gateway initiatively initiates connection request to described subscriber equipment by the type of matching with described subscriber equipment, and described gateway device and described subscriber equipment are matched.
In one embodiment, described method also can comprise:
Determine the whether successful matching of described gateway device and described subscriber equipment;
When determining successful matching, send Indication message to described intelligent terminal, described Indication message is used to indicate the connection that described intelligent terminal disconnects described intelligent terminal and described subscriber equipment.
According to the second aspect of disclosure embodiment, a kind of subscriber equipment contrast means is provided, comprises:
Detection module, is configured to detect the type of the current main process equipment matched with subscriber equipment and detects that around described subscriber equipment, whether there is the type of carrying out communicating with described subscriber equipment be the main process equipment of gateway;
First determination module, being configured to when described detection module detects that the type of the main process equipment that current and described subscriber equipment matches is intelligent terminal and detects that there is at least one type of carrying out communicating with described subscriber equipment around described subscriber equipment is the main process equipment of gateway, is determine the main process equipment of gateway that the type by matching with described subscriber equipment is the main process equipment of gateway from least one type described;
Sending module, the described main process equipment being gateway by the type of matching with described subscriber equipment being configured to determine to described first determination module sends matched order, makes described type be that the main process equipment of gateway matches according to described matched order and described subscriber equipment.
In one embodiment, described detection module can comprise:
Receive submodule, be configured to receive at least one notification message from least one main process equipment;
Analyzing sub-module, is configured to resolve the facility information of described subscriber equipment and the unpaired message of described subscriber equipment from least one notification message described in described reception submodule receives;
Detection sub-module, is configured to detect the type with the main process equipment of the current pairing of described subscriber equipment from the described unpaired message that described analyzing sub-module is resolved to.
In one embodiment, described detection module also can comprise:
First determines submodule, is configured to from least one notification message described in described reception submodule receives, determine that at least one main process equipment described, type is the number of the main process equipment of gateway;
Second determines submodule, if be configured to described first to determine that submodule determines that described number is greater than or equal to 1, then determines that around described subscriber equipment, there is at least one type of carrying out communicating with described subscriber equipment is the main process equipment of gateway.
In one embodiment, described first determination module can comprise:
3rd determines submodule, be configured to determine that at least one type described is the intensity of the signal from described subscriber equipment that the main process equipment of gateway is currently received, or what determine that described subscriber equipment is currently received is the intensity of the signal of the main process equipment of gateway from type;
4th determines submodule, is configured to determine that the described 3rd main process equipment determining at least one type described that submodule is determined to be type corresponding to signal strength signal intensity maximum in signal strength signal intensity in the main process equipment of gateway be gateway be the type of matching with described subscriber equipment is the main process equipment of gateway.
In one embodiment, described sending module can comprise:
Add submodule, be configured to the facility information of described subscriber equipment to add in described matched order;
Instruction submodule, being configured to indicate described is that the main process equipment of gateway initiatively initiates connection request to described subscriber equipment by the type of matching with described subscriber equipment, makes described type be that the main process equipment of gateway and described subscriber equipment match.
In one embodiment, described device also can comprise:
Second determination module, is configured to determine that described type is the whether successful matching of the main process equipment of gateway and described subscriber equipment;
Indication message sending module, is configured to when described second determination module determination successful matching, and send Indication message to described intelligent terminal, described Indication message is used to indicate the connection that described intelligent terminal disconnects described intelligent terminal and described subscriber equipment.
According to the third aspect of disclosure embodiment, a kind of server is provided, comprises:
Processor;
For the memory of storage of processor executable instruction;
Wherein, described processor is configured to:
Detect the type of the current main process equipment matched with subscriber equipment and detect that around described subscriber equipment, whether there is the type of carrying out communicating with described subscriber equipment be the main process equipment of gateway;
When detecting that the type of the main process equipment that current and described subscriber equipment matches is intelligent terminal and detects that there is at least one type of carrying out communicating with described subscriber equipment around described subscriber equipment is the main process equipment of gateway, be the main process equipment of gateway, determine that the type by matching with described subscriber equipment is the main process equipment of gateway from least one type described;
Send matched order to the described main process equipment being gateway by the type of matching with described subscriber equipment, make described type be that the main process equipment of gateway matches according to described matched order and described subscriber equipment.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect: when detecting that the type of the current main process equipment matched with subscriber equipment is intelligent terminal and detects that there is at least one type of carrying out communicating with subscriber equipment around subscriber equipment is the main process equipment of gateway, be the main process equipment of gateway, determine that the type by matching with subscriber equipment is the main process equipment of gateway from least one type, gateway device is matched according to matched order and subscriber equipment, the call duration time avoiding subscriber equipment and intelligent terminal is long, reduce the power consumption of intelligent terminal, extend the standby time of intelligent terminal as far as possible.
Should be understood that, it is only exemplary and explanatory that above general description and details hereinafter describe, and can not limit the disclosure.
Accompanying drawing explanation
Accompanying drawing to be herein merged in specification and to form the part of this specification, shows embodiment according to the invention, and is used from specification one and explains principle of the present invention.
Figure 1A is the flow chart of the subscriber equipment matching method according to an exemplary embodiment.
Figure 1B is the scene graph of the subscriber equipment matching method according to an exemplary embodiment.
Fig. 2 is the flow chart of the subscriber equipment matching method according to an exemplary embodiment one.
Fig. 3 is the flow chart of the subscriber equipment matching method according to an exemplary embodiment two.
Fig. 4 is the block diagram of a kind of subscriber equipment contrast means according to an exemplary embodiment.
Fig. 5 is the block diagram of the another kind of subscriber equipment contrast means according to an exemplary embodiment.
Fig. 6 is a kind of block diagram being applicable to subscriber equipment contrast means according to an exemplary embodiment.
Embodiment
Here will be described exemplary embodiment in detail, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawing represents same or analogous key element.Execution mode described in following exemplary embodiment does not represent all execution modes consistent with the present invention.On the contrary, they only with as in appended claims describe in detail, the example of apparatus and method that aspects more of the present invention are consistent.
Figure 1A is the flow chart of the subscriber equipment matching method according to an exemplary embodiment, Figure 1B is the scene graph of the subscriber equipment matching method according to an exemplary embodiment, this subscriber equipment matching method can be applied on server or other equipment, subscriber equipment described in the disclosure can be Intelligent bracelet, the wearable devices such as intelligent glasses and intelligent air condition, the intelligent home devices etc. such as Intelligent purifying device, these equipment all can with intelligent terminal (such as, smart mobile phone, panel computer etc.) communicate to connect, as shown in Figure 1A, this subscriber equipment matching method comprises the following steps S101-S103:
In step S101, detect the type of the current main process equipment matched with subscriber equipment and detect that around subscriber equipment, whether there is the type of carrying out communicating with subscriber equipment be the main process equipment of gateway.
In one embodiment, if subscriber equipment is intelligent terminal in the type of the main process equipment of current pairing, subscriber equipment can send the broadcasting packet carrying the facility information of subscriber equipment and the host information of intelligent terminal towards periphery, the type receiving this message is that the main process equipment of gateway sends announcement information to server, server by resolving notification message, thus detects the type of the current main process equipment matched with subscriber equipment and whether to there is the type of carrying out communicating with subscriber equipment be the main process equipment of gateway; In another embodiment, intelligent terminal initiatively can send inquiry message to server, the facility information of subscriber equipment and the host information of intelligent terminal can be carried in inquiry message, server is after the facility information receiving intelligent terminal and host information, equipment to the surrounding of subscriber equipment sends broadcasting packet, whether to there is to detect the main process equipment that the type of carrying out communicating with subscriber equipment is gateway around subscriber equipment.
In step s 102, when detect current be intelligent terminal with the type of the main process equipment of the current pairing of subscriber equipment and detect that around subscriber equipment, there is at least one type of carrying out communicating with subscriber equipment is the main process equipment of gateway time, be the main process equipment of gateway, determine that the type by matching with subscriber equipment is the main process equipment of gateway from least one type.
In one embodiment, it can the type of access network be the main process equipment of gateway that the surrounding of subscriber equipment may exist at least one, therefore, the intensity of the signal from subscriber equipment that the main process equipment that server can be gateway according at least one type is currently received determines that the type of matching with subscriber equipment is the main process equipment of gateway, or what determine that subscriber equipment is currently received is the intensity of the signal of the main process equipment of gateway from type; In another embodiment, server can also be that the main process equipment of gateway and the space length of subscriber equipment determine that the type of matching with subscriber equipment is the main process equipment of gateway according at least one type.
In step s 103, send matched order to the main process equipment being gateway by the type of matching with subscriber equipment, make type be that the main process equipment of gateway matches according to matched order and subscriber equipment.
Below in conjunction with Figure 1B, exemplary illustration is carried out to the disclosure, as shown in Figure 1B, take subscriber equipment as bluetooth bracelet for example carries out exemplary illustration, bluetooth bracelet 11 detect its current match with intelligent terminal 12 after, bluetooth bracelet 11 to its around send and carry the broadcasting packet of the facility information of bluetooth bracelet 11 and the host information of intelligent terminal 13.Gateway device 131 and gateway device 132 all have received this broadcasting packet, and gateway device 131 and gateway device 132 send announcement information respectively to server 14.Server 14 learns that from the announcement information received the type of the main process equipment that bluetooth bracelet 11 matches is intelligent terminal 13, and send to the main process equipment of the announcement information of server 14 to be gateway device 131 and gateway device 132, illustrate to there is bluetooth host within the scope of the communication distance of bluetooth bracelet 11, that is, gateway device 131 and gateway device 132.Server 14 is determined and the gateway device that bluetooth bracelet 11 matches from gateway device 131 and gateway device 132, such as, determine that gateway device 131 and bluetooth bracelet 11 match, then server 14 will send the matched order carrying the facility information of bluetooth bracelet 11 to gateway device 131, make gateway device 131 initiatively initiate to connect invitation to bluetooth equipment 11, thus realize the pairing of gateway device 131 and bluetooth bracelet 11.
It will be appreciated by persons skilled in the art that mutual between intelligent terminal, gateway device and server in order to highlight in the disclosure, relevant routing device not appeared in scene graph in Figure 1B.
In the present embodiment, when detecting that the type of the current main process equipment matched with subscriber equipment is intelligent terminal and detects that there is at least one type of carrying out communicating with subscriber equipment around subscriber equipment is the main process equipment of gateway, be the main process equipment of gateway, determine that the type by matching with subscriber equipment is the main process equipment of gateway from least one type, type is made to be that the main process equipment of gateway matches according to matched order and subscriber equipment, the call duration time avoiding subscriber equipment and intelligent terminal is long, reduce the power consumption of intelligent terminal, extend the standby time of intelligent terminal as far as possible.
In one embodiment, detect the type with the main process equipment of the current pairing of subscriber equipment, can comprise:
Receive at least one notification message from least one main process equipment;
The facility information of subscriber equipment and the unpaired message of subscriber equipment is resolved from least one notification message;
The type with the main process equipment of the current pairing of subscriber equipment is detected from unpaired message.
In one embodiment, detect that around subscriber equipment, whether there is the type of carrying out communicating with subscriber equipment be the main process equipment of gateway, can comprise:
From at least one notification message, determine that at least one main process equipment, type is the number of the main process equipment of gateway;
Be greater than or equal to 1 if ascertained the number, then determine that around subscriber equipment, there is at least one type of carrying out communicating with subscriber equipment is the main process equipment of gateway.
In one embodiment, be the main process equipment of gateway, determine that the type of matching with subscriber equipment is the main process equipment of gateway from least one type, can comprise:
Determine that at least one type is the intensity of the signal from subscriber equipment that the main process equipment of gateway is currently received;
Determine that type corresponding to signal strength signal intensity maximum in signal strength signal intensity be the main process equipment of gateway be the type of matching with subscriber equipment is the main process equipment of gateway, or what determine that subscriber equipment is currently received is the intensity of the signal of the main process equipment of gateway from type.
In one embodiment, send matched order to the main process equipment being gateway by the type of matching with subscriber equipment, can comprise:
The facility information of subscriber equipment is added in matched order;
Instruction by the type of match in subscriber equipment be the main process equipment of gateway initiatively to subscriber equipment initiation connection request, make type be that the main process equipment of gateway and subscriber equipment match.
In one embodiment, method also can comprise:
Determine the whether successful matching of gateway device and subscriber equipment;
When determining successful matching, send Indication message to intelligent terminal, this Indication message is used to indicate the connection that intelligent terminal disconnects intelligent terminal and subscriber equipment.
Specifically how subscriber equipment is matched, please refer to subsequent embodiment.
So far, the said method that disclosure embodiment provides, type can be made to be that the main process equipment of gateway matches according to matched order and subscriber equipment, to avoid subscriber equipment and type to be that the call duration time of the main process equipment of intelligent terminal is long, reduce the power consumption of intelligent terminal.
With specific embodiment, the technical scheme that disclosure embodiment provides is described below.
Fig. 2 is the flow chart of the subscriber equipment matching method according to an exemplary embodiment one; The said method that the present embodiment utilizes disclosure embodiment to provide, is initiatively initiated as example with subscriber equipment and carries out exemplary illustration in conjunction with Figure 1B, as shown in Figure 2, comprising the steps:
In step s 201, subscriber equipment, after detecting that the type of its main process equipment matched is intelligent terminal, by the surrounding's transmission broadcasting packet to subscriber equipment, carries the facility information of subscriber equipment and the host information of intelligent terminal in this broadcasting packet.
In step S202, the main process equipment receiving this broadcasting packet sends announcement information to server.
In one embodiment, the main process equipment receiving this broadcasting packet can, for the intelligent terminal near subscriber equipment, also can be both the gateway device near subscriber equipment.
In step S203, server receives at least one notification message from least one main process equipment.
In step S204, from least one notification message, resolve the facility information of subscriber equipment and the unpaired message of subscriber equipment.
In step S205, from unpaired message, detect the type of the current main process equipment matched with subscriber equipment.
In one embodiment, the type of the current main process equipment matched with subscriber equipment both can be intelligent terminal, also can be gateway device.
In step S206, from least one notification message, determine that at least one main process equipment, type is the number of the main process equipment of gateway device.
In step S207, be greater than or equal to 1 if ascertained the number, then determine that around subscriber equipment, there is at least one type of carrying out communicating with subscriber equipment is the main process equipment of gateway.
In step S208, determine that at least one type is the intensity of the signal from subscriber equipment that the main process equipment of gateway is currently received.
In step S209, determine that type corresponding to the maximum signal strength signal intensity of signal strength signal intensity be the main process equipment of gateway be the type of matching with subscriber equipment is the main process equipment of gateway.
In step S210, the facility information of subscriber equipment is added in matched order.
In step S211, indicating the type of matching in subscriber equipment is that the main process equipment of gateway initiatively initiates connection request to subscriber equipment, makes type be that the main process equipment of gateway and subscriber equipment match.
Below in conjunction with such as Figure 1B, exemplary illustration is carried out to the disclosure, as shown in Figure 1B, bluetooth bracelet 11 is after detecting that the type of its main process equipment matched is intelligent terminal 12, by the surrounding's transmission broadcasting packet to bluetooth bracelet 11, in this broadcasting packet, carry the facility information of bluetooth bracelet 11 and the host information of intelligent terminal 12.Gateway device 131 and gateway device 132 send announcement information to server 14 after receiving this broadcasting packet.Server 14 receives the notification message from gateway device 131 and gateway device 132, the facility information of bluetooth bracelet 11 and the unpaired message of bluetooth bracelet 11 is resolved in respective notification message, the type of the current main process equipment matched with bluetooth bracelet 11 is detected from unpaired message, such as, the type of main process equipment is gateway device.Server 14 determines that from respective notification message the number of gateway device is 2, then determine to exist around bluetooth bracelet 11 and bluetooth bracelet 11 carries out the gateway device 131 that communicates and gateway device 132.Server 14 determines gateway device 131 and the current signal strength signal intensity of gateway device 132, determines that the maximum gateway device (such as gateway device 131) of signal strength signal intensity in gateway device 131 and gateway device 132 is the gateway device matched with bluetooth bracelet 11.The facility information of bluetooth bracelet 11 adds in matched order by server 14, and instruction gateway device 131 initiatively initiates connection request to bluetooth bracelet 11, and gateway device 131 and bluetooth bracelet 11 are matched.
In the present embodiment, subscriber equipment is after the type of the main process equipment its pairing current being detected is intelligent terminal, initiatively to surrounding's transmission broadcasting packet of subscriber equipment, thus the type near subscriber equipment can be made to be that the main process equipment of gateway sends a notification message to server after receiving this broadcasting packet, server upon receiving the notification message, the intensity of the signal from subscriber equipment be currently received according to the type main process equipment that is gateway determines that the type of matching with subscriber equipment is the main process equipment of gateway, thus guarantee that subscriber equipment can have preferably communications status by the main process equipment that type is gateway, in addition, the main process equipment being gateway with type due to subscriber equipment matches, and no longer matches with intelligent terminal, thus can reduce the power consumption of intelligent terminal, extends the standby time of intelligent terminal as far as possible.
Fig. 3 is the flow chart of the subscriber equipment matching method according to an exemplary embodiment two; The said method that the present embodiment utilizes disclosure embodiment to provide, initiatively initiates inquiry message for intelligent terminal and carries out exemplary theory in conjunction with Figure 1B, as shown in Figure 3, comprising the steps:
In step S301, intelligent terminal initiatively sends inquiry message to server, to inform that to server it matches with subscriber equipment, carries the facility information of subscriber equipment and the host information of intelligent terminal in this inquiry message.
In step s 302, server is receiving transmission broadcasting packet around the facility information rear line equipment of subscriber equipment, whether to there is to detect the main process equipment that the type of carrying out communicating with subscriber equipment is gateway around subscriber equipment.
In step S303, the type receiving this broadcasting packet is that the main process equipment of gateway sends announcement information to server.
In step s 304, server reception is at least one notification message of the main process equipment of gateway from least one type.
In step S305, from least one notification message, determine that at least one type is the number of the main process equipment of gateway.
In step S306, be greater than or equal to 1 if ascertained the number, then determine that around subscriber equipment, there is at least one type of carrying out communicating with subscriber equipment is the main process equipment of gateway.
In step S307, determine that at least one type is the main process equipment of gateway and the space length of subscriber equipment.
In step S308, determine that at least one type be the nearest gateway device of space length in the main process equipment of gateway is the gateway device matched with subscriber equipment.
In step S309, the main process equipment being gateway to the type of matching with subscriber equipment sends matched order, makes type be that the main process equipment of gateway matches according to matched order and subscriber equipment.
In step S310, determine that type is the whether successful matching of the main process equipment of gateway and subscriber equipment.
In step S311, when determining successful matching, send Indication message to intelligent terminal, this Indication message is used to indicate the connection that intelligent terminal disconnects intelligent terminal and subscriber equipment.
Below in conjunction with such as Figure 1B, exemplary illustration is carried out to the disclosure, as shown in Figure 1B, intelligent terminal 12 initiatively sends inquiry message to server 14, to inform that to server 14 it matches with bluetooth bracelet 11, the facility information of bluetooth bracelet 11 and the host information of intelligent terminal 12 is carried in this inquiry message, server 14 after the facility information receiving bluetooth bracelet 11 to transmission broadcasting packet around bluetooth bracelet 11, to detect the gateway device whether existing around bluetooth bracelet 1 and carry out with bluetooth bracelet 11 communicating.The gateway device 131 and the gateway device 132 that receive this broadcasting packet send announcement information to server 14.Server 14 receives the notification message from gateway device 131 and gateway device 132.
Gateway device 131 and gateway device 132 resolve the facility information of bluetooth bracelet 11 and the unpaired message of bluetooth bracelet 11 from respective notification message.Server 14 detects the type of the current main process equipment matched with bluetooth bracelet 11 from unpaired message, determine that the type of main process equipment is gateway device, and the number of gateway device is 2.Server 14 determines the space length of gateway device 131 and gateway device 132 and bluetooth bracelet 11, determines that the nearest gateway device (such as gateway device 132) of the space length of gateway device 131 and gateway device 132 is the gateway device will matched with bluetooth bracelet 11.Server 14 sends matched order to gateway device 132, and gateway device 132 is matched according to matched order and bluetooth bracelet 11.Server 14 determines gateway device 132 and bluetooth bracelet 11 whether successful matching, when determining successful matching, sends Indication message to intelligent terminal 12, and this Indication message is used to indicate the connection that intelligent terminal 12 disconnects itself and bluetooth bracelet 11.
In the present embodiment, terminal equipment initiatively sends inquiry message to server, inform that it matches with subscriber equipment to server, server detects that current around subscriber equipment, whether there is the type of carrying out communicating with subscriber equipment be the main process equipment of gateway, be that the space length of the main process equipment of gateway determines that the type of matching with subscriber equipment is the main process equipment of gateway according to type, thus guarantee that subscriber equipment can have preferably communications status by the main process equipment that type is gateway; In addition, the main process equipment being gateway with type due to subscriber equipment matches, and no longer matches with intelligent terminal, thus can reduce the power consumption of intelligent terminal, extends the standby time of intelligent terminal as far as possible.
Fig. 4 is the block diagram of a kind of subscriber equipment contrast means according to an exemplary embodiment, can be applicable on server, and as shown in Figure 4, subscriber equipment contrast means comprises:
Detection module 41, is configured to detect the type of the current main process equipment matched with subscriber equipment and detects that around subscriber equipment, whether there is the type of carrying out communicating with subscriber equipment be the main process equipment of gateway;
First determination module 42, be configured to when detection module 41 detect the type of the current main process equipment matched with subscriber equipment be intelligent terminal and detect to exist around subscriber equipment at least one type of carrying out communicating with subscriber equipment be the main frame of gateway establish time standby, be the main process equipment of gateway, determine that the type by matching with subscriber equipment is the main process equipment of gateway from least one type;
Sending module 43, the main process equipment being gateway by the type of matching with subscriber equipment being configured to determine to the first determination module 42 sends matched order, makes type be that the main process equipment of gateway matches according to matched order and subscriber equipment.
Fig. 5 is the block diagram of the another kind of subscriber equipment contrast means according to an exemplary embodiment, and as shown in Figure 5, above-mentioned detection module 41 can comprise:
Receive submodule 411, be configured to receive at least one notification message from least one main process equipment;
Analyzing sub-module 412, is configured to resolve the facility information of subscriber equipment and the unpaired message of subscriber equipment at least one notification message received from reception submodule 411;
Detection sub-module 413, is configured to detect in the unpaired message that analytically submodule 412 is resolved to the type with the main process equipment of the current pairing of subscriber equipment.
In one embodiment, detection module 41 also can comprise:
First determines submodule 414, is configured to determine that at least one main process equipment, type is the number of the main process equipment of gateway at least one notification message received from reception submodule 411;
Second determines submodule 415, determines that submodule 414 ascertains the number be greater than or equal to 1 if be configured to first, then determine that at least one type existed around subscriber equipment and subscriber equipment carries out communicating is the main process equipment of gateway.
In one embodiment, the first determination module 42 can comprise:
3rd determines submodule 421, is configured to determine that at least one type that detection module 41 detects is the intensity of the signal from subscriber equipment that the main process equipment of gateway is currently received;
4th determines submodule 422, be configured to determine that the 3rd main process equipment determining at least one type that submodule 421 is determined to be type corresponding to signal strength signal intensity maximum in signal strength signal intensity in the main process equipment of gateway be gateway be the type of matching with subscriber equipment is the main process equipment of gateway, or what determine that subscriber equipment is currently received is the intensity of the signal of the main process equipment of gateway from type.
In one embodiment, sending module 43 can comprise:
Add submodule 431, be configured to the facility information of subscriber equipment to add in matched order;
Instruction submodule 432, being configured to indicate by the type of match with subscriber equipment is that the main process equipment active of gateway initiates connection request to subscriber equipment, makes type be that the main process equipment of gateway and subscriber equipment match.
In one embodiment, device also can comprise:
Second determination module 44, is configured to determine that type is the whether successful matching of the main process equipment of gateway and subscriber equipment;
Indication message sending module 45, is configured to when the second determination module 44 determines successful matching, sends Indication message to intelligent terminal, and this Indication message is used to indicate the connection that intelligent terminal disconnects intelligent terminal and subscriber equipment.
About the device in above-described embodiment, wherein the concrete mode of modules executable operations has been described in detail in about the embodiment of the method, will not elaborate explanation herein.
Fig. 6 is a kind of block diagram being applicable to subscriber equipment contrast means according to an exemplary embodiment.Such as, device 600 may be provided in a server.With reference to Fig. 6, device 600 comprises processing components 622, and it comprises one or more processor further, and the memory resource representated by memory 632, can such as, by the instruction of the execution of processing unit 622, application program for storing.The application program stored in memory 632 can comprise each module corresponding to one group of instruction one or more.In addition, processing components 622 is configured to perform instruction, to perform above-mentioned subscriber equipment matching method.
Device 600 can also comprise the power management that a power supply module 626 is configured to final controlling element 600, and a wired or wireless network interface 650 is configured to device 600 to be connected to network, and input and output (I/O) interface 658.Device 600 can operate the operating system based on being stored in memory 632, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or similar.
Those skilled in the art, at consideration specification and after putting into practice disclosed herein disclosing, will easily expect other embodiment of the present disclosure.The application is intended to contain any modification of the present disclosure, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present disclosure and comprised the undocumented common practise in the art of the disclosure or conventional techniques means.Specification and embodiment are only regarded as exemplary, and true scope of the present disclosure and spirit are pointed out by claim below.
Should be understood that, the disclosure is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendment and change not departing from its scope.The scope of the present disclosure is only limited by appended claim.

Claims (13)

1. a subscriber equipment matching method, is characterized in that, described method comprises:
Detect the type of the current main process equipment matched with subscriber equipment and detect that around described subscriber equipment, whether there is the type of carrying out communicating with described subscriber equipment be the main process equipment of gateway;
When detecting that the type of the main process equipment that current and described subscriber equipment matches is intelligent terminal and detects that there is at least one type of carrying out communicating with described subscriber equipment around described subscriber equipment is the main process equipment of gateway, be the main process equipment of gateway, determine that the type by matching with described subscriber equipment is the main process equipment of gateway from least one type described;
Send matched order to the described main process equipment being gateway by the type of matching with described subscriber equipment, make described type be that the main process equipment of gateway matches according to described matched order and described subscriber equipment.
2. method according to claim 1, is characterized in that, the type of the main process equipment of described detection and the current pairing of subscriber equipment, comprising:
Receive at least one notification message from least one main process equipment;
The facility information of described subscriber equipment and the unpaired message of described subscriber equipment is resolved from least one notification message described;
The type with the main process equipment of the current pairing of described subscriber equipment is detected from described unpaired message.
3. method according to claim 2, is characterized in that, whether described detection exists the type of carrying out communicating with described subscriber equipment around described subscriber equipment is the main process equipment of gateway, comprising:
From at least one notification message described, determine that at least one main process equipment described, type is the number of the main process equipment of gateway;
If determine that described number is greater than or equal to 1, then determine that around described subscriber equipment, there is at least one type of carrying out communicating with described subscriber equipment is the main process equipment of gateway.
4. method according to claim 1, is characterized in that, described is determine the main process equipment of gateway that the type of matching with described subscriber equipment is the main process equipment of gateway from least one type described, comprising:
Determine that at least one type described is the intensity of the signal from described subscriber equipment that the main process equipment of gateway is currently received, or what determine that described subscriber equipment is currently received is the intensity of the signal of the main process equipment of gateway from type;
Determine that type corresponding to signal strength signal intensity maximum in described signal strength signal intensity be the main process equipment of gateway be the type of matching with described subscriber equipment is the main process equipment of gateway.
5. method according to claim 1, is characterized in that, the described main process equipment to being gateway by the type of matching with described subscriber equipment sends matched order, comprising:
The facility information of described subscriber equipment is added in described matched order;
Indicating described is that the main process equipment of gateway initiatively initiates connection request to described subscriber equipment by the type of matching with described subscriber equipment, makes described type be that the main process equipment of gateway and described subscriber equipment match.
6. method according to claim 1, is characterized in that, described method also comprises:
Determine that described type is the whether successful matching of the main process equipment of gateway and described subscriber equipment;
When determining successful matching, send Indication message to described intelligent terminal, described Indication message is used to indicate the connection that described intelligent terminal disconnects described intelligent terminal and described subscriber equipment.
7. a subscriber equipment contrast means, is characterized in that, described device comprises:
Detection module, is configured to detect the type of the current main process equipment matched with subscriber equipment and detects that around described subscriber equipment, whether there is the type of carrying out communicating with described subscriber equipment be the main process equipment of gateway;
First determination module, being configured to when described detection module detects that the type of the main process equipment that current and described subscriber equipment matches is intelligent terminal and detects that there is at least one type of carrying out communicating with described subscriber equipment around described subscriber equipment is the main process equipment of gateway, is determine the main process equipment of gateway that the type by matching with described subscriber equipment is the main process equipment of gateway from least one type described;
Sending module, the described main process equipment being gateway by the type of matching with described subscriber equipment being configured to determine to described first determination module sends matched order, makes described type be that the main process equipment of gateway matches according to described matched order and described subscriber equipment.
8. device according to claim 7, is characterized in that, described detection module comprises:
Receive submodule, be configured to receive at least one notification message from least one main process equipment;
Analyzing sub-module, is configured to resolve the facility information of described subscriber equipment and the unpaired message of described subscriber equipment from least one notification message described in described reception submodule receives;
Detection sub-module, is configured to detect the type with the main process equipment of the current pairing of described subscriber equipment from the described unpaired message that described analyzing sub-module is resolved to.
9. device according to claim 8, is characterized in that, described detection module also comprises:
First determines submodule, is configured to from least one notification message described in described reception submodule receives, determine that at least one main process equipment described, type is the number of the main process equipment of gateway;
Second determines submodule, if be configured to described first to determine that submodule determines that described number is greater than or equal to 1, then determines that around described subscriber equipment, there is at least one type of carrying out communicating with described subscriber equipment is the main process equipment of gateway.
10. device according to claim 7, is characterized in that, described first determination module comprises:
3rd determines submodule, be configured to determine that at least one type described is the intensity of the signal from described subscriber equipment that the main process equipment of gateway is currently received, or what determine that described subscriber equipment is currently received is the intensity of the signal of the main process equipment of gateway from type;
4th determines submodule, is configured to determine that the described 3rd main process equipment determining at least one type described that submodule is determined to be type corresponding to signal strength signal intensity maximum in signal strength signal intensity in the main process equipment of gateway be gateway be the type of matching with described subscriber equipment is the main process equipment of gateway.
11. devices according to claim 7, is characterized in that, described sending module comprises:
Add submodule, be configured to the facility information of described subscriber equipment to add in described matched order;
Instruction submodule, being configured to indicate described is that the main process equipment of gateway initiatively initiates connection request to described subscriber equipment by the type of matching with described subscriber equipment, makes described type be that the main process equipment of gateway and described subscriber equipment match.
12. devices according to claim 7, is characterized in that, described device also comprises:
Second determination module, is configured to determine that described type is the whether successful matching of the main process equipment of gateway and described subscriber equipment;
Indication message sending module, is configured to when described second determination module determination successful matching, and send Indication message to described intelligent terminal, described Indication message is used to indicate the connection that described intelligent terminal disconnects described intelligent terminal and described subscriber equipment.
13. 1 kinds of servers, is characterized in that, described server comprises:
Processor;
For the memory of storage of processor executable instruction;
Wherein, described processor is configured to:
Detect the type of the current main process equipment matched with subscriber equipment and detect that around described subscriber equipment, whether there is the type of carrying out communicating with described subscriber equipment be the main process equipment of gateway;
When detecting that the type of the main process equipment that current and described subscriber equipment matches is intelligent terminal and detects that there is at least one type of carrying out communicating with described subscriber equipment around described subscriber equipment is the main process equipment of gateway, be the main process equipment of gateway, determine that the type by matching with described subscriber equipment is the main process equipment of gateway from least one type described;
Send matched order to the described main process equipment being gateway by the type of matching with described subscriber equipment, make described type be that the main process equipment of gateway matches according to described matched order and described subscriber equipment.
CN201510119625.4A 2015-03-18 2015-03-18 User equipment matching method, device and server Active CN104684056B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510119625.4A CN104684056B (en) 2015-03-18 2015-03-18 User equipment matching method, device and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510119625.4A CN104684056B (en) 2015-03-18 2015-03-18 User equipment matching method, device and server

Publications (2)

Publication Number Publication Date
CN104684056A true CN104684056A (en) 2015-06-03
CN104684056B CN104684056B (en) 2018-07-27

Family

ID=53318487

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510119625.4A Active CN104684056B (en) 2015-03-18 2015-03-18 User equipment matching method, device and server

Country Status (1)

Country Link
CN (1) CN104684056B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105306726A (en) * 2015-11-10 2016-02-03 深圳市智慧猫软件技术有限公司 Mobile phone and host pairing method and host
CN106075839A (en) * 2016-06-08 2016-11-09 深圳市元征科技股份有限公司 Workout data monitoring method, Apparatus and system
CN106412843A (en) * 2015-07-31 2017-02-15 浙江大华技术股份有限公司 Method, device and system for pairing gateway and terminal
CN110198536A (en) * 2019-04-30 2019-09-03 努比亚技术有限公司 Communication control method, equipment, system and readable storage medium storing program for executing
CN111885596A (en) * 2020-08-03 2020-11-03 南京创通微新通信有限公司 Data forwarding system and method based on virtual port

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103001840A (en) * 2012-11-07 2013-03-27 无锡津天阳激光电子有限公司 Method and device for internet of things of intelligent home
CN103686462A (en) * 2013-12-02 2014-03-26 广东美的制冷设备有限公司 Controlling terminal and controlled terminal pairing method, controlling terminal and controlled terminal pairing system and terminals
US20140106675A1 (en) * 2012-10-11 2014-04-17 Htc Corporation Method and apparatus for performing hands-free profile control, and associated computer program product
CN103823360A (en) * 2012-11-16 2014-05-28 南京物联传感技术有限公司 Wireless communication watch device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140106675A1 (en) * 2012-10-11 2014-04-17 Htc Corporation Method and apparatus for performing hands-free profile control, and associated computer program product
CN103001840A (en) * 2012-11-07 2013-03-27 无锡津天阳激光电子有限公司 Method and device for internet of things of intelligent home
CN103823360A (en) * 2012-11-16 2014-05-28 南京物联传感技术有限公司 Wireless communication watch device
CN103686462A (en) * 2013-12-02 2014-03-26 广东美的制冷设备有限公司 Controlling terminal and controlled terminal pairing method, controlling terminal and controlled terminal pairing system and terminals

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106412843A (en) * 2015-07-31 2017-02-15 浙江大华技术股份有限公司 Method, device and system for pairing gateway and terminal
CN105306726A (en) * 2015-11-10 2016-02-03 深圳市智慧猫软件技术有限公司 Mobile phone and host pairing method and host
CN105306726B (en) * 2015-11-10 2018-09-25 深圳市智慧猫软件技术有限公司 A kind of mobile phone and host matching method and a kind of host
CN106075839A (en) * 2016-06-08 2016-11-09 深圳市元征科技股份有限公司 Workout data monitoring method, Apparatus and system
CN110198536A (en) * 2019-04-30 2019-09-03 努比亚技术有限公司 Communication control method, equipment, system and readable storage medium storing program for executing
CN111885596A (en) * 2020-08-03 2020-11-03 南京创通微新通信有限公司 Data forwarding system and method based on virtual port

Also Published As

Publication number Publication date
CN104684056B (en) 2018-07-27

Similar Documents

Publication Publication Date Title
US10939490B2 (en) Method for establishing classic Bluetooth connection between dual-mode Bluetooth devices, and dual-mode Bluetooth device
KR102373463B1 (en) Method and apparatus for wireless communication betweeen communication terminals
US20140335837A1 (en) Communication Processing Method and Apparatus, and Terminal
US20220256008A1 (en) Method and Apparatus for Selecting Information Pushed-To Terminal
US10820087B2 (en) Wireless audio source switching
CN104684056A (en) Pairing method and device for user equipment and server
CN105024984A (en) Permission setting method, apparatus and system
US20210160079A1 (en) Wearable smart terminal, cloud server, memory device and friend addition method
US20230199873A1 (en) Information interaction method and apparatus, and electronic device
EP2981096B1 (en) Audio device
WO2018053894A1 (en) Internet-of-things access point handover method and device based on transmission rate
CN105451368A (en) Communication method and apparatus
KR102456913B1 (en) Electronic device for performing device to device communication and method thereof
CN105530222A (en) Method for establishing connection among terminals, and device and system
CN105376761A (en) Method, device and conversation system for establishing conversation connection
CN113825123A (en) Communication method, communication device, electronic equipment and computer storage medium
CN105451367A (en) Wireless network connection method, device and system
KR20210049585A (en) Electronic device for providing communication service and method thereof
CN113726608B (en) Data processing method and device
US10237861B2 (en) Information transmission method, device, and system
US20130130640A1 (en) Apparatus and method for identifying loss of portable terminal in wireless communication system
CN112188593B (en) Wireless configuration method and device, storage medium and electronic device
CN112788658A (en) Data sharing method of communication equipment, communication equipment and storage medium
CN106465087B (en) Communication message transfer method and related device
CN113079550B (en) Mobile terminal control method and device and electronic equipment

Legal Events

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