CN109782912A - Method, apparatus, medium and electronic equipment for measuring device delay - Google Patents
Method, apparatus, medium and electronic equipment for measuring device delay Download PDFInfo
- Publication number
- CN109782912A CN109782912A CN201910005061.XA CN201910005061A CN109782912A CN 109782912 A CN109782912 A CN 109782912A CN 201910005061 A CN201910005061 A CN 201910005061A CN 109782912 A CN109782912 A CN 109782912A
- Authority
- CN
- China
- Prior art keywords
- time
- control unit
- posture control
- rendering display
- equipment
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Abstract
This disclosure relates to field of communication technology, and in particular to a kind of method, apparatus, medium and electronic equipment for measuring device delay.Equipment includes sensor, posture control unit and rendering display unit, and the method for measuring device delay includes: the first transmission delay time measured between the sensor and the posture control unit;Measure the data image match time between the posture control unit and the rendering display unit;The delay time of the equipment is obtained according to the first transmission delay time and the data image match time.The disclosure can be improved the accuracy of equipment delay time measurement.
Description
Technical field
This disclosure relates to field of communication technology, and in particular to it is a kind of for measuring device delay method, apparatus, medium and
Electronic equipment.
Background technique
With the fast development of virtual reality (Virtual Reality, VR) technology, virtual reality device (referred to as VR
Equipment) daily life is gradually come into, it will be used wider and wider general.
But there is also some insoluble problems for VR equipment at present.More serious is exactly VR delay, VR delay
After referring to that the user of VR equipment makes movement, VR equipment shows the lead time between corresponding picture.If delay is excessive,
User can obviously experience, and it is bad to will lead to user's feeling of immersion, more have very may cause the reaction such as user's dizziness, vomiting.
Due to the importance of delay, for a VR equipment, delay is an important measurement standard.
In the related technology, VR equipment is reduced delay bring using technologies such as TimeWrap mostly and felt, makes user's body
Test rising.However at present on the market almost without the technology that can directly measure the delay of VR equipment.
It should be noted that information is only used for reinforcing the reason to the background of the disclosure disclosed in above-mentioned background technology part
Solution, therefore may include the information not constituted to the prior art known to persons of ordinary skill in the art.
Summary of the invention
The disclosure is designed to provide a kind of method for measuring device delay, a kind of price pipe based on block chain
Manage device, a kind of storage medium and a kind of electronic equipment.And then it can be improved the accuracy of the delay of measuring device.
According to the disclosure in a first aspect, providing a kind of method for measuring device delay, the equipment includes sensing
Device, posture control unit and rendering display unit, which comprises measure the sensor and the posture control unit it
Between the first transmission delay time;Measure the data image matching between the posture control unit and the rendering display unit
Time;The delay time of the equipment is obtained according to the first transmission delay time and the data image match time.
In a kind of exemplary embodiment of the disclosure, the equipment is fixed on the first turntable, first turntable and second
Measuring circuit has been built between turntable, includes angular velocity detection unit in the posture control unit;Wherein, the sensing is measured
The first transmission delay time between device and the posture control unit, comprising: measurement first turntable from stationary state into
When entering rotary state, the second current signal of the first current signal of the measuring circuit and the angular velocity detection unit;
The first transmission delay time is obtained according to first current signal and second current signal.
In a kind of exemplary embodiment of the disclosure, measure between the posture control unit and the rendering display unit
Data image match time, comprising: measure the posture control unit and it is described rendering display unit between second transmission
Delay time;The upload measured between the posture control unit and the rendering display unit shows the time;According to described
Two transmission delay times and the upload show that the time obtains the data image match time.
In a kind of exemplary embodiment of the disclosure, measure between the posture control unit and the rendering display unit
The second transmission delay time, comprising: by it is described rendering display unit the first local zone time be sent to the gesture stability list
Member;The local zone time of the posture control unit is set according to first local zone time;By the of the posture control unit
Two local zone times are sent to the rendering display unit;When the rendering display unit receives second local zone time,
Obtain the third local zone time of the rendering display unit;It is obtained according to second local zone time and the third local zone time
The second transmission delay time.
In a kind of exemplary embodiment of the disclosure, measure between the posture control unit and the rendering display unit
Upload show the time, comprising: by the posture control unit to the rendering display unit transmission data packet, the data
Packet includes the transmission local zone time of data to be displayed and the posture control unit;It renders and shows by the rendering display unit
Show the data to be displayed, and obtains the display time;It is obtained on described according to the transmission local zone time and the display time
Pass the display time.
In a kind of exemplary embodiment of the disclosure, is rendered by the rendering display unit and show the number to be shown
According to, comprising: obtain texture coordinate of the data to be displayed in pre-stored texture maps;It is sat according to the texture of acquisition
Mark carries out texture mapping, obtains image corresponding with the data to be displayed.
In a kind of exemplary embodiment of the disclosure, the equipment is virtual reality device.
According to the second aspect of the disclosure, a kind of device for measuring device delay is provided, the equipment includes sensing
Device, posture control unit and rendering display unit, described device includes: delay time measurement module, is configured to measure the biography
The first transmission delay time between sensor and the posture control unit;Match time measurement module, is configured to described in measurement
Data image match time between posture control unit and the rendering display unit;Equipment delay acquisition module, is configured to
The delay time of the equipment is obtained according to the first transmission delay time and the data image match time.
According to the third aspect of the disclosure, a kind of computer-readable medium is provided, is stored thereon with computer program, it is described
The method described in any of the above-described embodiment for measuring device delay is realized when program is executed by processor.
According to the fourth aspect of the disclosure, a kind of electronic equipment is provided, comprising: one or more processors;Storage device,
For storing one or more programs, when one or more of programs are executed by one or more of processors, so that
One or more of processors realize the method described in any of the above-described embodiment for measuring device delay.
Method provided by a kind of embodiment of the disclosure for measuring device delay, passes through the sensor of measuring device
The first transmission delay time and the posture control unit and the equipment between the posture control unit of the equipment
Rendering display unit between data image match time, so as to according to the first transmission delay time and the number
The delay time that the equipment is obtained according to the images match time improves the accuracy of equipment delay time measurement.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not
The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure
Example, and together with specification for explaining the principles of this disclosure.It should be evident that the accompanying drawings in the following description is only the disclosure
Some embodiments for those of ordinary skill in the art without creative efforts, can also basis
These attached drawings obtain other attached drawings.
Fig. 1 schematically shows a kind of schematic diagram of the method for measuring device delay in disclosure exemplary embodiment;
Fig. 2 schematically shows a kind of structure for measuring for the first transmission delay time in disclosure exemplary embodiment and shows
It is intended to;
Fig. 3 shows the treatment process schematic diagram of step S110 shown in Fig. 1 in one embodiment;
Fig. 4 schematically shows a kind of for measuring the signal of the first transmission delay time in disclosure exemplary embodiment
Figure.
Fig. 5 shows the treatment process schematic diagram of step S120 shown in Fig. 1 in one embodiment;
Fig. 6 shows the treatment process schematic diagram of step S121 shown in Fig. 5 in one embodiment;
Fig. 7 shows the treatment process schematic diagram of step S122 shown in Fig. 5 in one embodiment;
Fig. 8 schematically shows the matched schematic diagram of data image in disclosure exemplary embodiment;
Fig. 9 schematically shows a kind of composition signal of the device for measuring device delay in disclosure exemplary embodiment
Figure;
Figure 10 schematically shows a kind of another kind of the device for measuring device delay in disclosure exemplary embodiment
Schematic diagram;
Figure 11 schematically shows a kind of program production of the method for measuring device delay in disclosure exemplary embodiment
The schematic diagram of product.
Specific embodiment
Example embodiment is described more fully with reference to the drawings.However, example embodiment can be with a variety of shapes
Formula is implemented, and is not understood as limited to example set forth herein;On the contrary, thesing embodiments are provided so that the disclosure will more
Fully and completely, and by the design of example embodiment comprehensively it is communicated to those skilled in the art.Described feature, knot
Structure or characteristic can be incorporated in any suitable manner in one or more embodiments.
In addition, attached drawing is only the schematic illustrations of the disclosure, it is not necessarily drawn to scale.Identical attached drawing mark in figure
Note indicates same or similar part, thus will omit repetition thereof.Some block diagrams shown in the drawings are function
Energy entity, not necessarily must be corresponding with physically or logically independent entity.These function can be realized using software form
Energy entity, or these functional entitys are realized in one or more hardware modules or integrated circuit, or at heterogeneous networks and/or place
These functional entitys are realized in reason device device and/or microcontroller device.
Fig. 1 schematically shows a kind of schematic diagram of the method for measuring device delay in disclosure exemplary embodiment.
The equipment may include sensor, posture control unit and rendering display unit etc..
In the embodiment of the present disclosure, the equipment can be virtual reality device, that is, VR equipment.For example, the VR equipment can be with
Including the VR helmet, display screen for displaying images may further include on the VR helmet.The sensor may include described
The inertial sensor of the head turning motion of the user for detecting the wearing VR helmet installed in VR equipment, such as acceleration pass
Sensor, gyroscope and geomagnetic sensor etc., these sensors can be used for capturing head movement, especially rotate.Using VR
When equipment, user in the physical message of virtual world, mainly head towards posture and locating physical location.The posture
Control unit can use MCU (Microcontroller Unit, micro-control unit), but it's not limited to that for the disclosure.
It should be noted that, although in the following embodiments, illustrate so that the equipment is VR equipment as an example
It is bright, but it's not limited to that for the disclosure.
As shown in Figure 1, the method for measuring device delay that the embodiment of the present disclosure provides may comprise steps of.
In step s 110, the first transmission delay time between the sensor and the posture control unit is measured.
In the step s 120, the data image matching between the posture control unit and the rendering display unit is measured
Time.
In step s 130, it is set according to the first transmission delay time and data image match time acquisition
Standby delay time.
In the embodiment of the present disclosure, when the equipment is VR equipment, due to the workflow of usual VR equipment are as follows: logical first
Sensor acquisition user's attitude data is crossed, user's attitude data of acquisition is then transferred to posture control unit i.e. MCU, MCU
The data of display are rendered according to user's attitude data determination, and the data that will render display are uploaded to the rendering on upper layer
Display unit is rendered after the rendering display unit receives the data of display to be rendered, and in VR after completing rendering
It is shown on the display screen of equipment, therefore, the delay time that can define VR equipment here, which refers to from sensor, collects use
The difference between time that the image display to the end of the time of family attitude data is completed, this difference includes collecting sensor
User's attitude data be transferred to the first transmission delay time of MCU and data that MCU will render display to be sent to rendering aobvious
Show the sum of the data image match time that unit is rendered and shown.
Method provided by a kind of embodiment of the disclosure for measuring device delay, passes through the sensor of measuring device
The first transmission delay time and the posture control unit and the equipment between the posture control unit of the equipment
Rendering display unit between data image match time, so as to according to the first transmission delay time and the number
The delay time that the equipment is obtained according to the images match time improves the accuracy of equipment delay time measurement, so as to
The preferably performance of assessment equipment such as VR equipment, and then corresponding optimization processing can be carried out.
Fig. 2 schematically shows a kind of structure for measuring for the first transmission delay time in disclosure exemplary embodiment and shows
It is intended to.Structure shown in Fig. 2 can be used for measuring VR equipment and the time of attitudes vibration occur to the attitude data for acquiring sensor
The time difference being transferred between the time of MCU, i.e., for measuring the first transmission delay time.
As shown in Fig. 2, the first turntable 210 and the second turntable 220 can be freely rotated around central axis 230, and the first turntable
210 and second have built measuring circuit 240 between turntable 220, when the first turntable 210 remains static, measuring circuit 240
It is electrically connected respectively with the first turntable 210 and the second turntable 220, it at this time can by the current detecting unit 242 in measuring circuit 240
To detect the first current signal i1 for being in high level state.Wherein, measuring circuit 240 may further include power supply 241.
(it is assumed to be T0) at the time of the first turntable 210 is changed into rotary state from stationary state, measuring circuit 240 will disconnect and first
Connection between turntable 210, so that the first current signal i1 is changed into low level (such as 0A) from high level.
With continued reference to Fig. 2, VR equipment 250 is fixed on the first turntable 210, and in the gesture stability list of VR equipment 250
Angular velocity detection unit is added in member.Assuming that first turntable 210 remains static when initial, the angle of VR equipment 250 is fast at this time
Degree is 0, and the second current signal i2 that the angular velocity detection unit is externally sent is low level signal (being assumed to be 0A).First
T0 at the time of turntable 210 is changed into rotary state from stationary state, since the collected attitude data of the sensor of VR equipment passes
It is defeated that there is delay to posture control unit, so after the T0 moment starts that delay a period of time is needed to be assumed to be T2, the angle speed
The second current signal i2 that degree detection unit is externally sent just can be changed into high level signal at the T1 moment, wherein T1=T0+
T2。
In the embodiment of the present disclosure, the angular speed of VR equipment is detected by angular velocity detection unit, and pass through the first turntable
Whether rotation enters rotary state to simulate VR equipment from stationary state, theoretically electric with measurement for measuring the first turntable here
The first current signal that road disconnects is in real time that is, the first turntable rotates at the beginning, and measuring circuit is disconnected with measuring circuit immediately,
First current signal is changed into low level from high level immediately.
Fig. 3 shows the treatment process schematic diagram of step S110 shown in Fig. 1 in one embodiment.
As shown in figure 3, above-mentioned steps S110 may further include following steps.
In step S111, when measurement first turntable enters rotary state from stationary state, the measuring circuit
The second current signal i2 of first current signal i1 and the angular velocity detection unit.
In step S112, first transmission is obtained according to first current signal and second current signal and is prolonged
When the time.
In the embodiment of the present disclosure, after being set when initial according to structural schematic diagram as shown in Figure 2, next tool
The testing procedure of body may include:
The first step makes the rotation of the first turntable 210 (can be rotation or other physical actions manually herein to be ok), surveys
It measures circuit 240 and the first turntable 210 disconnects, so that the first current signal i1 is changed into low level signal from high level;
Second step checks the first current signal of measuring circuit 240 with oscillograph while the rotation of the first turntable 210
The current waveform of i1;
Third step, when the rotation of the first turntable 210, the angular speed of VR equipment is become larger by 0, the inspection of angular velocity detection unit
It measures angular speed to become larger, angular velocity detection unit is sent out the second current signal i2, and oscillograph detects the second current signal
The current waveform of i2, according to the comparison of wave shape between i1 and i2 it can be concluded that the posture of VR equipment starts to change to gesture stability list
Member receives the time difference between attitude data as T2.
Fig. 4 schematically shows a kind of for measuring the signal of the first transmission delay time in disclosure exemplary embodiment
Figure.With the transmission delay of oscilloscope measurement posture sensed data to MCU
As shown in figure 4, the first current signal i1 is converted to low level from high level at the T0 moment, the second current signal i2 exists
The T1 moment from low transition be high level.T2=T1-T0, that is, the first transmission delay time.
Fig. 5 shows the treatment process schematic diagram of step S120 shown in Fig. 1 in one embodiment.
As shown in figure 5, above-mentioned steps S120 may further include following steps.
In step S121, the second transmission delay between the posture control unit and the rendering display unit is measured
Time.
When the equipment is VR equipment, this step is for measuring the number between MCU and the rendering display unit on upper layer
According to transmission delay, that is, the second transmission delay time.
In step S122, when measuring the upload display between the posture control unit and the rendering display unit
Between.
In step S123, show that the time obtains the datagram according to the second transmission delay time and the upload
As match time.
Fig. 6 shows the treatment process schematic diagram of step S121 shown in Fig. 5 in one embodiment.
As shown in fig. 6, above-mentioned steps S121 may further include following steps.
In step S1211, the first local zone time t1 of the rendering display unit is sent to the gesture stability list
Member.
In step S1212, the local zone time of the posture control unit is set according to the first local zone time t1.
Here, since there is also data transmission delay vacations between the rendering display unit and the posture control unit
Be set as Δ t, then when setting the local zone time of the posture control unit for the first local zone time t1 for rendering display unit, this
The local zone time of Shi Suoshu rendering display unit actually has been changed to t1+ Δ t, i.e., the described rendering display unit and the posture
The local zone time of control unit be it is nonsynchronous, there is time difference Δ t between the two.
In step S1213, the second local zone time of the posture control unit is sent to the rendering display unit.
Then, the second local zone time t2 of the posture control unit is obtained, it is assumed that t2=t1+t' passes through the t' time
It reads the second local zone time of posture control unit again afterwards, and second local zone time t2 is sent to the rendering and shows list
Member, the local zone time of the rendering display unit has been changed to t1+ Δ t+t' at this time.
In step S1214, when the rendering display unit receives second local zone time, the rendering is obtained
The third local zone time of display unit.
When the rendering display unit receives the second local zone time t2 of the posture control unit, also due to institute
Existing data transmission delay Δ t between rendering display unit and the posture control unit is stated, the rendering display is single at this time
The third local zone time t3 of member is t3=t1+2 Δ t+t' at this time.
In step S1215, second transmission is obtained according to second local zone time and the third local zone time
Delay time.
According to the second local zone time t2 and third local zone time t3 of above-mentioned acquisition it is found that the data that the two differs 2 times pass
Defeated delay Δ t, therefore, the calculation formula of the second transmission delay time Δ t can be with are as follows:
In the embodiment of the present disclosure, due to the posture control unit and the rendering display unit have oneself it is independent when
Master slave system, so needing to obtain Δ t in advance.
Fig. 7 shows the treatment process schematic diagram of step S122 shown in Fig. 5 in one embodiment.
As shown in fig. 7, above-mentioned steps S122 may further include following steps.
In step S1221, data packet, the number are sent to the rendering display unit by the posture control unit
It include the transmission local zone time ta of data to be displayed and the posture control unit according to packet.
In step S1222, is rendered by the rendering display unit and show the data to be displayed, and shown
Time tb.
In the exemplary embodiment, the data to be displayed is rendered and shown by the rendering display unit, can wrap
It includes: obtaining texture coordinate of the data to be displayed in pre-stored texture maps;According to the texture coordinate of acquisition into
Row texture mapping obtains image corresponding with the data to be displayed.
In step S1223, the upload is obtained according to the transmission local zone time and the display time and shows the time.
In the embodiment of the present disclosure, measure the posture control unit upload data to be displayed to the rendering display unit into
The time that the display of row image is completed.
The posture control unit is controlled first and sends data to be displayed, and the posture control unit is described to aobvious in transmission
Registration according to while, the transmission local zone time ta for obtaining the posture control unit is sent together as data packet;The rendering
Display unit receives the data packet that the posture control unit is sent and is handled, and saves the posture control in data packet
The transmission local zone time ta of unit processed, and corresponding image is rendered according to the data to be displayed.The rendering display is single at this time
Member can control high speed camera and is continuously shot, and record the time tb that each frame image obtains.The upload can be calculated
Show that the time is (tb-ta).
It should be noted that for tb and ta here is the corresponding same data to be displayed, for example, it is assumed that first
The data to be displayed of transmission is " 0 ", then ta refers to the transmission local zone time when posture control unit sends " 0 " data, tb
Refer to that the rendering display unit shows the display time of " 0 " this digital picture.For another example the data to be displayed sent is
" 1 ", then ta refers to that the transmission local zone time when posture control unit sends " 1 " data, tb refer to that the rendering display is single
The display time of member display " 1 " this digital picture.Other situations and so on.
Fig. 8 schematically shows the matched schematic diagram of data image in disclosure exemplary embodiment.
As shown in figure 8, the posture control unit, which is for example arranged, uploads data to be displayed 0,1,2,3,4,5,6,7,8,9
(be only used for for example, the disclosure it's not limited to that), the rendering display unit parse data packet after obtaining, described in acquisition
Information in posture control unit, that is, the number 0 uploaded, 1,2,3,4,5,6,7,8,9, it can be in the rendering display unit
The digital texture of 0-9 is preset, as shown in figure 8, each number has determining texture coordinate in figure, such as line of number 1
Manage the coordinate that coordinate is this four points of A, B, C, D.It, can be with after parsing obtains the number in the posture control unit data packet
This specific coordinate of the number in digital texture maps is obtained, the rendering display unit renders an image, according to the line of acquisition
It manages coordinate and carries out texture mapping, so that it may obtain the corresponding image of respective digital.
In the embodiment of the present disclosure, it is assumed that one data packet of the posture control unit sends a number, and the rendering is aobvious
Show the image that respective digital can be shown after unit renders in a frame time.
Here it is considered that the posture control unit and it is described rendering display unit local zone time be it is nonsynchronous, i.e., two
Δ t, therefore, the data image match time are as follows: (tb-ta- Δ t) are differed between person.
According to above-described embodiment it is found that the whole delay of equipment may finally be obtained are as follows: T2+ (tb-ta- Δ t)=T2+
tb-ta-(t3-t2)/2。
The method for measuring device delay that disclosure embodiment provides, by measurement attitudes vibration to being transmitted to
The data transmission delay time T2 between posture control unit is stated, and measures the rendering on the posture control unit and upper layer
Data transmission delay time Δ t and posture control unit upper layer data to be displayed between display unit are to the rendering
The time (tb-ta) that display unit is shown to completion image, final whole delay T2+ (the tb-ta- Δ t) for obtaining equipment
It should be noted that above-mentioned attached drawing is only showing for processing included by method according to an exemplary embodiment of the present invention
Meaning property explanation, rather than limit purpose.It can be readily appreciated that it is above-mentioned it is shown in the drawings processing do not indicate or limit these processing when
Between sequence.In addition, be also easy to understand, these processing, which can be, for example either synchronously or asynchronously to be executed in multiple modules.
Fig. 9 schematically shows a kind of composition signal of the device for measuring device delay in disclosure exemplary embodiment
Figure.
As shown in figure 9, the device 900 for measuring device delay that the embodiment of the present disclosure provides may include delay time
Measurement module 910, match time measurement module 920 and equipment delay acquisition module 930.
Delay time measurement module 910 is configurable to measure between the sensor and the posture control unit
One transmission delay time.
Match time measurement module 920 be configurable to measure the posture control unit and the rendering display unit it
Between data image match time.
Equipment delay acquisition module 930 is configurable to according to the first transmission delay time and the data image
The delay time of the equipment is obtained with the time.
In the exemplary embodiment, the equipment is fixed on the first turntable, takes between first turntable and the second turntable
Measuring circuit is had, includes angular velocity detection unit in the posture control unit.
Wherein, delay time measurement module 910 may further include: current signal measures submodule, is configurable to
When measuring first turntable and entering rotary state from stationary state, the first current signal of the measuring circuit and the angle
Second current signal of speed detection unit;Delay time measures submodule, is configurable to according to first current signal
The first transmission delay time is obtained with second current signal.
In the exemplary embodiment, match time measurement module 920 may further include: data upload Time delay measurement
Module is configurable to measure the second transmission delay time between the posture control unit and the rendering display unit;
Display time measurement submodule is uploaded, is configurable to measure between the posture control unit and the rendering display unit
Upload the display time;Match time measures submodule, is configurable to according to the second transmission delay time and the upload
Show that the time obtains the data image match time.
In the exemplary embodiment, the data upload Time delay measurement submodule and may further include: when the first local
Between transmission unit, be configurable to by it is described rendering display unit the first local zone time be sent to the posture control unit;
Local zone time setting unit, when being configurable to that the local of the posture control unit is arranged according to first local zone time
Between;Second local zone time transmission unit is configurable to for the second local zone time of the posture control unit being sent to described
Render display unit;Third local zone time acquiring unit is configurable to receive described second in the rendering display unit
When local zone time, the third local zone time of the rendering display unit is obtained;Data upload delay measuring unit, are configurable to
The second transmission delay time is obtained according to second local zone time and the third local zone time.
In the exemplary embodiment, the upload shows that time measurement submodule may further include: data packet is sent
Unit is configurable to send data packet, the data packet packet to the rendering display unit by the posture control unit
Include the transmission local zone time of data to be displayed and the posture control unit;Display unit is rendered, is configurable to by described
Rendering display unit renders and shows the data to be displayed, and obtains the display time;Display time obtaining unit is uploaded, it can be with
It is configured to obtain the upload display time according to the transmission local zone time and the display time.
In the exemplary embodiment, the rendering display unit may further include: texture coordinate obtains subelement, can
To be configured to obtain texture coordinate of the data to be displayed in pre-stored texture maps;Rendering display subelement, can be with
It is configured to carry out texture mapping according to the texture coordinate of acquisition, obtains image corresponding with the data to be displayed.
In the exemplary embodiment, the equipment is virtual reality device.
About the device in above-described embodiment, wherein modules and/or submodule and/or unit and/or subelement are held
The concrete mode of row operation is described in detail in the embodiment of the method, will be not set forth in detail herein
It is bright.
It should be noted that although being referred to several modules or son for acting the equipment executed in the above detailed description
Module or unit or subelement, but this division is not enforceable.In fact, according to embodiment of the present disclosure,
Two or more above-described modules or the feature and function of submodule or unit or subelement can be in a moulds
It is embodied in block or submodule or unit or subelement.Conversely, an above-described module or submodule or
The feature and function of unit or subelement can be by multiple modules or submodule or unit or son with further division
Unit embodies.The component shown as module or submodule or unit or subelement may or may not be
Physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to the actual needs
Some or all of the modules therein or submodule or unit or subelement are selected to realize the purpose of the open scheme of wood.
Those of ordinary skill in the art can understand and implement without creative efforts.
In an exemplary embodiment of the disclosure, additionally provide it is a kind of can be realized it is above-mentioned for measuring device delay side
The electronic equipment of method.
Person of ordinary skill in the field it is understood that various aspects of the invention can be implemented as system, method or
Program product.Therefore, various aspects of the invention can be embodied in the following forms, it may be assumed that complete hardware embodiment, complete
The embodiment combined in terms of full Software Implementation (including firmware, microcode etc.) or hardware and software, can unite here
Referred to as circuit, " module " or " system ".
The electronic equipment 600 of this embodiment according to the present invention is described referring to Figure 10.The electricity that Figure 10 is shown
Sub- equipment 600 is only an example, should not function to the embodiment of the present invention and use scope bring any restrictions.
As shown in Figure 10, electronic equipment 600 is showed in the form of universal computing device.The component of electronic equipment 600 can be with
Including but not limited to: at least one above-mentioned processing unit 610, at least one above-mentioned storage unit 620, the different system components of connection
The bus 630 of (including storage unit 620 and processing unit 610).
Wherein, the storage unit is stored with program code, and said program code can be held by the processing unit 610
Row, so that various according to the present invention described in the execution of the processing unit 610 above-mentioned " illustrative methods " part of this specification
The step of illustrative embodiments.For example, the processing unit 610 can execute step S110 as shown in fig. 1, measurement is set
The first transmission delay time between the posture control unit of standby sensor and the equipment;Step S120 is set described in measurement
Data image match time between the rendering display unit of standby posture control unit and the equipment;Step S130, according to
The first transmission delay time and the data image match time obtain the delay time of the equipment.
Storage unit 620 may include the readable medium of volatile memory cell form, such as Random Access Storage Unit
(RAM) 6201 and/or cache memory unit 6202, it can further include read-only memory unit (ROM) 6203.
Storage unit 620 can also include program/utility with one group of (at least one) program module 6205
6204, such program module 6205 includes but is not limited to: operating system, one or more application program, other program moulds
It may include the realization of network environment in block and program data, each of these examples or certain combination.
Bus 630 can be to indicate one of a few class bus structures or a variety of, including storage unit bus or storage
Cell controller, peripheral bus, graphics acceleration port, processing unit use any bus structures in a variety of bus structures
Local bus.
Electronic equipment 600 can also be with one or more external equipments 700 (such as keyboard, sensing equipment, bluetooth equipment
Deng) communication, can also be enabled a user to one or more equipment interact with the electronic equipment 600 communicate, and/or with make
Any equipment (such as the router, modulation /demodulation that the electronic equipment 600 can be communicated with one or more of the other calculating equipment
Device etc.) communication.This communication can be carried out by input/output (I/O) interface 650.Also, electronic equipment 600 can be with
By network adapter 660 and one or more network (such as local area network (LAN), wide area network (WAN) and/or public network,
Such as internet) communication.As shown, network adapter 660 is communicated by bus 630 with other modules of electronic equipment 600.
It should be understood that although not shown in the drawings, other hardware and/or software module can not used in conjunction with electronic equipment 600, including but not
Be limited to: microcode, device driver, redundant processing unit, external disk drive array, RAID system, tape drive and
Data backup storage system etc..
Through the above description of the embodiments, those skilled in the art is it can be readily appreciated that example described herein is implemented
Mode can also be realized by software realization in such a way that software is in conjunction with necessary hardware.Therefore, according to the disclosure
The technical solution of embodiment can be embodied in the form of software products, which can store non-volatile at one
Property storage medium (can be CD-ROM, USB flash disk, mobile hard disk etc.) in or network on, including some instructions are so that a calculating
Equipment (can be personal computer, server, terminal installation or network equipment etc.) is executed according to disclosure embodiment
Method.
In an exemplary embodiment of the disclosure, a kind of computer readable storage medium is additionally provided, energy is stored thereon with
Enough realize the program product of this specification above method.In some possible embodiments, various aspects of the invention may be used also
In the form of being embodied as a kind of program product comprising program code, when described program product is run on the terminal device, institute
Program code is stated for executing the terminal device described in above-mentioned " illustrative methods " part of this specification according to this hair
The step of bright various illustrative embodiments.
With reference to shown in Figure 11, the program product for realizing the above method of embodiment according to the present invention is described
110, can using portable compact disc read only memory (CD-ROM) and including program code, and can in terminal device,
Such as it is run on PC.However, program product of the invention is without being limited thereto, in this document, readable storage medium storing program for executing can be with
To be any include or the tangible medium of storage program, the program can be commanded execution system, device or device use or
It is in connection.
Described program product can be using any combination of one or more readable mediums.Readable medium can be readable letter
Number medium or readable storage medium storing program for executing.Readable storage medium storing program for executing for example can be but be not limited to electricity, magnetic, optical, electromagnetic, infrared ray or
System, device or the device of semiconductor, or any above combination.The more specific example of readable storage medium storing program for executing is (non exhaustive
List) include: electrical connection with one or more conducting wires, portable disc, hard disk, random access memory (RAM), read-only
Memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read only memory
(CD-ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal,
In carry readable program code.The data-signal of this propagation can take various forms, including but not limited to electromagnetic signal,
Optical signal or above-mentioned any appropriate combination.Readable signal medium can also be any readable Jie other than readable storage medium storing program for executing
Matter, the readable medium can send, propagate or transmit for by instruction execution system, device or device use or and its
The program of combined use.
The program code for including on readable medium can transmit with any suitable medium, including but not limited to wirelessly, have
Line, optical cable, RF etc. or above-mentioned any appropriate combination.
The program for executing operation of the present invention can be write with any combination of one or more programming languages
Code, described program design language include object oriented program language-Java, C++ etc., further include conventional
Procedural programming language-such as " C " language or similar programming language.Program code can be fully in user
It calculates and executes in equipment, partly executes on a user device, being executed as an independent software package, partially in user's calculating
Upper side point is executed on a remote computing or is executed in remote computing device or server completely.It is being related to far
Journey calculates in the situation of equipment, and remote computing device can pass through the network of any kind, including local area network (LAN) or wide area network
(WAN), it is connected to user calculating equipment, or, it may be connected to external computing device (such as utilize ISP
To be connected by internet).
In addition, above-mentioned attached drawing is only the schematic theory of processing included by method according to an exemplary embodiment of the present invention
It is bright, rather than limit purpose.It can be readily appreciated that the time that above-mentioned processing shown in the drawings did not indicated or limited these processing is suitable
Sequence.In addition, be also easy to understand, these processing, which can be, for example either synchronously or asynchronously to be executed in multiple modules.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the disclosure
Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or
Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure
Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by appended
Claim is pointed out.
Claims (10)
1. a kind of method for measuring device delay, the equipment includes that sensor, posture control unit and rendering display are single
Member, which is characterized in that the described method includes:
Measure the first transmission delay time between the sensor and the posture control unit;
Measure the data image match time between the posture control unit and the rendering display unit;
The delay time of the equipment is obtained according to the first transmission delay time and the data image match time.
2. the method according to claim 1, wherein the equipment is fixed on the first turntable, first turntable
Measuring circuit has been built between the second turntable, includes angular velocity detection unit in the posture control unit;Wherein, institute is measured
State the first transmission delay time between sensor and the posture control unit, comprising:
When measuring first turntable and entering rotary state from stationary state, the first current signal of the measuring circuit and institute
State the second current signal of angular velocity detection unit;
The first transmission delay time is obtained according to first current signal and second current signal.
3. the method according to claim 1, wherein measuring the posture control unit and rendering display list
Data image match time between member, comprising:
Measure the second transmission delay time between the posture control unit and the rendering display unit;
The upload measured between the posture control unit and the rendering display unit shows the time;
Show that the time obtains the data image match time according to the second transmission delay time and the upload.
4. according to the method described in claim 3, it is characterized in that, measuring the posture control unit and rendering display list
The second transmission delay time between member, comprising:
First local zone time of the rendering display unit is sent to the posture control unit;
The local zone time of the posture control unit is set according to first local zone time;
Second local zone time of the posture control unit is sent to the rendering display unit;
When the rendering display unit receives second local zone time, the third for obtaining the rendering display unit is local
Time;
The second transmission delay time is obtained according to second local zone time and the third local zone time.
5. according to the method described in claim 4, it is characterized in that, measuring the posture control unit and rendering display list
Upload between member shows the time, comprising:
Data packet is sent to the rendering display unit by the posture control unit, the data packet includes data to be displayed
With the transmission local zone time of the posture control unit;
It is rendered by the rendering display unit and shows the data to be displayed, and obtain the display time;
The upload, which is obtained, according to the transmission local zone time and the display time shows the time.
6. according to the method described in claim 5, it is characterized in that, rendered by the rendering display unit and described in showing to
Show data, comprising:
Obtain texture coordinate of the data to be displayed in pre-stored texture maps;
Texture mapping is carried out according to the texture coordinate of acquisition, obtains image corresponding with the data to be displayed.
7. the method according to claim 1, wherein the equipment is virtual reality device.
8. a kind of device for measuring device delay, the equipment includes that sensor, posture control unit and rendering display are single
Member, which is characterized in that described device includes:
Delay time measurement module is configured to measure the first transmission delay between the sensor and the posture control unit
Time;
Match time measurement module is configured to measure the datagram between the posture control unit and the rendering display unit
As match time;
Equipment delay acquisition module is configured to be obtained according to the first transmission delay time and the data image match time
The delay time of the equipment.
9. a kind of computer-readable medium, is stored thereon with computer program, which is characterized in that described program is executed by processor
Method for measuring device delay of the Shi Shixian as described in any one of claims 1 to 7.
10. a kind of electronic equipment characterized by comprising
One or more processors;
Storage device, for storing one or more programs, when one or more of programs are by one or more of processing
When device executes, so that one or more of processors, which are realized, is used for measuring device as described in any one of claims 1 to 7
The method of delay.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910005061.XA CN109782912B (en) | 2019-01-03 | 2019-01-03 | Method, apparatus, medium, and electronic device for measuring device delay |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910005061.XA CN109782912B (en) | 2019-01-03 | 2019-01-03 | Method, apparatus, medium, and electronic device for measuring device delay |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109782912A true CN109782912A (en) | 2019-05-21 |
CN109782912B CN109782912B (en) | 2022-10-25 |
Family
ID=66499941
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910005061.XA Active CN109782912B (en) | 2019-01-03 | 2019-01-03 | Method, apparatus, medium, and electronic device for measuring device delay |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109782912B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130069909A1 (en) * | 2011-09-16 | 2013-03-21 | Htc Corporation | Electronic device and method for scanning a touch panel thereof |
US20150138162A1 (en) * | 2013-10-07 | 2015-05-21 | Tactual Labs Co. | Latency measuring and testing system and method |
CN106534843A (en) * | 2016-11-14 | 2017-03-22 | 北京凌宇智控科技有限公司 | Delay measurement method and device |
CN106998409A (en) * | 2017-03-21 | 2017-08-01 | 华为技术有限公司 | A kind of image processing method, head-mounted display and rendering apparatus |
CN107820075A (en) * | 2017-11-27 | 2018-03-20 | 中国计量大学 | A kind of VR equipment delayed test devices based on light stream camera |
CN108921951A (en) * | 2018-07-02 | 2018-11-30 | 京东方科技集团股份有限公司 | Virtual reality image display methods and its device, virtual reality device |
-
2019
- 2019-01-03 CN CN201910005061.XA patent/CN109782912B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130069909A1 (en) * | 2011-09-16 | 2013-03-21 | Htc Corporation | Electronic device and method for scanning a touch panel thereof |
US20150138162A1 (en) * | 2013-10-07 | 2015-05-21 | Tactual Labs Co. | Latency measuring and testing system and method |
CN106534843A (en) * | 2016-11-14 | 2017-03-22 | 北京凌宇智控科技有限公司 | Delay measurement method and device |
CN106998409A (en) * | 2017-03-21 | 2017-08-01 | 华为技术有限公司 | A kind of image processing method, head-mounted display and rendering apparatus |
CN107820075A (en) * | 2017-11-27 | 2018-03-20 | 中国计量大学 | A kind of VR equipment delayed test devices based on light stream camera |
CN108921951A (en) * | 2018-07-02 | 2018-11-30 | 京东方科技集团股份有限公司 | Virtual reality image display methods and its device, virtual reality device |
Non-Patent Citations (1)
Title |
---|
赵明冬: "《电子测量技术》", 31 August 2016 * |
Also Published As
Publication number | Publication date |
---|---|
CN109782912B (en) | 2022-10-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10281981B2 (en) | AR output method and electronic device for supporting the same | |
US8953036B2 (en) | Information processing apparatus, information processing method, program, and information processing system | |
JP2018535410A (en) | Three-dimensional space detection system, positioning method and system | |
CN103105926A (en) | Multi-sensor posture recognition | |
CN105866781B (en) | Data processing method and electronic equipment | |
CN103136912A (en) | Moving posture capture system | |
CN108389264A (en) | Coordinate system determines method, apparatus, storage medium and electronic equipment | |
TW201428297A (en) | Angular velocity estimation using a magnetometer and accelerometer | |
CN109621415A (en) | Display control method and device in 3D game, computer storage medium | |
EP4050563A1 (en) | Electronic device for providing indoor positioning and method therefor | |
CN108646280A (en) | A kind of localization method, device and user terminal | |
CN109685852A (en) | The scaling method of camera and inertial sensor, system, equipment and storage medium | |
US20180342109A1 (en) | Determining full-body pose for a virtual reality environment | |
WO2021212278A1 (en) | Data processing method and apparatus, and mobile platform and wearable device | |
CN202057345U (en) | Measuring and monitoring display | |
WO2024012083A1 (en) | System, method and apparatus for soc precision verification during vehicle operation process, and upper computer | |
CN103000161B (en) | A kind of method for displaying image, device and a kind of intelligent hand-held terminal | |
CN109782912A (en) | Method, apparatus, medium and electronic equipment for measuring device delay | |
CN106920460A (en) | A kind of touch interactive tellurion | |
US11216165B2 (en) | Content processing method and electronic device for supporting same | |
CN206270980U (en) | A kind of motion capture gloves for gesture identification | |
CN105093985B (en) | A kind of control sensor powering method | |
CN108801246B (en) | Method and system for accurate spatial positioning | |
CN207270687U (en) | A kind of binocular handle system, device and AR devices | |
Mischie | A MATLAB Graphical Interface to evaluate the CC2650 SensorTag |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |