Summary of the invention
The many aspects of the application provide a kind of VR equipment and VR equipment detection method, whether to detect VR equipment itself
Normally, convenient for quickly positioning abnormal show the reason of.
The embodiment of the present application provides a kind of VR equipment, can connect with terminal device and in the video in display terminal
Hold, comprising: control module, channel switching module, memory module and display module;The control module and channel switching module,
Memory module connection;The channel switching module includes the internal signal input terminal connecting with memory module, sets with the terminal
The external signal input terminals of standby connection and the signal output end being connect with display module;The control module, for responding display
Abnormality detection demand, the read test vision signal from memory module input the test video signal by internal signal
End is sent to channel switching module, and the test video signal of input channel switching module is sent to by signal output end aobvious
Show module, to determine the work of the VR equipment for the display situation according to the display module to the test video signal
Make state.
Further, show that conversion module, the input terminal of the display conversion module connect with channel switching module, receive logical
The test video signal of road switching module transmission simultaneously formats, and shows that the output end of conversion module and display module connect
It connects, the test video signal after formatting is sent to display module.
Further, the input terminal of test video conversion module, test video conversion module is connect with memory module, for connecing
It receives the test video signal that memory module is sent and formats, the output end of test video conversion module and channel switch
The internal signal input terminal of module connects, and the test video signal after formatting is sent to channel switching module.
Further, the channel switching module further includes channel switch terminal and insertion test side;The insertion test side with
Control module connection, for detecting whether the external signal input terminals have video line to be inserted into and send detection knot to control module
Fruit signal, so that the control module generates channel switch-over control signal according to the testing result signal;The channel switching
End is connect with control module, the channel switch-over control signal issued for receiving the control module, and is switched according to channel and controlled
Signal processed switches over the channel switching module between external signal input terminals and internal signal input terminal.
Further, the control module is specifically used for:, will be described when the testing result signal designation is inserted into video line
The service aisle of channel switching module switches to the external signal input terminals from the internal signal input terminal, and is occurring
When showing anomalous event, the service aisle of the channel switching module is switched into internal signal from the external signal input terminals
Input terminal;Alternatively, the control module is specifically used for:, will be described when the testing result signal designation is not inserted into video line
The service aisle of channel switching module switches to the internal signal input terminal from the external signal input terminals.
Further, further includes: power source protective module and power conversion module;The input terminal and external electrical of power source protective module
The output end connection of source connection, power conversion module input terminal and power source protective module converts external power supply to needed for equipment
Power supply.
Further, further includes: equipment input interface, shift control module, audio frequency control module and camera control module;
VR equipment is connect by equipment input interface with terminal device, equipment input interface and shift control module and channel switching module
Connection, the output end of shift control module are connect with audio frequency control module and camera control module.
The embodiment of the present application also provides a kind of VR equipment detection method, comprising: in response to showing abnormality detection demand, determines
The external signal input terminals of the channel switching module of VR equipment are disabled, and internal signal input terminal is activated;Read VR equipment
The test video signal being locally stored, and it is sent to by the signal output end of channel switching module the display module of VR equipment;
According to display module to the display situation of the test video signal, the working condition of the VR equipment is determined.
Further, the external signal input terminals of the channel switching module of the determining VR equipment are disabled, and internal signal
Input terminal is activated, comprising: response display abnormality detection demand detects whether the external signal input terminals set with external input
Standby connection;When determining the external signal input terminals connection external input device, the external signal input terminals are disabled, and open
With the internal signal input terminal;When determining that the external signal input terminals are not connected with external input device, institute is directly enabled
State internal signal input terminal.
Further, it is described according to display module to the display situation of the test video signal, determine the VR equipment
Working condition, comprising: if display module is shown normally, determine that VR equipment is in normal operating conditions;If display module shows different
Often, determine that VR equipment is in abnormal operation.
The embodiment of the present application VR equipment includes control module, channel switching module, memory module and display module, controls mould
Test video signal is passed through internal letter by block response display abnormality detection demand, the read test vision signal from memory module
Number input terminal is sent to channel switching module, and the test video signal of input channel switching module is passed through signal output end and is sent out
Display module is given, to determine the working condition of VR equipment for the display situation according to display module to test video signal,
Local test video signal will be stored in by channel switching module be sent to display module and show the vision signal, by aobvious
Show that module shows situation can quick and precisely judge whether VR equipment itself is normal, convenient for quick the reason of positioning abnormal show.
Specific embodiment
To keep the purposes, technical schemes and advantages of the application clearer, below in conjunction with the application specific embodiment and
Technical scheme is clearly and completely described in corresponding attached drawing.Obviously, described embodiment is only the application one
Section Example, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not doing
Every other embodiment obtained under the premise of creative work out, shall fall in the protection scope of this application.
It, can not be true if helmet cannot normally be shown after being connect for existing virtual reality helmet with computer
Determine the whether normal technical problem of helmet itself, the embodiment of the present application provides a solution, and basic ideas are: VR is set
Standby includes control module, channel switching module, memory module and display module, and control module response shows abnormality detection demand,
Test video signal is sent to channel by internal signal input terminal and switches mould by the read test vision signal from memory module
Block, and the test video signal of input channel switching module is sent to display module by signal output end, to be used for basis
Display module determines the working condition of VR equipment to the display situation of test video signal, will be stored by channel switching module
Display module is sent in local test video signal and shows the vision signal, shows that situation can be quick by display module
Whether accurate judgement VR equipment itself is normal.
Below in conjunction with attached drawing, the technical scheme provided by various embodiments of the present application will be described in detail.
Fig. 1 is a kind of structural schematic diagram for VR equipment that the application exemplary embodiment provides, which can be with end
Video content in end equipment connection and display terminal, the VR equipment include: control module, channel switching module, storage
Module and display module.
In conjunction with Fig. 2, control module and channel switching module, the memory module of the application exemplary embodiment VR equipment connect
It connects;Channel switching module includes that the internal signal input terminal connecting with memory module, the external signal connecting with terminal device are defeated
The signal output end for entering end and being connect with display module;Control module, for responding display abnormality detection demand, from memory module
Test video signal is sent to channel switching module by internal signal input terminal by middle read test vision signal, and will be defeated
The test video signal for entering channel switching module is sent to display module by signal output end, for according to display module pair
The display situation of test video signal, determines the working condition of VR equipment.The embodiment of the present application VR equipment it is simple and compact for structure.
Fig. 2 is the channel switching module that the application exemplary embodiment provides.In the present embodiment, channel switching module is also
Including channel switch terminal and insertion test side;Insertion test side is connect with control module, is for detecting external signal input terminals
It is no to there is video line to be inserted into and send testing result signal to control module, so that signal generation is logical according to testing result for control module
Road switch-over control signal;Channel switch terminal is connect with control module, for receiving the channel switching control letter of control module sending
Number, and according to channel switch-over control signal to channel switching module between external signal input terminals and internal signal input terminal into
Row switching.
In the present embodiment, VR equipment further include: power source protective module and power conversion module;Power source protective module it is defeated
Enter end to connect with external power supply, the output end connection of power conversion module input terminal and power source protective module converts external power supply
For power supply needed for equipment.Power source protective module provides power protection for equipment, improves Electrical Safety, and power conversion module is to set
Standby internal module provides required power supply.
In an alternative embodiment, which further includes display conversion module, shows the input terminal of conversion module and leads to
The connection of road switching module, the test video signal of receiving channel switching module transmission simultaneously format, and show conversion module
Output end connect with display module, the test video signal after formatting is sent to display module.Display conversion
Test video signal is converted to and is shown for formatting to the test video signal that channel switching module issues by module
Show the format that module is mutually matched.
Format and channel switching module institute in an alternative embodiment, when the test video signal stored in memory module
When video signal format being needed to mismatch, which further includes test video conversion module, is regarded to the test that memory module issues
The format of frequency signal is converted.The input terminal of test video conversion module is connect with memory module, for receiving memory module
The test video signal of transmission simultaneously formats, the output end of test video conversion module and the inside of channel switching module
Signal input part connection, the test video signal after formatting are sent to channel switching module.Test video conversion
Module is used to format the test video signal sent by memory module, to reach needed for channel switching module
Video signal format.
In an alternative embodiment, VR equipment can also include: equipment input interface, shift control module, audio frequency control
Module and camera control module;VR equipment is connect by equipment input interface with terminal device, equipment input interface and conversion
Control module is connected with channel switching module, the output end and audio frequency control module and camera control module of shift control module
Connection.Shift control module is attached with several USB devices respectively for realizing by the USB interface of VR equipment, the present embodiment
In, the output end and audio frequency control module and camera control module of shift control module are realized to audio frequency control module and camera shooting
The control of head control module.
VR equipment in above-described embodiment can be connect by video line with external terminal device.At this point, control module
It is specifically used for: when testing result signal designation is inserted into video line, the service aisle of channel switching module is defeated from internal signal
Enter end and switch to external signal input terminals, and when occurring to show anomalous event, by the service aisle of channel switching module from
External signal input terminals switch to internal signal input terminal;Alternatively, control module is specifically used for: testing result signal designation not
When being inserted into video line, the service aisle of channel switching module is switched into internal signal input terminal from external signal input terminals.Control
Molding block control VR equipment is different to access external video signal and internal test video signal simultaneously, avoids signal conflict
It is abnormal.
The embodiment of the present application VR equipment includes control module, channel switching module, memory module and display module, controls mould
Test video signal is passed through internal letter by block response display abnormality detection demand, the read test vision signal from memory module
Number input terminal is sent to channel switching module, and the test video signal of input channel switching module is passed through signal output end and is sent out
Display module is given, to determine the working condition of VR equipment for the display situation according to display module to test video signal,
Local test video signal will be stored in by channel switching module be sent to display module and show the vision signal, by aobvious
Show that module shows situation can quick and precisely judge whether VR equipment itself is normal.
Fig. 3 is the structural schematic diagram of the application another exemplary embodiment VR equipment, former in conjunction with work of the Fig. 3 to VR equipment
Reason is made an explanation.
In the present embodiment, VR equipment includes HDMI channel switching module, HDMI turns DP control module, DP turns MIPI control mould
Block, display module, USB turn HDMI control module, MCU control module, memory module, USBHUB control module, audio frequency control mould
Block, camera control module, power source protective module and power conversion module are additionally provided with setting of connecting with external equipment in VR equipment
Standby input interface.
Firstly, PC with VR equipment is connected by cable line, in the USB of the USB plug insertion PC of cable line, PC sets for VR
Available electricity.
Wherein, one end of cable line is connect with the equipment input interface of VR equipment, and the other end of cable line is equipped with HDMI
Plug and USB plug, PC is equipped with the USB interface connecting respectively with HDMI plug and USB plug and HDMI interface, by VR equipment
After connection, first only the USB interface of cable line is connected on the USB interface of PC, is only powered by USB interface to VR equipment.
If the insertion test side of MCU control module detects that the HDMI plug of cable line is not inserted into the HDMI interface of PC
On, then non-video line being sent to MCU control module and being inserted into signal, MCU control module is inserted into signal to HDMI according to non-video line
Channel switching module issues channel switch-over control signal, the channel switch terminal receiving channel switching control of HDMI channel switching module
The service aisle of HDMI channel switching module is switched to internal signal input terminal from external signal input terminals by signal.
If the insertion test side of MCU control module detects in the HDMI interface of HDMI plug insertion PC of cable line,
Video line then is sent to MCU control module and is inserted into signal, and MCU control module is inserted into signal to the sending channel HDMI according to video line
Switching module issues channel switch-over control signal, the channel switch terminal receiving channel switching control letter of HDMI channel switching module
Number, the service aisle of HDMI channel switching module is switched into external signal input terminals from internal signal input terminal.
The vision signal of control module control memory module output USB format turns HDMI control module to USB, and USB turns
The vision signal that the vision signal of USB format is converted into HDMI format is sent to HDMI channel switching module by HDMI control module
Internal signal input terminal, the vision signal of HDMI format is sent to HDMI and turned by the signal output end of HDMI channel switching module
DP control module converts the vision signal of HDMI format to the vision signal of DP format, and HDMI, which will turn DP control module, to be converted
The vision signal of DP format afterwards is sent to DP and turns MIPI control module, converts MIPI format for the vision signal of DP format
Vision signal, DP turns MIPI control module and shows the vision signal transmission display module of MIPI format, according to display mould
Block determines the working condition of VR equipment to the display situation of test video signal.Display module can be LCD screen, by checking
The display situation of LCD screen can directly determine the working condition of VR equipment.
Fig. 4 is the structural schematic diagram of the application another exemplary embodiment VR equipment, former in conjunction with work of the Fig. 4 to VR equipment
Reason is made an explanation.
In the present embodiment, VR equipment includes that DP channel switching module, DP turn MIPI control module, display module, USB and turn DP
Control module, MCU control module, memory module, USB HUB control module, audio frequency control module, camera control module, electricity
Source protection module and power conversion module are additionally provided with the equipment input interface connecting with external equipment in VR equipment.
Firstly, PC with VR equipment is connected by cable line, in the USB of the USB plug insertion PC of cable line, PC sets for VR
Available electricity.
Wherein, one end of cable line is connect with the equipment input interface of VR equipment, and the other end of cable line is inserted equipped with DP
Head and USB plug, PC are equipped with the USB interface and DP interface connecting respectively with DP plug and USB plug, VR equipment are connected
Afterwards, first only the USB interface of cable line is connected on the USB interface of PC, is only powered by USB interface to VR equipment.
If the insertion test side of MCU control module detects that the DP plug of cable line is not inserted on the DP interface of PC,
Non- video line is sent to MCU control module and is inserted into signal, and MCU control module is inserted into signal according to non-video line and is switched to the channel DP
Module issues channel switch-over control signal, the channel switch terminal receiving channel switch-over control signal of DP channel switching module, by DP
The service aisle of channel switching module switches to internal signal input terminal from external signal input terminals.
If the insertion test side of MCU control module detects on the DP interface of DP plug insertion PC of cable line, to
MCU control module sends video line and is inserted into signal, and MCU control module is inserted into signal according to video line and switches mould to the channel DP is issued
Block issues channel switch-over control signal, and the channel switch terminal receiving channel switch-over control signal of DP channel switching module leads to DP
The service aisle of road switching module switches to external signal input terminals from internal signal input terminal.
The vision signal of memory module output USB format turns DP control module to USB, and USB turns DP control module for USB lattice
The vision signal that the vision signal of formula is converted into DP format is sent to the internal signal input terminal of DP channel switching module, the channel DP
The vision signal of DP format is sent to DP and turns DP control module by the signal output end of switching module, by the vision signal of DP format
It is converted into the vision signal of DP format, DP turns DP control module the vision signal of the DP format after conversion is sent to DP to turn MIPI
Control module, converts the vision signal of DP format to the vision signal of MIPI format, and DP turns MIPI control module for MIPI lattice
The vision signal of formula sends display module and is shown, according to display module to the display situation of test video signal, determines VR
The working condition of equipment.Display module can be LCD screen, by checking that the display situation of LCD screen can directly determine VR equipment
Working condition.
Fig. 5 also provides a kind of VR equipment detection method for the embodiment of the present application, this method comprises:
S101: in response to showing abnormality detection demand, the external signal input terminals of the channel switching module of VR equipment are determined
It is disabled, and internal signal input terminal is activated;
S102: the test video signal that VR equipment is locally stored, and the signal output end for passing through channel switching module are read
It is sent to the display module of VR equipment;
S103: according to display module to the display situation of test video signal, the working condition of VR equipment is determined.
In the above-described embodiments, determine that the external signal input terminals of the channel switching module of VR equipment are disabled, and internal
Signal input part is activated, comprising: whether response display abnormality detection demand, detection external signal input terminals set with external input
Standby connection;When determining that external signal input terminals connect external input device, external signal input terminals are disabled, and enable internal letter
Number input terminal;When determining that external signal input terminals are not connected with external input device, internal signal input terminal is directly enabled.
In the present embodiment, when detecting that external signal input terminals are connect with external input device, if VR equipment is not
It can normally show, need whether the detection for first carrying out VR equipment itself exclusion is not show as caused by itself display channel problem
Show, directly disables external signal input terminals at this time, and enable internal signal input terminal, carry out the detection to VR equipment itself.When
When detecting that external signal input terminals are not connected with external input device, internal signal input terminal is directly enabled, to VR equipment itself
Display channel is detected.
According to display module to the display situation of test video signal, the working condition of VR equipment is determined, comprising: if display
Module is shown normally, determines that VR equipment is in normal operating conditions;If display module display is abnormal, determine that VR equipment is in abnormal
Working condition.
In addition, the application exemplary embodiment give a kind of VR cannot normal display problem source exclusion step,
When VR equipment cannot normally be shown after being connect by video line with exterior terminal, VR equipment is detected using the above method
Afterwards, determine that VR equipment is normal, it would be possible that be terminal device and video line there are problems.Further detection, terminal device are set
Option is set, if there is no problem for the setting options of terminal device, illustrates it is that there are problems for video line, replaces video line.
The embodiment of the present application VR equipment detection method responds display abnormality detection demand by control module, from memory module
Test video signal is sent to channel switching module by internal signal input terminal by middle read test vision signal, and will be defeated
The test video signal for entering channel switching module is sent to display module by signal output end, for according to display module pair
The display situation of test video signal, determines the working condition of VR equipment, will be stored in local survey by channel switching module
Examination vision signal is sent to display module and shows the vision signal, shows that situation can quick and precisely judge VR by display module
Whether equipment itself is normal.
The embodiment of the present application VR equipment detection method can be realized by Fig. 1 exemplary embodiment VR equipment.Memory module is available
In storage computer program, control module is used for for executing computer program: in response to showing abnormality detection demand, determining
The external signal input terminals of the channel switching module of VR equipment are disabled, and internal signal input terminal is activated;Read VR equipment
The test video signal being locally stored, and it is sent to by the signal output end of channel switching module the display module of VR equipment;
According to display module to the display situation of test video signal, the working condition of VR equipment is determined.
Still optionally further, control module is for determining that the external signal input terminals of the channel switching module of VR equipment are banned
With and internal signal input terminal is activated, comprising: response display abnormality detection demand, detection external signal input terminals whether with
External input device connection;When determining that external signal input terminals connect external input device, external signal input terminals are disabled, and
Enable internal signal input terminal;When determining that external signal input terminals are not connected with external input device, internal signal is directly enabled
Input terminal.
Still optionally further, control module is used to determine VR to the display situation of test video signal according to display module
The working condition of equipment, comprising: if display module is shown normally, determine that VR equipment is in normal operating conditions;If display module
Display is abnormal, determines that VR equipment is in abnormal operation.
Correspondingly, the embodiment of the present application also provides a kind of computer readable storage medium for being stored with computer program.When
Computer-readable recording medium storage computer program, and when the first computer program is executed by one or more processors, it causes
One or more processors are made to execute each step in above-mentioned VR equipment detection method.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more,
The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces
The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, net
Network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/or
The forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable medium
Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves
State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable
Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM),
Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices
Or any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, it calculates
Machine readable medium does not include temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability
It include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to wrap
Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including element
There is also other identical elements in process, method, commodity or equipment.
The above is only embodiments herein, are not intended to limit this application.To those skilled in the art,
Various changes and changes are possible in this application.It is all within the spirit and principles of the present application made by any modification, equivalent replacement,
Improve etc., it should be included within the scope of the claims of this application.