Embodiment
Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
The primary solutions of the embodiment of the present invention is: intelligent terminal obtains the digital signal that virtual reality glasses is modulated based on control signal; Digital signal described in demodulation, obtains described control signal; Described control signal be converted to the discernible control command of described intelligent terminal and perform.
Due in prior art, user is arranged by direct and intelligent terminal interactive, virtual reality glasses mates according to the setting of intelligent terminal, and setting procedure is complicated, the target effect causing user may need repeatedly just to reach with intelligent terminal interactive virtual reality glasses using.
The invention provides a solution, make user directly not occur alternately with intelligent terminal, undertaken alternately by virtual reality glasses and intelligent terminal, the setting of completing user control command, the control flow of simplification virtual reality glasses.
With reference to Fig. 1, virtual reality glasses control method first embodiment of the present invention provides a kind of virtual reality glasses control method, and described virtual reality glasses control method comprises:
Step S10, intelligent terminal obtain the digital signal that virtual reality glasses is modulated based on control signal.
The information interaction that the present invention is mainly used in intelligent terminal and virtual reality glasses controls.
User can use virtual reality glasses to watch the video that the application program on intelligent terminal is play, also can by operation external input device, use the application program of virtual reality glasses on intelligent terminal to carry out the entertainment selections such as game, or carry out other phonotape and videotape operations etc.Application program on intelligent terminal can be audio-visual application program, also can be other recreational application programs, can set flexibly according to actual needs.
Concrete, as a kind of execution mode, after virtual reality glasses starts, user uses the control button on virtual reality glasses to send control signal, or sends control signal by external input device to virtual reality glasses.
The control signal that virtual reality glasses acquisition user sends is as original control signal, and the control signal obtained is the signal of telecommunication.The signal of telecommunication obtained is modulated by virtual reality glasses, is loaded on carrier wave, obtains digital signal, and the digital signal obtained by frequency modulation includes original control signal.
Wherein, carrier wave is digital audio and video signals, and carrying wave frequency is preset value, can arrange flexibly according to actual needs.
Then, the digital signal obtained is sent to intelligent terminal by the hardware interface between virtual reality glasses and intelligent terminal by virtual reality glasses.
Wherein, the hardware interface between virtual reality glasses and intelligent terminal can be audio interface, also can be that other can carry out the hardware interface of Signal transmissions, can set flexibly according to actual needs.
Intelligent terminal obtains the digital signal of virtual reality glasses modulation.
Digital signal described in step S20, demodulation, obtains described control signal.
After acquisition digital signal, the digital signal that intelligent terminal demodulation obtains.
Concrete, as a kind of execution mode, digital signal, according to the carrier frequency preset, is carried out demodulation, is isolated the original control signal on carrier wave by intelligent terminal.
Thus, intelligent terminal obtains original control signal.
Step S30, described control signal is converted to the discernible control command of described intelligent terminal and performs.
After acquisition original control signal, intelligent terminal controls intelligent terminal according to the primary signal obtained and performs corresponding instruction.
Concrete, as a kind of execution mode, first, after acquisition original control signal, the discernible control command of application program that the primary signal obtained is converted on intelligent terminal by intelligent terminal.
Intelligent terminal, according to the corresponding conversion relation preset, by original control signal digitlization, is converted to the discernible control command of application program on intelligent terminal, such as binary system control command.
Thus, intelligent terminal is applied the discernible control command of program.
Then, the control command obtained is sent to the application program on the intelligent terminal that mates with this control command by intelligent terminal.
Intelligent terminal according to the service parameter of application program registration each in intelligent terminal, can search the application program that intelligent terminal mates with this control command.Then, control command is pushed to the application program of coupling by intelligent terminal with the form of broadcast.
After the application program of mating receives control command, according to control command, perform according to programming internal logic, respond accordingly.
Execution result is fed back to user after performing control command by intelligent terminal, and judge that whether the execution of current control signal is correct by user, user can determine whether continue to send control signal.
Such as, if the control signal of user is for increasing volume, then the application program on intelligent terminal increases the volume arranged according to control signal after, to show the form of volume bar, the execution information of feedback current control signal, notifies the adjustment result of user's volume.Whether by actual audio visual effect, user judges whether this control signal correctly performs, determine to continue to send control signal.
With reference to Fig. 2, use virtual reality glasses viewing with application scenarios of the present invention for user, be illustrated.
In this application scene, intelligent terminal is mobile phone, and viewing application program is positioned on mobile phone.User uses the viewing application program in mobile phone to play film, and is positioned in virtual reality glasses by mobile phone, and mobile phone and virtual reality glasses carry out physical connection by audio interface, realize communication.
When user needs adjustment film volume, use the control button of virtual reality glasses, select to adjust accordingly, send control signal, control signal inputs as electronic signals.
The signal of telecommunication is modulated by virtual reality glasses, is loaded on carrier wave, obtains digital signal.Then, digital signal is sent to mobile phone by the audio interface between virtual reality glasses and mobile phone by virtual reality glasses.
Mobile phone carries out demodulation to signal, obtains the original control signal that user sends after receiving the digital signal of virtual reality glasses transmission.
Then, original control signal is changed by mobile phone, obtains the discernible control command of viewing application program.
Then, discernible for the application program obtained control command is sent to corresponding viewing application program by intelligent terminal, is responded accordingly according to control command by viewing application program, performs the control signal that user sends, and execution result back.
In the present embodiment, intelligent terminal obtains the digital signal that virtual reality glasses is modulated based on control signal; The digital signal that demodulation obtains, obtains original control signal; Original control signal be converted to the discernible control command of intelligent terminal and perform.In the present embodiment, user is not directly and intelligent terminal interactive, by the communication of virtual reality glasses and intelligent terminal, achieve the control of user to virtual reality glasses and intelligent terminal and focus on a node, simplify the control flow of virtual reality glasses, avoid the frequent mutual of user and intelligent terminal.
Further, with reference to Fig. 3, virtual reality glasses control method second embodiment of the present invention provides a kind of virtual reality glasses control method, based on the embodiment shown in above-mentioned Fig. 1, also comprises before described step S10:
Step S40, intelligent terminal are by described virtual reality glasses and external input device link setup.
User is by external input device, and when using virtual reality glasses to carry out the entertainment selections such as game on intelligent terminal, intelligent terminal needs to establish the link with external input device, to receive the control signal of external input device.
Wherein, external input device can be the operating equipments such as game paddle, remote controller or plinker, for input control signal.
External input device and virtual reality glasses carry out physical connection by hardware interface.Wherein, the hardware interface between external input device and virtual reality glasses can be audio interface, also can be that other can carry out the hardware interface of Signal transmissions, can set flexibly according to actual needs.
Concrete, as a kind of execution mode, after the hardware interface that intelligent terminal recognizes virtual reality glasses has and connects external input device, first, according to cryptographic handshake agreement, send encrypting and authenticating message by virtual reality glasses to current external input equipment.
Then, by the link that virtual reality glasses sends, intelligent terminal acquisition current external input equipment confirms that request message confirms that current external input equipment is reliable transfer of data object.
Then, intelligent terminal sends link request message by virtual reality glasses to current external input equipment, with current external input equipment link setup.
Wherein, intelligent terminal carries the data access address of intelligent terminal by the virtual reality glasses link request message that externally input equipment sends, and transmits control signal for current external input equipment.Different data access addresses can be had for different external input devices.
After intelligent terminal and current external input equipment complete link setup, when user uses current external input equipment, current external input equipment, according to the data access address obtained, is transmitted control signal to intelligent terminal by virtual reality glasses.
Described step S10 comprises step S11, described intelligent terminal obtains digital signal by described virtual reality glasses from described external input device, and described digital signal is carried out modulation by described virtual reality glasses to the control signal that described external input device inputs and obtained.
After intelligent terminal and current external input equipment complete link setup, when user uses current external input equipment, current external input equipment is transmitted control signal to the data access address obtained by virtual reality glasses.
The control signal that current external input equipment inputs is modulated to digital signal by virtual reality glasses, and sends to the data access address of intelligent terminal by hardware interface.
Intelligent terminal obtains the digital signal that virtual reality glasses sends from data access address, also namely obtains the control signal that current external input equipment is sent by virtual reality glasses.
In the present embodiment, when user uses external input device, intelligent terminal first with external input device link setup, cryptographic handshake agreement is used to guarantee reliable communications, then the control signal that external input device inputs based on virtual reality glasses is obtained, achieve the control signal input of external input device, simplify the control flow of virtual reality glasses.
Further, with reference to Fig. 4, virtual reality glasses control method the 3rd embodiment of the present invention provides a kind of virtual reality glasses control method, and based on the embodiment shown in above-mentioned Fig. 3, described step S40 comprises:
Step S41, intelligent terminal according to preset cryptographic handshake agreement, by described virtual reality glasses and described external input device link setup.
Concrete, as a kind of execution mode, after the hardware interface that intelligent terminal recognizes virtual reality glasses has and connects external input device, first, according to cryptographic handshake agreement, send encrypting and authenticating message by virtual reality glasses to current external input equipment.
After current external input equipment receives encrypting and authenticating message, judge whether current message source is reliable according to the cryptographic handshake agreement preset.
If current message source is unreliable, then current external input equipment stops the foundation of this data link, and intelligent terminal cannot receive the message of current external input equipment, and this data link is set up unsuccessful.
If current message is from the horse's mouth, then current external input equipment sends link confirmation request message by virtual reality glasses.
After intelligent terminal for reception to the link confirmation request message of current external input equipment, cryptographic handshake protocol validation current external input equipment according to presetting is reliable transfer of data object, link request message is sent, success and current external input equipment link setup to current external input equipment.
Wherein, the link request message that intelligent terminal sends carries the data access address of intelligent terminal, transmits control signal for current external input equipment.Different data access addresses can be had for different external input devices.
If the unsuccessful and described external input device link setup of step S42, then described intelligent terminal does not obtain digital signal by described virtual reality glasses from described external input device; If success and described external input device link setup, then proceed to and perform step S11.
If intelligent terminal is unsuccessful with current external input equipment link setup, then intelligent terminal can not confirm that current external input equipment is reliable data transmission and reception object.
Follow-up, intelligent terminal does not obtain digital signal by virtual reality glasses from current external input equipment, does not also namely perform the control command that current external input equipment is sent by virtual reality glasses.
If intelligent terminal success and current external input equipment link setup, then intelligent terminal is from current external input equipment corresponding data reference address, obtain the digital signal that current external input equipment is sent by virtual reality glasses, also namely obtain the control signal that current external input equipment is sent by virtual reality glasses
In the present embodiment, intelligent terminal according to preset cryptographic handshake agreement, by virtual reality glasses and current external input equipment link setup; If unsuccessful with current external input equipment link setup, then intelligent terminal does not obtain digital signal by virtual reality glasses from current external input equipment; If success and current external input equipment link setup, then obtain digital signal by virtual reality glasses from current external input equipment.The present embodiment achieves the control signal input of external input device, uses cryptographic handshake agreement to guarantee reliable communications, does not perform the control signal of unreliable external input device, simplify the control flow of virtual reality glasses.
Further, with reference to Fig. 5, virtual reality glasses control method the 4th embodiment of the present invention provides a kind of virtual reality glasses control method, and based on the embodiment shown in above-mentioned Fig. 4, described step S41 comprises:
Step S411, described intelligent terminal, according to the cryptographic handshake agreement preset, obtain encrypting and authenticating message, and are encrypting and authenticating signal by described encrypting and authenticating message modulation, by described virtual reality glasses externally input equipment send described encrypting and authenticating signal.
User passes through external input device, when using virtual reality glasses to carry out the entertainment selections such as game on intelligent terminal, by external input device to virtual reality glasses input control signal.
Wherein, external input device and virtual reality glasses carry out physical connection by hardware interface, decrease the operating process that user carries out radio communication connection.Such as, use wireless communication link as bluetooth connect time, user needs setting intelligent terminal being carried out to function of Bluetooth communication, make external input device and intelligent terminal can obtain bluetooth to be connected, the present embodiment uses hardware interface then to decrease the attended operation of user, optimizes the control flow of virtual reality glasses.
Wherein, the hardware interface that external input device and virtual reality glasses carry out physical connection can be audio interface, also can be other interfaces, can set flexibly according to actual needs.
Concrete, as a kind of execution mode, the hardware interface circuit of virtual reality glasses is open-circuit condition, when external input device is connected by hardware interface with virtual reality glasses by user, the hardware interface of virtual reality glasses produces loop, and intelligent terminal can be made to have recognized external input device access of virtual Reality glasses.
After the hardware interface that intelligent terminal recognizes virtual reality glasses has and connects external input device, according to the cryptographic handshake agreement preset, send encrypting and authenticating message.
First, encrypting and authenticating message modulation is encrypting and authenticating signal by intelligent terminal, for carrying out transfer of data.
Then, intelligent terminal, by modulating the encrypting and authenticating signal obtained, by the hardware interface between virtual reality glasses and intelligent terminal, sends to virtual reality glasses.
The link that external input device described in step S412, wait-receiving mode is sent by described virtual reality glasses confirms request signal, and described link confirms to the link that described external input device inputs, request signal confirms that request message carries out modulation and obtains by described virtual reality glasses.
After at intelligent terminal, by virtual reality glasses, externally input equipment sends encrypting and authenticating message, intelligent terminal waits for that the link of current external input equipment confirms request message.
After virtual reality glasses receives the encrypting and authenticating signal of intelligent terminal transmission, the encrypting and authenticating signal that demodulation receives, obtains encrypting and authenticating message.Then, virtual reality glasses, by the hardware interface of encrypting and authenticating message by being connected with external input device, sends to current external input equipment.
After current external input equipment receives encrypting and authenticating message, according to the cryptographic handshake agreement preset, be decrypted encrypting and authenticating message, and verify according to the data obtained and the default corresponding algorithm of cryptographic handshake agreement, whether acknowledge message source is reliable.
If informed source is reliable, then current external input equipment sends link confirmation request message to virtual reality glasses; If informed source is unreliable, then current external input equipment stops this link setup.
After current external input equipment sends link confirmation request message to virtual reality glasses, the link that virtual reality glasses receives external input device confirms request message.
Then, link is confirmed that request message is modulated to link and confirms request signal, for carrying out transfer of data by virtual reality glasses.
Then, virtual reality glasses confirms request signal by modulating the link obtained, and by the hardware interface between virtual reality glasses and intelligent terminal, sends to intelligent terminal.
If step S413 receives described link confirm request signal, then link request message is modulated to linking request signal, sends described linking request signal by described virtual reality glasses to described external input device, success and described external input device link setup.
If intelligent terminal receives the link confirmation request signal that virtual reality glasses sends, concrete, as a kind of execution mode, the link that intelligent terminal demodulation receives confirms request signal, the link obtaining external input device confirms request message, confirm that current external input equipment is reliable transfer of data object, can with current external input equipment link setup.
Then, link request message is modulated to linking request signal by intelligent terminal, for carrying out transfer of data.
Wherein, link request message carries the data access address of intelligent terminal, for current external input equipment according to data access address, is transmitted control signal to intelligent terminal by virtual reality glasses.
Then, the linking request signal that intelligent terminal will obtain after modulation, by the hardware interface between virtual reality glasses and intelligent terminal, sends to virtual reality glasses in the mode of signal.
After virtual reality glasses receives the linking request signal of intelligent terminal transmission, the linking request signal that demodulation receives, obtains link request message.Then, virtual reality glasses, by the hardware interface of link request message by being connected with external input device, sends to current external input equipment.
After current external input equipment receives link request message, confirm that external input device is set up with linking of intelligent terminal, to the data access address sending controling instruction in link request message, the link setup of external input device and intelligent terminal can be successfully completed.
After completing the link setup of external input device and intelligent terminal, when user uses external input device, control signal sends to virtual reality glasses by external input device, and virtual reality glasses carries out modulation to control signal and obtains digital signal.Then, digital signal by the hardware interface between virtual reality glasses and intelligent terminal, is sent to the corresponding data access address of current external input equipment by virtual reality glasses.
Intelligent terminal carries out demodulation to digital signal, obtains original control signal after obtaining the digital signal of virtual reality glasses transmission from data access address.Then, original control signal is converted to the discernible control command of application program on intelligent terminal by intelligent terminal, and control command is sent to corresponding application program, and the application program controlled on intelligent terminal performs control command.
If step S414 does not receive described link confirm request signal, then confirm unsuccessful and described external input device link setup.
If intelligent terminal does not receive the link confirmation request message that current external input equipment is sent by virtual reality glasses, then this data link is set up unsuccessful, and intelligent terminal does not receive the control signal that current external input equipment is sent by virtual reality glasses.
With reference to Fig. 6, with application scenarios of the present invention for user uses external input device to carry out alternately, being illustrated.
In this application scene, intelligent terminal is mobile phone; User uses the application program in external input device operating handset, and is positioned in virtual reality glasses by mobile phone; External input device is connected with virtual reality glasses by audio interface; Mobile phone is connected by audio interface with virtual reality glasses, realizes communication.
First, after mobile phone detecting the external input device that virtual reality glasses connects, encrypting and authenticating message modulation is signal by the cryptographic handshake agreement according to presetting, and sends to virtual reality glasses by audio interface.
Virtual reality glasses carries out demodulation after receiving signal, obtains encrypting and authenticating message, and encrypting and authenticating message is sent to external input device.
After external input device receives encrypting and authenticating message, the cryptographic handshake agreement according to presetting is decrypted encrypting and authenticating message, if confirm as reliable informed source, then replys link and confirms request message.External input device sends link to virtual reality glasses and confirms request message.
Link is confirmed that request message is modulated to signal, and sends to intelligent terminal by audio interface after receiving the link confirmation request message of external input device by virtual reality glasses.
After intelligent terminal receives signal, carry out the link confirmation request message that demodulation obtains external input device, confirm that current external input equipment is reliable transfer of data object.
Then, link request message is modulated to signal and sends by intelligent terminal, with current external input equipment link setup.Wherein, link request message carries the data access address of current external input equipment.The data input of external input device waited for by intelligent terminal, as control signal.
After virtual reality glasses receives the signal of intelligent terminal, carry out demodulation, obtain link request message.The link request message obtained is sent to external input device by audio interface by virtual reality glasses.
External input device obtains data access address after receiving the link request message of intelligent terminal, is successfully completed the link setup of external input device and intelligent terminal.After this, external input device according to data access address, can send data, as control signal etc. to intelligent terminal.
The data that external input device sends send to data access address in the form of a signal via after virtual reality glasses modulation.Intelligent terminal reads data from data access address, and carries out demodulation, obtains the data that external input device sends, and processes accordingly.
In the present embodiment, intelligent terminal, according to the cryptographic handshake agreement preset, obtains encrypting and authenticating message, and is encrypting and authenticating signal by encrypting and authenticating message modulation, by virtual reality glasses externally input equipment transmission encrypting and authenticating signal; Then the link that wait-receiving mode external input device is sent by virtual reality glasses confirms request signal; If receive link to confirm request signal, then link request message is modulated to linking request signal, by virtual reality glasses externally input equipment transmission linking request signal, success and described input equipment link setup; If do not receive link to confirm request signal, then confirm unsuccessful with external input device link setup.The present embodiment uses cryptographic handshake agreement to guarantee reliable communications, achieves the control signal input of external input device, simplifies the control flow of virtual reality glasses.
With reference to Fig. 7, virtual reality glasses control device first embodiment of the present invention provides a kind of virtual reality glasses control device, and described virtual reality glasses control device comprises:
Acquisition module 100, for obtaining the digital signal that virtual reality glasses is modulated based on control signal.
The information interaction that the present invention is mainly used in intelligent terminal and virtual reality glasses controls.
User can use virtual reality glasses to watch the video that the application program on intelligent terminal is play, also can by operation external input device, use the application program of virtual reality glasses on intelligent terminal to carry out the entertainment selections such as game, or carry out other phonotape and videotape operations etc.Application program on intelligent terminal can be audio-visual application program, also can be other recreational application programs, can set flexibly according to actual needs.
Concrete, as a kind of execution mode, after virtual reality glasses starts, user uses the control button on virtual reality glasses to send control signal, or sends control signal by external input device to virtual reality glasses.
The control signal that virtual reality glasses acquisition user sends is as original control signal, and the control signal obtained is the signal of telecommunication.The signal of telecommunication obtained is modulated by virtual reality glasses, is loaded on carrier wave, obtains digital signal, and the digital signal obtained by frequency modulation includes original control signal.
Wherein, carrier wave is digital audio and video signals, and carrying wave frequency is preset value, can arrange flexibly according to actual needs.
Then, the digital signal obtained is sent to acquisition module 100 by the hardware interface between virtual reality glasses and intelligent terminal by virtual reality glasses.
Wherein, the hardware interface between virtual reality glasses and intelligent terminal can be audio interface, also can be that other can carry out the hardware interface of Signal transmissions, can set flexibly according to actual needs.
Acquisition module 100 obtains the digital signal of virtual reality glasses modulation.
Demodulation module 200, for digital signal described in demodulation, obtains described control signal.
After acquisition digital signal, the digital signal that demodulation module 200 demodulation obtains.
Concrete, as a kind of execution mode, digital signal, according to the carrier frequency preset, is carried out demodulation, is isolated the original control signal on carrier wave by demodulation module 200.
Thus, demodulation module 200 obtains original control signal.
Executive Module 300, for being converted to the discernible control command of described intelligent terminal by described control signal and performing corresponding instruction.
After acquisition original control signal, Executive Module 300 controls intelligent terminal according to the primary signal obtained and performs corresponding instruction.
Concrete, as a kind of execution mode, after acquisition original control signal, the discernible control command of application program that the primary signal obtained is converted on intelligent terminal by Executive Module 300.
Executive Module 300, according to the corresponding conversion relation preset, by original control signal digitlization, is converted to the discernible control command of application program on intelligent terminal, such as binary system control command.
Thus, Executive Module 300 is applied the discernible control command of program.
Then, the control command obtained is sent to the application program on the intelligent terminal that mates with this control command by Executive Module 300.
Executive Module 300 according to the service parameter of application program registration each in intelligent terminal, can search the application program that intelligent terminal mates with this control command.Then, control command is pushed to the application program of coupling by Executive Module 300 with the form of broadcast.
After the application program of mating receives control command, according to control command, perform according to programming internal logic, respond accordingly.
Execution result is fed back to user after performing control signal by application program, and judge that whether the execution of current control signal is correct by user, user can determine whether continue to send control signal.
Such as, if the control signal of user is for increasing volume, then the application program on intelligent terminal increases the volume arranged according to control signal after, to show the form of volume bar, the execution information of feedback current control signal, notifies the adjustment result of user's volume.Whether by actual audio visual effect, user judges whether this control signal correctly performs, determine to continue to send control signal.
With reference to Fig. 2, use virtual reality glasses viewing with application scenarios of the present invention for user, be illustrated.
Use virtual reality glasses viewing with application scenarios of the present invention for user, be illustrated.
In this application scene, intelligent terminal is mobile phone, and virtual reality glasses control device and application program are all positioned on mobile phone.User uses the application program in mobile phone to play film, and is positioned in virtual reality glasses by mobile phone, and mobile phone and virtual reality glasses carry out physical connection by audio interface, realize communication.
When user needs adjustment film volume, use the control button of virtual reality glasses, select to adjust accordingly, send control signal, control signal inputs as electronic signals.
The signal of telecommunication is modulated by virtual reality glasses, is loaded on carrier wave, obtains digital signal.Then, digital signal is sent to acquisition module 100 by the audio interface between virtual reality glasses and mobile phone by virtual reality glasses.
After acquisition module 100 receives the digital signal of virtual reality glasses transmission, demodulation module 200 pairs of signals carry out demodulation, obtain the original control signal that user sends.
Then, original control signal signal is changed by Executive Module 300, obtains the discernible control command of viewing application program.
Then, discernible for the application program obtained control command is sent to corresponding application program by Executive Module 300, is responded accordingly according to control command by viewing application program, performs the control signal that user sends, and execution result back.
In the present embodiment, acquisition module 100 obtains the digital signal that virtual reality glasses is modulated based on control signal; Then, the digital signal that demodulation module 200 demodulation obtains, obtains original control signal; Then, original control signal is converted to the discernible control command of intelligent terminal and performs by Executive Module 300.In the present embodiment, user is not directly and intelligent terminal interactive, by the communication of virtual reality glasses and intelligent terminal, achieve the control of user to virtual reality glasses and intelligent terminal and focus on a node, simplify the control flow of virtual reality glasses, avoid the frequent mutual of user and intelligent terminal.
Further, with reference to Fig. 8, virtual reality glasses control device second embodiment of the present invention provides a kind of virtual reality glasses control device, and based on the embodiment shown in above-mentioned Fig. 7, described virtual reality glasses control device also comprises:
Link setup module 400, for intelligent terminal by described virtual reality glasses and external input device link setup.
User is by external input device, and when using virtual reality glasses to carry out the entertainment selections such as game on intelligent terminal, virtual reality glasses control device needs to establish the link with external input device, to receive the control signal of external input device.
Wherein, external input device can be game paddle, remote controller or plinker etc., for virtual reality glasses input control signal.
External input device and virtual reality glasses carry out physical connection by hardware interface.Wherein, the hardware interface between external input device and virtual reality glasses can be audio interface, also can be that other can carry out the hardware interface of Signal transmissions, can set flexibly according to actual needs.
Concrete, as a kind of execution mode, after the hardware interface that link setup module 400 recognizes virtual reality glasses has and connects external input device, first, according to cryptographic handshake agreement, send encrypting and authenticating message by virtual reality glasses to current external input equipment.
Then, link setup module 400 obtains the link confirmation request message that current external input equipment is sent by virtual reality glasses, confirms that current external input equipment is reliable transfer of data object.
Then, link setup module 400 sends link request message by virtual reality glasses to current external input equipment, with current external input equipment link setup.
Wherein, the link request message that link setup module 400 is sent by virtual reality glasses carries data access address, transmits control signal for current external input equipment.Different data access addresses can be had for different external input devices.
After link setup module 400 and current external input equipment complete link setup, when user uses current external input equipment, current external input equipment, according to the data access address obtained, is transmitted control signal to intelligent terminal by virtual reality glasses.
Described acquisition module 100, also for obtaining digital signal by described virtual reality glasses from described external input device, described digital signal is carried out modulation by described virtual reality glasses to the control signal that described external input device inputs and is obtained.
After link setup module 400 and current external input equipment complete link setup, when user uses current external input equipment, current external input equipment is transmitted control signal to the data access address obtained by virtual reality glasses.
The control signal that current external input equipment inputs is modulated to digital signal by virtual reality glasses, and sends to corresponding data access address by hardware interface.
Acquisition module 100 obtains the digital signal that virtual reality glasses sends from data access address, also namely obtains the control signal that current external input equipment is sent by virtual reality glasses.
In the present embodiment, when user uses external input device, first, link setup module 400 and external input device link setup, cryptographic handshake agreement is used to guarantee reliable communications, then obtain the control signal that external input device inputs based on virtual reality glasses, achieve the control signal input of external input device, simplify the control flow of virtual reality glasses.
Further, with reference to Fig. 9, virtual reality glasses control device the 3rd embodiment of the present invention provides a kind of virtual reality glasses control device, and based on the embodiment shown in above-mentioned Fig. 8, described link setup module 400 comprises:
Link setup unit 410, for according to the cryptographic handshake agreement preset, by described virtual reality glasses and described external input device link setup.
Concrete, as a kind of execution mode, after the hardware interface that link setup unit 410 recognizes virtual reality glasses has and connects external input device, first, according to cryptographic handshake agreement, send encrypting and authenticating message by virtual reality glasses to current external input equipment.
After current external input equipment receives encrypting and authenticating message, judge whether current message source is reliable according to the cryptographic handshake agreement preset.
If current message source is unreliable, then current external input equipment stops the foundation of this data link, and link setup unit 410 cannot receive the message of current external input equipment, and this data link is set up unsuccessful.
If current message is from the horse's mouth, then current external input equipment sends link confirmation request message by virtual reality glasses.
After link setup unit 410 receives the link confirmation request message of current external input equipment, cryptographic handshake protocol validation current external input equipment according to presetting is reliable transfer of data object, link request message is sent, success and current external input equipment link setup to current external input equipment.
Wherein, the link request message that link setup unit 410 sends carries data access address, transmits control signal for current external input equipment.Different data access addresses can be had for different external input devices.
Described acquisition module 100, if also for unsuccessful and described external input device link setup, does not then obtain digital signal by described virtual reality glasses from described external input device; If success and described external input device link setup, obtain digital signal by described virtual reality glasses from described external input device.
If link setup unit 410 is unsuccessful with current external input equipment link setup, then can not confirm that current external input equipment is reliable data transmission and reception object.
Follow-up, acquisition module 100 does not obtain digital signal by virtual reality glasses from current external input equipment, does not also namely perform the control command that current external input equipment is sent by virtual reality glasses.
If link setup unit 410 success and current external input equipment link setup, then acquisition module 100 is from current external input equipment corresponding data reference address, obtain the digital signal that current external input equipment is sent by virtual reality glasses, also namely obtain the control signal that current external input equipment is sent by virtual reality glasses.
In the present embodiment, link setup unit 410 according to preset cryptographic handshake agreement, by virtual reality glasses and current external input equipment link setup; If unsuccessful with current external input equipment link setup, then acquisition module 100 does not obtain digital signal by virtual reality glasses from current external input equipment; If success and current external input equipment link setup, then acquisition module 100 obtains digital signal by virtual reality glasses from current external input equipment.The present embodiment achieves the control signal input of external input device, uses cryptographic handshake agreement to guarantee reliable communications, does not perform the control signal of unreliable external input device, simplify the control flow of virtual reality glasses.
Further, with reference to Figure 10, virtual reality glasses control device the 4th embodiment of the present invention provides a kind of virtual reality glasses control device, and based on the embodiment shown in above-mentioned Fig. 9, described link setup unit 410 comprises:
Certification subelement 411, for according to the cryptographic handshake agreement preset, obtains encrypting and authenticating message, and is encrypting and authenticating signal by described encrypting and authenticating message modulation, by described virtual reality glasses externally input equipment send described encrypting and authenticating signal.
User passes through external input device, when using virtual reality glasses to carry out the entertainment selections such as game on intelligent terminal, by external input device to virtual reality glasses input control signal.
Wherein, external input device and virtual reality glasses carry out physical connection by hardware interface, decrease the operating process that user carries out radio communication connection.Such as, use wireless communication link as bluetooth connect time, user needs setting intelligent terminal being carried out to function of Bluetooth communication, make external input device and intelligent terminal can obtain bluetooth to be connected, the present embodiment uses hardware interface then to decrease the attended operation of user, optimizes the control flow of virtual reality glasses.
Wherein, the hardware interface that external input device and virtual reality glasses carry out physical connection can be audio interface, also can be other interfaces, can set flexibly according to actual needs.
Concrete, as a kind of execution mode, the hardware interface circuit of virtual reality glasses is open-circuit condition, when external input device is connected by hardware interface with virtual reality glasses by user, the hardware interface of virtual reality glasses produces loop, and certification subelement 411 can be made to have recognized external input device access of virtual Reality glasses.
After the hardware interface that certification subelement 411 recognizes virtual reality glasses has and connects external input device, according to the cryptographic handshake agreement preset, send encrypting and authenticating message.
First, encrypting and authenticating message modulation is encrypting and authenticating signal by certification subelement 411, for carrying out transfer of data.
Then, certification subelement 411, by modulating the encrypting and authenticating signal obtained, by the hardware interface between virtual reality glasses and intelligent terminal, sends to virtual reality glasses.
Receive subelement 412, the link sent by described virtual reality glasses for obtaining described external input device confirms request signal, and described link confirms to the link that described external input device inputs, request signal confirms that request message carries out modulation and obtains by described virtual reality glasses.
After externally input equipment sends encrypting and authenticating message by virtual reality glasses at certification subelement 411, receive subelement 412 and wait for that the link of current external input equipment confirms request message.
After virtual reality glasses receives the signal of certification subelement 411 transmission, the signal that demodulation receives, obtains encrypting and authenticating message.Then, virtual reality glasses, by the hardware interface of encrypting and authenticating message by being connected with external input device, sends to current external input equipment.
After current external input equipment receives encrypting and authenticating message, according to the cryptographic handshake agreement preset, encrypting and authenticating message is decrypted, and whether reliably originates according to the data obtained and default cryptographic handshake agreement corresponding algorithm acknowledge message.
If informed source is reliable, then current external input equipment sends link confirmation request message to virtual reality glasses; If informed source is unreliable, then current external input equipment stops this link setup.
After current external input equipment sends link confirmation request message to virtual reality glasses, the link that virtual reality glasses receives external input device confirms request message.
Then, link is confirmed that request message is modulated to link and confirms request signal, for carrying out transfer of data by virtual reality glasses.
Then, the link obtained after modulation is confirmed request signal by virtual reality glasses, by the hardware interface between virtual reality glasses and intelligent terminal, sends to and receives subelement 412.
Confirm subelement 413, if confirm request signal for receiving described link, then link request message is modulated to linking request signal, sends described linking request signal by described virtual reality glasses to described external input device, success and described external input device link setup; If do not receive described link to confirm request signal, then confirm unsuccessful and described external input device link setup.
The link confirmation request signal that subelement 412 receives virtual reality glasses transmission if receive, concrete, as a kind of execution mode, confirm the signal that subelement 413 demodulation receives, the link obtaining external input device confirms request message, confirm that current external input equipment is reliable transfer of data object, can with current external input equipment link setup.
Then, confirm that link request message is modulated to linking request signal, for carrying out transfer of data by subelement 413.
Wherein, link request message carries the data access address of virtual reality glasses control device, for current external input equipment according to data access address, is transmitted control signal to Reality glasses control device by virtual reality glasses.
Then, confirm by the hardware interface between virtual reality glasses and intelligent terminal, to send to virtual reality glasses by the linking request signal that subelement 413 will obtain after modulation.
After virtual reality glasses receives the linking request signal of virtual reality glasses control system transmission, the linking request signal that demodulation receives, obtains link request message.Then, virtual reality glasses, by the hardware interface of link request message by being connected with external input device, sends to current external input equipment.
After current external input equipment receives link request message, confirm that external input device is set up with linking of virtual reality glasses control device, to the data access address sending controling instruction in link request message, the link setup of external input device and intelligent terminal can be successfully completed.
After completing the link setup of external input device and link setup unit 410, when user uses external input device, control signal sends to virtual reality glasses by external input device, and virtual reality glasses carries out modulation to control signal and obtains digital signal.Then, digital signal by the hardware interface between virtual reality glasses and intelligent terminal, is sent to the corresponding data access address of current external input equipment by virtual reality glasses.
After acquisition module 100 obtains the digital signal of virtual reality glasses transmission from data access address, demodulation module 200 pairs of digital signals carry out demodulation, obtain original control signal.Then, original control signal is converted to the discernible control command of application program on intelligent terminal by Executive Module 300, and control command is sent to corresponding application program, and the application program controlled on intelligent terminal performs control command.
If reception subelement 412 does not receive the link confirmation request message that current external input equipment is sent by virtual reality glasses, then confirm that this data link of subelement 413 is set up unsuccessful, acquisition module 100 does not receive the control signal that current external input equipment is sent by virtual reality glasses.
With reference to Fig. 6, with application scenarios of the present invention for user uses external input device to carry out alternately, being illustrated.
In this application scene, intelligent terminal is mobile phone; User uses the application program in external input device operating handset, and is positioned in virtual reality glasses by mobile phone; External input device is connected with virtual reality glasses by audio interface; Mobile phone is connected by audio interface with virtual reality glasses, realizes communication.
First, after the certification subelement 410 on mobile phone detects the external input device that virtual reality glasses connects, encrypting and authenticating message modulation is signal by the cryptographic handshake agreement according to presetting, and sends to virtual reality glasses by audio interface.
Virtual reality glasses carries out demodulation after receiving signal, obtains encrypting and authenticating message, and encrypting and authenticating message is sent to external input device.
After external input device receives encrypting and authenticating message, the cryptographic handshake agreement according to presetting is decrypted encrypting and authenticating message, if confirm as reliable informed source, then replys link and confirms request message.External input device sends link to virtual reality glasses and confirms request message.
Link is confirmed that request message is modulated to signal, and sends to reception subelement 412 by audio interface after receiving the link confirmation request message of external input device by virtual reality glasses.
After reception subelement 412 receives signal, carry out the link confirmation request message that demodulation obtains external input device, confirm that current external input equipment is reliable transfer of data object.
Then, confirm that link request message is modulated to signal and sends, with current external input equipment link setup by subelement 413.Wherein, link request message carries the data access address of current external input equipment.Acquisition module 100 waits for the data input of external input device, as control signal.
Virtual reality glasses carries out demodulation, obtains link request message after receiving the signal confirming subelement 413.The link request message obtained is sent to external input device by audio interface by virtual reality glasses.
External input device obtains data access address, is successfully completed the link setup of external input device and intelligent terminal after receiving the link request message confirming subelement 413.After this, external input device according to data access address, can send data, as control signal etc. to intelligent terminal.
The data that external input device sends send to data access address in the form of a signal via after virtual reality glasses modulation.Acquisition module 100 reads data from data access address, and carries out demodulation, obtains the data that external input device sends, and processes accordingly.
In the present embodiment, certification subelement 411, according to the cryptographic handshake agreement preset, obtains encrypting and authenticating message, and is encrypting and authenticating signal by encrypting and authenticating message modulation, by virtual reality glasses externally input equipment transmission encrypting and authenticating signal; Then, the link confirmation request signal that subelement 412 wait-receiving mode external input device is sent by virtual reality glasses is received; If receive subelement 412 to receive link confirmation request signal, then confirm that link request message is modulated to linking request signal by subelement 413, by virtual reality glasses externally input equipment transmission linking request signal, success and described input equipment link setup; Do not receive link confirm request signal if receive subelement 412, then confirm that subelement 413 confirms unsuccessful with external input device link setup.The present embodiment uses cryptographic handshake agreement to guarantee reliable communications, achieves the control signal input of external input device, simplifies the control flow of virtual reality glasses.
With reference to Figure 11, virtual reality glasses first embodiment of the present invention provides a kind of virtual reality glasses, and described virtual reality glasses comprises modulating apparatus A1 and interface arrangement A2, wherein:
Described modulating apparatus A1, for obtaining control signal, is modulated to digital signal by described control signal, and described digital signal is sent to intelligent terminal by described interface arrangement.
The embodiment of the present invention changes data communication and connects, and eliminates the direct interaction controlling behavior of user and intelligent terminal to greatest extent, achieves the communication of virtual reality glasses and intelligent terminal, virtual reality glasses is possessed integrated friendship control function.
User can use virtual reality glasses to watch the video that the application program on intelligent terminal is play, also can by operation external input device, use the application program of virtual reality glasses on intelligent terminal to carry out the entertainment selections such as game, virtual reality glasses can carry out transfer of data with intelligent terminal, external input device respectively.
Wherein, modulating apparatus A1, for obtaining control signal, is modulated to digital signal by control signal, and digital signal is sent to intelligent terminal by interface arrangement A2.
Concrete, as a kind of execution mode, when using the control key-press input control signal of virtual reality glasses, control signal is the signal of telecommunication, modulating apparatus A1 reception control signal.
Then, modulating apparatus A1 carries out frequency modulation to control signal, is loaded on carrier wave, obtains the digital signal after modulating, and digital signal is sent to intelligent terminal by interface arrangement A2.Wherein, carrying wave frequency is preset value, can set flexibly according to actual needs.
Described interface arrangement A2, for being connected with described intelligent terminal, transmission data.
The interface arrangement A2 of virtual reality glasses is hardware interface, can be connected with intelligent terminal, to carry out data communication, signal transmission.
Wherein, hardware interface can be audio interface, also can be that other have the hardware interface of signal transfer functions, can set flexibly according to actual needs.
The present embodiment with interface arrangement A2 for audio interface is illustrated.
Concrete, as a kind of execution mode, audio interface is four core print seats of 3.5mm, is followed successively by GND (Ground, common ground line), MIC (Microphone, Mike), L channel L, R channel R.In electronic loop, because MIC, L channel L are not identical with the level value on R channel R electrode, and GND electrode is all lower than the level value of other three electrodes, so, there is certain level difference value between any one electrode in MIC, L channel L and R channel R and GND electrode.Utilize this difference space, can FM signal be transmitted.
When intelligent terminal carries out physical connection by audio interface and virtual reality glasses, audio interface and the interface arrangement A2 of intelligent terminal side are the state that same motor is coupled.The audio interface GND electrode of intelligent terminal side and the GND electrode coupling of interface arrangement A2, the audio interface MIC electrode of intelligent terminal side and the MIC electrode coupling of interface arrangement A2, the audio interface L channel L electrode of intelligent terminal side and the L channel L electrode coupling of interface arrangement A2, the audio interface R channel R electrode of intelligent terminal side and the R channel R electrode coupling of interface arrangement A2.
With reference to Figure 12, the Signal transmissions between virtual reality glasses and intelligent terminal signal is divided into both direction, and signal is transmitted to virtual reality glasses by intelligent terminal to intelligent terminal transmission and signal by virtual reality glasses.
Signal is transmitted to intelligent terminal by virtual reality glasses: when user is transmitted control signal to intelligent terminal by the control button on virtual reality glasses or external input device, first modulating apparatus A1 carries out frequency modulation to the control signal obtained, and obtains the digital signal of modulating.Then, digital signal is exported to intelligent terminal by the MIC electrode of interface arrangement A2 and GND electrode by modulating apparatus A1, and by the identical coupling electrode of the audio interface of intelligent terminal side, also namely digital signal is inputted intelligent terminal by MIC electrode and GND electrode.Intelligent terminal obtains the digital signal of input intelligent terminal.
Signal is transmitted to virtual reality glasses by intelligent terminal: when intelligent terminal to virtual reality glasses feedback signal or by virtual reality glasses externally input equipment send message time, intelligent terminal passes through audio interface L channel L electrode and the GND electrode output signal of intelligent terminal, intelligent terminal also can by the audio interface R channel R electrode of intelligent terminal and GND electrode output signal, by the L channel L electrode of interface arrangement A2 and GND electrode by signal input signal demodulating equipment A3, or the R channel R electrode of interface arrangement A2 and GND electrode are by signal input signal demodulating equipment A3.Signal demodulating equipment A3 carries out demodulation to signal after receiving signal.
In the present embodiment, virtual reality glasses comprises modulating apparatus A1 and interface arrangement A2, wherein: modulating apparatus A1, for obtaining control signal, control signal is modulated to digital signal, and digital signal is sent to intelligent terminal by interface arrangement A2; Interface arrangement A2, for being connected with intelligent terminal, transmission data.The present embodiment achieves the communication of virtual reality glasses and intelligent terminal, by the communication of virtual reality glasses and intelligent terminal, achieve the control of user to virtual reality glasses and intelligent terminal and focus on a node, simplify the control flow of virtual reality glasses, avoid the frequent mutual of user and intelligent terminal.
Further, with reference to Figure 13, virtual reality glasses second embodiment of the present invention provides a kind of virtual reality glasses, and based on the embodiment shown in above-mentioned Figure 11, described virtual reality glasses also comprises:
Signal demodulating equipment A3, for receive described intelligent terminal send signal and the signal receiving that described intelligent terminal is sent be intelligent terminal send message; The message sent by described intelligent terminal sends to described external input device by interface arrangement.
When user uses external input device, intelligent terminal will with external input device link setup, encrypting and authenticating message modulation is encrypting and authenticating signal according to the cryptographic handshake agreement preset and sends by intelligent terminal.
The encrypting and authenticating signal that signal demodulating equipment A3 is sent by interface arrangement A2 reception intelligent terminal, then carries out demodulation to encrypting and authenticating signal, obtains encrypting and authenticating message.
Then, encrypting and authenticating message is sent to external input device by signal demodulating equipment A3, is decrypted.
When external input device receives encrypting and authenticating message, be decrypted and acknowledge message from the horse's mouth after, external input device send link confirm request message, send to intelligent terminal by interface arrangement A2 after being modulated by modulating apparatus A1.
Intelligent terminal confirms that current external input equipment is reliable transfer of data object, link request message is modulated to linking request signal and sends after receiving link confirmation request message.Wherein, link request message carries the data access address of current external input equipment.
Signal demodulating equipment A3 carries out demodulation, obtains link request message after receiving by interface arrangement A2 the linking request signal that intelligent terminal sends.
Then, link request message is sent to external input device by signal demodulating equipment A3, for external input device and intelligent terminal link setup.
The signal that intelligent terminal sends, receives and demodulation by signal demodulating equipment A3.
Described modulating apparatus A1, also for receive described external input device input message and the message modulation that described external input device is inputted be described external input device input signal; The signal inputted by described external input device sends to described intelligent terminal by interface arrangement; Obtain the control signal of described external input device input.
When virtual reality glasses use external input device time, intelligent terminal will with external input device link setup.
If external input device receives the encrypting and authenticating message of intelligent terminal, decipher and confirm that current message is from the horse's mouth, then external input device sends link confirmation request message by virtual reality glasses to intelligent terminal.
The link that modulating apparatus A1 receives external input device confirms request message, and link is confirmed request message is modulated to link and confirms request signal, and link is confirmed that request signal sends to intelligent terminal by interface arrangement A2.
After external input device and intelligent terminal success link setup, the control signal that the external input device received inputs by modulating apparatus A1 or message are all modulated, and send to intelligent terminal by modulating the signal obtained.
Described interface arrangement A2, also for being connected with described external input device, transmission data.
When external input device carries out physical connection by audio interface and virtual reality glasses, audio interface and the interface arrangement A2 of external input device side are the state that same motor is coupled, also be the audio interface GND electrode of external input device side and the GND electrode coupling of interface arrangement A2, the audio interface MIC electrode of external input device side and the MIC electrode coupling of interface arrangement A2, the audio interface L channel L electrode of external input device side and the L channel L electrode coupling of interface arrangement A2, the audio interface R channel R electrode of external input device side and the R channel R electrode coupling of interface arrangement A2.
External input device and virtual reality glasses carry out Signal transmissions by the electrode difference of audio interface.Signal by the MIC electrode of interface arrangement A2 and GND electrode externally input equipment export, inputted to virtual reality glasses by the L channel L electrode of external input device side audio interface and GND electrode, or inputted to virtual reality glasses by the R channel R electrode of external input device side audio interface and GND electrode.
In the present embodiment, when user uses external input device, external input device and intelligent terminal carry out link setup by virtual reality glasses, virtual reality glasses also comprises signal demodulating equipment A3, for receive intelligent terminal send signal and by intelligent terminal send signal receiving be intelligent terminal send message; The message sent by described intelligent terminal sends to external input device by interface arrangement A2.The present embodiment achieves external input device and intelligent terminal carries out link setup by virtual reality glasses, achieving user uses external input device to send control signal control intelligent terminal, the data interaction achieving external input device, intelligent terminal and virtual reality glasses controls, and optimizes the continuity of interaction flow.
With reference to Figure 14, the present invention's virtual glasses control system first embodiment provides a kind of virtual glasses control system, and described virtual glasses control system comprises: virtual reality glasses A and intelligent terminal B, wherein:
Described virtual reality glasses A, comprises modulating apparatus A1 and interface arrangement A2.
The embodiment of the present invention changes the circulation direction of Data Control, effectively reduces user and intelligent terminal interactive action too frequently, enables user more be absorbed in the experience of immersion, and viewing, game can be more smooth.
User can use virtual reality glasses A to watch the video that the application program on intelligent terminal B is play, or carries out other entertainment selections.Application program on intelligent terminal B can be audio-visual application program, also can be other recreational application programs, can set flexibly according to actual needs.
User uses the control button of virtual reality glasses A to send control signal, and modulating apparatus A1 modulator control signal is digital signal, and sends to intelligent terminal B by interface arrangement A2.
Described intelligent terminal B, for obtaining the digital signal that virtual reality glasses A modulates based on control signal; Digital signal described in demodulation, obtains described control signal; Described control signal is converted to the discernible control command of described intelligent terminal B and performs;
Intelligent terminal B, comprises acquisition module 100, demodulation module 200 and Executive Module 300.
Acquisition module 100 obtains the digital signal that virtual reality glasses A sends, demodulation module 200 demodulated digital signal obtains original control signal, the control command that the application program that original control signal is converted to intelligent terminal B by Executive Module 300 can identify, and control command is sent to application program, controlling application program performs control command.
After application program receives control command, perform control command according to program inside programming logic, and respond accordingly, execution result is fed back to user, judge that whether the execution of current control signal is correct by user, user can determine whether continue to send control signal.
With reference to Figure 15, adjust screen intensity with application scenarios of the present invention for user uses during virtual reality glasses viewing, be illustrated.
The control signal that user sends is the screen intensity that adjustment current video is play, then the application program on intelligent terminal B adjusts screen intensity accordingly according to the control command obtained, and with the adjustment of the form of luminance bar display present intensity on screen.After the adjustment of intelligent terminal B screen intensity, screen-picture effect is with the form of light signal to virtual reality glasses transmission, and virtual reality glasses realizes blur-free imaging.
User observes the video pictures after screen intensity adjustment by virtual reality glasses A, judges whether this adjustment correctly performs, thus again adjusts or stop adjustment.
In the present embodiment, virtual glasses control system comprises virtual reality glasses A and intelligent terminal B virtual reality glasses A and obtains control signal that user sends and be transferred to intelligent terminal B, and intelligent terminal B performs the control signal of user, and execution result back.The present embodiment achieves communicating of virtual reality glasses and intelligent terminal, by the communication of virtual reality glasses and intelligent terminal, achieve the control of user to virtual reality glasses and intelligent terminal and focus on a node, simplify the control flow of virtual reality glasses, avoid the frequent mutual of user and intelligent terminal.
Further, with reference to Figure 16, virtual reality glasses control system second embodiment of the present invention provides a kind of virtual reality glasses control system, based on the embodiment shown in above-mentioned Figure 14, described virtual reality glasses control system also comprises external input device C, and described external input device C is used for
By described virtual reality glasses A and described intelligent terminal B link setup, by described virtual reality glasses A to described intelligent terminal B input control signal.
External input device C exists according to the use scenes of user.Such as: when user uses virtual reality glasses to carry out viewing, just there is not external input device; And when user uses handle to play, external input device is game paddle.
When user uses external input device C, external input device C will with intelligent terminal B by virtual reality glasses A according to the cryptographic handshake agreement link setup preset, confirmation the other side is reliable transfer of data and data receiver object.
After external input device C and intelligent terminal B link setup, user uses external input device C to send control signal, sends to intelligent terminal B by virtual reality glasses A, performs control signal by intelligent terminal B, and execution result back.
If any one party in external input device C and intelligent terminal B can not identify that the other side is reliable transfer of data and data receiver object, then data cube computation cannot be set up, and the control signal that user sends can not be transmitted by hardware interface.
Described virtual reality glasses A, also comprises signal demodulating equipment A3.
When external input device C and intelligent terminal B carries out link setup by virtual reality glasses A, encrypting and authenticating message modulation is encrypting and authenticating signal according to the cryptographic handshake agreement preset and sends by intelligent terminal.
The encrypting and authenticating signal that signal demodulating equipment A3 is sent by interface arrangement A2 reception intelligent terminal, then carries out demodulation to encrypting and authenticating signal, obtains encrypting and authenticating message.
Then, encrypting and authenticating message is sent to external input device by signal demodulating equipment A3, is decrypted.
When external input device receives encrypting and authenticating message, be decrypted and acknowledge message from the horse's mouth after, external input device send link confirm request message, send to intelligent terminal by interface arrangement A2 after being modulated by modulating apparatus A1.
Intelligent terminal confirms that current external input equipment is reliable transfer of data object, link request message is modulated to linking request signal and sends after receiving link confirmation request message.Wherein, link request message carries the data access address of current external input equipment.
Signal demodulating equipment A3 carries out demodulation, obtains link request message after receiving by interface arrangement A2 the linking request signal that intelligent terminal sends.
Then, link request message is sent to external input device by signal demodulating equipment A3, for external input device and intelligent terminal B link setup.
The signal that intelligent terminal sends, receives and demodulation by signal demodulating equipment A3.
Described intelligent terminal B, also for described external input device C link setup.
Intelligent terminal B also comprises link setup module 400, for external input device C link setup.
When user uses external input device C input control signal, after link setup module 400 and external input device carry out link setup according to the cryptographic handshake agreement preset, then obtained the control signal of external input device input by acquisition module 100.
Concrete, as a kind of execution mode, when user uses external input device C, encrypting and authenticating message modulation is signal according to default cryptographic handshake agreement and sends by intelligent terminal B.Virtual reality glasses A Received signal strength, and restituted signal obtains encrypting and authenticating message.The encrypting and authenticating message obtained is sent to external input device C by virtual reality glasses A.
After external input device C receives encrypting and authenticating message, the cryptographic handshake agreement according to presetting is decrypted.If after external input device C energy successful decryption current crypto authentication message, and when confirming that current message is from the horse's mouth according to the data obtained and the default corresponding algorithm of cryptographic handshake agreement, external input device C sends link to virtual reality glasses A and confirms request message.
Virtual reality glasses A sends to intelligent terminal B after link is confirmed that request message is modulated to signal.
After intelligent terminal B receives the signal that virtual reality glasses A sends, the signal that demodulation receives, the link obtaining external input device C confirms request message, confirms that current external input equipment C is reliable transfer of data object, can with current external input equipment link setup.Then link is confirmed that request message is modulated to signal and sends to virtual reality glasses A by intelligent terminal B.Wherein, link request message carries the data access address of intelligent terminal B, for current external input equipment C according to data access address, is transmitted control signal to Reality glasses control device B by virtual reality glasses A.
After virtual reality glasses A receives the signal of intelligent terminal B transmission, demodulation obtains link request message, and link request message is sent to external input device C.
After external input device C receives link request message, with intelligent terminal B link setup.Follow-up, the data of external input device C are to data such as the data access address obtained transmit control signal.
With reference to Figure 17, use game paddle to carry out game interaction with application scenarios of the present invention for user, be illustrated.
In the present embodiment, external input device C is wired game paddle, and intelligent terminal B is mobile phone.User, by virtual reality glasses A, uses the scene of game on wired game paddle operating handset.
The scene of game that user sees according to virtual reality glasses A sends control signal to the object in scene, by external input device, instruction is directly passed to virtual reality glasses afterwards.
Owing to having had communication interface between virtual reality glasses A and mobile phone, so control command can be passed to mobile phone by audio interface by user instruction.
When the process accepts of interior of mobile phone is to after instruction, according to indoor design logic, game object in scene is adjusted according to instruction.The picture of scene of game is passed to virtual reality glasses A with the form of light signal by mobile phone.
User observes the action feedback of object in mobile phone games scene by virtual reality glasses A, judges that whether control signal is correct.
In the present embodiment, virtual reality glasses control system also comprises external input device C, and external input device is used for and intelligent terminal B link setup, by virtual reality glasses A to intelligent terminal B input control signal; Virtual reality glasses A, also comprises signal demodulating equipment A3; Intelligent terminal B also for external input device C link setup.The present embodiment achieves external input device and intelligent terminal by cryptographic handshake agreement link setup, ensure that communication security, make user that external input device can be used to send control signal, achieve the control of user to virtual reality glasses and intelligent terminal and focus on a node, simplify the control flow of virtual reality glasses, avoid the frequent mutual of user and intelligent terminal.
These are only the preferred embodiments of the present invention; not thereby the scope of the claims of the present invention is limited; every utilize specification of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.