CN104684056B - User equipment matching method, device and server - Google Patents

User equipment matching method, device and server Download PDF

Info

Publication number
CN104684056B
CN104684056B CN201510119625.4A CN201510119625A CN104684056B CN 104684056 B CN104684056 B CN 104684056B CN 201510119625 A CN201510119625 A CN 201510119625A CN 104684056 B CN104684056 B CN 104684056B
Authority
CN
China
Prior art keywords
user equipment
type
equipment
gateway
host
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510119625.4A
Other languages
Chinese (zh)
Other versions
CN104684056A (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.)
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)
  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The disclosure is directed to a kind of user equipment matching method, device and servers.Method includes:Detection is currently the host equipment of gateway with the presence or absence of the type communicated with user equipment around user equipment with the type of the host equipment of user equipment pairing and detection;When detecting that the type of the host equipment currently matched with user equipment is intelligent terminal and when detecting that there is at least one type for being communicated with user equipment around user equipment is the host equipment of gateway, determined from the host equipment that at least one type is gateway by with host equipment that the type that user equipment matches is gateway;Matched order is sent to the host equipment that the type that will be matched with the user equipment is gateway, it is that the host equipment of gateway is matched according to matched order and the user equipment to make type.Disclosed technique scheme can be long to avoid the call duration time of user equipment and intelligent terminal, reduces the power consumption of intelligent terminal, extends the standby time of intelligent terminal as possible.

Description

User equipment matching method, device and server
Technical field
This disclosure relates to a kind of field of communication technology more particularly to user equipment matching method, device and server.
Background technology
In the related art, the mode that Bluetooth terminal BLE is matched by using principal and subordinate is realized between Bluetooth terminal and host Communication, by Bluetooth terminal be bluetooth bracelet for, bluetooth bracelet can be connected to mobile phone or bluetooth network as access terminal It shuts, although Bluetooth terminal BLE power consumptions are not high, when Bluetooth terminal needs with mobile phone communicate for a long time, for mobile phone Speech, can still consume larger power consumption.
Invention content
To overcome the problems in correlation technique, a kind of user equipment matching method of embodiment of the present disclosure offer, device And server, to reduce the power consumption of intelligent terminal.
According to the first aspect of the embodiments of the present disclosure, a kind of user equipment matching method is provided, including:
Detection currently with user equipment pairing host equipment type and detection around the user equipment whether In the presence of the host equipment that the type communicated with the user equipment is gateway;
When the type for the host equipment for detecting the pairing of the current and user equipment for intelligent terminal and detects When around the user equipment in the presence of the host equipment that at least one type communicated with the user equipment is gateway, from At least one type be gateway host equipment in determine host that the type matched with the user equipment is gateway Equipment;
The host equipment that the type matched with the user equipment is gateway is sent into matched order to described, makes the class Type is that the host equipment of gateway is matched according to the matched order and the user equipment.
In one embodiment, the type for the host equipment that the detection is currently matched with user equipment, it may include:
Receive at least one notification message from least one host equipment;
The facility information of the user equipment and matching for the user equipment are parsed from least one notification message To information;
The type of the host equipment currently matched with the user equipment is detected from the unpaired message.
In one embodiment, the detection whether there is around the user equipment is communicated with the user equipment Type be gateway host equipment, it may include:
Type is the master of gateway device from determining at least one host equipment at least one notification message The number of machine equipment;
If it is determined that the number is more than or equal to 1, it is determined that exist and the user around the user equipment At least one type that equipment is communicated is the host equipment of gateway.
In one embodiment, described determined from the host equipment that at least one type is gateway sets with the user The type of standby pairing is the host equipment of gateway, it may include:
Determine that at least one type is the letter from the user equipment that the host equipment of gateway is currently received Number intensity, alternatively, determining the intensity for the signal from the host equipment that the user equipment is currently received;
Determine in the signal strength that the corresponding type of maximum signal strength is that the host equipment of gateway is and the use The type of family device pairing is the host equipment of gateway.
In one embodiment, described to send pairing to the host equipment that the type that matched with the user equipment is gateway Instruction, it may include:
The facility information of the user equipment is added in the matched order;
Indicate it is described by host equipment that the type matched with the user equipment is gateway actively to the user equipment Request is initiated the connection, the gateway device is made to be matched with the user equipment.
In one embodiment, the method may also include:
Determine the gateway device and the user equipment whether successful matching;
When determining successful matching, instruction message is sent to the intelligent terminal, the instruction message is used to indicate described Intelligent terminal disconnects the connection of the intelligent terminal and the user equipment.
According to the second aspect of the embodiment of the present disclosure, a kind of user equipment contrast means are provided, including:
Detection module is configured as the type for the host equipment that detection is currently matched with user equipment and detects described With the presence or absence of the host equipment that the type communicated with the user equipment is gateway around user equipment;
First determining module is configured as detecting the current host with user equipment pairing when the detection module The type of equipment is intelligent terminal and detects to exist around the user equipment and communicated with the user equipment It, will be with institute for determination in the host equipment of gateway from least one type when at least one type is the host equipment of gateway The type for stating user equipment pairing is the host equipment of gateway;
Sending module is configured as the class that will be matched with the user equipment determined to first determining module Type is that the host equipment of gateway sends matched order, and the type is made to be the host equipment of gateway according to the matched order and institute User equipment is stated to be matched.
In one embodiment, the detection module may include:
Receiving submodule is configured as receiving at least one notification message from least one host equipment;
Analyzing sub-module is configured as parsing at least one notification message received from the receiving submodule The unpaired message of the facility information of the user equipment and the user equipment;
Detection sub-module is configured as detection and the use in the unpaired message being resolved to from the analyzing sub-module The type for the host equipment that family equipment is currently matched.
In one embodiment, the detection module may also include:
First determination sub-module is configured as at least one notification message received from the receiving submodule Determine that type is the number of the host equipment of gateway at least one host equipment;
Second determination sub-module, if being configured as first determination sub-module determines that the number is more than or equal to 1, it is determined that there is the master that at least one type communicated with the user equipment is gateway around the user equipment Machine equipment.
In one embodiment, first determining module may include:
Third determination sub-module is configured to determine that at least one type is that the host equipment of gateway is currently received The signal from the user equipment intensity, alternatively, determine that the user equipment is currently received from type be net The intensity of the signal of the host equipment of pass;
4th determination sub-module is configured to determine that at least one type that the third determination sub-module determines is In signal strength in the host equipment of gateway the corresponding type of maximum signal strength be the host equipment of gateway be with it is described The type of user equipment pairing is the host equipment of gateway.
In one embodiment, the sending module may include:
Submodule is added, is configured as the facility information of the user equipment being added in the matched order;
It indicates submodule, is configured as indicating the host equipment by the type matched with the user equipment for gateway Request actively is initiated the connection to the user equipment, the host equipment that the type is gateway is made to be matched with the user equipment.
In one embodiment, described device may also include:
Second determining module is configured to determine that the type is whether the host equipment of gateway matches with the user equipment To success;
Instruction message sending module is configured as when second determining module determines successful matching, to the intelligence Terminal sends instruction message, and the instruction message is used to indicate the intelligent terminal disconnection intelligent terminal and is set with the user Standby connection.
According to the third aspect of the embodiment of the present disclosure, a kind of server is provided, including:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
Detection currently with user equipment pairing host equipment type and detection around the user equipment whether In the presence of the host equipment that the type communicated with the user equipment is gateway;
When the type for the host equipment for detecting the pairing of the current and user equipment for intelligent terminal and detects When around the user equipment in the presence of the host equipment that at least one type communicated with the user equipment is gateway, from At least one type be gateway host equipment in determine host that the type matched with the user equipment is gateway Equipment;
The host equipment that the type matched with the user equipment is gateway is sent into matched order to described, makes the class Type is that the host equipment of gateway is matched according to the matched order and the user equipment.
The technical scheme provided by this disclosed embodiment can include the following benefits:It is currently set with user when detecting The type of the host equipment of standby pairing is intelligent terminal and detects to exist around user equipment and led to user equipment Letter at least one type be gateway host equipment when, from least one type be gateway host equipment in determination will with The type of family device pairing is the host equipment of gateway, so that gateway device is matched according to matched order and user equipment, keeps away The call duration time for having exempted from user equipment and intelligent terminal is long, reduces the power consumption of intelligent terminal, extends intelligent terminal as possible Standby time.
It should be understood that above general description and following detailed description is only exemplary and explanatory, not The disclosure can be limited.
Description of the drawings
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the present invention Example, and be used to explain the principle of the present invention together with specification.
Figure 1A is the flow chart according to the user equipment matching method shown in an exemplary embodiment.
Figure 1B is the scene graph according to the user equipment matching method shown in an exemplary embodiment.
Fig. 2 is the flow chart according to the user equipment matching method shown in an exemplary embodiment one.
Fig. 3 is the flow chart according to the user equipment matching method shown in an exemplary embodiment two.
Fig. 4 is a kind of block diagram of user equipment contrast means shown according to an exemplary embodiment.
Fig. 5 is the block diagram of another user equipment contrast means shown according to an exemplary embodiment.
Fig. 6 is a kind of block diagram suitable for user equipment contrast means shown according to an exemplary embodiment.
Specific implementation mode
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent and the consistent all embodiments of the present invention.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects being described in detail in claims, of the invention.
Figure 1A is according to the flow chart of the user equipment matching method shown in an exemplary embodiment, and Figure 1B is shown according to one Example property implements the scene graph of user equipment matching method exemplified, the user equipment matching method can apply in server or In person's other equipment, the user equipment described in the disclosure can be wearable devices and the intelligence such as Intelligent bracelet, intelligent glasses Smart home devices such as energy air-conditioning, Intelligent purifying device etc., these equipment can be with intelligent terminal (for example, smart mobile phone, tablet Computer etc.) it is communicatively coupled, as shown in Figure 1A, which includes the following steps S101-S103:
In step S101, detection is currently with the type of the host equipment of user equipment pairing and detection in user equipment Surrounding is with the presence or absence of the host equipment that the type communicated with user equipment is gateway.
In one embodiment, if user equipment the host equipment currently matched type be intelligent terminal, Yong Hushe The broadcasting packet of the standby host information that the facility information and intelligent terminal that carry user equipment can be sent to surrounding, receives this The type of message is that the host equipment of gateway sends notification information to server, and server is by parsing notification message, to examine Survey currently with user equipment pairing host equipment type and with the presence or absence of the type communicated with user equipment be net The host equipment of pass;In another embodiment, intelligent terminal actively can send inquiry message to server, can in inquiry message To carry the facility information of user equipment and the host information of intelligent terminal, server is in the equipment letter for receiving intelligent terminal After breath and host information, broadcasting packet is sent to the equipment around user equipment, whether is deposited around user equipment with detection In the host equipment that the type communicated with user equipment is gateway.
In step s 102, when the type for detecting the host equipment currently currently matched with user equipment is intelligent terminal And detect that at least one type for existing around user equipment and being communicated with user equipment is the host equipment of gateway When, being determined from the host equipment that at least one type is gateway will set with host that the type that user equipment matches is gateway It is standby.
In one embodiment, it is gateway that may have at least one type that can access network around user equipment Host equipment, therefore, server can be used by oneself according at least one type for what the host equipment of gateway was currently received The intensity of the signal of family equipment determines that the type with user equipment pairing is the host equipment of gateway, alternatively, determining user equipment The intensity for the signal from the host equipment that type is gateway being currently received;In another embodiment, server can be with The type with user equipment pairing is determined according to the space length of host equipment and user equipment that at least one type is gateway For the host equipment of gateway.
In step s 103, matched order is sent to the host equipment that the type that will be matched with user equipment is gateway, made Type is that the host equipment of gateway is matched according to matched order and user equipment.
The disclosure is illustrated with reference to Figure 1B, as shown in Figure 1B, is by bluetooth bracelet of user equipment Example illustrates, and bluetooth bracelet 11 is after detecting that it is currently matched with intelligent terminal 12, and bluetooth bracelet 11 is to its week Enclose the broadcasting packet for the host information for sending the facility information and intelligent terminal 12 that carry bluetooth bracelet 11.131 He of gateway device Gateway device 132 has received the broadcasting packet, and gateway device 131 and gateway device 132 send to server 14 logical respectively Know information.Server 14 learns that the type for the host equipment that bluetooth bracelet 11 matches is that intelligence is whole from the notification information received End 12, and the host equipment for being sent to the notification information of server 14 is gateway device 131 and gateway device 132, is illustrated There are bluetooth hosts within the scope of the communication distance of bluetooth bracelet 11, that is, gateway device 131 and gateway device 132.Server 14 from The gateway device matched with bluetooth bracelet 11 is determined in gateway device 131 and gateway device 132, for example, determining gateway device 131 It is matched with bluetooth bracelet 11, then server 14 will send the facility information for carrying bluetooth bracelet 11 to gateway device 131 Matched order makes 131 active of gateway device initiate the connection invitation to bluetooth equipment 11, to realize gateway device 131 and bluetooth The pairing of bracelet 11.
It will be appreciated by persons skilled in the art that in order to highlight the intelligent terminal in the disclosure, gateway device and service Interaction between device does not appear in relevant routing device in scene graph in Figure 1B.
In the present embodiment, when the type for detecting the host equipment currently matched with user equipment for intelligent terminal and is examined Measure when there is host equipment that at least one type for being communicated with user equipment is gateway around user equipment, to A few type be gateway host equipment in determine by with the host equipment that the type that user equipment matches is gateway, make type It is matched according to matched order and user equipment for the host equipment of gateway, avoids the communication of user equipment and intelligent terminal Overlong time reduces the power consumption of intelligent terminal, extends the standby time of intelligent terminal as possible.
In one embodiment, the type for the host equipment that detection is currently matched with user equipment, it may include:
Receive at least one notification message from least one host equipment;
The unpaired message of the facility information and user equipment of user equipment is parsed from least one notification message;
The type for the host equipment that detection is currently matched with user equipment from unpaired message.
In one embodiment, detection is gateway with the presence or absence of the type communicated with user equipment around user equipment Host equipment, it may include:
Type is the number of the host equipment of gateway from determining at least one host equipment at least one notification message;
If it is determined that number is more than or equal to 1, it is determined that exist around user equipment and communicated with user equipment At least one type be gateway host equipment.
In one embodiment, the type matched with user equipment is determined from the host equipment that at least one type is gateway For the host equipment of gateway, it may include:
Determine that at least one type is the intensity for the signal from user equipment that the host equipment of gateway is currently received;
It is to match with user equipment to determine in signal strength that the corresponding type of maximum signal strength is the host equipment of gateway To type be gateway host equipment, alternatively, determine user equipment be currently received from type be gateway host set The intensity of standby signal.
In one embodiment, matched order is sent to the host equipment that the type that will be matched with user equipment is gateway, it can Including:
The facility information of user equipment is added in matched order;
It indicates the host equipment that the type matched in user equipment is gateway actively initiating the connection request to user equipment, The host equipment that type is gateway is set to be matched with user equipment.
In one embodiment, method may also include:
Determine gateway device and user equipment whether successful matching;
When determining successful matching, instruction message is sent to intelligent terminal, it is disconnected which is used to indicate intelligent terminal Open the connection of intelligent terminal and user equipment.
Specifically how user equipment is matched, please refers to subsequent embodiment.
So far, the above method that the embodiment of the present disclosure provides, it is that the host equipment of gateway refers to according to pairing that can make type Order is matched with user equipment, avoids the call duration time of user equipment and the host equipment that type is intelligent terminal long, drop The power consumption of low intelligent terminal.
The technical solution of embodiment of the present disclosure offer is provided with specific embodiment below.
Fig. 2 is the flow chart according to the user equipment matching method shown in an exemplary embodiment one;The present embodiment utilizes The above method that the embodiment of the present disclosure provides illustrates, such as by taking user equipment is actively initiated as an example and in conjunction with Figure 1B Shown in Fig. 2, include the following steps:
In step s 201, user equipment, will be to after detecting that the type of host equipment of its pairing is intelligent terminal Broadcasting packet is sent around user equipment, and the facility information of user equipment and the master of intelligent terminal are carried in the broadcasting packet Machine information.
In step S202, the host equipment for receiving the broadcasting packet sends notification information to server.
In one embodiment, the host equipment for receiving the broadcasting packet both can be that the intelligence near user equipment is whole End, or the gateway device near user equipment.
In step S203, server receives at least one notification message from least one host equipment.
In step S204, the facility information of user equipment and matching for user equipment are parsed from least one notification message To information.
In step S205, the type of the host equipment currently matched with user equipment is detected from unpaired message.
In one embodiment, the type of the host equipment currently matched with user equipment both can be intelligent terminal, also may be used Think gateway device.
In step S206, type is gateway device from determining at least one host equipment at least one notification message Host equipment number.
In step S207, if it is determined that number is more than or equal to 1, it is determined that exists around user equipment and user At least one type that equipment is communicated is the host equipment of gateway.
In step S208, determine that at least one type comes from user equipment for what the host equipment of gateway was currently received Signal intensity.
In step S209, determine host equipment that the corresponding type of the maximum signal strength of signal strength is gateway be with The type of user equipment pairing is the host equipment of gateway.
In step S210, the facility information of user equipment is added in matched order.
In step S211, the type that be matched in user equipment is the host equipment of gateway actively to user equipment by instruction Request is initiated the connection, the host equipment that type is gateway is made to be matched with user equipment.
The disclosure is illustrated with reference to such as Figure 1B, as shown in Figure 1B, bluetooth bracelet 11 is detecting it After the type of the host equipment of pairing is intelligent terminal 12, by sending broadcasting packet around bluetooth bracelet 11, the broadcast report The host information of the facility information and intelligent terminal 12 of bluetooth bracelet 11 is carried in text.Gateway device 131 and gateway device 132 After receiving the broadcasting packet, notification information is sent to server 14.Server 14, which receives, comes from gateway device 131 and gateway The notification message of equipment 132, the pairing of the facility information and bluetooth bracelet 11 of parsing bluetooth bracelet 11 in respective notification message Information detects the type of the host equipment currently matched with bluetooth bracelet 11 from unpaired message, for example, the type of host equipment For gateway device.Server 14 determines that the number of gateway device is 2 from respective notification message, it is determined that in bluetooth bracelet There is the gateway device 131 communicated with bluetooth bracelet 11 and gateway device 132 in 11 surroundings.Server 14 determines gateway device 131 and the current signal strength of gateway device 132, determine that the signal strength in gateway device 131 and gateway device 132 is maximum Gateway device (such as gateway device 131) is the gateway device matched with bluetooth bracelet 11.Server 14 is by bluetooth bracelet 11 Facility information is added in matched order, and instruction 131 active of gateway device initiates the connection request to bluetooth bracelet 11, and gateway is made to set Standby 131 match with bluetooth bracelet 11.
In the present embodiment, user equipment is main after detecting that the type of the host equipment of its current pairing is intelligent terminal Broadcasting packet is sent around trend user equipment, so as to make the type near user equipment be that the host equipment of gateway exists It sends a notification message to server after receiving the broadcasting packet, server is net according to type upon receiving the notification message The intensity for the signal from user equipment that the host equipment of pass is currently received determines that the type with user equipment pairing is net The host equipment of pass, so that it is guaranteed that user equipment can have preferable communications status by the host equipment that type is gateway; Further, since user equipment is matched with type for the host equipment of gateway, and no longer matched with intelligent terminal, from And the power consumption of intelligent terminal can be reduced, the standby time of intelligent terminal is extended as possible.
Fig. 3 is the flow chart according to the user equipment matching method shown in an exemplary embodiment two;The present embodiment utilizes The above method that the embodiment of the present disclosure provides by taking intelligent terminal actively initiates inquiry message as an example and combines Figure 1B progress exemplary It says, as shown in figure 3, including the following steps:
In step S301, intelligent terminal actively to server send inquiry message, with to server inform its with User equipment is matched, and the facility information of user equipment and the host information of intelligent terminal are carried in the inquiry message.
In step s 302, server is sent extensively around the facility information rear line equipment for receiving user equipment Text is reported, to detect around user equipment with the presence or absence of the type communicated with user equipment as the host equipment of gateway.
In step S303, receives the type of the broadcasting packet and send notice letter to server for the host equipment of gateway Breath.
In step s 304, server receives at least one notice from the host equipment that at least one type is gateway Message.
In step S305, determine that at least one type is the number of the host equipment of gateway from least one notification message Mesh.
In step S306, if it is determined that number is more than or equal to 1, it is determined that exists around user equipment and user At least one type that equipment is communicated is the host equipment of gateway.
In step S307, determine that at least one type is the space length of the host equipment and user equipment of gateway.
In step S308, determine that the nearest gateway of the space length in the host equipment that at least one type is gateway is set The standby gateway device to be matched with user equipment.
In step S309, matched order is sent to the host equipment that the type matched with user equipment is gateway, makes class Type is that the host equipment of gateway is matched according to matched order and user equipment.
In step S310, determine host equipment and user equipment that type is gateway whether successful matching.
In step S311, when determining successful matching, instruction message is sent to intelligent terminal, the instruction message is for referring to Show that intelligent terminal disconnects the connection of intelligent terminal and user equipment.
The disclosure is illustrated with reference to such as Figure 1B, as shown in Figure 1B, 12 active of intelligent terminal is to service Device 14 sends inquiry message and is carried in the inquiry message with informing that it is matched with bluetooth bracelet 11 to server 14 There is the host information of the facility information and intelligent terminal 12 of bluetooth bracelet 11, server 14 is in the equipment for receiving bluetooth bracelet 11 To sending broadcasting packet around bluetooth bracelet 11 after information, whether there is around bluetooth bracelet 11 and bluetooth bracelet with detecting 11 gateway devices communicated.The gateway device 131 and gateway device 132 for receiving the broadcasting packet are sent to server 14 Notification information.Server 14 receives the notification message from gateway device 131 and gateway device 132.
Gateway device 131 and gateway device 132 parsed from respective notification message bluetooth bracelet 11 facility information and The unpaired message of bluetooth bracelet 11.Server 14 detects the host equipment currently matched with bluetooth bracelet 11 from unpaired message Type determines that the type of host equipment is gateway device, and the number of gateway device is 2.Server 14 determines that gateway is set Standby 131 and gateway device 132 and bluetooth bracelet 11 space length, determine the space of gateway device 131 and gateway device 132 away from It is the gateway device that will be matched with bluetooth bracelet 11 from nearest gateway device (such as gateway device 132).Server 14 is to net It closes equipment 132 and sends matched order, gateway device 132 is made to be matched according to matched order and bluetooth bracelet 11.Server 14 Determine whether successful matching sends to intelligent terminal 12 and indicate when determining successful matching gateway device 132 with bluetooth bracelet 11 Message, the instruction message are used to indicate the connection that intelligent terminal 12 disconnects itself and bluetooth bracelet 11.
In the present embodiment, terminal device actively to server send inquiry message, to server inform its with user Equipment is matched, and server detection is currently net with the presence or absence of the type communicated with user equipment around user equipment The host equipment of pass determines that the type with user equipment pairing is gateway according to the space length for the host equipment that type is gateway Host equipment, so that it is guaranteed that user equipment by type be gateway host equipment can have preferable communications status;This Outside, it since user equipment has been matched with type for the host equipment of gateway, and is no longer matched with intelligent terminal, to The power consumption of intelligent terminal can be reduced, extends the standby time of intelligent terminal as possible.
Fig. 4 is a kind of block diagram of user equipment contrast means shown according to an exemplary embodiment, can be applicable to service On device, as shown in figure 4, user equipment contrast means include:
Detection module 41, be configured as the type of host equipment that detection currently match with user equipment and detect with With the presence or absence of the host equipment that the type communicated with user equipment is gateway around the equipment of family;
First determining module 42 is configured as detecting the host equipment currently matched with user equipment when detection module 41 Type be intelligent terminal and detect there is at least one type for being communicated with user equipment around user equipment It is standby when being set for the host of gateway, determine the type that will be matched with user equipment from the host equipment that at least one type is gateway For the host equipment of gateway;
Sending module 43, be configured as determining to the first determining module 42 is gateway by the type matched with user equipment Host equipment send matched order, make type be gateway host equipment matched according to matched order and user equipment.
Fig. 5 is the block diagram of another user equipment contrast means shown according to an exemplary embodiment, as shown in figure 5, Above-mentioned detection module 41 may include:
Receiving submodule 411 is configured as receiving at least one notification message from least one host equipment;
Analyzing sub-module 412 is configured as parsing at least one notification message received from receiving submodule 411 and use The facility information of family equipment and the unpaired message of user equipment;
Detection sub-module 413 is configured as detection and user equipment in the unpaired message that analytically submodule 412 is resolved to The type of the host equipment currently matched.
In one embodiment, detection module 41 may also include:
First determination sub-module 414 is configured as at least one notification message received from receiving submodule 411 really Type is the number of the host equipment of gateway in fixed at least one host equipment;
Second determination sub-module 415 ascertains the number if being configured as the first determination sub-module 414 more than or equal to 1, Then determine that at least one type for existing around user equipment and being communicated with user equipment is the host equipment of gateway.
In one embodiment, the first determining module 42 may include:
Third determination sub-module 421 is configured to determine that at least one type that detection module 41 detects is gateway The intensity for the signal from user equipment that host equipment is currently received;
4th determination sub-module 422 is configured to determine that at least one type that third determination sub-module 421 determines is net It is to be set with user that the corresponding type of maximum signal strength, which is the host equipment of gateway, in signal strength in the host equipment of pass The type of standby pairing is the host equipment of gateway, alternatively, determining the master from type for gateway that user equipment is currently received The intensity of the signal of machine equipment.
In one embodiment, sending module 43 may include:
Submodule 431 is added, is configured as the facility information of user equipment being added in matched order;
It indicates submodule 432, is configured as indicating the host equipment active by the type matched with user equipment is gateway Request is initiated the connection to user equipment, the host equipment that type is gateway is made to be matched with user equipment.
In one embodiment, device may also include:
Second determining module 44 is configured to determine that type is whether the host equipment of gateway is paired into user equipment Work(;
Instruction message sending module 45 is configured as when the second determining module 44 determines successful matching, to intelligent terminal Instruction message is sent, which is used to indicate the connection that intelligent terminal disconnects intelligent terminal and user equipment.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
Fig. 6 is a kind of block diagram suitable for user equipment contrast means shown according to an exemplary embodiment.For example, dress It sets 600 and may be provided as a server.With reference to Fig. 6, device 600 includes processing component 622, further comprises one or more A processor, and by the memory resource representated by memory 632, it can be by the finger of the execution of processing component 622 for storing It enables, such as application program.The application program stored in memory 632 may include it is one or more each correspond to The module of one group of instruction.In addition, processing component 622 is configured as executing instruction, to execute above-mentioned user equipment matching method.
Device 600 can also include the power management that a power supply module 626 is configured as executive device 600, and one has Line or radio network interface 650 are configured as device 600 being connected to network and input and output (I/O) interface 658.Dress Setting 600 can operate based on the operating system for being stored in memory 632, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or similar.
Those skilled in the art will readily occur to its of the disclosure after considering specification and putting into practice disclosure disclosed herein Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Person's adaptive change follows the general principles of this disclosure and includes the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following Claim is pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.

Claims (13)

1. a kind of user equipment matching method, which is characterized in that the method includes:
Detection currently whether there is with the type of the host equipment of user equipment pairing and detection around the user equipment The type communicated with the user equipment is the host equipment of gateway;
When the type for detecting the current host equipment matched with the user equipment for intelligent terminal and is detected described When there is the host equipment that at least one type for being communicated with the user equipment is gateway around user equipment, from described At least one type be gateway host equipment in determine host equipment that the type matched with the user equipment is gateway;
The host equipment that the type matched with the user equipment is gateway is sent into matched order to described, makes the type be The host equipment of gateway is matched according to the matched order and the user equipment.
2. according to the method described in claim 1, it is characterized in that, the host equipment that the detection is currently matched with user equipment Type, including:
Receive at least one notification message from least one host equipment;
The facility information of the user equipment and the pairing letter of the user equipment are parsed from least one notification message Breath;
The type for the host equipment that detection is currently matched with the user equipment from the unpaired message.
3. according to the method described in claim 2, it is characterized in that, it is described detection around the user equipment with the presence or absence of with The type that the user equipment is communicated is the host equipment of gateway, including:
Type is the host equipment of gateway from determining at least one host equipment at least one notification message Number;
If it is determined that the number is more than or equal to 1, it is determined that exist and the user equipment around the user equipment At least one type communicated is the host equipment of gateway.
4. according to the method described in claim 1, it is characterized in that, described set from the host that at least one type is gateway The type of standby middle determination and user equipment pairing is the host equipment of gateway, including:
Determine that at least one type is the signal from the user equipment that the host equipment of gateway is currently received Intensity, alternatively, determining the intensity for the signal from the host equipment that type is gateway that the user equipment is currently received;
It is to be set with the user to determine in the signal strength that the corresponding type of maximum signal strength is the host equipment of gateway The type of standby pairing is the host equipment of gateway.
5. according to the method described in claim 1, it is characterized in that, it is described to the type that will be matched with the user equipment be net The host equipment of pass sends matched order, including:
The facility information of the user equipment is added in the matched order;
Indicate it is described by the type matched with the user equipment be gateway host equipment actively to the user equipment initiate Connection request makes the host equipment that the type is gateway be matched with the user equipment.
6. according to the method described in claim 1, it is characterized in that, the method further includes:
Determine host equipment and the user equipment that the type is gateway whether successful matching;
When determining successful matching, instruction message is sent to the intelligent terminal, the instruction message is used to indicate the intelligence Terminal disconnects the connection of the intelligent terminal and the user equipment.
7. a kind of user equipment contrast means, which is characterized in that described device includes:
Detection module is configured as the type for the host equipment that detection is currently matched with user equipment and detects in the user With the presence or absence of the host equipment that the type communicated with the user equipment is gateway around equipment;
First determining module is configured as detecting the current host equipment with user equipment pairing when the detection module Type be intelligent terminal and detect around the user equipment exist communicated at least with the user equipment When one type is the host equipment of gateway, determination will be with the use from the host equipment that at least one type is gateway The type of family device pairing is the host equipment of gateway;
Sending module, be configured as determining to first determining module described is by the type matched with the user equipment The host equipment of gateway sends matched order, makes the host equipment that the type is gateway according to the matched order and the use Family equipment is matched.
8. device according to claim 7, which is characterized in that the detection module includes:
Receiving submodule is configured as receiving at least one notification message from least one host equipment;
Analyzing sub-module is configured as at least one notification message received from the receiving submodule described in parsing The unpaired message of the facility information of user equipment and the user equipment;
Detection sub-module is configured as detection in the unpaired message being resolved to from the analyzing sub-module and is set with the user The type of the standby host equipment currently matched.
9. device according to claim 8, which is characterized in that the detection module further includes:
First determination sub-module is configured as determining at least one notification message received from the receiving submodule Type is the number of the host equipment of gateway at least one host equipment;
Second determination sub-module, if being configured as first determination sub-module determines that the number is more than or equal to 1, Determine that at least one type for existing around the user equipment and being communicated with the user equipment is that the host of gateway is set It is standby.
10. device according to claim 7, which is characterized in that first determining module includes:
Third determination sub-module is configured to determine that at least one type is come for what the host equipment of gateway was currently received From the intensity of the signal of the user equipment, alternatively, determine that the user equipment is currently received from type be gateway The intensity of the signal of host equipment;
4th determination sub-module is configured to determine that at least one type that the third determination sub-module determines is gateway Host equipment in signal strength in the corresponding type of maximum signal strength be that the host equipment of gateway is and the user The type of device pairing is the host equipment of gateway.
11. device according to claim 7, which is characterized in that the sending module includes:
Submodule is added, is configured as the facility information of the user equipment being added in the matched order;
It indicates submodule, is configured as indicating the host equipment active by the type matched with the user equipment for gateway Request is initiated the connection to the user equipment, the host equipment that the type is gateway is made to be matched with the user equipment.
12. device according to claim 7, which is characterized in that described device further includes:
Second determining module is configured to determine that the type is whether the host equipment of gateway is paired into the user equipment Work(;
Instruction message sending module is configured as when second determining module determines successful matching, to the intelligent terminal Instruction message is sent, the instruction message is used to indicate the intelligent terminal and disconnects the intelligent terminal and the user equipment Connection.
13. a kind of server, which is characterized in that the server includes:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
Detection currently whether there is with the type of the host equipment of user equipment pairing and detection around the user equipment The type communicated with the user equipment is the host equipment of gateway;
When the type for detecting the current host equipment matched with the user equipment for intelligent terminal and is detected described When there is the host equipment that at least one type for being communicated with the user equipment is gateway around user equipment, from described At least one type be gateway host equipment in determine host equipment that the type matched with the user equipment is gateway;
The host equipment that the type matched with the user equipment is gateway is sent into matched order to described, makes the type be The host equipment of gateway is matched according to the matched order and the user 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 CN104684056A (en) 2015-06-03
CN104684056B true 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)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106412843B (en) * 2015-07-31 2020-05-26 浙江大华技术股份有限公司 Method, device and system for pairing gateway and terminal
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

Citations (3)

* 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
CN103823360A (en) * 2012-11-16 2014-05-28 南京物联传感技术有限公司 Wireless communication watch device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9094091B2 (en) * 2012-10-11 2015-07-28 Htc Corporation Method and apparatus for performing hands-free profile control, and associated computer program product

Patent Citations (3)

* 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
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

Also Published As

Publication number Publication date
CN104684056A (en) 2015-06-03

Similar Documents

Publication Publication Date Title
CN104684056B (en) User equipment matching method, device and server
CN104205998A (en) Method and apparatus for relaying data communications in a bluetooth network
CN103379448A (en) Method of reducing a waiting time when cancelling a connection and an electronic device therefor
KR20190047598A (en) Method and device of transmitting data
AU2021277688A1 (en) Methods, network entities, network exposure entity and computer readable media for data delivery configuration
CN114245362B (en) Device reconnection method and Bluetooth peripheral
CN105451368A (en) Communication method and apparatus
JP6345254B2 (en) Video communication termination method and apparatus
CN103428807B (en) The system of selection of communication relay node and communication center node, cordless communication network
CN102868819A (en) Method and device for processing communication service of public account
WO2014183439A1 (en) Method, apparatus and system for switching function mode
CN103458507B (en) A kind of blueteeth network application process and system based on mobile terminal
CN105549836A (en) Method for processing messages on screen-lock interface of mobile electronic terminal and mobile electronic terminal
CN107396319B (en) A kind of method of wireless network authentication, equipment, storage medium and terminal reclaimer
CN112953794B (en) Network detection method, device, equipment and storage medium of router
CN106304241B (en) Data transmission method, repeater and gateway
KR102596801B1 (en) PC5 link establishment methods, equipment and systems
CN104219729B (en) connection processing method and electronic equipment
US9504045B2 (en) Bluetooth service estimation apparatus and bluetooth service estimation method thereof
CN112188593B (en) Wireless configuration method and device, storage medium and electronic device
CN106465087B (en) Communication message transfer method and related device
WO2022206831A1 (en) Communication mode determination method and apparatus, and related device
CN104580070A (en) Method, device and system for confirming network conversations
US9380085B2 (en) Server and method for providing collaboration service, and sociality management server
KR102035016B1 (en) Communicating apparatus able to call private secretary service on the phone

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