CN107968995A - 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
CN107968995A
CN107968995A CN201711222975.9A CN201711222975A CN107968995A CN 107968995 A CN107968995 A CN 107968995A CN 201711222975 A CN201711222975 A CN 201711222975A CN 107968995 A CN107968995 A CN 107968995A
Authority
CN
China
Prior art keywords
short
equipment
control
request
distance communication
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
CN201711222975.9A
Other languages
Chinese (zh)
Other versions
CN107968995B (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 CN201711222975.9A priority Critical patent/CN107968995B/en
Publication of CN107968995A publication Critical patent/CN107968995A/en
Application granted granted Critical
Publication of CN107968995B publication Critical patent/CN107968995B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information

Abstract

This application involves short-distance communication equipment to share request and control method and electronic equipment.According to an exemplary embodiment, a kind of method for asking to share short-distance communication equipment includes:Scan request is sent to control device to scan the short-distance communication equipment around the control device;The information of the short-distance communication equipment scanned by the control device is received from the control device;The connection request for the short-distance communication equipment is sent to the control device;Received from the control device and indicate that the control device has established the message that short haul connection is connected with the short-distance communication equipment;And communicated by the control device with the short-distance communication equipment.

Description

Short-distance communication equipment shares request and control method and electronic equipment
Technical field
Present invention relates generally to the communications field, shares request and controlling party more particularly, to short-distance communication equipment Method and electronic equipment, it can be used in sharing the short-distance communication equipment around electronic equipment, such as bluetooth equipment.
Background technology
Bluetooth has the advantages that 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, 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.
When establishing bluetooth connection between devices, security is a very important Consideration.In order to ensure to the greatest extent Under control of authority that may be safe, easily share bluetooth equipment, traditional bluetooth sharing scheme needs to use token (token).Bluetooth equipment to be shared, which is shared to its token by high in the clouds, shares request equipment, and sharing request equipment will wait to share The token of bluetooth equipment is by synchronously locally downloading from high in the clouds, for example, such as portable mobile terminal of smart mobile phone etc, then Bluetooth connection is established with bluetooth equipment to be shared using the token, directly establishes communication channel.
However, this traditional bluetooth sharing mode depends on token and high in the clouds, bring security risk and there is application limit System.
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, it passes through short distance From sharing for communication environment, realize that multiple short-distance communication equipments are compactly shared between devices, break through and treat point The short-distance communication equipment enjoyed must be positioned at the limitation shared around request equipment, and need not lead to short distance to be shared The token of letter equipment, which is distributed to, shares request equipment.This, which shares process, to be carried out using high in the clouds, can also join without high in the clouds With.
According to one exemplary embodiment of the application, there is provided a kind of method for asking to share short-distance communication equipment, including:To Control device sends scan request to scan the short-distance communication equipment around the control device;Received from the control device The information of the short-distance communication equipment scanned by the control device;Send to the control device and lead to for the short distance Believe the connection request of equipment;Received from the control device and indicate that the control device has been built with the short-distance communication equipment The message of vertical short haul connection connection;And communicated by the control device with the short-distance communication equipment.
In some instances, the method further includes:Short haul connection environment, which is sent, to the control device shares request; And in response to the message for receiving short haul connection environment and sharing request from the control device, the control device is increased It is added in environment list.
In some instances, the information of the short-distance communication equipment includes:Device mac address, device type ID, equipment One or more of unique mark dID, device name and equipment user ID.
In some instances, the information of the short-distance communication equipment further includes:The institute scanned by the control device State the signal strength of short-distance communication equipment.
In some instances, the method further includes:In response to being received from the control device by the control device The information of the short-distance communication equipment scanned, establishes the list of the short-distance communication equipment.
In some instances, establishing the list of the short-distance communication equipment includes:By the short-distance communication equipment with Corresponding control device and signal strength are associated.
In some instances, include to control device transmission for the connection request of the short-distance communication equipment: The connection request for the short-distance communication equipment is sent to the control device of signal strength maximum.
In some instances, the method further includes:In response to the company of the control device from signal strength maximum Failed message is connect, the control device big to signal strength time sends the connection request for the short-distance 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, there is provided a kind of method for controlling short-distance communication equipment to share, including: Receive the scan request from request equipment;Scan the short-distance communication equipment in surrounding environment;The short haul connection is set Standby information is sent to the request equipment;Receive the connection for the short-distance communication equipment from the request equipment Request;Short haul connection is established with the short-distance communication equipment to be connected, and is sent to the request equipment and indicated successfully to build The message of vertical connection;And the communication instruction between the forwarding request equipment and the short-distance communication equipment.
In some instances, the method further includes:The short haul connection environment from the request equipment is received to share Request;Receive the short haul connection environment and share request, and the request equipment is added and shares list;And to described Request equipment sends instruction and receives the message that the short haul connection environment shares request.
In some instances, receive the short haul connection environment and share request to further include:It is special to assign the request equipment Fixed shares claim.
In some instances, the message that the instruction sent to the request equipment is successfully established connection includes connected institute State the token of short-distance communication equipment.
In some instances, the communication instruction between the request equipment and the short-distance communication equipment is forwarded to include: The short-distance communication equipment is supplemented being sent to by the request equipment in the communication instruction of the short-distance communication equipment Token information, is then transmitted to the short-distance communication equipment by the communication instruction.
According to the application further example embodiment, there is provided a kind of electronic equipment, 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 or personal digital assistant.
According to the another exemplary embodiment of the application, there is provided a kind of computer-readable recording medium, is stored thereon with calculating Machine programmed instruction, 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, control device position can be scanned and is connected to All short-distance communication equipments be shared with multiple request equipment, establish between control device and short-distance communication equipment to be shared Direct short haul connection, control device can as agency forward equipment to be shared and ask equipment between communication, and Thus participate in sharing process with monitoring short haul connection, it is not necessary to which to request equipment is shared, token will not be revealed exposure token, enhancing The security shared.Shared by short haul connection environment, without constantly repeating to share process, and need not be set waiting to share Standby surrounding also communicates, and can break through geographical location limitation.In addition, high in the clouds participates in not being to realize the necessary bar for sharing process Part.
The above and other feature and advantage of the application will become aobvious and easy the description of exemplary embodiment from following See.
Brief 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, it is used to explain the application together with the embodiment of the present application, does not form the limitation to the application.Attached In figure, identical reference number typically represents same parts or step.
Fig. 1 illustrates the system of the executable short haul connection environment sharing method according to one exemplary embodiment of the application Topological diagram.
Fig. 2A, which is illustrated, to be awarded sharing in the short haul connection environment sharing method according to one exemplary embodiment of the application The flow chart of power process.
Fig. 2 B illustrate sharing in the short haul connection environment sharing method according to one exemplary embodiment of the application The flow chart of journey.
Fig. 3 illustrates the structure diagram of the electronic equipment according to one exemplary embodiment of the application.
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.
As described above, there are the following problems for traditional bluetooth sharing scheme:
1. bluetooth sharing process needs to expose token, if sharing request equipment without bluetooth equipment to be shared or its control Person processed authorizes and reveals its token, then bluetooth equipment to be shared will face security risk;
2. share request equipment utilization token directly establishes communication channel with equipment to be shared, and bluetooth equipment to be shared Effector can not participate in and monitor bluetooth sharing process;
3. if multiple equipment to be shared need to be shared with multiple request equipment, then multiplicating is needed to share process, It is very cumbersome;
4. share request equipment must could be shared around equipment to be shared and with equipment communication to be shared, it is geographical Position is limited.
For drawbacks described above of the prior art, the basic conception of the application is to propose that environment shares scheme, and can be with Bluetooth communication protocol is expanded into various short-range communication protocols, i.e. short haul connection environment shares scheme, proposes a kind of request Share the method for short-distance communication equipment, the method that control short-distance communication equipment is shared, electronic equipment, computer program product And computer-readable recording medium, all short-distance communication equipments that control device position can be scanned and is connected to point The direct short haul connection to multiple request equipment, established between control device and equipment to be shared is enjoyed, control device can be made Equipment to be shared is forwarded for agency and asks the communication between equipment, and thus participates in sharing with monitoring short haul connection Journey, it is not necessary to which to request equipment is shared, token will not be revealed exposure token, enhance the security shared.Pass through short haul connection Environment is shared, and without constantly repeating to share process, and without also being communicated around equipment to be shared, can break through ground Manage position limitation.
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 system of the executable short haul connection environment sharing method according to one exemplary embodiment of the application Topological diagram, it illustrates a kind of typical short haul connection environment to share application scenarios.As shown in Figure 1, share request equipment B It can ask to share its short haul connection environment to control device A, control device A can scan short present in its surrounding environment Field communication device, such as equipment E to be shared, and short-distance communication equipment is shared with request equipment B.When sharing, control Control equipment A establishes direct short haul connection with the equipment E to be shared to be shared first and is connected, and then control device A turns between two parties Communication information between hair request equipment B and equipment E to be shared.Control device A can be with sharing communication between request equipment B Be short distance direct communication or by high in the clouds come the telecommunication that carries out.By taking home environment as an example, the mobile phone of owner or Tablet device can be used as control device A, it controls the intelligent appliance equipment as equipment E to be shared, such as speaker, television set Deng.The mobile phone or tablet device of guest, which can be used as, shares request equipment B, it asks to share to use such as speaker, television set Etc intelligent appliance equipment.Control device A, share each of request equipment B and equipment E to be shared and have short haul connection mould Block, so as to perform the various short haul connections being described below in detail operation.Established in equipment E to be shared and control device A After direct short haul connection connection, control device A can be used as act on behalf of forwarding share request equipment B and equipment E to be shared it Between communication.As it was previously stated, control device A and the communication shared between request equipment B can be short haul connection or Telecommunication, at this time control device A with share request equipment B can also have remote communication module, such as internet communication mould The mobile communication module of block or such as 3G, 4G and 5G etc.High in the clouds represents background server, usually passes through various cable modems Letter mode or communication provide necessary auxiliary background service, and details are aftermentioned.
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 not limited to this of application.On the contrary, embodiments herein can be applied to any scene that may be applicable in.For example, Request equipment, equipment to be shared and control can be shared in any application environment of family, industry etc. including two or more Control equipment can also be one or more pairs of, and a control device can also control two or more equipment to be shared.
With reference to the application scenarios of Fig. 1, described with reference to figure 2A and 2B according to the short of one exemplary embodiment of the application Distance communication environment sharing method, wherein Fig. 2A illustrate the short haul connection environment point according to one exemplary embodiment of the application The flow chart for sharing licensing process in method is enjoyed, Fig. 2 B illustrate the short haul connection according to one exemplary embodiment of the application The flow chart for sharing process in environment sharing method.
As shown in Figure 2 A, short haul connection environment sharing method 100 may begin at step S101, share request equipment B to control Control equipment A sends short haul connection environment and shares request.In one embodiment, equipment B is asked to be located near control device A, Therefore request can be shared to send the environment by short haul connection.Can be with scanning controller for example, sharing request equipment B The Bluetooth broadcast of A, and bluetooth connection is established with control device A, then ask control device A to share it by Bluetooth communication Short haul connection environment.In another embodiment, equipment B and control device A is asked to be located at mutual remote location, at this time Request equipment B can send short haul connection environment to control device A by high in the clouds and share request.For example, request equipment B and control Same application or app can have been run on control equipment A, request equipment B is by the application program or app to control device A Send short haul connection environment and share request, the application program of high in the clouds operation or the server of app are responsible for transfer please Seek the communication information between equipment B and control device A.
Next in step s 102, the environment that control device A determines whether to receive request equipment B shares request.This can To be determined by the user of control device A according to various situations, such as current time, geographical location, the operation conditions of device A Deng.If the environment of control device A refusal request equipment B shares request, method 100 terminates in step S103.At this time, control Device A can also send refuse information to request equipment B, and optionally, request equipment B can also be added blacklist, from And the environment from request equipment B is no longer responded later and shares request message.
If control device A receives to ask the environment of equipment B to share request in step s 102, in step S104, Control device A, which can add request equipment B, to be shared in list.What control device A can locally safeguard oneself shares list, Wherein list its each request equipment for allowing short haul connection environment being shared with.Control device A can also be request equipment B Distribution specifically shares authority, and the authority information is equally recorded in this and is shared in list.
For example, control device A be given to request equipment B share claim can include it is following in it is one or more:
● equipment authority, such as when control device A controls when sharing of multiple short-distance communication equipments, it is possible to specify it is some Short-distance communication equipment can be shared with request equipment B, and some short-distance communication equipments are not shared with request equipment B.
● operating right, it limits the operation that request equipment B can perform short-distance communication equipment, such as reads, writes Enter, change.
● token shares authority, and whether its restriction control device A is shared with request by the token of short-distance communication equipment sets Standby B.When sharing token, the token for asking equipment B to require the short-distance communication equipment of connection can be shared with by control device A Equipment B is asked, so asks equipment B to directly generate the information to short-distance communication equipment using the token.If control Control equipment A does not share token to request equipment B, then when control device A forwards request equipment B to be sent to short-distance communication equipment During information, it is also necessary to fill upper token field wherein.
● share form, for example, unidirectionally share, it is two-way share or transmit share.That is, control device A and request equipment B Between environment share unidirectional or two-way, if two-way, then in subsequent operation, control device A also requires request to set Its short haul connection environment is shared in standby B agreements, and both sides, which could establish, to share.Transmission, which is shared, shows control device A by its environment point Enjoy to after request equipment B, whether request equipment B can also further be shared with miscellaneous equipment by the environment of control device A.At some In embodiment, even if control device A agrees to that transmission is shared, in request equipment B by the short haul connection environment of control device A into one When step is shared with miscellaneous equipment, it is also desirable to first notify control device A, obtaining the mandate of control device A could continue to share.
● share condition, i.e., in view of geographical location, time, remaining capacity situations such as have ready conditions and share.For example, in public affairs It can share in department, cannot share outside company;Daytime can share, and cannot share at night;Remaining capacity (exceedes predetermined threshold enough Value) when can share, otherwise cannot share, etc..
After claim being distributed in request equipment B additions to be shared to list and for it, in step S105, control device A can send the message that instruction receives its short haul connection environment and shares request to request equipment B.In certain embodiments, should Message, which can also include control device A impartings, asks equipment B's to share authority.
In step s 106, share request equipment B and receive the above-mentioned message from control device A.At this time, in response to this Message, control device A can be added in its environment list by sharing request equipment B.Request equipment B can locally safeguard ring Border list, wherein list the information for each control device that short haul connection environment is shared with to request equipment B, such as can be with Being assigned including each control device A asks equipment B's to share authority.In certain embodiments, if the message shows that control is set What standby A assigned request equipment B is to have ready conditions to share, for example, it is two-way share, then ask equipment B also to be sent to control device A and agree to The request shared, with reach it is two-way share, otherwise share request failure, method 100 terminates.
Short haul connection is participated in beyond the clouds to share in the embodiment of process, can also the synchronous beyond the clouds and each equipment of maintenance Share list and/or environment list so that high in the clouds can also monitor and control this to share process.
In addition to request equipment B actively shares communication environment to control device A requests, in an alternative em bodiment, control Control equipment A actively can also send short haul connection environment to request equipment B and actively share request.Receive control in request equipment B Control equipment A actively share request after, both sides can update respective environment list and share list.
After mandate is shared in foundation between control device A and request equipment B as described above, request equipment B can To ask the short haul connection environment using control device A as needed, detailed process will describe with reference to Fig. 2 B.
As shown in Figure 2 B, in step s 110, short haul connection ring can be sent to control device A by sharing request equipment B Border scan request, with the short-distance communication equipment around scanning controller A, this can request equipment B-scan from itself week Carried out while the short-distance communication equipment enclosed.By taking Bluetooth communication as an example, for example, request equipment B opens bluetooth communication simultaneously And when performing bluetooth scanning, not only scan surrounding Bluetooth broadcast, but also each control device A into its environment list Scan request is sent, to scan the bluetooth equipment around each control device A.
In response to the scan request, in the step s 120, the short haul connection in control device A sweep surrounding environment is set It is standby, to obtain the information of short-distance communication equipment.For example, the bluetooth of the bluetooth equipment in control device A sweep surrounding environment is wide Broadcast, and parse the Bluetooth broadcast to obtain the information of bluetooth equipment.The information of short-distance communication equipment for example includes but unlimited In device mac address, device type ID, equipment unique mark dID, device name, equipment user ID (userid) etc..At some In embodiment, control device A can also determine the signal strength of its short-distance communication equipment scanned, it can also conduct One of facility information of the short-distance communication equipment.
In step s 130, the information hair of the short-distance communication equipment in the surrounding environment that control device A is scanned into Give request equipment B.In response to the information, in step S140, request equipment B can establish the row of short-distance communication equipment Table.It is to be understood that being established in request equipment B in the list of short-distance communication equipment, not only include what is returned from each control device A Facility information, can also include the information that request equipment B directly scans surrounding's short-distance communication equipment of acquisition.Ask equipment B Facility information from various sources is collected, to generate the list of short-distance communication equipment.Arrived for control device A sweep Short-distance communication equipment, not only records the information of the equipment in itself in list, also by the equipment and corresponding control device A and letter Number intensity is associated.At some in special circumstances, possible multiple control device A are scanned at the same time sets to same short haul connection Standby, then the short-distance communication equipment can be associated with multiple control device A by request equipment B in lists and corresponding signal is strong Degree.
In step S150, request equipment B can select the particular short range communication equipment in list, it will claim below For equipment E to be shared, and send to its corresponding control device A the connection request for the equipment E to be shared.Set when waiting to share When standby E corresponds to multiple control device A (that is, it is arrived by multiple control device A while scanning), then ask equipment B can be first Connection request is sent to the highest control device A of signal strength.In response to the connection request, control device A can be in step Attempt to establish short haul connection connection with equipment E to be shared in S160.
In step S170, if control device A fails establishes short haul connection connection with equipment E to be shared, In step S180, control device A sends the message for indicating to establish connection failure to request equipment B.In response to the message, in step In rapid S190, request equipment B can be inquired about in list of devices whether there is other control devices corresponding with equipment E to be shared A, such as the control device A that signal strength time is strong.If it is present method 100 is back to step S160, to the signal strength time Strong control device A sends the connection request for the equipment E to be shared.These steps are repeated, are connected as until being successfully established Only.If all corresponding control device A fail to establish short haul connection connection with equipment E to be shared, in step S200 Place's this method terminates.
On the other hand, if control device A successes establish short haul connection company with equipment E to be shared in step S170 Connect, then in step S210, control device A sends the message for indicating to establish successful connection to request equipment B.In some embodiments In, if control device A is that the authority of request equipment B distribution is to allow to share token (token) to it in step S104, Within the message, the token for the equipment E to be shared that control device A is successfully connected can also be included.Control device A can in advance The saved token for needing to be shared equipment E, such as equipment E to be shared are that user is set by the control device A household electronics managed It is standby;Alternatively, control device A can obtain the token of equipment E to be shared during short haul connection connection is established.Control is set Standby A and equipment E to be shared establishes the process that short haul connection is connected can as in the state of the art, and details are not described herein again.
In response to the message, in step S220, request equipment B is led to by control device A with equipment E to be shared Letter.All communication informations between request equipment B and equipment E to be shared all are forwarded by control device A.Equipment B is asked to incite somebody to action The address that short haul connection order takes equipment E to be shared is sent to control device A, equipment E to be shared corresponding response disappears The address that breath takes request equipment B is sent to control device A, and control device A forwards these message between two parties.When request equipment B does not have When needing to be shared the token of equipment E, control device A can also be sent in the communication information of equipment E to be shared in request equipment B Fill the token information of equipment E to be shared.But for ask equipment B user for, control device A can be it is hiding, Just as request equipment B is as surrounding local short-distance communication equipment progress short haul connection.Control device A can be monitored Ask the communication between equipment B and equipment E to be shared.If control device A has found malicious communication, can refuse to forward communication to disappear Breath, and the connection with equipment E to be shared and/or request equipment B is disconnected at any time.
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 control device 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 can be with the other assemblies in control electronics 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 recording 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 storage (ROM), hard disk, flash memory.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 haul connection environment 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, the electronic equipment 200 shown in Fig. 3 can include mobile phone, tablet, individual digital The portable electric appts such as assistant.
In addition to the above method and equipment, embodiments herein can also be computer program product, it includes meter Calculation machine programmed 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 used to hold with any combination of one or more programming languages to write The program code of row the embodiment of the present application operation, 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 fully can on the user computing device perform, partly perform on a user device, the software kit independent as one is held Part performs or completely in remote computing device or service on a remote computing on the user computing device for row, part Performed on device.
In addition, embodiments herein can also be computer-readable recording 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.
The computer-readable recording medium can use any combination of one or more computer-readable recording mediums.Computer-readable recording 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 any combination above.Readable storage medium storing program for executing is more specifically Example (non exhaustive list) includes:Electrical connection, portable disc with one or more conducting wires, hard disk, random access memory Device (RAM), read-only storage (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc Read-only storage (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.
The block diagram of device, device, equipment, system involved in the application only illustratively the example of property and is not intended to It is required that or hint must be attached in the way of square frame illustrates, arrange, configure.As it would be recognized by those skilled in the art that , it can connect, arrange by any-mode, configuring these devices, device, equipment, system.Such as " comprising ", "comprising", " tool Have " 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, apparatus and method in the application, each component or each step are to decompose And/or reconfigure.These decompose and/or reconfigure the equivalents 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 Apply example and be restricted to form disclosed herein.Although already discussed above multiple exemplary aspects and embodiment, this area skill Art personnel will be recognized that its some modifications, modification, change, addition and sub-portfolio.

Claims (18)

1. a kind of method for asking to share short-distance communication equipment, including:
Scan request is sent to control device to scan the short-distance communication equipment around the control device;
The information of the short-distance communication equipment scanned by the control device is received from the control device;
The connection request for the short-distance communication equipment is sent to the control device;
Received from the control device and indicate that the control device has established short haul connection with the short-distance communication equipment The message of connection;And
Communicated by the control device with the short-distance communication equipment.
2. the method as described in claim 1, further includes:
Short haul connection environment, which is sent, to the control device shares request;And
In response to the message for receiving short haul connection environment and sharing request from the control device, the control device is increased It is added in environment list.
3. the method for claim 1, wherein the information of the short-distance communication equipment includes:Device mac address, set One or more of standby type ID, equipment unique mark dID, device name and equipment user ID.
4. method as claimed in claim 3, wherein, the information of the short-distance communication equipment further includes:Set by the control The signal strength of the standby short-distance communication equipment scanned.
5. method as claimed in claim 4, further includes:Swept in response to being received from the control device by the control device The information for the short-distance communication equipment retouched, establishes the list of the short-distance communication equipment.
6. method as claimed in claim 5, wherein, establishing the list of the short-distance communication equipment includes:By the short distance It is associated from communication equipment with corresponding control device and signal strength.
7. method as claimed in claim 6, wherein, send the company for the short-distance communication equipment to the control device Connecing request includes:The connection request for the short-distance communication equipment is sent to the control device of signal strength maximum.
8. the method for claim 7, further include:In response to the connection of the control device from signal strength maximum Failed message, the control device big to signal strength time send the connection request for the short-distance communication equipment.
9. the method according to any one of claims 1-8, wherein, the short haul connection includes Bluetooth communication, near field leads to Believe (NFC), infrared communication and Zigbee communication.
10. a kind of method for controlling short-distance communication equipment to share, including:
Receive the scan request from request equipment;
Scan the short-distance communication equipment in surrounding environment;
The information of the short-distance communication equipment is sent to the request equipment;
Receive the connection request for the short-distance communication equipment from the request equipment;
Short haul connection is established with the short-distance communication equipment to be connected, and is sent instruction to the request equipment and be successfully established The message of connection;And
Forward the communication instruction between the request equipment and the short-distance communication equipment.
11. method as claimed in claim 10, further includes:
Receive the short haul connection environment from the request equipment and share request;
Receive the short haul connection environment and share request, and the request equipment is added and shares list;And
Sent to the request equipment and indicate to receive the message that the short haul connection environment shares request.
12. method as claimed in claim 11, wherein, receive the short haul connection environment and share request to further include:Assign The request equipment specifically shares claim.
13. method as claimed in claim 10, wherein, the instruction sent to the request equipment is successfully established the message of connection Token including the short-distance communication equipment connected.
14. method as claimed in claim 10, wherein, forward between the request equipment and the short-distance communication equipment Communication instruction includes:The short distance is supplemented being sent to by the request equipment in the communication instruction of the short-distance communication equipment From the token information of communication equipment, the communication instruction is then transmitted to the short-distance communication equipment.
15. a kind of electronic equipment, including:
Short-range communication module, is communicated using short-range communication protocols;And
Processor, the computer program instructions being configured in run memory are required described in any one of 1-14 with perform claim 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 is helped including mobile phone, tablet or individual digital Reason.
18. a kind of computer-readable recording 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.
CN201711222975.9A 2017-11-29 2017-11-29 Short-distance communication equipment sharing request and control method, electronic equipment and storage medium Active CN107968995B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711222975.9A CN107968995B (en) 2017-11-29 2017-11-29 Short-distance communication equipment sharing request and control method, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711222975.9A CN107968995B (en) 2017-11-29 2017-11-29 Short-distance communication equipment sharing request and control method, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN107968995A true CN107968995A (en) 2018-04-27
CN107968995B CN107968995B (en) 2019-11-29

Family

ID=61998081

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711222975.9A Active CN107968995B (en) 2017-11-29 2017-11-29 Short-distance communication equipment sharing request and control method, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN107968995B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109089251A (en) * 2018-09-05 2018-12-25 北京字节跳动网络技术有限公司 Bluetooth communication method and device based on bluetooth connection equivalence of query equipment
CN112333644A (en) * 2020-06-10 2021-02-05 华为技术有限公司 Short-distance notification method based on application program, electronic device 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 (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109089251A (en) * 2018-09-05 2018-12-25 北京字节跳动网络技术有限公司 Bluetooth communication method and device based on bluetooth connection equivalence of query equipment
CN112333644A (en) * 2020-06-10 2021-02-05 华为技术有限公司 Short-distance notification method based on application program, electronic device and system

Also Published As

Publication number Publication date
CN107968995B (en) 2019-11-29

Similar Documents

Publication Publication Date Title
US10425254B2 (en) Modular device and data management system and gateway for a communications network
US20180248694A1 (en) Assisted device provisioning in a network
JP6601828B2 (en) IoT-based thing management system and method using blockchain authentication
US10129912B2 (en) Sensor based configuration and control of network devices
CN104966340B (en) Access control system, access control method and cloud service platform
US9521642B2 (en) Configuration of a new enrollee device for use in a communication network
US9477820B2 (en) Systems and methods for using unique device identifiers to enhance security
KR101662396B1 (en) Method and system for controlling device based internet of things
JP2016522653A (en) Method, terminal, server, and system for sharing a virtual SIM card among a plurality of terminals
CN102648454B (en) Virtual peripheral hub device and system
TWI488463B (en) Gateway, smart home system and smart control method of home appliance thereof
JP2017503370A (en) Method and apparatus for identifying physical IoT devices
KR20150033513A (en) A method and apparatus for controlling devices for a smart home service
US20140167931A1 (en) Method and apparatus for controlling a home device remotely in a home network system
CN104333863B (en) Connection management method and device, electronic equipment
CN104660714B (en) Long-range control method, the apparatus and system of terminal device
TWI460954B (en) Smart home network system and its registration controller and registration method for household electrical device
US20140085059A1 (en) Signal conversion device and smart home network system using the same
CN104660676B (en) Facility information sharing method and device
KR100477651B1 (en) Interface apparatus based IM(Instant Messenger)
KR20180114252A (en) Smart object identification in the digital home
KR102213640B1 (en) Apparatus and method for exporting information related to a home device of a user device in a home network system
CN106134143A (en) Method, apparatus and system for dynamic network access-in management
CN102893590B (en) Provide and present and social network information to phone
CN104159226A (en) Network connection method and device

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