CN107708094A - device pairing method and device - Google Patents

device pairing method and device Download PDF

Info

Publication number
CN107708094A
CN107708094A CN201710962876.8A CN201710962876A CN107708094A CN 107708094 A CN107708094 A CN 107708094A CN 201710962876 A CN201710962876 A CN 201710962876A CN 107708094 A CN107708094 A CN 107708094A
Authority
CN
China
Prior art keywords
handle
history
pairing
identification information
matched
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.)
Pending
Application number
CN201710962876.8A
Other languages
Chinese (zh)
Inventor
林形省
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201710962876.8A priority Critical patent/CN107708094A/en
Publication of CN107708094A publication Critical patent/CN107708094A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The disclosure belongs to VR technical fields on a kind of device pairing method and device.Methods described includes:Unpaired handle around scanning;Whether in the handle that scans include history pairing handle, the history pairing handle is the handle crossed with Virtual Reality device pairing if detecting;When the handle scanned includes the history pairing handle, matched with history pairing handle.The disclosure solves when multiple handles around be present, and VR equipment and first handle scan match, the problem of causing pairing to malfunction, and has reached the effect for improving and matching accuracy.

Description

Device pairing method and device
Technical field
This disclosure relates to VR technical fields, more particularly to a kind of device pairing method and device.
Background technology
VR (Virtual Reality, virtual reality) equipment needs to match handle use, so, by being carried out to handle Motion tracking, the operation of user can be identified.
In correlation technique, VR equipment is matched by bluetooth and handle.When realizing, VR equipment scans surrounding not by bluetooth The handle of pairing, establish and connect with first handle scanned, realize the pairing with handle.
The content of the invention
To solve the problems, such as in correlation technique, present disclose provides a kind of device pairing method and device.
According to the first aspect of the embodiment of the present disclosure, there is provided a kind of device pairing method, methods described include:
Unpaired handle around scanning;
Whether in the handle that scan include history pairing handle, the history, which matches handle, is and Virtual Reality if detecting The handle that device pairing is crossed;
When the handle scanned includes the history pairing handle, matched with history pairing handle.
Optionally, it is described to detect whether include history pairing handle in the handle scanned, including:
Obtain the first identification information of the handle scanned;
Read the second identification information of the history pairing handle stored in the VR equipment;
Detect whether exist and the first identification information of the second identification information identical;
When existing with the second identification information first identification information of identical, by indicated by first identification information Handle match handle as the history, it is determined that handle scan, which includes the history, matches handle.
Optionally, it is described to be matched with the history when the handle scanned includes at least two history pairing handle Handle is matched, including:
The history that highest priority is selected in handle is matched from least two history according to default priority list Handle is matched, the height of the priority in the priority list and the morning and evening negatively correlated relation for matching the time;
Matched with the history pairing handle of highest priority.
Optionally, described matched according to default priority list from least two history in handle selects priority Highest history matches handle, including:
Read the priority list, the priority list includes the of each history pairing handle of the VR equipment The priority of one identification information and every first identification information;
Read the first identification information of at least two history pairing handle;
The first of highest priority is selected to identify letter from least two first identification informations according to the priority list Breath;
History pairing handle indicated by first identification information of highest priority is defined as highest priority History matches handle.
Optionally, methods described also includes:
When not including history pairing handle in the handle scanned, with the handle do not crossed with any VR device pairings Matched.
Optionally, it is described to be matched with handle that is not crossed with any VR device pairings, including:
All handles arrived to scanning send inquiry request, and the inquiry request is used to indicate that the handle sends history and matched somebody with somebody To information;When the handle and other VR device pairings are out-of-date, the content of the history unpaired message is stored in the handle Last time pairing other VR equipment information;When the handle is out-of-date not with any VR device pairings, the history pairing is believed The content of breath is presupposed information;
Receive the history unpaired message that all handles are sent;
History unpaired message of the content for presupposed information is selected from all history unpaired messages;
Handle with sending the history unpaired message is matched.
According to the second aspect of the embodiment of the present disclosure, there is provided a kind of device pairing device, described device include:
Scan module, it is configured as unpaired handle around scanning;
Whether detection module, being configured as detecting in the handle that the scan module scans includes history pairing handle, The history pairing handle is the handle crossed with Virtual Reality device pairing;
First matching module, the testing result for being configured as the detection module are described in the handle scanned includes When history matches handle, matched with history pairing handle.
Optionally, the detection module, including:
Acquisition submodule, it is configured as obtaining the first identification information of the handle scanned;
Reading submodule, it is configured as reading the second identification information of the history pairing handle stored in the VR equipment;
Detection sub-module, it is configured as detecting whether exist and the first identification information of the second identification information identical;
Determination sub-module, the testing result for being configured as the detection sub-module are to exist and second identification information During the first identification information of identical, handle is matched using the handle indicated by first identification information as the history, it is determined that The handle scanned includes the history pairing handle.
Optionally, when the handle scanned includes at least two history pairing handle, first matching module, bag Include:
First choice submodule, it is configured as matching handle from least two history according to default priority list The history pairing handle of middle selection highest priority, the height of the priority in the priority list and the morning and evening for matching the time Negatively correlated relation;
First pairing submodule, is configured as the history of highest priority selected with the first choice submodule Pairing handle is matched.
Optionally, the first choice submodule, is additionally configured to:
Read the priority list, the priority list includes the of each history pairing handle of the VR equipment The priority of one identification information and every first identification information;
Read the first identification information of at least two history pairing handle;
The first of highest priority is selected to identify letter from least two first identification informations according to the priority list Breath;
History pairing handle indicated by first identification information of highest priority is defined as highest priority History matches handle.
Optionally, described device also includes:
Second matching module, when being configured as in the handle that scans not including history pairing handle, with not and The handle that any VR device pairings are crossed is matched.
Optionally, second matching module, including:
Sending submodule, all handles for being configured as arriving to scanning send inquiry request, and the inquiry request is used to refer to Show that the handle sends history unpaired message;When the handle and other VR device pairings it is out-of-date, the history unpaired message Content is the information of other VR equipment of the last time pairing stored in the handle;When the handle not with any VR device pairings Out-of-date, the content of the history unpaired message is presupposed information;
Receiving submodule, it is configured as receiving the history unpaired message that all handles are sent;
Second selects submodule, is selected in all history unpaired messages for being configured as receiving from the receiving submodule Select the history unpaired message that content is presupposed information;
Second pairing submodule, it is configured as being matched with sending the handle of the history unpaired message.
According to the third aspect of the embodiment of the present disclosure, there is provided a kind of device pairing device, described device include:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:
Unpaired handle around scanning;
Whether in the handle that scan include history pairing handle, the history, which matches handle, is and Virtual Reality if detecting The handle that device pairing is crossed;
When the handle scanned includes the history pairing handle, matched with history pairing handle.
According to the fourth aspect of the embodiment of the present disclosure, there is provided a kind of computer-readable recording medium, in the storage medium At least one instruction, at least one section of program, code set or instruction set are stored with, described at least one instructs, be described at least one section Program, the code set or instruction set are loaded by the processor and performed to realize device pairing side as described in relation to the first aspect Method.
The technical scheme provided by this disclosed embodiment can include the following benefits:
When VR device scans to the unpaired handle of surrounding include history pairing handle when, due to history pairing handle be with The handle that VR device pairings are crossed.So VR equipment can be matched directly with the handle, solve and multiple hands around be present During handle, VR equipment and first handle scanned match, and cause to match the problem of malfunctioning, and have reached and have improved pairing accuracy Effect.
When the handle scanned includes at least two history pairing handle, handle is matched with the history of highest priority Matched, due to the height and the morning and evening negatively correlated relation of pairing time of priority.So the handle of highest priority is Last time and the handle of VR device pairings, now, VR equipment and the accuracy of handle pairing are maximum, improve pairing accuracy.
When not including history pairing handle in the handle scanned, illustrate that the history of VR equipment matches handle not attached Closely, or, VR equipment was not matched.Now, VR equipment is matched with the new handle do not crossed with any VR device pairings, solution Determined with the history of other VR equipment pairing handle matched when, cause pairing malfunction the problem of, reached raising with alignment The effect of true property.
It should be appreciated that the general description and following detailed description of the above are only exemplary, this can not be limited It is open.
Brief description of the drawings
Accompanying drawing herein is merged in specification and forms a part for present disclosure specification, shows and meets the disclosure Embodiment, and be used to together with specification to explain the principle of the disclosure.
Fig. 1 is a kind of schematic diagram of VR systems according to an exemplary embodiment.
Fig. 2 is a kind of flow chart of device pairing method according to an exemplary embodiment.
Fig. 3 is a kind of flow chart of device pairing method according to another exemplary embodiment.
Fig. 4 is a kind of flow chart of handle detection according to another exemplary embodiment.
Fig. 5 is a kind of flow chart of handle selection according to another exemplary embodiment.
Fig. 6 is a kind of flow chart of handle pairing according to another exemplary embodiment.
Fig. 7 is a kind of block diagram of device pairing device according to an exemplary embodiment.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with it is such as appended The example of the consistent apparatus and method of some aspects be described in detail in claims, the disclosure.
Fig. 1 is a kind of schematic diagram of VR systems according to an exemplary embodiment, and the VR systems include VR equipment 110 With handle 120.
Illustrated so that VR equipment 110 is head mounted display as an example.Head mounted display is to be used to be worn on to use account Portion carries out the display that image is shown.Head mounted display generally includes wearing portion and display part, and wearing portion includes being used for head Head mounted displays are worn on the leg of spectacles and elastic webbing of user's head, and display part includes left eye display screen and right eye display screen.Head Head mounted displays can show different images in left eye display screen and right eye display screen, so as to simulate three-dimensional for user Environment.
Alternatively, motion sensor is provided with head mounted display, for catching the headwork of user, to cause void Intend the display picture that real main frame changes the dummy head in head mounted display.
Head mounted display is by flexible PCB or hardware interface or data wire or wireless network, with virtual reality main frame It is electrical connected.
The Three-dimensional Display that virtual reality main frame is used to model three-dimensional virtual environment, generate corresponding to three-dimensional virtual environment is drawn Dummy object in face, generation three-dimensional virtual environment etc..Certainly, virtual reality main frame 140 can also model two-dimensional virtual environment, Generate the two-dimentional display picture corresponding to two-dimensional virtual environment, the dummy object in generation two-dimensional virtual environment;It is or virtual existing Real main frame can model three-dimensional virtual environment, the two dimension according to corresponding to the view position of user generates the three-dimensional virtual environment shows Show two-dimensional projection's picture of dummy object etc. in picture, generation three-dimensional virtual environment, the present embodiment is not construed as limiting to this.
Alternatively, virtual reality main frame can be integrated in the inside of head mounted display, can also be integrated in and wear-type In the different miscellaneous equipment of display, the present embodiment is not construed as limiting to this.In the present embodiment, with virtual reality main frame be integrated in Illustrated exemplified by the inside of head mounted display.Wherein, miscellaneous equipment can be desktop computer or server etc., this implementation Example is not construed as limiting to this.
Virtual reality main frame receives the input signal of handle 120, and generates head mounted display according to the input signal Display picture.Virtual reality main frame is generally by setting the electricity such as processor on circuit boards, memory, image virtual reality main frame Sub- device is realized.Alternatively, virtual reality main frame also includes image collecting device, for catching the headwork of user, and root Change the display picture of the dummy head in head mounted display according to the headwork of user.
Fig. 2 is a kind of flow chart of device pairing method according to an exemplary embodiment, the device pairing method Applied in the VR equipment 110 shown in Fig. 1, as shown in Fig. 2 the device pairing method comprises the following steps.
In step 201, unpaired handle around scanning.
In one implementation, for VR equipment by the outside broadcast singal of bluetooth, the handle of the unpaired mistake of surrounding can be to VR Equipment sends response signal, and VR equipment determines the unpaired handle of surrounding according to the response signal received.
In step 202, history pairing handle whether is included in the handle that detection scans, history pairing handle is and void Intend the handle that real VR device pairings are crossed.
VR equipment stores to the identification information of each handle matched, and the identification information is used to identify handle.VR Whether the identification information of equipment detection storage includes the identification information of the handle scanned, determines what is scanned according to testing result Whether history pairing handle is included in handle.
In step 203, when the handle scanned includes history pairing handle, matched somebody with somebody with history pairing handle It is right.
When the handle scanned includes a history pairing handle, VR equipment is matched somebody with somebody with history pairing handle It is right.When the handle scanned includes at least two history pairing handle, VR equipment also needs to match from least two history A history pairing handle is selected in handle to be matched.
In summary, the device pairing method that the disclosure provides, when VR device scans include to the unpaired handle of surrounding When history matches handle, because history pairing handle is the handle crossed with VR device pairings.So VR equipment can directly with this Handle is matched, and is solved when multiple handles around be present, VR equipment and first handle pairing scan, causes to match somebody with somebody The problem of to error, the effect for improving pairing accuracy is reached.
Fig. 3 is a kind of flow chart of device pairing method according to another exemplary embodiment, the device pairing side Method is applied in the VR equipment 110 shown in Fig. 1, as shown in figure 3, the device pairing method comprises the following steps.
In step 301, unpaired handle around scanning.
In one implementation, for VR equipment by the outside broadcast singal of bluetooth, the handle of the unpaired mistake of surrounding can be to VR Equipment sends response signal, and VR equipment determines the unpaired handle of surrounding according to the response signal received.
In step 302, history pairing handle whether is included in the handle that detection scans, history pairing handle is and void Intend the handle that real VR device pairings are crossed.
In the present embodiment, VR equipment stores to the identification information of each handle matched, and the identification information is used for Identify handle.Wherein, identification information can be MAC (Media Access Control, media access control) address, can also It is other information, the present embodiment is not construed as limiting.
For the ease of distinguishing, the identification information of the handle scanned is referred to as the first identification information in the present embodiment, by VR The identification information of the history pairing handle stored in equipment is referred to as the second identification information.
Wherein, history pairing handle whether is included in the handle that detection scans, following several sub-steps can be included, please With reference to figure 4:
In step 3021, the first identification information of the handle scanned is obtained.
Handle includes the first identification information of the handle to the response signal that VR equipment is sent, and VR equipment is directly believed from response The first identification information of handle is read in number.
In step 3022, the second identification information of the history pairing handle stored in VR equipment is read.
In step 3023, detect whether exist and second the first identification information of identification information identical.
VR equipment by each first identification information successively compared with the second identification information, when existing and the second mark is believed When ceasing the first identification information of identical, step 3024 is performed;When in the absence of with second the first identification information of identification information identical When, perform step 304.
In step 3024, when existing with second identification information the first identification information of identical, by the first identification information Indicated handle matches handle as history, it is determined that the handle scanned includes history pairing handle.
In step 303, when the handle scanned includes history pairing handle, matched somebody with somebody with history pairing handle It is right.
When the handle scanned includes a history pairing handle, VR equipment is matched somebody with somebody with history pairing handle It is right.
When the handle scanned includes at least two history pairing handle, VR equipment is also needed to from least two history A history pairing handle is selected in pairing handle to be matched, and now, is matched with history pairing handle, including it is following several Sub-steps, it refer to Fig. 5:
In step 3031, matched according to default priority list from least two history in handle and select priority most High history pairing handle, the height of the priority in priority list and the morning and evening negatively correlated relation for matching the time.
When VR equipment and the pairing of two handles are out-of-date, it is not handy to be often as first handle, so VR equipment just weighs Newly matched with second handle.So when VR device scans are to two handles, VR equipment and the probability of second handle pairing It is higher.In order to ensure the accuracy of pairing, VR equipment is according to the pairing time to the first mark of each handle matched Information sets priority, forms priority list.Wherein, the pairing time is more early, the priority of the first identification information of the handle It is lower;The pairing time is more late, and the priority of the first identification information of the handle is higher.
Now, the history that highest priority is selected in handle is matched from least two history according to default priority list Handle is matched, including:Priority list is read, priority list includes the first mark of each history pairing handle of VR equipment The priority of information and every first identification information;Read the first identification information of at least two history pairing handle;According to excellent First level list selects the first identification information of highest priority from least two first identification informations;By the of highest priority History pairing handle indicated by one identification information is defined as the history pairing handle of highest priority.
In step 3032, matched with the history pairing handle of highest priority.
In step 304, when in the handle scanned not include history pairing handle when, with not with any VR device pairings The handle crossed is matched.
When not including history pairing handle in the handle scanned, illustrate that the history of VR equipment matches handle not attached Closely, or, VR equipment was not matched.Now, VR equipment is matched with the new handle do not crossed with any VR device pairings, solution Determined with the history of other VR equipment pairing handle matched when, cause pairing malfunction the problem of, reached raising with alignment The effect of true property.
Wherein, the handle with not crossed with any VR device pairings is matched, and can be included following several sub-steps, please be joined Examine Fig. 6:
In step 3041, all handles arrived to scanning send inquiry request, and inquiry request is used to indicate that handle is sent History unpaired message;When handle and other VR device pairings are out-of-date, the content of history unpaired message is the last time stored in handle The information of other VR equipment of pairing;When handle is out-of-date not with any VR device pairings, the content of history unpaired message is default Information.
In the present embodiment, the information for the VR equipment that handle matched to last time stores.When with other VR device pairing mistakes Handle when receiving inquiry request, handle generation includes the history unpaired message of the information of other VR equipment.When not and appoint When the handle that one VR was matched receives inquiry request, handle generates the history unpaired message for including presupposed information.Wherein, preset The effect of information is distinguished with the information of other VR equipment, in order to which VR equipment identifies.The presupposed information can be that content is Empty information, or, the presupposed information can preset zone bit information, such as 0, the present embodiment is not construed as limiting.
Query Information can be around VR device scans for pairing handle when send or it is determined that scanning arrive Handle do not include sending during history pairing handle, the present embodiment is not construed as limiting.
In step 3042, the history unpaired message that all handles are sent is received.
In step 3043, history unpaired message of the content for presupposed information is selected from all history unpaired messages.
Content is that the handle not matched with any VR is sent for the history unpaired message of presupposed information, and VR equipment is selected The purpose of the history unpaired message is the new handle for selecting not match with any VR.
In step 3044, the handle with sending the history unpaired message is matched.VR equipment and the new handle selected Matched.
In summary, the device pairing method that the disclosure provides, when VR device scans include to the unpaired handle of surrounding When history matches handle, because history pairing handle is the handle crossed with VR device pairings.So VR equipment can directly with this Handle is matched, and is solved when multiple handles around be present, VR equipment and first handle pairing scan, causes to match somebody with somebody The problem of to error, the effect for improving pairing accuracy is reached.
When the handle scanned includes at least two history pairing handle, handle is matched with the history of highest priority Matched, due to the height and the morning and evening negatively correlated relation of pairing time of priority.So the handle of highest priority is Last time and the handle of VR device pairings, now, VR equipment and the accuracy of handle pairing are maximum, improve pairing accuracy.
When not including history pairing handle in the handle scanned, illustrate that the history of VR equipment matches handle not attached Closely, or, VR equipment was not matched.Now, VR equipment is matched with the new handle do not crossed with any VR device pairings, solution Determined with the history of other VR equipment pairing handle matched when, cause pairing malfunction the problem of, reached raising with alignment The effect of true property.
Fig. 7 is a kind of block diagram of device pairing device according to an exemplary embodiment, and the device pairing device should For in the VR equipment 110 shown in Fig. 1, as shown in fig. 7, the device pairing device includes:Scan module 710, detection module 720 With the first matching module 730.
The scan module 710, it is configured as unpaired handle around scanning;
The detection module 720, it is configured as detecting and whether matches somebody with somebody in the handle that the scan module 710 scans including history To handle, the history pairing handle is the handle crossed with VR device pairings;
First matching module 730, the testing result for being configured as the detection module 720 are in the handle scanned When matching handle including the history, matched with history pairing handle.
Optionally, the detection module 720, including:Acquisition submodule, reading submodule, detection sub-module and determination Module;
The acquisition submodule, it is configured as obtaining the first identification information of the handle scanned;
The reading submodule, it is configured as reading the second mark letter of the history pairing handle stored in the VR equipment Breath;
The detection sub-module, it is configured as detecting whether to exist to identify with the second identification information identical first believing Breath;
The determination sub-module, the testing result for being configured as the detection sub-module are to exist to believe with the described second mark When ceasing the first identification information of identical, handle is matched using the handle indicated by first identification information as the history, really The fixed handle scanned includes the history pairing handle.
Optionally, when the handle scanned includes at least two history pairing handle, first matching module 730, including:First choice submodule and the first pairing submodule;
The first choice submodule, it is configured as matching somebody with somebody opponent from least two history according to default priority list The history pairing handle of highest priority, the height of the priority in the priority list and the morning for matching the time are selected in handle Evening negatively correlated relation;
The first pairing submodule, goes through described in the highest priority for being configured as selecting with the first choice submodule History pairing handle is matched.
Optionally, the first choice submodule, is additionally configured to:
Read the priority list, the priority list includes the of each history pairing handle of the VR equipment The priority of one identification information and every first identification information;
Read the first identification information of at least two history pairing handle;
The first of highest priority is selected to identify letter from least two first identification informations according to the priority list Breath;
History pairing handle indicated by first identification information of highest priority is defined as highest priority History matches handle.
Optionally, described device also includes:Second pairing submodule;
Second matching module, when being configured as in the handle that scans not including history pairing handle, and not The handle crossed with any VR device pairings is matched.
Optionally, second matching module, including:
Sending submodule, all handles for being configured as arriving to scanning send inquiry request, and the inquiry request is used to refer to Show that the handle sends history unpaired message;When the handle and other VR device pairings it is out-of-date, the history unpaired message Content is the information of other VR equipment of the last time pairing stored in the handle;When the handle not with any VR device pairings Out-of-date, the content of the history unpaired message is presupposed information;
Receiving submodule, it is configured as receiving the history unpaired message that all handles are sent;
Second selects submodule, is selected in all history unpaired messages for being configured as receiving from the receiving submodule Select the history unpaired message that content is presupposed information;
Second pairing submodule, it is configured as being matched with sending the handle of the history unpaired message.
In summary, the device pairing device that the disclosure provides, when VR device scans include to the unpaired handle of surrounding When history matches handle, because history pairing handle is the handle crossed with VR device pairings.So VR equipment can directly with this Handle is matched, and is solved when multiple handles around be present, VR equipment and first handle pairing scan, causes to match somebody with somebody The problem of to error, the effect for improving pairing accuracy is reached.
When the handle scanned includes at least two history pairing handle, handle is matched with the history of highest priority Matched, due to the height and the morning and evening negatively correlated relation of pairing time of priority.So the handle of highest priority is Last time and the handle of VR device pairings, now, VR equipment and the accuracy of handle pairing are maximum, improve pairing accuracy.
When not including history pairing handle in the handle scanned, illustrate that the history of VR equipment matches handle not attached Closely, or, VR equipment was not matched.Now, VR equipment is matched with the new handle do not crossed with any VR device pairings, solution Determined with the history of other VR equipment pairing handle matched when, cause pairing malfunction the problem of, reached raising with alignment The effect of true property.
The exemplary embodiment of the disclosure one provides a kind of device pairing device, can realize that the equipment that the disclosure provides is matched somebody with somebody To method, the device pairing device includes:Processor, the memory for storing processor-executable instruction;
Wherein, processor is configured as:
Unpaired handle around scanning;
Whether in the handle that scans include history pairing handle, history pairing handle is and Virtual Reality equipment if detecting The handle matched;
When the handle scanned includes history pairing handle, matched with history pairing handle.
The exemplary embodiment of the disclosure one provides a kind of computer-readable recording medium, is stored with the storage medium At least one instruction, at least one section of program, code set or instruction set, at least one instruction, at least one section of program, the institute Code set or instruction set is stated to be loaded by the processor and performed to realize device pairing method as described above.
Those skilled in the art will readily occur to other realities of the disclosure after considering specification and putting into practice disclosure herein Apply scheme.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or suitable The change of answering property follows the general principle of the disclosure and including the undocumented common knowledge or used in the art of the disclosure Use technological means.Description and embodiments are considered only as exemplary, and the true scope of the disclosure and spirit are by following right It is required that point out.
It should be appreciated that the precision architecture that the disclosure is not limited to be described above and is shown in the drawings, and And various modifications and changes can be being carried out without departing from the scope.The scope of the present disclosure is only limited by appended claim.

Claims (14)

  1. A kind of 1. device pairing method, it is characterised in that methods described includes:
    Unpaired handle around scanning;
    Whether in the handle that scans include history pairing handle, the history pairing handle is and Virtual Reality equipment if detecting The handle matched;
    When the handle scanned includes the history pairing handle, matched with history pairing handle.
  2. 2. according to the method for claim 1, it is characterised in that whether described detect matches somebody with somebody in the handle scanned including history To handle, including:
    Obtain the first identification information of the handle scanned;
    Read the second identification information of the history pairing handle stored in the VR equipment;
    Detect whether exist and the first identification information of the second identification information identical;
    When existing with the second identification information first identification information of identical, by the hand indicated by first identification information Handle matches handle as the history, it is determined that the handle scanned includes the history pairing handle.
  3. 3. according to the method for claim 1, it is characterised in that when the handle scanned includes the pairing of at least two history It is described to be matched with the history pairing handle during handle, including:
    Being matched according to default priority list from least two history selects the history of highest priority to match in handle Handle, the height of the priority in the priority list and the morning and evening negatively correlated relation for matching the time;
    Matched with the history pairing handle of highest priority.
  4. 4. according to the method for claim 3, it is characterised in that it is described according to default priority list from described at least two The history pairing handle of highest priority is selected in individual history pairing handle, including:
    The priority list is read, the priority list includes the first mark of each history pairing handle of the VR equipment Know information and the priority of every first identification information;
    Read the first identification information of at least two history pairing handle;
    The first identification information of highest priority is selected from least two first identification informations according to the priority list;
    History pairing handle indicated by first identification information of highest priority is defined as to the history of highest priority Match handle.
  5. 5. method according to any one of claims 1 to 4, it is characterised in that methods described also includes:
    When not including history pairing handle in the handle scanned, carried out with the handle do not crossed with any VR device pairings Pairing.
  6. 6. according to the method for claim 5, it is characterised in that described to be carried out with the handle do not crossed with any VR device pairings Pairing, including:
    All handles arrived to scanning send inquiry request, and the inquiry request is used to indicate that the handle sends history pairing letter Breath;When the handle and other VR device pairings it is out-of-date, the content of the history unpaired message be stored in the handle it is upper The information of other VR equipment of secondary pairing;When the handle is out-of-date not with any VR device pairings, the history unpaired message Content is presupposed information;
    Receive the history unpaired message that all handles are sent;
    History unpaired message of the content for presupposed information is selected from all history unpaired messages;
    Handle with sending the history unpaired message is matched.
  7. 7. a kind of device pairing device, it is characterised in that described device includes:
    Scan module, it is configured as unpaired handle around scanning;
    Detection module, whether include history pairing handle, described if being configured as detecting in the handle that the scan module scans History pairing handle is the handle crossed with Virtual Reality device pairing;
    First matching module, the testing result for being configured as the detection module are that the handle scanned includes the history When matching handle, matched with history pairing handle.
  8. 8. device according to claim 7, it is characterised in that the detection module, including:
    Acquisition submodule, it is configured as obtaining the first identification information of the handle scanned;
    Reading submodule, it is configured as reading the second identification information of the history pairing handle stored in the VR equipment;
    Detection sub-module, it is configured as detecting whether exist and the first identification information of the second identification information identical;
    Determination sub-module, the testing result for being configured as the detection sub-module are in the presence of identical with second identification information The first identification information when, using the handle indicated by first identification information as the history match handle, it is determined that scanning To handle include history pairing handle.
  9. 9. device according to claim 7, it is characterised in that when the handle scanned includes the pairing of at least two history During handle, first matching module, including:
    First choice submodule, it is configured as being matched in handle from least two history according to default priority list and selects Select priority highest history pairing handle, the height of the priority in the priority list and match the morning and evening of time in negative Dependency relation;
    First pairing submodule, it is configured as the history pairing of highest priority selected with the first choice submodule Handle is matched.
  10. 10. device according to claim 9, it is characterised in that the first choice submodule, be additionally configured to:
    The priority list is read, the priority list includes the first mark of each history pairing handle of the VR equipment Know information and the priority of every first identification information;
    Read the first identification information of at least two history pairing handle;
    The first identification information of highest priority is selected from least two first identification informations according to the priority list;
    History pairing handle indicated by first identification information of highest priority is defined as to the history of highest priority Match handle.
  11. 11. according to any described device of claim 7 to 10, it is characterised in that described device also includes:
    Second matching module, when being configured as in the handle that scans not including history pairing handle, with not with it is any The handle that VR device pairings are crossed is matched.
  12. 12. device according to claim 11, it is characterised in that second matching module, including:
    Sending submodule, all handles for being configured as arriving to scanning send inquiry request, and the inquiry request is used to indicate institute State handle and send history unpaired message;When the handle and other VR device pairings it is out-of-date, the content of the history unpaired message It is the information of other VR equipment of the last time pairing stored in the handle;When the handle not with any VR device pairings mistake When, the content of the history unpaired message is presupposed information;
    Receiving submodule, it is configured as receiving the history unpaired message that all handles are sent;
    Second selection submodule, is configured as in all history unpaired messages for being received from the receiving submodule in selection Hold the history unpaired message for presupposed information;
    Second pairing submodule, it is configured as being matched with sending the handle of the history unpaired message.
  13. 13. a kind of device pairing device, it is characterised in that described device includes:
    Processor;
    For storing the memory of processor-executable instruction;
    Wherein, the processor is configured as:
    Unpaired handle around scanning;
    Whether in the handle that scans include history pairing handle, the history pairing handle is and Virtual Reality equipment if detecting The handle matched;
    When the handle scanned includes the history pairing handle, matched with history pairing handle.
  14. 14. a kind of computer-readable recording medium, it is characterised in that at least one instruction, extremely is stored with the storage medium Few one section of program, code set or instruction set, at least one instruction, at least one section of program, the code set or the instruction Collection is loaded by the processor and performed to realize any described device pairing method of claim 1 to 6.
CN201710962876.8A 2017-10-17 2017-10-17 device pairing method and device Pending CN107708094A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710962876.8A CN107708094A (en) 2017-10-17 2017-10-17 device pairing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710962876.8A CN107708094A (en) 2017-10-17 2017-10-17 device pairing method and device

Publications (1)

Publication Number Publication Date
CN107708094A true CN107708094A (en) 2018-02-16

Family

ID=61183811

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710962876.8A Pending CN107708094A (en) 2017-10-17 2017-10-17 device pairing method and device

Country Status (1)

Country Link
CN (1) CN107708094A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109286918A (en) * 2018-07-03 2019-01-29 浙江绍兴苏泊尔生活电器有限公司 Pairing processing method, device and system for cookware of induction cooker
CN109606186A (en) * 2018-12-24 2019-04-12 恒大智慧科技(深圳)有限公司 Charging management method, computer equipment and storage medium
CN110321093A (en) * 2019-06-17 2019-10-11 广州视源电子科技股份有限公司 Screen projection pairing method and device, storage medium and screen projector
CN115086920A (en) * 2022-06-07 2022-09-20 Oppo广东移动通信有限公司 Wireless communication connection method, device, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102548023A (en) * 2011-12-27 2012-07-04 惠州Tcl移动通信有限公司 Wireless fidelity connecting method and wireless fidelity connecting device
CN103136928A (en) * 2011-11-23 2013-06-05 三星电子株式会社 Terminal apparatus for auto pairing, remote control apparatus and method thereof
CN103228060A (en) * 2013-04-02 2013-07-31 深圳市文鼎创数据科技有限公司 Method and device for processing bluetooth pairing information
CN103997358A (en) * 2014-05-21 2014-08-20 青岛海信电器股份有限公司 Method, device and system for pairing Bluetooth remote control unit and controlled devices
CN105282691A (en) * 2015-11-05 2016-01-27 广东欧珀移动通信有限公司 Bluetooth equipment connection method and device
CN105744466A (en) * 2016-01-26 2016-07-06 广东欧珀移动通信有限公司 Bluetooth equipment connection method and Bluetooth equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103136928A (en) * 2011-11-23 2013-06-05 三星电子株式会社 Terminal apparatus for auto pairing, remote control apparatus and method thereof
CN102548023A (en) * 2011-12-27 2012-07-04 惠州Tcl移动通信有限公司 Wireless fidelity connecting method and wireless fidelity connecting device
CN103228060A (en) * 2013-04-02 2013-07-31 深圳市文鼎创数据科技有限公司 Method and device for processing bluetooth pairing information
CN103997358A (en) * 2014-05-21 2014-08-20 青岛海信电器股份有限公司 Method, device and system for pairing Bluetooth remote control unit and controlled devices
CN105282691A (en) * 2015-11-05 2016-01-27 广东欧珀移动通信有限公司 Bluetooth equipment connection method and device
CN105744466A (en) * 2016-01-26 2016-07-06 广东欧珀移动通信有限公司 Bluetooth equipment connection method and Bluetooth equipment

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109286918A (en) * 2018-07-03 2019-01-29 浙江绍兴苏泊尔生活电器有限公司 Pairing processing method, device and system for cookware of induction cooker
CN109286918B (en) * 2018-07-03 2021-10-22 浙江绍兴苏泊尔生活电器有限公司 Pairing processing method, device and system for cookware of induction cooker
CN109606186A (en) * 2018-12-24 2019-04-12 恒大智慧科技(深圳)有限公司 Charging management method, computer equipment and storage medium
CN110321093A (en) * 2019-06-17 2019-10-11 广州视源电子科技股份有限公司 Screen projection pairing method and device, storage medium and screen projector
CN115086920A (en) * 2022-06-07 2022-09-20 Oppo广东移动通信有限公司 Wireless communication connection method, device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN107708094A (en) device pairing method and device
CN103518393B (en) The system and method for detecting mobile communication equipment content
EP1502457B1 (en) Vision-guided model-based point-and-click interface for a wireless handheld device
US8559728B2 (en) Image processing apparatus and image processing method for evaluating a plurality of image recognition processing units
US20150121191A1 (en) Information processing apparatus, information processing method, and computer readable medium
CN108830180A (en) Electronic check-in method, device and electronic equipment
CN107688805A (en) The method, apparatus and relevant device positioned according to image file in single mode plate is recorded
US20150262370A1 (en) Image processing device, image processing method, and image processing program
JP2013130678A (en) Handwritten character evaluation device and character learning support device having the same
CN111475381A (en) Page rendering detection method and device
CN108986569A (en) A kind of desktop AR interactive learning method and device
JP7199441B2 (en) input device
CN111290722A (en) Screen sharing method, device and system, electronic equipment and storage medium
CN108199935A (en) Distribution code display methods, terminal, server and computer readable storage medium
CN115205883A (en) Data auditing method, device, equipment and storage medium based on OCR (optical character recognition) and NLP (non-line language)
CN109875497A (en) A kind of vision inspection system based on cloud database
CN112799612A (en) Printing control method and device, computer equipment and storage medium
WO2022244787A1 (en) Information processing method, program, and information processing device
CN106970869A (en) The method of pressure test, apparatus and system
CN111290721A (en) Online interaction control method, system, electronic device and storage medium
JP6818795B2 (en) Information processing equipment, information processing methods and computer programs
CN111090791B (en) Content query method based on double screens and electronic equipment
KR101427820B1 (en) Drawing Type Image Based CAPTCHA Providing System and CAPTCHA Providing Method
CN109118070A (en) test method and device
WO2021255953A1 (en) Information processing 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180216

RJ01 Rejection of invention patent application after publication