CN108111999A - Short-distance communication equipment shares request and control method and electronic equipment - Google Patents

Short-distance communication equipment shares request and control method and electronic equipment Download PDF

Info

Publication number
CN108111999A
CN108111999A CN201711455270.1A CN201711455270A CN108111999A CN 108111999 A CN108111999 A CN 108111999A CN 201711455270 A CN201711455270 A CN 201711455270A CN 108111999 A CN108111999 A CN 108111999A
Authority
CN
China
Prior art keywords
equipment
short
distance communication
request
communication 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
CN201711455270.1A
Other languages
Chinese (zh)
Other versions
CN108111999B (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 Horizon Robotics Technology Research and Development Co Ltd
Original Assignee
Beijing Horizon Robotics Technology Research and Development Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Horizon Robotics Technology Research and Development Co Ltd filed Critical Beijing Horizon Robotics Technology Research and Development Co Ltd
Priority to CN201711455270.1A priority Critical patent/CN108111999B/en
Publication of CN108111999A publication Critical patent/CN108111999A/en
Application granted granted Critical
Publication of CN108111999B publication Critical patent/CN108111999B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/04Terminal devices adapted for relaying to or from another terminal or user

Abstract

This application involves short-distance communication equipments to share request and control method and electronic equipment.It is a kind of to be performed that the method for sharing equipment is controlled to include by high in the clouds according to an exemplary embodiment:Short-distance communication equipment, which is received, from request equipment shares request;Inquire about the connection status of the short-distance communication equipment;The short-distance communication equipment be in can connection status when, notify the request equipment;Connection request is received from the request equipment, the agent equipment of the short-distance communication equipment is determined, and the connection request is transmitted to the agent equipment;The message with the short-distance communication equipment successful connection is received from the agent equipment, and is transmitted to the request equipment;It receives the request equipment and is sent to the communication instruction of the short-distance communication equipment, and be transmitted to the agent equipment;And receive the short-distance communication equipment that the agent equipment forwards and be sent to the communication instruction of the request equipment, and it is transmitted to the request equipment.

Description

Short-distance communication equipment shares request and control method and electronic equipment
Technical field
Present invention relates generally to the communications fields, share request and controlling party more particularly, to short-distance communication equipment Method and electronic equipment, it can be used to share the short-distance communication equipment around electronic equipment, such as bluetooth equipment.
Background technology
Bluetooth has many advantages, such as low cost, low-power consumption, convenient and efficient as a kind of short-distance wireless communication technology scheme, Therefore it is widely used in various occasions and field always.For example, it is set in portable electric appts, smart home or intelligence wearing In standby, bluetooth connection be used to establish always connection between devices with sharing data and/or various functions, to realize As the convenient information between household, friend is shared.
As short haul connection, user, which needs just receive around short-distance communication equipment, to be broadcasted and then is attached To share short-distance communication equipment.In order to promote the distance of Bluetooth signal covering, present scheme is typically to be set by third party It is standby to carry out signal enhancing.Correspondingly, program cost is higher to be caused to the demand of third party signalling enhancing equipment, and still Do not solve the problems, such as that Bluetooth communication distance is limited fundamentally.
On the other hand, for security consideration, traditional bluetooth sharing scheme needs to use token (token).It waits to share Bluetooth equipment, which shares to its token, shares request equipment, then the equipment utilization token is asked to be established with bluetooth equipment to be shared Bluetooth connection.If by short-range communication protocols be extended to over long distances apply in, security be also essential to consider one ask Topic.
Therefore, it is still necessary to a kind of flexible short haul connection mode, using short-range communication protocols, but can break through away from From limitation, and with enough securities.
The content of the invention
In view of above-mentioned prior art situation, the application proposes that a kind of short-distance communication equipment shares scheme, passes through high in the clouds The short haul connection broadcast that inquiry proxy equipment uploads, the short haul connection of such as bluetooth by other telecommunication media into Row safety forwarding, to break through the limitation of the distance of short haul connection, realizes the telecommunication of bluetooth.
According to one exemplary embodiment of the application, provide it is a kind of the method shared with control device is performed by high in the clouds, including: Short-distance communication equipment, which is received, from request equipment shares request;Inquire about the connection status of the short-distance communication equipment;Described Short-distance communication equipment be in can connection status when, notify the request equipment;Connection request is received from the request equipment, really The agent equipment of the fixed short-distance communication equipment, and the connection request is transmitted to the agent equipment;From the generation The message of equipment reception and the short-distance communication equipment successful connection is managed, and is transmitted to the request equipment;Described in reception Request equipment is sent to the communication instruction of the short-distance communication equipment, and is transmitted to the agent equipment;And receive institute The short-distance communication equipment for stating agent equipment forwarding is sent to the communication instruction of the request equipment, and is transmitted to described Ask equipment.
In some instances, the method further includes:It is wide that the short haul connection that it scans is received from the agent equipment The connection status with the agent equipment and the short-distance communication equipment is broadcast, wherein short haul connection broadcast includes to solve The information of the short-distance communication equipment of analysis;And the short-distance communication equipment and connection status are increased into short distance and led to Believe in list of devices.
In some instances, the information of the short-distance communication equipment includes:Device mac address, device type ID, equipment In unique mark dID, device name, equipment user ID, timestamp, broadcast signal strength and current geographic position information It is one or more.
In some instances, the short-distance communication equipment list includes following one or more associations attribute:It sends short The sending time stamp of the agent equipment of distance communication broadcast, the priority of agent equipment.
In some instances, the priority is stabbed according to the sending time and/or broadcast signal strength determines.
In some instances, the agent equipment for determining the short-distance communication equipment includes:According to the nearest time Stamp or highest priority determine associated agent equipment.
In some instances, for timestamp attribute, when the timestamp is more than predetermined threshold apart from current time, neglect Corresponding record in slightly described short-distance communication equipment list.
In some instances, the agent equipment for determining the short-distance communication equipment further includes:In definite agency When equipment fails with the short-distance communication equipment, the association generation of next ranking is determined according to timestamp or priority ranking Manage equipment.
In some instances, whether the information of the short-distance communication equipment further includes allows remotely to connect the short distance The mark of communication equipment.
In some instances, the short haul connection include Bluetooth communication, near-field communication (NFC), infrared communication and Zigbee communication.
According to the application another exemplary embodiment, a kind of method for asking to share short-distance communication equipment, including:Xiang Yun End sends short-distance communication equipment and shares request;The connection status of the short-distance communication equipment is received from high in the clouds;Described short Field communication device be in can connection status when, to high in the clouds send connection request;From high in the clouds receive the agent equipment with it is described The message of short-distance communication equipment successful connection;And by high in the clouds and the agent equipment, with the short-distance communication equipment It communicates.
In some instances, it is described carry out with the short-distance communication equipment communicating including:It sends encrypted by token Communication instruction.
In some instances, the encrypted communication instruction includes:Message header, sequence number and check code.
In some instances, sequence number random initializtion in each foundation connection, and incrementally generate, For preventing Replay Attack.
According to the application another exemplary embodiment, a kind of electronic equipment is provided, including:Short-range communication module uses Short-range communication protocols communicate;And processor, be configured to the computer program instructions in run memory to perform on State method.
In some instances, the electronic equipment further includes:Remote communication module is led to using telecommunication protocol Letter.
In some instances, the electronic equipment includes mobile phone, tablet, personal digital assistant or gateway.
According to the another exemplary embodiment of the application, a kind of computer readable storage medium is provided, is stored thereon with calculating Machine program instruction, the computer program instructions cause the processor to perform the above method when being run by processor.
According to the another exemplary embodiment of the application, a kind of computer program product is provided, is referred to including computer program Order, the computer program instructions cause the processor to perform the above method when being run by processor.
Scheme is shared by the short-distance communication equipment of the application, using high in the clouds as intermediary, is set by high in the clouds inquiry proxy The short haul connection broadcast of the standby such as bluetooth uploaded, forwards short haul connection, no by other telecommunication intermediary securities The remote expansion that short haul connection can be realized in signal enhancing is relied on, it is short without can also be carried out therewith around equipment to be shared Distance communication can break through geographical location limitation, and can ensure the safety of communication.
The above and other feature and advantage of the application will become aobvious and easy the description of exemplary embodiment from following See.
Description of the drawings
The exemplary embodiment of the application is described in more detail in conjunction with the accompanying drawings, the application above-mentioned and its His purpose, feature and advantage will be apparent.Attached drawing is used for providing further understanding the embodiment of the present application, and structure Into part for specification, for explaining the application together with the embodiment of the present application, the limitation to the application is not formed.Attached In figure, identical reference number typically represents same parts or step.
Fig. 1 illustrates the systems of the executable short-distance communication equipment sharing method according to one exemplary embodiment of the application Topological diagram.
Fig. 2 illustrates the flow chart of the short-distance communication equipment sharing method according to one exemplary embodiment of the application.
Fig. 3 illustrates the structure diagram of the electronic equipment according to one exemplary embodiment of the application.
Specific embodiment
In the following, the exemplary embodiment that the application will be described in detail by referring to the drawings.Obviously, described embodiment is only It is the part of the embodiment of the application rather than the whole embodiments of the application, it should be appreciated that the application shows from described herein The limitation of example embodiment.
For above and other defect of the prior art, the basic conception of the application is using high in the clouds, and by bluetooth Communication protocol expands to various short-range communication protocols, propose a kind of request share short-distance communication equipment method, control it is short Method, electronic equipment, computer program product and the computer readable storage medium that field communication device is shared.Using high in the clouds as Intermediary, the short haul connection of such as bluetooth uploaded by high in the clouds inquiry proxy equipment broadcast, short haul connection are broadcasted and is carried out Extension forwards short haul connection by other telecommunication intermediary securities, does not depend on signal enhancing short distance can be realized and lead to The remote expansion of letter without can also carry out short haul connection therewith around equipment to be shared, can break through geographical location limit System, and can ensure the safety of communication.
It should be noted that the above-mentioned basic conception of the application can be applied not only to smart home or intelligence wearing scene In, it can also be applied in other systems application, as long as the relevant device for participating in communication has short-range communications functionality.Example Such as, the short-range device that the application is equally applicable in industrial environment shares application, such as in short distance involved in Internet of Things application From sharing short-range device in the scene of communication.
After the basic principle of the application is described, carry out the specific various non-limits for introducing the application below with reference to the accompanying drawings Property embodiment processed.
Fig. 1 illustrates the systems of the executable short-distance communication equipment sharing method according to one exemplary embodiment of the application Topological diagram, it illustrates the application scenarios that a kind of typical short-distance communication equipment is shared.It is set as shown in Figure 1, sharing request Standby B will establish short haul connection with equipment E (short-distance communication equipment) to be shared, and can first scan short haul connection broadcast.Such as Fruit is swept to, and represents that equipment E to be shared is sharing around request equipment B, can be directly connected to.If do not swept to, represent that equipment E works as Before may be connected around but with miscellaneous equipment or the electricity went off, it is also possible to equipment E is not around.In last situation, Sharing request equipment B can ask the short haul connection beyond sharing around request equipment B to be broadcasted to high in the clouds Y.High in the clouds Y is represented Background server usually provides necessary auxiliary background service by various wired communication modes or communication.Generation Reason device A can scan short-distance communication equipment present in its ambient enviroment, such as equipment E to be shared, and scanning is arrived Short haul connection broadcast upload to high in the clouds Y.If agent equipment A and equipment E to be shared establish short haul connection be connected or Person is disconnected connection, then such connection status message is uploaded to high in the clouds Y.High in the clouds Y can be wide by the short haul connection received Broadcast the request equipment B for being sent with connection status return and sharing request.
When sharing, agent equipment A establishes direct short haul connection with the equipment E to be shared to be shared first and is connected, Then agent equipment A forwards the communication information between request equipment B and equipment E to be shared between two parties, and agent equipment A is with sharing request Communication between equipment B can be the telecommunication by high in the clouds Y to carry out.By taking home environment as an example, the mobile phone of owner or flat Board device can be used as agent equipment A, around there is intelligent appliance equipment as equipment E to be shared, such as speaker, TV Machine etc..The mobile phone or tablet device of guest, which can be used as, shares request equipment B, and request shares to use such as speaker, TV The intelligent appliance equipment of machine etc.Agent equipment A, share each of request equipment B and equipment E to be shared there is short haul connection Module, so as to perform the various short haul connections being described below in detail operation.It is built in equipment E to be shared and agent equipment A After vertical direct short haul connection connection, agent equipment A is shared by high in the clouds Y forwardings between request equipment B and equipment E to be shared Communication.For example, can run same application or app on request equipment B and agent equipment A, request equipment B passes through this Application program or app send short-distance communication equipment to high in the clouds Y and share request, the application program of high in the clouds Y operations or the clothes of app Business device end program is responsible for the communication information between transfer request equipment B and agent equipment A.As previously mentioned, agent equipment A with share Communication between request equipment B can be by the telecommunication of high in the clouds Y, and agent equipment A asks equipment B may be used also with sharing at this time With with remote communication module, such as the mobile communication module of the Internet communication module or such as 3G, 4G and 5G etc.
Short haul connection described herein can include the short haul connection of any existing and following exploitation, such as but not It is limited to Bluetooth communication, near-field communication (NFC), infrared communication and Zigbee communication etc..
Understand spirit herein and principle it should be noted that above application scene is for only for ease of and show, this The embodiment of application is without being limited thereto.On the contrary, embodiments herein can be applied to any scene that may be applicable in.For example, It can share in any application environment of family, industry etc. including two or more request equipment, equipment to be shared and generation It can also be one or more pairs of to manage equipment, and an agent equipment can also control two or more equipment to be shared.
With reference to the application scenarios of Fig. 1, it is described with reference to Figure 2 and is led to according to the short distance of one exemplary embodiment of the application Believe equipment sharing method.
As shown in Fig. 2, short-distance communication equipment sharing method 100 may begin at step S110, share request equipment B to high in the clouds Y sends short-distance communication equipment and shares request.
In one embodiment, before step S110, in step S104, high in the clouds Y can Receiving Agent device A scan it is short Distance communication is broadcasted and the connection status of agent equipment A and short-distance communication equipment (equipment E to be shared), wherein the short distance Communication broadcast includes the information for the short-distance communication equipment that can be parsed.Then in step S106, high in the clouds Y is by short-distance communication equipment Increase to connection status in short-distance communication equipment list.The information of the short-distance communication equipment includes:Equipment MAC Location, device type ID, equipment unique mark dID, device name, equipment user ID, timestamp, broadcast signal strength and work as One or more of preceding geographical location information.
In one embodiment, the short haul connection of high in the clouds Y is reported to, which to broadcast, can include User ID, equipment MAC, time Stamp, broadcast signal strength, current geographic position information etc..It can include a flag bit in device broadcasts, indicate whether to allow remote Journey connects, i.e., directly establishes whether the physics end (agent equipment A) being connected will be sent out with original connection with short-distance communication equipment E Origin or beginning (request equipment B) is same.Because when connection is just established, agent equipment A issues the data of short-distance communication equipment E Bao Zhongke takes the MAC Address of connection originating end, equipment E can determine whether the MAC Address whether and the originating end A that currently connects MAC Address is consistent.If inconsistent and do not allow remotely to connect, equipment E will disconnect connection.At this time agent equipment A can more than The event is reported to high in the clouds Y.
In one embodiment, it is similary when agent equipment A is connected or disconnected with short-distance communication equipment E foundation to be reported to High in the clouds Y, the Y storages whether attachable state of short-distance communication equipment, can notify third party in time beyond the clouds.Report high in the clouds Y With the associated parameter of connection status may include User ID, equipment MAC, event identifier (as be connected or disconnect), event generation Timestamp, current geographic position information etc..
In the step s 120, high in the clouds Y can inquire about the connection shape for sharing the requested short-distance communication equipment E of request equipment B State.This can be realized by inquiring about the record in short-distance communication equipment list.If short-distance communication equipment E is currently Connection, then sharing request equipment B can not temporarily communicate with short-distance communication equipment E.Share request equipment B to be configurable to set Standby E, which is in, can receive high in the clouds Y notices immediately during connection status.Can connection status be usually equipment E and miscellaneous equipment connection Already off or device broadcasts have just been reported high in the clouds Y.
In step s 130, beyond the clouds Y inquire short-distance communication equipment E be in can connection status when, notice request set Standby B.
Short-distance communication equipment list includes following one or more associations attribute:Send the agency of short haul connection broadcast The sending time stamp of equipment, the priority of agent equipment.For example, report record can be by with the associated all broadcast of equipment E Timestamp ordering, and a threshold value can be set, such as 10 minutes.Timestamp apart from current time be more than predetermined threshold when, It can be ignored earlier than the broadcast recoding before the threshold value.If the broadcast for not having equipment E within the threshold value reports note Record then may temporarily be set around equipment E without the agency around agent equipment or equipment E failures or power-off or equipment E It is standby do not open as bluetooth short haul connection or can not be connected with high in the clouds Y or the short haul connection of equipment E is broadcasted and can not parsed. In this case, high in the clouds Y returns to failure notification and gives request equipment B, represents that equipment state is unknown.
In an alternative em bodiment, high in the clouds Y can safeguard alternative proxy list, according to the priority ranking of agent equipment.
In one embodiment, high in the clouds Y can determine that short haul connection is set according to the default configuration or upload information of agent equipment For the priority attribute of the agent equipment in list, call time in broadcast newer, the bigger priority of broadcast signal strength is higher. In addition, the historical record of the passing connection of the agent equipment also can as reference, if connection failure rate is high, communicate it is unstable and frequency Numerous disconnection can also reduce priority.
If high in the clouds Y inquires broadcast recodings of the short-distance communication equipment E within given threshold, high in the clouds Y determines short Field communication device E be in can connection status, return to short-distance communication equipment E currently attachable notice to request equipment B.
In step S140, request equipment B initiates the connection request to high in the clouds Y, and in step S150, in response to the connection Request, high in the clouds Y determines the agent equipment of the short-distance communication equipment, and the connection request is transmitted to the agency and is set It is standby.
In one embodiment, high in the clouds Y can report record according to broadcast, and push connection request notice gives the short distance and leads to Believe the associated agent equipment A of equipment E.The User ID that may include the request equipment B initiated the connection in notice, the short distance to be connected The MAC of communication equipment E.Notified agent equipment can select to receive or refusal is as agency and short-distance communication equipment E connections.Agent equipment can be configured to acquiescence receiving or refusal and Y stores the configuration beyond the clouds, and such high in the clouds Y is just without every time It issuees a notice and inquires agent equipment.
In one embodiment, high in the clouds Y can determine associated agent equipment A according to priority ranking.High in the clouds Y can be by excellent First grade forwards connection request to notify to the agent equipment of short-distance communication equipment E successively.For example, high in the clouds Y can be excellent according to highest First grade determines associated agent equipment.
Next in step S160, the equipment that agent equipment A determines whether to receive request equipment B shares request.This can To be determined by the user of agent equipment A according to various situations, such as current time, geographical location, the operation conditions of device A (such as battery capacity, equipment working condition) etc..If the equipment of agent equipment A refusal request equipment B shares request, Huo Zheyu Short-distance communication equipment E connection failures, then in step S180, agent equipment A sends connection failure message to high in the clouds Y.Response In the message, for example, in step S190, Y inquiries in high in the clouds whether there is and the associated other agent equipments of equipment E to be shared. If it is present method 100 is back to step S150, high in the clouds Y can determine next associated agency according to priority ranking Equipment, to its forwarding for the connection request of the equipment E to be shared.These steps are repeated, until being successfully established connection.Such as All agent equipment A of fruit fail to establish short haul connection connection with equipment E to be shared, then this method knot at step S200 Beam.
On the other hand, if agent equipment A receives connection request and successfully built with equipment E to be shared in step S160 Vertical short haul connection connection, then in step S170, agent equipment A sends the message for indicating to establish successful connection to high in the clouds Y, by High in the clouds Y is transmitted to request equipment B.
Next in step S210, the communication instruction that request equipment B is sent to short-distance communication equipment E can be sent to High in the clouds Y, agent equipment A is transmitted to by high in the clouds Y, agent equipment A relays to short-distance communication equipment E.In step S220, The communication instruction that short-distance communication equipment E is sent to request equipment B can be sent to agent equipment A, be forwarded to by agent equipment A High in the clouds Y, then request equipment B is transmitted to by high in the clouds Y.
In one embodiment, the communication instruction for equipment B being asked to be sent to short-distance communication equipment E can be added by token It is close.The encrypted communication instruction can include:Message header, sequence number and check code.When either party has found that data packet is usurped Change, disconnect immediately.Sequence number random initializtion in each foundation connection, and incrementally generate, it is used for Prevent Replay Attack.This ensures that, the safety and reliabilities for entirely sharing process.
In above-mentioned short-distance communication equipment shares scheme, using high in the clouds as intermediary, by the inquiry proxy equipment of high in the clouds The short haul connection broadcast of such as bluetooth passed and the connection status of equipment to be shared, are pacified by other telecommunication media Full forwarding short haul connection, does not depend on the remote expansion that short haul connection can be realized in signal enhancing, without setting waiting to share Standby surrounding can also carry out short haul connection therewith, can break through geographical location limitation, and can ensure the safety of communication.
Fig. 3 illustrates the structure diagram of the electronic equipment 200 according to one exemplary embodiment of the application.It should be appreciated that root Electronic equipment 200 according to one exemplary embodiment of the application can be it is foregoing share request equipment B and agent equipment A in it is any One.As shown in figure 3, electronic equipment 200 may include processor 210, short-range communication module 220 and memory 230, it Be connected to each other by bus 270.
Processor 210 can be central processing unit (CPU) or have data-handling capacity and/or instruction execution capability Other forms processing unit, and the other assemblies in electronic equipment can be acted on behalf of to perform desired function.
Short-range communication module 220 can be any module to be communicated using short-range communication protocols, such as bluetooth Module, near-field communication (NFC) module, infrared communication module, Zigbee communication module etc..
Memory 230 can include various forms of computer readable storage mediums, such as volatile memory and/or non- Volatile memory.Volatile memory can for example include random access memory (RAM) and/or cache memory (cache) etc..Nonvolatile memory is such as can include read-only memory (ROM), hard disk, flash memory.It can in memory 230 To be stored with computer program instructions, processor 210 can run these computer program instructions, to realize the application above Each embodiment short-distance communication equipment sharing method and/or other desired functions.
With continued reference to Fig. 3, in one example, electronic equipment 200 may also include remote communication module 240.Telecommunication mould Block 240 can be communicated using telecommunication protocol, such as can be wired or wireless internet communication module or shifting Dynamic communication module etc..
In some instances, electronic equipment 200 may also include input unit 250 and output unit 260.Input unit 250 It can perform with output unit 260 and various output and input function.In one embodiment, input unit 250 and output unit 260 Individual devices, such as touch-screen display can be integrated in.Processor 210 is connected by bus 270 with above-mentioned module or unit, To control their operation.
As specific and preferred embodiment, electronic equipment 200 shown in Fig. 3 can include mobile phone, tablet, individual digital The portable electric appts such as assistant or gateway.Agent equipment herein is not necessarily mobile phone, it may be possible to some of public place Bluetooth gateway, bluetooth equipment may be the sensor of public place, and user can communicate with the sensor at a distance, and gateway can converge The broadcast of sensor is reported to high in the clouds, and the communication request that most suitable gateway is used as agency forwarding user may be selected in high in the clouds.
In addition to the above method and equipment, embodiments herein can also be computer program product, including meter Calculation machine program instruction, it is above-described according to this that the computer program instructions cause that processor is performed when being run by processor Apply for the step in the short-distance communication equipment sharing method of each embodiment.
The computer program product can be write to hold with any combination of one or more programming languages Row the embodiment of the present application operation program code, programming language include object oriented program language, such as Java, C++ etc. further includes conventional procedural programming language, such as " C " language or similar programming language.Program code It can fully perform, partly perform on a user device on the user computing device, the software package independent as one is held Part performs or on a remote computing completely in remote computing device or service on the user computing device for row, part It is performed on device.
In addition, embodiments herein can also be computer readable storage medium, it is stored thereon with computer program and refers to Order, the computer program instructions by processor when being run so that processor performs above-described is respectively implemented according to the application Step in the short-distance communication equipment sharing method of example.
Any combination of one or more readable mediums may be employed in the computer readable storage medium.Readable medium can To be readable signal medium or readable storage medium storing program for executing.Readable storage medium storing program for executing for example can include but is not limited to electricity, magnetic, light, electricity Magnetic, the system of infrared ray or semiconductor, device or device or arbitrary above combination.Readable storage medium storing program for executing it is more specific Example (non exhaustive list) includes:Electrical connection, portable disc with one or more conducting wires, hard disk, random access memory Device (RAM), read-only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc Read-only memory (CD-ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.
The basic principle of the application is described above in association with specific embodiment, however, it is desirable to, it is noted that in this application The advantages of referring to, advantage, effect etc. are only exemplary rather than limiting, it is impossible to which it is the application to think these advantages, advantage, effect etc. Each embodiment is prerequisite.In addition, detail disclosed above is merely to exemplary effect and the work readily appreciated With, and it is unrestricted, above-mentioned details is not intended to limit the application as that must be realized using above-mentioned concrete details.
Device, device, equipment, the block diagram of system involved in the application only as illustrative example and are not intended to It is required that or hint must be attached in a manner that box illustrates, arrange, configure.As those skilled in the art will appreciate that , it can connect, arrange by any way, configuring these devices, device, equipment, system.Such as " comprising ", "comprising", " tool " etc. word be open vocabulary, refer to " including but not limited to ", and can be used interchangeably with it.Vocabulary used herein above "or" and " and " refer to vocabulary "and/or", and can be used interchangeably with it, unless it is not such that context, which is explicitly indicated,.Here made Vocabulary " such as " refers to phrase " such as, but not limited to ", and can be used interchangeably with it.
It may also be noted that in device, device and method in the application, each component or each step are can to decompose And/or reconfigure.These decompose and/or reconfigure the equivalent scheme that should be regarded as the application.
The above description of disclosed aspect is provided so that any person skilled in the art can make or use this Application.Various modifications in terms of these are readily apparent to those skilled in the art, and are defined herein General Principle can be applied to other aspect without departing from scope of the present application.Therefore, the application is not intended to be limited to Aspect shown in this, but according to the widest range consistent with principle disclosed herein and novel feature.
In order to which purpose of illustration and description has been presented for above description.In addition, this description is not intended to the reality of the application It applies example and is restricted to form disclosed herein.Although already discussed above multiple exemplary aspects and embodiment, this field skill Art personnel will be recognized that its some modifications, modification, change, addition and sub-portfolio.

Claims (18)

1. a kind of perform the method shared with control device by high in the clouds, including:
Short-distance communication equipment, which is received, from request equipment shares request;
Inquire about the connection status of the short-distance communication equipment;
The short-distance communication equipment be in can connection status when, notify the request equipment;
Connection request is received from the request equipment, determines the agent equipment of the short-distance communication equipment, and by the company It connects request and is transmitted to the agent equipment;
The message with the short-distance communication equipment successful connection is received from the agent equipment, and is transmitted to the request and sets It is standby;
It receives the request equipment and is sent to the communication instruction of the short-distance communication equipment, and be transmitted to the agency and set It is standby;And
The short-distance communication equipment for receiving the agent equipment forwarding is sent to the communication instruction of the request equipment, and It is transmitted to the request equipment.
2. the method as described in claim 1 further includes:
Short haul connection broadcast and the agent equipment and the short haul connection that it scans are received from the agent equipment The connection status of equipment, wherein short haul connection broadcast includes the information for the short-distance communication equipment that can be parsed;With And
The short-distance communication equipment and connection status are increased in short-distance communication equipment list.
3. method as claimed in claim 2, wherein, the information of the short-distance communication equipment includes:Device mac address is set Standby type ID, equipment unique mark dID, device name, equipment user ID, timestamp, broadcast signal strength and current geographic One or more of location information.
4. method as claimed in claim 2, wherein, the short-distance communication equipment list includes following one or more associations Attribute:Send sending time stamp, the priority of agent equipment of the agent equipment of short haul connection broadcast.
5. method as claimed in claim 4, wherein, the priority is stabbed according to the sending time and/or broadcast singal is strong Degree determines.
6. method as claimed in claim 4, wherein, the agent equipment for determining the short-distance communication equipment includes:It presses Associated agent equipment is determined according to nearest timestamp or highest priority.
7. method as claimed in claim 6, wherein, for timestamp attribute, it is more than apart from current time in the timestamp During predetermined threshold, ignore the corresponding record in the short-distance communication equipment list.
8. method as claimed in claim 6, wherein, the agent equipment for determining the short-distance communication equipment further includes: When definite agent equipment fails with the short-distance communication equipment, determined according to timestamp or priority ranking next The association agent equipment of ranking.
9. method as claimed in claim 2, wherein, whether the information of the short-distance communication equipment further includes allows remotely to connect Connect the mark of the short-distance communication equipment.
10. the method according to any one of claims 1-9, wherein, the short haul connection includes Bluetooth communication, near field leads to Believe (NFC), infrared communication and Zigbee communication.
11. a kind of method for asking to share short-distance communication equipment, including:
Short-distance communication equipment, which is sent, to high in the clouds shares request;
The connection status of the short-distance communication equipment is received from high in the clouds;
The short-distance communication equipment be in can connection status when, to high in the clouds send connection request;
The agent equipment and the message of the short-distance communication equipment successful connection are received from high in the clouds;And
By high in the clouds and the agent equipment, communicate with the short-distance communication equipment.
12. method as claimed in claim 11, wherein, it is described carry out with the short-distance communication equipment communicating including:
It sends through the encrypted communication instruction of token.
13. method as claimed in claim 12, wherein, the encrypted communication instruction includes:Message header, sequence number and verification Code.
14. method as claimed in claim 13, wherein, sequence number random initializtion in each foundation connection, and It incrementally generates, for preventing Replay Attack.
15. a kind of electronic equipment, including:
Short-range communication module is communicated using short-range communication protocols;And
Processor is configured to the computer program instructions in run memory with described in any one of perform claim requirement 1-14 Method.
16. electronic equipment as claimed in claim 15, further includes:Remote communication module is led to using telecommunication protocol Letter.
17. electronic equipment as claimed in claim 16, wherein, the electronic equipment includes mobile phone, tablet, personal digital assistant Or gateway.
18. a kind of computer readable storage medium is stored thereon with computer program instructions, the computer program instructions are in quilt Processor causes the processor to perform the method as any one of claim 1-14 when running.
CN201711455270.1A 2017-12-28 2017-12-28 Device sharing request and control method, electronic device and storage medium Active CN108111999B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711455270.1A CN108111999B (en) 2017-12-28 2017-12-28 Device sharing request and control method, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711455270.1A CN108111999B (en) 2017-12-28 2017-12-28 Device sharing request and control method, electronic device and storage medium

Publications (2)

Publication Number Publication Date
CN108111999A true CN108111999A (en) 2018-06-01
CN108111999B CN108111999B (en) 2020-02-28

Family

ID=62213881

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711455270.1A Active CN108111999B (en) 2017-12-28 2017-12-28 Device sharing request and control method, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN108111999B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108966199A (en) * 2018-09-05 2018-12-07 北京字节跳动网络技术有限公司 Bluetooth communication method and device based on cloud inquiry buffer joint
CN109151786A (en) * 2018-09-05 2019-01-04 北京字节跳动网络技术有限公司 Bluetooth communication method and device based on Scheduling of Gateway connection
CN109151787A (en) * 2018-09-05 2019-01-04 北京字节跳动网络技术有限公司 Bluetooth communication method and device based on cloud scheduling
CN109461284A (en) * 2018-09-30 2019-03-12 南昌与德通讯技术有限公司 Alarm method, terminal device and the computer readable storage medium of terminal device
CN112333644A (en) * 2020-06-10 2021-02-05 华为技术有限公司 Short-distance notification method based on application program, electronic device and system
CN113676981A (en) * 2021-08-13 2021-11-19 上海庆科信息技术有限公司 Method, device and equipment for determining proxy node and readable storage medium
CN113950003A (en) * 2020-07-16 2022-01-18 Oppo广东移动通信有限公司 Information processing method, device, equipment and computer readable storage medium
WO2022160107A1 (en) * 2021-01-26 2022-08-04 华为技术有限公司 Communication method and apparatus
WO2023011277A1 (en) * 2021-08-02 2023-02-09 华为技术有限公司 Method for device connection, electronic devices, and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110247056A1 (en) * 2010-03-31 2011-10-06 Hanjin Lee Method and apparatus for improved connection of wireless devices using third party programming capability
CN105471686A (en) * 2015-12-26 2016-04-06 腾讯科技(深圳)有限公司 Terminal control method, terminal control apparatus and system
CN105578386A (en) * 2015-11-26 2016-05-11 小米科技有限责任公司 Bluetooth device management method and device
CN105846864A (en) * 2015-01-30 2016-08-10 桂花网科技有限公司 Methods, devices and systems for bluetooth audio transmission

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110247056A1 (en) * 2010-03-31 2011-10-06 Hanjin Lee Method and apparatus for improved connection of wireless devices using third party programming capability
CN105846864A (en) * 2015-01-30 2016-08-10 桂花网科技有限公司 Methods, devices and systems for bluetooth audio transmission
CN105578386A (en) * 2015-11-26 2016-05-11 小米科技有限责任公司 Bluetooth device management method and device
CN105471686A (en) * 2015-12-26 2016-04-06 腾讯科技(深圳)有限公司 Terminal control method, terminal control apparatus and system

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109151787B (en) * 2018-09-05 2021-09-17 北京字节跳动网络技术有限公司 Bluetooth communication method and device based on cloud scheduling
CN109151786A (en) * 2018-09-05 2019-01-04 北京字节跳动网络技术有限公司 Bluetooth communication method and device based on Scheduling of Gateway connection
CN109151787A (en) * 2018-09-05 2019-01-04 北京字节跳动网络技术有限公司 Bluetooth communication method and device based on cloud scheduling
CN108966199A (en) * 2018-09-05 2018-12-07 北京字节跳动网络技术有限公司 Bluetooth communication method and device based on cloud inquiry buffer joint
CN108966199B (en) * 2018-09-05 2022-03-04 北京字节跳动网络技术有限公司 Bluetooth communication method and device based on cloud inquiry buffer node
CN109151786B (en) * 2018-09-05 2022-01-04 北京字节跳动网络技术有限公司 Bluetooth communication method and device based on gateway scheduling connection
CN109461284A (en) * 2018-09-30 2019-03-12 南昌与德通讯技术有限公司 Alarm method, terminal device and the computer readable storage medium of terminal device
CN112333644B (en) * 2020-06-10 2021-08-20 华为技术有限公司 Short-distance notification method based on application program, electronic device and system
CN112333644A (en) * 2020-06-10 2021-02-05 华为技术有限公司 Short-distance notification method based on application program, electronic device and system
CN113950003A (en) * 2020-07-16 2022-01-18 Oppo广东移动通信有限公司 Information processing method, device, equipment and computer readable storage medium
CN113950003B (en) * 2020-07-16 2023-05-05 Oppo广东移动通信有限公司 Information processing method, apparatus, device and computer readable storage medium
WO2022160107A1 (en) * 2021-01-26 2022-08-04 华为技术有限公司 Communication method and apparatus
EP4274158A4 (en) * 2021-01-26 2024-02-28 Huawei Tech Co Ltd Communication method and apparatus
WO2023011277A1 (en) * 2021-08-02 2023-02-09 华为技术有限公司 Method for device connection, electronic devices, and system
CN113676981A (en) * 2021-08-13 2021-11-19 上海庆科信息技术有限公司 Method, device and equipment for determining proxy node and readable storage medium

Also Published As

Publication number Publication date
CN108111999B (en) 2020-02-28

Similar Documents

Publication Publication Date Title
CN108111999A (en) Short-distance communication equipment shares request and control method and electronic equipment
CN105897860B (en) Network device and information processing method
US11277278B2 (en) Smart home service server and control method therefor
US9930632B2 (en) M2M application remote registration method, device, system and storage medium
US20120331156A1 (en) Wireless control system, methods and apparatus
CN113572799B (en) Method and device for accessing equipment to control platform and server
CN110808948B (en) Remote procedure calling method, device and system
CN105323824A (en) WIFI equipment, electronic device and method for assisting WIFI equipment access to network
JP2017535122A (en) Sensor code verification processing method, apparatus, network platform device, and Internet gateway of things
AU2016361086A1 (en) Smart home service server and control method therefor
CN105338657B (en) The connection method of eUICC card and management platform and eUICC card
US20160036870A1 (en) Session managing method, session managing system, and call processing method
JP5974931B2 (en) Communication device
JP4490499B2 (en) Communication terminal, relay device, wireless communication system, wireless communication control method, and program
CN111741538A (en) Communication link establishing method based on gateway, equipment control method and device
US20170048656A1 (en) Method and apparatus for transmitting a http data using bluetooth in wireless communication system
CN103561088A (en) Remote control method and device based on account number log-in
CN107968995B (en) Short-distance communication equipment sharing request and control method, electronic equipment and storage medium
WO2019184914A1 (en) Smart household facility management method and device and smart household system
CN105094902A (en) System and method for controlling login state of application program
KR20170025550A (en) Gateway and control method thereof
EP3487147A1 (en) Information synchronization method and device
JP5983602B2 (en) Call linkage system, home control device, call linkage method
JP2015103125A (en) Network system, full-time connection method, electronic apparatus, full-time connection server, application server, and program
US11281599B2 (en) Shared peripheral devices

Legal Events

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