CN108769964A - A kind of connection method of Bluetooth device, device and equipment - Google Patents
- ️Tue Nov 06 2018
Technical field
The present invention relates to a kind of wireless communication technology field more particularly to connection method of Bluetooth device, device and equipment.
Background technology
With VR (Virtual Reality, virtual reality)/AR (Augmented Reality, augmented reality) technology There are more and more external equipments being used cooperatively with VR/AR equipment in the market in development.For example, VR/AR equipment can be connected to Game paddle, somatosensory device etc..
These external equipments and VR/AR equipment are established after Bluetooth communication connect, and user and virtual environment can be met Interaction demand.But currently, the process that VR/AR equipment establishes bluetooth connection with external equipment still has defect not smart enough.
Invention content
The present invention provides a kind of connection method of Bluetooth device, device and equipment, to intelligently establish VR/AR equipment with it is outer The connection of portion's bluetooth equipment simplifies the operation of VR/AR equipment.
The present invention provides a kind of connection method of Bluetooth device, is suitable for VR/AR equipment, including:It is set in response to connection is external Standby request, scanning obtain at least one attachable bluetooth equipment;Obtain the status information with destination virtual scene relating;Root According to described with destination virtual scene relating status information, the determining target indigo plant from least one attachable bluetooth equipment Tooth equipment;It establishes and communicates to connect with the target Bluetooth devices.
Still optionally further, the status information with destination virtual scene relating includes:At the destination virtual scene In having selected state;Or, the destination virtual scene is in non-selected state.
Still optionally further, empty with target described in the basis when the destination virtual scene, which is in, has selected state The status information of quasi- scene relating determines target Bluetooth devices from least one attachable bluetooth equipment, including:It obtains Take the destination virtual scene of family selection;According to the correspondence of the bluetooth equipment and virtual scene that pre-establish, from it is described to In a few attachable bluetooth equipment, select bluetooth equipment corresponding with the destination virtual scene as the target Bluetooth Equipment.
Still optionally further, the correspondence for the bluetooth equipment and virtual scene that the basis pre-establishes, from it is described to In a few attachable bluetooth equipment, select bluetooth equipment corresponding with the destination virtual scene as the target Bluetooth Equipment, including:When the correspondence according to the bluetooth equipment and virtual scene, it is multiple to determine that the destination virtual scene corresponds to When attachable bluetooth equipment, the relative position of the multiple attachable bluetooth equipment is calculated;It is connected according to the multiple Bluetooth equipment relative position, the selection target bluetooth equipment from the multiple attachable bluetooth equipment.
Still optionally further, empty with target described in the basis when the destination virtual scene is in non-selected state The status information of quasi- scene relating determines target Bluetooth devices from least one attachable bluetooth equipment, including:Meter Calculate the relative position of at least one attachable bluetooth equipment;According to the phase of at least one attachable bluetooth equipment To position, the selection target bluetooth equipment from least one attachable bluetooth equipment.
Still optionally further, the method further includes:It is closed according to the bluetooth equipment pre-established is corresponding with virtual scene System, determines the corresponding destination virtual scene of the target Bluetooth devices;Show the destination virtual scene.
Still optionally further, the correspondence for the bluetooth equipment and virtual scene that the basis pre-establishes, determine described in The corresponding destination virtual scene of target Bluetooth devices, including:When the correspondence according to the bluetooth equipment and virtual scene, really When the fixed target Bluetooth devices correspond to multiple optional virtual scenes, the multiple optional virtual scene is shown to user; It receives the user and is directed to the selection that the multiple optional virtual scene is made;The virtual scene that the user is selected as The destination virtual scene.
Still optionally further, in response to the request of connection external equipment, scanning obtains at least one attachable bluetooth and sets It is standby, including:Detect the gesture motion of user, headwork, eyeball action and/or when to the trigger action of specific button, really Determine user and asks connection external equipment;In response to the request of the connection external equipment, external Bluetooth signal is scanned;According to scanning The external Bluetooth signal arrived obtains at least one attachable bluetooth equipment.
The present invention also provides a kind of bluetooth equipment attachment devices, including:Scan module, in response to connecting external equipment Request, scanning obtain at least one attachable bluetooth equipment;Data obtaining module, for obtaining the external bluetooth equipment of connection Instruction information;Determining module, for according to the status information with destination virtual scene relating, from it is described it is at least one can Target Bluetooth devices are determined in the bluetooth equipment of connection;Link block is communicated to connect for being established with the target Bluetooth devices.
The present invention also provides a kind of electronic equipment, including:The memory is used for:One or more computer is stored to refer to It enables;The processor is for executing one or more computer instruction, for executing bluetooth equipment provided by the invention Connection method.
In the present invention, when receiving the request of connection external equipment, obtains and believe with the state of destination virtual scene relating Breath, at least one attachable bluetooth equipment obtained from scanning chooses target Bluetooth devices, and is established with target Bluetooth devices Communication connection.In turn, it realizes and is intelligently communicated to connect between VR/AR equipment and external bluetooth equipment, be conducive to simplify VR/ The operation of AR equipment.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair Some bright embodiments for those of ordinary skill in the art without creative efforts, can be with root Other attached drawings are obtained according to these attached drawings.
Fig. 1 is the method flow diagram for the connection method of Bluetooth device that one embodiment of the invention provides;
Fig. 2 is the method flow diagram for the connection method of Bluetooth device that another embodiment of the present invention provides;
Fig. 3 is the method flow diagram for the connection method of Bluetooth device that further embodiment of this invention provides;
Fig. 4 a are the apparatus structure schematic diagrams for the bluetooth equipment attachment device that one embodiment of the invention provides;
Fig. 4 b are the apparatus structure schematic diagrams for the bluetooth equipment attachment device that another embodiment of the present invention provides;
Fig. 5 is the device structure schematic diagram for the electronic equipment that one embodiment of the invention provides.
Specific implementation mode
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art The every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
The term used in embodiments of the present invention is the purpose only merely for description specific embodiment, is not intended to be limiting The present invention.In the embodiment of the present invention and "an" of singulative used in the attached claims, " described " and "the" It is also intended to including most forms, unless context clearly shows that other meanings, " a variety of " generally comprise at least two, but not It excludes to include at least one situation.
It should be appreciated that term "and/or" used herein is only a kind of incidence relation of description affiliated partner, indicate There may be three kinds of relationships, for example, A and/or B, can indicate:Individualism A, exists simultaneously A and B, individualism B these three Situation.In addition, character "/" herein, it is a kind of relationship of "or" to typically represent forward-backward correlation object.
Depending on context, word as used in this " if ", " if " can be construed to " ... when " or " when ... " or " in response to determination " or " in response to detection ".Similarly, context is depended on, phrase " if it is determined that " or " such as Fruit detect (condition or event of statement) " can be construed to " when determining " or " in response to determination " or " when detection (statement Condition or event) when " or " in response to detection (condition or event of statement) ".
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability Including so that commodity or system including a series of elements include not only those elements, but also include not clear The other element listed, or further include for this commodity or the intrinsic element of system.In the feelings not limited more Under condition, the element that is limited by sentence "including a ...", it is not excluded that including the element commodity or system in also There are other identical elements.
In the prior art, when needing to connect other external equipments during using VR/AR equipment, user need to examine manually Attachable external equipment around surveying, and select to establish with which external equipment and communicate to connect, efficiency is very low.Except this it Outside, in the case of user has worn VR/AR equipment, the manual operation of user is further limited, and the behaviour of external equipment is connected It becomes more complicated.To solve drawbacks described above, the present invention provides a kind of connection methods of bluetooth equipment, intelligently to select Target Bluetooth devices are selected, and establish communication connection therewith.Below with reference to attached drawing, each embodiment of the embodiment of the present application is described in detail The technical solution of offer.
Fig. 1 is the method flow diagram for the connection method of Bluetooth device that one embodiment of the invention provides, in conjunction with Fig. 1, this method Including:
Step 101, the request in response to connecting external equipment, scanning obtain at least one attachable bluetooth equipment.
Step 102, the status information of acquisition and destination virtual scene relating.
Step 103, the basis status information with destination virtual scene relating, from least one attachable indigo plant Target Bluetooth devices are determined in tooth equipment.
Step 104 establishes communication connection with the target Bluetooth devices.
The present embodiment is suitable for VR/AR equipment, and in a step 101, external equipment refers to being located at VR/AR system peripherals , connection can be established and the other equipment for expanding or improving VR/AR functions of the equipments with VR/AR equipment.For example, can Handle, steering wheel, flight rocking bar or body-sensing gloves for being connect with VR/AR equipment etc..
Wherein, the request of external equipment is connected, can be Client-initiated.In response to the request, VR/AR equipment is to outside Equipment is scanned, to obtain at least one attachable bluetooth equipment.Wherein, attachable bluetooth equipment, refers to outside In equipment, one or more equipment that Bluetooth broadcast and broadcast singal can be arrived by VR/AR device scans are sent out.
In a step 102, destination virtual scene refers to the virtual scene that VR/AR equipment will be shown, such as racing car trip Play scene, flying games scene, running match scene or teaching scene etc..
With the status information of destination virtual scene relating refer in VR/AR equipment with the relevant ginseng of destination virtual scene Several current states, such as be currently at relevant first parameter of destination virtual scene and state has been set, with destination virtual field Relevant second parameter of scape is currently at, and state etc. is not arranged.
Then, in step 103, based on the status information with destination virtual scene relating, can connect from least one Target Bluetooth devices are determined in the bluetooth equipment connect.Wherein, target Bluetooth devices can be one, can also be multiple.True It sets the goal after bluetooth equipment, can establish and communicate to connect with the target Bluetooth devices.
In the present embodiment, when receiving the request of connection external equipment, the state with destination virtual scene relating is obtained Information, at least one attachable bluetooth equipment obtained from scanning chooses target Bluetooth devices, and is built with target Bluetooth devices Vertical communication connection.In terms of existing technologies, the technical solution of the embodiment of the present invention can automatically select target Bluetooth and set It is standby, and actively establish communication connection therewith, realize between VR/AR equipment and external bluetooth equipment that intelligently communication link is taken over Journey simplifies the operation for VR/AR equipment.
In the above-described embodiments, optionally, the status information with destination virtual scene relating may include:Destination virtual scene In having selected state or non-selected state.
Wherein, destination virtual scene is in and has selected state, that is to say, that user or VR/AR equipment have selected for The virtual scene that will be shown.At this point, in VR/AR equipment, it is in effective with the relevant scene setting parameter of destination virtual scene Setting state.Destination virtual scene is in non-selected state, that is to say, that has not determined the virtual scene of displaying.At this point, Can be sky with the relevant scene setting parameter of destination virtual scene in VR/AR equipment, it is believed that user selects without active, Or user is waiting for VR/AR equipment to automatically select the virtual scene that will be shown.For above-mentioned two situations, the present invention can carry For different optional embodiments.It will be respectively in connection with Fig. 2 and Fig. 3, to how to implement bluetooth in above-mentioned two situations with lower part Equipment connection method is specifically addressed.
Fig. 2 is the method flow diagram for the connection method of Bluetooth device that another embodiment of the present invention provides, in conjunction with Fig. 2, the party Method includes:
Step 201, the request in response to connecting external equipment, scanning obtain at least one attachable bluetooth equipment.
Step 202 gets and is with the status information of destination virtual scene relating:The destination virtual scene is in and has selected Select state.
Step 203, the destination virtual scene for obtaining user's selection.
Step 204, according to the correspondence of bluetooth equipment and virtual scene pre-established, judge it is described it is at least one can In the bluetooth equipment of connection, if there is bluetooth equipment corresponding with the destination virtual scene;If it has not, thening follow the steps 205;If it is, thening follow the steps 206.
Step 205, prompt user bluetooth equipment not corresponding with the destination virtual scene.
Step 206 judges at least one attachable bluetooth equipment, if exists and the destination virtual scene Unique corresponding bluetooth equipment;If it is, thening follow the steps 207;If it has not, executing step 208.
Step 207, will uniquely corresponding bluetooth equipment executes step as target Bluetooth devices with the destination virtual scene Rapid 210.
Step 208, the relative position for calculating multiple attachable bluetooth equipments corresponding with the destination virtual scene.
Step 209, according to the relative position of the multiple attachable bluetooth equipment, from the multiple attachable bluetooth Selection target bluetooth equipment in equipment.
Step 210 establishes communication connection with the target Bluetooth devices.
In step 201, optionally, user can be acted and/or by gesture motion, headwork, eyeball to specific Button is triggered to initiate the connection the request of external equipment.
VR/AR equipment detects gesture motion, headwork, eyeball action and/or the triggering to specific button of user When action, determine that user asks connection external equipment;In response to the request of the connection external equipment, VR/AR equipment can scan outer Portion's Bluetooth signal;According to the external Bluetooth signal scanned, at least one attachable bluetooth equipment can be obtained.VR/AR equipment Before the external Bluetooth signal of scanning, it can detect whether bluetooth scanning function is opened first, if having opened, can directly scan; If being not switched on, start bluetooth scanning function, to be scanned to external Bluetooth signal.
In the step 202- steps 203, it is with the status information of destination virtual scene relating when getting:Destination virtual Scene can obtain the destination virtual scene of user's selection in when having selected state.
In step 204, the correspondence of bluetooth equipment and virtual scene pre-establishes.Optionally, the present embodiment In, import the when of either creating any virtual scene can be recorded at VR/AR equipment in advance the virtual scene support or needs The bluetooth equipment used.Optionally, can physical record virtual scene support or need bluetooth equipment to be used title and/or MAC (Media Access Control, media access control) address etc..For example, the bluetooth equipment that car race game scene is supported Including:The steering wheel of the game paddle of entitled H1 and entitled H2.For another example the bluetooth equipment that flying games scene is supported Including:The flight rocking bar that the game paddle and MAC Address that MAC Address is A1 are A2.
Based on this pair of bluetooth equipment and virtual scene can be inquired after the destination virtual scene for obtaining user's selection It should be related to, judge in scanned obtained at least one attachable bluetooth equipment, if exist and destination virtual scene pair The bluetooth equipment answered.If being not present, 205 are thened follow the steps, prompts user's bluetooth equipment not corresponding with destination virtual scene. Optionally, the mode of prompt can be by voice broadcast, or the display reminding word on the display screen of VR/AR equipment, this reality Example is applied not to be limited.
In step 206-209, at least one attachable bluetooth equipment, there is only one and destination virtual scene It, can be directly using the bluetooth equipment as target Bluetooth devices when corresponding bluetooth equipment.
In at least one attachable bluetooth equipment, there are when multiple bluetooth equipments corresponding with destination virtual scene, The relative position of this multiple bluetooth equipment can be calculated separately, and is based on relative position selection target bluetooth equipment.Wherein, opposite position The position for referring to bluetooth equipment relative to VR/AR equipment is set, is subsequently repeated no more.The target Bluetooth devices selected can be One, can also be multiple.
Optionally, in the present embodiment, to calculate the relative position of bluetooth equipment, at least two can be installed in VR/AR equipment A bluetooth module, at least two bluetooth module can emit Bluetooth signal outward, can also receive the transmission of other bluetooth equipments Bluetooth signal.In an optional embodiment, each bluetooth module for being installed on any one bluetooth equipment to VR/AR equipment Distance d can be calculated by following formula:
D=10^ { [abs (RSSI)-A]/(100*n) }
Wherein, abs () indicates that ABS function, RSSI indicate the indigo plant that the bluetooth module installed in VR/AR equipment receives Tooth signal strength, A indicate that signal strength when Bluetooth transmission end and receiving terminal distance 1m, n are spatial obstacle object decay factor.
After the distance for each bluetooth module installed on any one bluetooth equipment to VR/AR equipment is calculated, In combination with the distance between known each bluetooth module, bluetooth equipment is positioned, to obtain the opposite position of bluetooth equipment It sets.
In an optional embodiment, to mitigate the weight and volume of VR/AR equipment, it can be installed in VR/AR equipment The bluetooth module that two distances are d0, and it is based on triangulation location, the relative position of the bluetooth module outside determination.Specifically, For a bluetooth equipment, can first determine that the bluetooth equipment respectively with above-mentioned two bluetooth module distance d1 and d2;Later, may be used Using above-mentioned two bluetooth module as the two of which vertex of triangle, by d0, d1 and d2 to should be used as the triangle Three sides;Then, the position on the third vertex of triangle is determined based on known two vertex and three sides, and third is a Relative position of the position on vertex as the bluetooth equipment.
Then, it can be connected from the multiple according to the relative position for the multiple attachable bluetooth equipments being calculated Bluetooth equipment in selection target bluetooth equipment.Optionally, can be from the multiple attachable bluetooth equipment, selection is located at Around VR/AR equipment in setpoint distance (such as 1m) range, and/or distance VR/AR equipment is nearest, and/or is located at VR/AR equipment The bluetooth equipment in front is as target Bluetooth devices.Certainly, in practice, according to the opposite position of multiple attachable bluetooth equipments When setting determining target Bluetooth devices, can also include according to the other location determination modes of actual demand selection, the embodiment of the present invention But it is not limited only to the above situation.
In step 210, after selected target bluetooth equipment, can to the target Bluetooth devices initiate communication request, and with Foundation communication connection.In turn, user is while watching virtual scene, can be by the bluetooth equipment and virtual field that have connected Scape interacts.
In the present embodiment, when receiving the request of connection external equipment, based on the destination virtual scene that user selectes, from Scan obtained at least one attachable bluetooth equipment and select target Bluetooth devices corresponding with destination virtual scene, and with this Target Bluetooth devices establish communication connection.In turn, the automatic connection with target Bluetooth devices is realized, is simplified for VR/AR The operation of equipment, the user experience is improved.
Fig. 3 is the method flow diagram for the connection method of Bluetooth device that further embodiment of this invention provides, in conjunction with Fig. 3, the party Method includes:
Step 301, the request in response to connecting external equipment, scanning obtain at least one attachable bluetooth equipment.
Step 302 gets and is with the status information of destination virtual scene relating:The destination virtual scene is in unselected Select state.
Step 303, the relative position for calculating at least one attachable bluetooth equipment.
Step 304, according to the relative position of at least one attachable bluetooth equipment, at least one connect from described Selection target bluetooth equipment in the bluetooth equipment connect.
Step 305, according to the correspondence of bluetooth equipment and virtual scene pre-established, it is determined whether exist with it is described The corresponding destination virtual scene of target Bluetooth devices;If it has not, executing step 306;If it is, executing step 307.
Step 306, prompt user destination virtual scene not corresponding with the target Bluetooth devices.
Step 307 judges whether and the unique corresponding virtual scene of the target Bluetooth devices;If it has, then holding Row step 308;If it has not, executing step 309.
Step 308, will uniquely corresponding virtual scene executes step as destination virtual scene with the target Bluetooth devices Rapid 311.
Step 309 shows the corresponding multiple optional virtual scenes of the target Bluetooth devices to user.
Step 310 receives the selection that the user makes for the multiple optional virtual scene, and the user is selected The virtual scene selected executes step 311 as the destination virtual scene.
Step 311, the displaying destination virtual scene.
In the present embodiment, getting to be with destination virtual scene relating status information:The destination virtual scene In non-selected state.That is, the virtual scene that will be shown is unknown, cannot be selected at this time according to destination virtual scene It selects and is connect with which bluetooth equipment.In this case, step 303 and step 304 are can perform, at least one connect is calculated Bluetooth equipment relative position, and be based on the relative position, select mesh from least one attachable bluetooth equipment Mark bluetooth equipment.Optionally, it the computational methods of relative position and is set according to the relative position selection target bluetooth of bluetooth equipment Standby method can refer to the record of Fig. 2 corresponding embodiments, and details are not described herein again.
In step 305, optionally, after determining target Bluetooth devices, bluetooth equipment and virtual scene can be inquired Correspondence, it is determined whether there is virtual scene corresponding with target Bluetooth devices.If being not present, prompt user not with institute State the corresponding destination virtual scene of target Bluetooth devices.Optionally, the mode of prompt can be by voice broadcast, or in VR/ Display reminding word, the present embodiment are not limited on the display screen of AR equipment.
In step 307- steps 310, if in the presence of with the unique corresponding virtual scene of target Bluetooth devices, this is virtual Scene is as destination virtual scene.For example, target Bluetooth devices are flight rocking bar, the virtual scene preserved in VR/AR equipment In, only flying games are supported and need to use flight rocking bar, then can be using flying games scene as destination virtual scene.
If in the presence of multiple optional virtual scenes corresponding with target Bluetooth devices, this multiple optional virtual field is shown Scape is for selection by the user.For example, when target Bluetooth devices are game paddle, the more moneys game preserved in VR/AR equipment is all It supports and needs to use game paddle, at this point, can select which scene of game entered by user.Optionally, displaying is multiple can The mode of the virtual scene of choosing can show the corresponding title of multiple optional virtual scenes by tabular form, or pass through floating window Form shows the cover sectional drawing of multiple optional virtual scenes or the corresponding dynamic of the multiple optional virtual scenes of circularly exhibiting Breviary etc., the present embodiment include but are not limited only to this.
After showing multiple optional virtual scenes to user, selection of the user to multiple optional virtual scenes can detect. For example, user can always be selected by the way that finger is directed toward a direction, nod to a direction or eyeball is turned to one party Want the virtual scene of viewing.VR/AR equipment after the selection for receiving user and making for multiple optional virtual scenes, The virtual scene that user is selected is as destination virtual scene.
In step 311, after determining destination virtual scene, destination virtual scene can be shown, so that user watches.With Family can be interacted by the bluetooth equipment having connected with virtual scene during watching virtual scene.
In the present embodiment, when receiving the request of connection external equipment, at least one connected based on what scanning obtained The relative position selection target bluetooth equipment of bluetooth equipment be attached, and after connection, show the target Bluetooth devices Corresponding virtual scene.In turn, it realizes and the automatic connection of target Bluetooth devices and the automatic switchover of virtual scene, letter The operation for VR/AR equipment is changed, the user experience is improved.
It should be noted that optional, the executive agent of above-mentioned or following embodiments can be built in VR/AR equipment Bluetooth connection service.The Bluetooth connection service can show as a service routine, which can be in VR/AR equipment The upper method for executing various embodiments of the present invention and providing.
It should be noted that the executive agent of each step of above-described embodiment institute providing method may each be same equipment, Alternatively, this method is also by distinct device as executive agent.For example, the executive agent of step 201 to step 203 can be equipment A;For another example, step 201 and 202 executive agent can be device A, the executive agent of step 203 can be equipment B;Etc..
In addition, in some flows of description in above-described embodiment and attached drawing, contains and occur according to particular order Multiple operations, but it should be clearly understood that these operations can not execute or parallel according to its sequence what appears in this article It executes, the serial number such as 101,102 etc. of operation is only used for distinguishing each different operation, serial number itself does not represent any Execute sequence.In addition, these flows may include more or fewer operations, and these operations can execute in order or It is parallel to execute.
It may also be noted that in the system and method for the present invention, it is clear that 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 present invention.Also, execute above-mentioned series The step of processing, can execute according to the sequence of explanation in chronological order naturally, but not need to centainly sequentially in time It executes.Certain steps can execute parallel or independently of one another.
The foregoing describe the optional embodiments of connection method of Bluetooth device, as shown in fig. 4 a, in practice, the bluetooth equipment Connection method can realize that as shown in fig. 4 a, which includes by bluetooth equipment attachment device:
Scan module 401, for the request in response to connecting external equipment, scanning obtains at least one attachable bluetooth Equipment;Data obtaining module 402, the instruction information for obtaining the external bluetooth equipment of connection;Determining module 403 is used for basis The status information with destination virtual scene relating determines target Bluetooth from least one attachable bluetooth equipment Equipment;Link block 404 is communicated to connect for being established with the target Bluetooth devices.
Still optionally further, the status information with destination virtual scene relating includes:At the destination virtual scene In having selected state;Or, the destination virtual scene is in non-selected state.
Still optionally further, when the destination virtual scene, which is in, has selected state, determining module 403 is specifically used for: Obtain the destination virtual scene of user's selection;According to the correspondence of the bluetooth equipment and virtual scene that pre-establish, from described In at least one attachable bluetooth equipment, select bluetooth equipment corresponding with the destination virtual scene as target indigo plant Tooth equipment.
Still optionally further, determining module 403 is specifically used for:It is closed when according to the bluetooth equipment is corresponding with virtual scene System when determining that the destination virtual scene corresponds to multiple attachable bluetooth equipments, calculates the multiple attachable bluetooth and sets Standby relative position;According to the relative position of the multiple attachable bluetooth equipment, set from the multiple attachable bluetooth Standby middle selection target bluetooth equipment.
Still optionally further, when the destination virtual scene is in non-selected state, determining module 403 is specifically used for: Calculate the relative position of at least one attachable bluetooth equipment;According at least one attachable bluetooth equipment Relative position, the selection target bluetooth equipment from least one attachable bluetooth equipment.
Still optionally further, as shown in Figure 4 b, described device further includes display module 405, is pre-established for basis The correspondence of bluetooth equipment and virtual scene determines the corresponding destination virtual scene of the target Bluetooth devices;Described in displaying Destination virtual scene.
Still optionally further, display module 405 is specifically used for:It is closed when according to the bluetooth equipment is corresponding with virtual scene System, it is the multiple optional virtual to user's displaying when determining that the target Bluetooth devices correspond to multiple optional virtual scenes Scene;It receives the user and is directed to the selection that the multiple optional virtual scene is made;The virtual field that the user is selected Scape is as the destination virtual scene.
Still optionally further, scan module 401 is specifically used for:Detect that the gesture motion of user, headwork, eyeball are dynamic Make and/or when to the trigger action of specific button, determines that user asks connection external equipment;In response to the connection external equipment Request, scan external Bluetooth signal;According to the external Bluetooth signal scanned, at least one attachable bluetooth is obtained Equipment.
Above-mentioned bluetooth equipment attachment device can perform the connection method of Bluetooth device that the embodiment of the present application is provided, and has and holds The corresponding function module of row method and advantageous effect.The not technical detail of detailed description in the present embodiment, reference can be made to the application The method that embodiment is provided, repeats no more.
Fig. 4 a and Fig. 4 b describe the function of the internal structure and each module of bluetooth equipment attachment device, in practice, Bluetooth equipment attachment device can behave as an electronic equipment, as shown in figure 5, the electronic equipment includes:Memory 501, processor 502, input unit 503 and output device 504.
Wherein, memory 501, processor 502, input unit 503 and output device 504 can by bus or other Mode connects, in Fig. 5 by taking bus connects as an example.
Memory 501 for storing one or more computer instruction, and can be configured as storing various other data with Support operation on an electronic device.The example of these data include any application program for operating on an electronic device or The instruction of method.
Memory 501 can realize by any kind of volatibility or non-volatile memory device or combination thereof, Such as static RAM (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable is read-only Memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, disk Or CD.
In some embodiments, it includes the memory remotely located relative to processor 502 that memory 501 is optional, these Remote memory can pass through network connection to electronic equipment.The example of above-mentioned network includes but not limited to internet, in enterprise Portion's net, LAN, mobile radio communication and combinations thereof.
Processor 502, with memory, 501 couplings, for executing one or more computer instruction for execution The connection method of Bluetooth device that Fig. 1-Fig. 3 corresponding embodiments provide.Input unit 503 can receive the number or character letter of input Breath, and generate key signals input related with the user setting of electronic equipment and function control.Output device 504 may include Display screen etc. shows equipment.
Further, as shown in figure 5, the electronic equipment further includes:Power supply module 505.Power supply module 505 is power supply module The various assemblies of place equipment provide electric power.Power supply module may include power-supply management system, one or more power supplys and other It is generated with for equipment where power supply module, management and the associated component of distribution electric power.
Above-mentioned electronic equipment can perform the connection method of Bluetooth device that the embodiment of the present application is provided, and have execution method phase The function module and advantageous effect answered.The not technical detail of detailed description in the present embodiment, reference can be made to the embodiment of the present application institute The method of offer, repeats no more.
The apparatus embodiments described above are merely exemplary, wherein the unit illustrated as separating component can It is physically separated with being or may not be, the component shown as unit may or may not be physics list Member, you can be located at a place, or may be distributed over multiple network units.It can be selected according to the actual needs In some or all of module achieve the purpose of the solution of this embodiment.Those of ordinary skill in the art are not paying creativeness Labour in the case of, you can to understand and implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can It is realized by the mode of software plus required general hardware platform, naturally it is also possible to pass through hardware.Based on this understanding, on Stating technical solution, substantially the part that contributes to existing technology can be expressed in the form of software products in other words, should Computer software product can store in a computer-readable storage medium, such as ROM/RAM, magnetic disc, CD, including several fingers It enables and using so that a computer equipment (can be personal computer, server or the network equipment etc.) executes each implementation Method described in certain parts of example or embodiment.
Finally it should be noted that:The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although Present invention has been described in detail with reference to the aforementioned embodiments, it will be understood by those of ordinary skill in the art that:It still may be used With technical scheme described in the above embodiments is modified or equivalent replacement of some of the technical features; And these modifications or replacements, various embodiments of the present invention technical solution that it does not separate the essence of the corresponding technical solution spirit and Range.