CN104883623B - A kind of head-mounted display video control method and circuit - Google Patents

A kind of head-mounted display video control method and circuit Download PDF

Info

Publication number
CN104883623B
CN104883623B CN201510219203.4A CN201510219203A CN104883623B CN 104883623 B CN104883623 B CN 104883623B CN 201510219203 A CN201510219203 A CN 201510219203A CN 104883623 B CN104883623 B CN 104883623B
Authority
CN
China
Prior art keywords
frame
video
video flowing
present frame
saved
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.)
Active
Application number
CN201510219203.4A
Other languages
Chinese (zh)
Other versions
CN104883623A (en
Inventor
王冲
马金波
范传国
赵文慧
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Pico Technology Co Ltd
Original Assignee
Beijing Pico Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Pico Technology Co Ltd filed Critical Beijing Pico Technology Co Ltd
Priority to CN201510219203.4A priority Critical patent/CN104883623B/en
Publication of CN104883623A publication Critical patent/CN104883623A/en
Application granted granted Critical
Publication of CN104883623B publication Critical patent/CN104883623B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/647Control signaling between network components and server or clients; Network processes for video distribution between server and clients, e.g. controlling the quality of the video stream, by dropping packets, protecting content from unauthorised alteration within the network, monitoring of network load, bridging between two different networks, e.g. between IP and wireless
    • H04N21/64746Control signals issued by the network directed to the server or the client
    • H04N21/64761Control signals issued by the network directed to the server or the client directed to the server
    • H04N21/64776Control signals issued by the network directed to the server or the client directed to the server for requesting retransmission, e.g. of data packets lost or corrupted during transmission from server
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/414Specialised client platforms, e.g. receiver in car or embedded in a mobile appliance
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/44008Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics in the video stream

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Security & Cryptography (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a kind of head-mounted display video control method and circuits.This method comprises: the video flowing that receiving front-end is sent, the parameter information of the video flowing is obtained from the frame head of the video flowing;According to the parameter information of the video flowing, successively every frame in the video flowing received is detected;When detecting that present frame is normal, present frame is saved, exports the video frame closest with present frame saved;When detecting present frame exception, present frame is abandoned, exports the video frame closest with present frame saved.Technical solution provided by the invention is able to solve existing head-mounted display during transmission of video in the case where transmission of video appearance mistake, the problem of not can be carried out reparation, head-mounted display is caused to can not work normally.

Description

A kind of head-mounted display video control method and circuit
Technical field
The present invention relates to technical field of video image processing, more particularly to a kind of head-mounted display video control method and Circuit.
Background technique
Currently, during realizing transmission of video based on FPGA, since the video flowing of different formats is with different Characteristic.Therefore, in the case where the video flowing of transmission goes wrong, FPGA can not carry out the correction of mistake well.I.e. not It can voluntarily be repaired in the case where mistake occurs in the video flowing transmitted.
It can be seen from the above, existing head-mounted display, during transmission of video, there is the situation of mistake in transmission of video Under, the problem of not can be carried out reparation, head-mounted display caused to can not work normally.
Summary of the invention
The present invention provides a kind of head-mounted display video control method and circuits.Technical solution provided by the invention can It solves existing head-mounted display and in the case where transmission of video appearance mistake, not can be carried out reparation during transmission of video, The problem of causing head-mounted display can not work normally.
The invention discloses a kind of head-mounted display video control methods, this method comprises:
The video flowing that receiving front-end is sent, the parameter information of the video flowing is obtained from the frame head of the video flowing;
According to the parameter information of the video flowing, successively every frame in the video flowing received is detected;
When detecting that present frame is normal, present frame is saved, exports the video frame closest with present frame saved;
When detecting present frame exception, present frame is abandoned, exports the video frame closest with present frame saved.
Optionally, this method further include: the first memory block of setting and the second memory block, and setting are used to indicate and currently deposit The instruction message of storage area;
It is described to save present frame when detecting that present frame is normal, export the video closest with present frame saved Frame includes: the parsing instruction message, obtains the current memory area of instruction;
The normal present frame that will test is saved in the first memory block indicated by the instruction message;Described in output The video frame saved in the second memory block that instruction message does not indicate;And the current memory area in the instruction message is revised as Second memory block;Alternatively, the normal present frame that will test is saved in the second memory block indicated by the instruction message; Export the video frame saved in the first memory block that the instruction message does not indicate;And it will be currently stored in the instruction message It is revised as the first memory block in area;
It is described to abandon present frame when detecting present frame exception, export the video closest with present frame saved Frame includes: the parsing instruction message, obtains the current memory area of instruction;
The abnormal present frame that will test abandons, and exports and saves in the second memory block that the instruction message does not indicate Video frame;Alternatively, exporting the video frame saved in the first memory block that the instruction message does not indicate.
It optionally, include: from received video flowing from the parameter information that the frame head of the video flowing obtains the video flowing Frame head in, obtain the row parameter and column parameter of every frame of the video flowing;
The parameter information according to the video flowing successively carries out detection packet to every frame in the video flowing received It includes:
According to the row parameter and column parameter of every frame of the video flowing;Detect each frame video counts in the video flowing Line number in it is identical as the row parameter whether the columns in every one-frame video data in the identical and video flowing with Whether the column parameter is identical;
When the line number of present frame is identical as the row parameter in the video flowing, and columns is identical as the column parameter When, confirm that the present frame is normal frame;
When the line number of present frame in the video flowing and the row parameter be not identical, and/or, columns and the column parameter are not When identical, confirm that the present frame is abnormal frame.
Optionally, described when detecting present frame exception, present frame is abandoned, output has saved closest with present frame Video frame after, this method further comprises:
When the quantity for being consecutively detected abnormal frame is more than preset threshold, forward end returns to miscue information.
Optionally, the parameter information according to the video flowing successively carries out every frame in the video flowing received Before detection further include:
The video frame for obtaining the specified quantity after the frame head, according to the line number and column of the acquired video frame Number, verifies the parameter information of the video flowing.
The invention also discloses a kind of video control circuits of head-mounted display, which is characterized in that the circuit includes: transmitting-receiving Module, analysis module, detection module and memory module;
The transceiver module, the video flowing sent for receiving front-end;It is most adjacent to send the present frame stored in memory module Close video frame;
The analysis module, for obtaining the parameter information of the video flowing from the frame head of the video flowing;
The detection module, for the parameter information according to the video flowing, successively to every in the video flowing received Frame is detected;When detecting that present frame is normal, present frame is saved to memory module;It triggers described in the transceiver module transmission The video frame closest with present frame saved in memory module;When detecting present frame exception, present frame is abandoned, triggers institute It states transceiver module and sends the video frame closest with present frame saved in the memory module.
Optionally, the memory module includes: the first register and the second register;
Detection module, the normal present frame for will test are saved in the first register indicated by instruction message In;Export the video frame saved in the second register;And the actual registers in the instruction message are revised as the second deposit Device;Alternatively, the normal present frame that will test is saved in the second register indicated by the instruction message;Output first The video frame saved in register;And the actual registers in the instruction message are revised as the first register;
The abnormal present frame that will test abandons, and exports and saves in the second register that the instruction message does not indicate Video frame;Alternatively, exporting the video frame saved in the first register that the instruction message does not indicate.
Optionally, the analysis module, for from the frame head of received video flowing, obtaining every frame of the video flowing Row parameter and column parameter;
The detection module, for the row parameter and column parameter according to every frame of the video flowing;Detect the video The line number in every one-frame video data in stream it is identical as the row parameter whether each frame in the identical and video flowing Whether the columns and the column parameter in video data are identical;
When the line number of present frame is identical as the row parameter in the video flowing, and columns is identical as the column parameter When, judge the present frame for normal frame;When the line number of present frame in the video flowing and the row parameter be not identical, and/or, When columns and the column parameter be not identical, judge the present frame for abnormal frame.
Optionally, the detection module abandons present frame when detecting present frame exception, export saved with After the closest video frame of present frame, it is also used to when detecting that abnormal frame is more than preset threshold, forward end returns to mistake and mentions Show information.
Optionally, the detection module, in the parameter information according to the video flowing, successively in the video flowing received Every frame detected before,
It is also used to obtain the video frame of the specified quantity after the frame head, according to the line number of the acquired video frame And columns, the parameter information of the video flowing is verified.
In conclusion being believed for the video flowing of different-format by obtaining the parameter of video flowing of the format in the present invention Breath, and then the video flowing sent to front end detects;And in the case where detecting present frame exception, present frame is abandoned, The video frame closest with present frame saved is exported, the quality and fluency of video output is ensure that the maximum extent, makes The phenomenon that user is obtained when output end watches video, video cardton will not be experienced.And solve it is in the prior art wear it is aobvious Show that device in the case where transmission of video appearance mistake, not can be carried out reparation, head-mounted display can not be just during transmission of video Often the problem of work.
Detailed description of the invention
Fig. 1 is a kind of flow chart of head-mounted display video control method in the present invention;
Fig. 2 is a kind of detail flowchart of head-mounted display video control method in the present invention;
Fig. 3 is a kind of structural schematic diagram of head-mounted display video control circuit in the present invention;
Fig. 4 is a kind of detailed construction schematic diagram of head-mounted display video control circuit in the present invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention Formula is made also to be described in detail.
Fig. 1 is a kind of flow chart of head-mounted display video control method, shown in Figure 1, this method packet in the present invention Include following steps.
Step 101, the video flowing that receiving front-end is sent obtains the parameter information of video flowing from the frame head of video flowing.
Step 102, according to the parameter information of video flowing, successively every frame in the video flowing received is detected;
Step 103, when detecting that present frame is normal, present frame is saved, output has saved closest with present frame Video frame;
In step 103, the video frame closest with present frame refers to, immediate with the received time of present frame, It and is the video frame having been saved in register.
Step 104, when detecting present frame exception, present frame is abandoned, output has saved closest with present frame Video frame.
In an embodiment of the present invention, which can realize on FPGA, therefore, In the operation of above-mentioned steps 101~104, can be realized by FPGA.
It can be seen from the above, in the present invention, for the video flowing of different-format, the parameter of the video flowing by obtaining the format Information, and then the video flowing sent to front end detects;And in the case where detecting present frame exception, abandon current Frame exports the video frame closest with present frame saved.It is passed to solve head-mounted display in the prior art in video In defeated process, in the case that mistake occurs in transmission of video, it not can be carried out reparation, cause user's to be unable to asking for normal use Topic.
Fig. 2 is a kind of detail flowchart of head-mounted display video control method, shown in Figure 2, the party in the present invention Method includes the following steps.
Step 201, the video flowing that receiving front-end is sent.
Step 202, the parameter information of video flowing is obtained from the frame head of video flowing.
In an embodiment of the present invention, the parameter information obtained in the frame head of video flowing is every frame of current video stream Row parameter and column parameter.
Specifically, for video flowing in an rgb format, the video flowing of 1080P, wherein there is 1920 column pictures in each video frame Vegetarian refreshments and 1080 row pixels, to be the video resolution for realizing 1920X1080.Therefore, for a kind of fixed format In video flowing, the information of row parameter therein and column parameter is fixed, therefore can be by successively to the video of front end transmission Each video frame in stream is detected, and whether normal judges current video frame, and then judges current video frame with the presence or absence of different Normal situation.
In other embodiments of the invention, it can also be other parameters information, as long as may determine that current video stream is No there are exceptions, and this is no longer going to repeat them.
Step 203, the video frame for obtaining the specified quantity after frame head, according to the line number and column of acquired video frame Number.
Step 204, the parameter information of video flowing is verified.If the verification passes, then step 205 is carried out, if tested Card does not pass through, then return step 202.
In above-mentioned steps 203 and step 204, in a specific embodiment of the invention, in order to further determine working as Whether preceding video flowing is to stablize effective video stream;Row parameter and column parameter and then acquisition can also be got from frame head The video frame of specified quantity after frame head, line number in video frame and columns by comparing the specified quantity whether in frame head The row parameter of acquisition is identical as column parameter, verifies to the parameter information of the video flowing.
Step 205, according to the parameter information of video flowing, successively every frame in the video flowing received is detected.
In step 205, according to the row parameter and column parameter of every frame of video flowing;Detect each frame view in video flowing Line number of the frequency in it is identical with row parameter whether the columns and column ginseng in every one-frame video data in identical and video flowing Whether number is identical.
Step 206, judge whether present frame is normal.Step 207 is carried out if normal, carries out step if abnormal 208。
In step 206, in an embodiment of the present invention, when the line number of present frame in video flowing and row parameter phase Together, when and columns is identical as column parameter, then judge present frame for normal frame.When the line number of present frame in video flowing and row parameter It is not identical, and/or, when columns and column parameter be not identical, then judge present frame for abnormal frame.
Step 207, when detecting that present frame is normal, present frame is saved, output has saved closest with present frame Video frame.
In an embodiment of the present invention, in order to more preferably realize the processing of the output to video flowing, the first storage of setting Area and the second memory block, the first memory block and the second memory block are orderly used to storage and detect normal video frame;Further, if Set the instruction message for being used to indicate current memory area.In a specific embodiment of the invention, set instruction is currently deposited The instruction message of storage area, can be and specified by front end;Be also possible to Initialize installation, i.e., it, will be in instruction message in initialization Current memory area be set as the first memory block.
In step 207, the instruction message is parsed, the current memory area of instruction is obtained;What be will test normally works as Previous frame is saved in the first memory block indicated by instruction message;It is saved in the second memory block that output instruction message does not indicate Video frame;And the second memory block is revised as in the current memory area in instruction message;Alternatively, the normal present frame that will test It is saved in the second memory block indicated by instruction message;Export the video frame saved in the first memory block;And by instruction message In current memory area be revised as the first memory block;
In a specific embodiment of the invention, indicate that current memory area is the first memory block in instruction message, when In the case that previous frame is nth frame;When nth frame be normal frame, then nth frame is saved in the first memory block, output second storage The video frame saved in area;The second memory block is revised as in current memory area in instruction message;When N+1 frame be normal frame, Then part N+1 frame is saved in the second memory block, the video frame of the nth frame saved in the first memory block is exported, by instruction message In current memory area be revised as the first memory block.It is arranged and is pushed away with this, until all videos frame end of transmission.
Step 208, when detecting present frame exception, present frame is abandoned, output has saved closest with present frame Video frame.
In a step 208, since abnormal video frame cannot normally be shown, it is therefore desirable to which what be will test is abnormal current Frame abandons;In addition, user feels mistake frame, or the video adapter as caused by video frame loss in order to prevent, in step In rapid 208, the instruction message is parsed, obtains the current memory area of instruction;The second memory block that output instruction message does not indicate The video frame of middle preservation;Alternatively, the video frame saved in the first memory block that output instruction message does not indicate.It exports and has saved The video frame closest with present frame, since the video frame saved is all normal video frame, and with it is current closest Video frame where memory block can be obtained by instruction message.
In the above embodiment of the invention, when N+2 frame is abnormal frame, then by the discarding of N+2 frame, wherein currently refer to Show and indicate that current memory area is the first memory block in message, then exports the saved in the second memory block that instruction message does not indicate The video frame of N+1 frame.And continue to obtain the video frame of N+3 frame.If N+3 frame is normal frame, by the video of N+3 frame Frame is saved in the first memory block, the N+1 frame video frame saved in the second memory block that output instruction message does not indicate;And it will It is revised as the second memory block in current memory area in instruction message.If N+3 frame is abnormal frame, N+3 frame is abandoned, is continued The video frame of the N+1 frame saved in second memory block of output.Until after the video flowing of front end transmission is normal, so that output Video flowing can normally be shown.
Step 209, when detecting that abnormal frame is more than preset threshold, forward end returns to miscue information.
In step 209, in the above-described embodiments, since N+2 frame, the case where continuous multiple frames are all abnormal frames Under, i.e., when the quantity of abnormal frame is more than preset threshold, that is, illustrate that front end is likely to occur failure, repetition has sent normal video frame Through nonsensical, that is, need to restart the transmission of video flowing.Such as user is needed to carry out restarting the hardware such as head-mounted display Operation;Therefore, it solves the problems, such as video exception as soon as possible for the ease of user, user experience is improved, in a kind of tool of the invention In body embodiment, when detecting that abnormal frame is more than 5 frame, forward end returns to miscue information.It is specific in one kind of the invention In embodiment, the miscue information of return can be to prompt user's hardware fault, need to restart head-mounted display.
The invention also discloses a kind of video control circuit of head-mounted display, which is able to solve to solve existing Head-mounted display in technology in the case where transmission of video appearance mistake, not can be carried out reparation, lead during transmission of video It applies the problem of being unable to normal use of family.
In an embodiment of the present invention, which can be realized by FPGA, i.e., circuit provided by the present invention can To be realized by the circuit in FPGA.Fig. 3 is a kind of structural schematic diagram of the video control circuit of head-mounted display in the present invention, Shown in Figure 3, which includes: transceiver module 301, analysis module 302, detection module 303 and memory module 304;
Transceiver module 301, the video flowing sent for receiving front-end;Send the video frame stored in memory module.
In a specific embodiment of the invention, transceiver module 301 corresponds to the video reception pin in FPGA, is connecing When receiving the process for the video flowing that front end is sent, on video stream synchronization that front end is transmitted to local clock, to avoid working as When the video flowing of front end breaks down and clock also disappears therewith, there is the case where influencing the data processing module of rear end.
Analysis module 302, for obtaining the parameter information of video flowing from the frame head of video flowing.
In an embodiment of the present invention, analysis module 302 obtains the parameter information of video flowing from the frame head of video flowing, And judge the video format of this video flowing.It being exemplified as, the format of data flow detected is 720p or 1080p etc., Further, can also determine whether data flow detected is stable.
Detection module 303 successively carries out every frame in the video flowing received for the parameter information according to video flowing Detection;When detecting that present frame is normal, present frame is saved to memory module, the transceiver module 301 is triggered and sends described deposit The video frame closest with present frame saved in storage module 304;When detecting present frame exception, present frame, triggering are abandoned The transceiver module 301 sends the video frame closest with present frame saved in the memory module.
In an embodiment of the present invention, when detection module 303 detects present frame exception, present frame is abandoned, is repeated Triggering transceiver module 301 send the video frame closest with present frame saved in the memory module, until video recovery just Often.
Fig. 4 is a kind of detailed construction schematic diagram of head-mounted display video control circuit in the present invention.Referring to fig. 4, it stores Module 304 includes: the first register 3041 and the second register 3042;The first memory block of first register 3041 correspondence, second Register 3042 corresponds to the second memory block.
Detection module 303, the normal present frame for will test are saved in the first deposit indicated by instruction message 3041 in device;Export the video frame saved in the second register 3042;And the actual registers in instruction message are revised as Two registers 3042;Alternatively, the normal present frame that will test is saved in the second register 3042 indicated by instruction message In;Export the video frame saved in the first register 3041;And the actual registers in instruction message are revised as the first deposit Device 3041.
The abnormal present frame that will test abandons, and saves in the second register 3042 that output instruction message does not indicate Video frame;Alternatively, the video frame saved in the first register 3041 that output instruction message does not indicate.
In an embodiment of the present invention, transceiver module 301 is sending the first register 3041 and the second register The process of the video frame stored in 3042 is made to write storage region and reads storage region using the method for being similar to ping-pong operation Without intersection, prevent the same time from operating to same storage region always.
In a specific embodiment of the invention, analysis module 302, for obtaining from the frame head of received video flowing Take the row parameter and column parameter of every frame of video flowing.
In a specific embodiment of the invention, detection module 303, for according to the row parameter of every frame of video flowing with And column parameter;Detect video flowing in every one-frame video data in line number it is identical as row parameter whether identical and video flowing In every one-frame video data in columns and column parameter it is whether identical;When the line number of present frame in video flowing and row parameter phase Together, when and columns is identical as column parameter, judge present frame for normal frame;When the line number of present frame and row parameter be not in video flowing It is identical, and/or, when columns and column parameter be not identical, judge present frame for abnormal frame.
In a specific embodiment of the invention, detection module 303, when detecting present frame exception, discarding is worked as Previous frame after exporting the video frame closest with present frame saved, is also used to super in the quantity for being consecutively detected abnormal frame When crossing preset threshold, forward end returns to miscue information.
In a specific embodiment of the invention, detection module 303, it is successively right in the parameter information according to video flowing Before every frame in the video flowing received is detected, it is also used to obtain the video frame of the specified quantity after frame head, according to The line number and columns of acquired video frame, verify the parameter information of video flowing.
Combined with specific embodiments below, the working condition of the device in the application is described in detail: the input of FPGA The video flowing that pin receiving front-end is sent, FPGA examine the line number and columns of every frame video frame in the video flowing received It surveys.When detecting that current video frame is in the lock state, i.e., the line number of current video frame and columns are all normal, then will be in register The video frame transmission of preservation is gone out.When detecting that current video frame is in out-of-lock state, i.e., line number or columns in current video frame It is abnormal, i.e. when the video flowing of front end input there are problems that stopping, closest video frame that FPGA will then be saved in register It transfers out.
It can be seen from the above, for the video flowing of different-format in the present invention, the parameter of the video flowing by obtaining the format Information, and then the video flowing sent to front end detects;And in the case where detecting present frame exception, abandon current Frame exports the video frame closest with present frame saved.So that user will not experience view when output end watches video The phenomenon that frequency Caton.And head-mounted display in the prior art is solved during transmission of video, transmission of video occurs wrong In the case where accidentally, it not can be carried out reparation, lead to the problem of being unable to normal use of user.
The above is merely preferred embodiments of the present invention, it is not intended to limit the scope of the present invention.It is all in this hair Any modification, equivalent replacement, improvement and so within bright spirit and principle, are included within the scope of protection of the present invention.

Claims (6)

1. a kind of head-mounted display video control method, which is characterized in that this method comprises:
The video flowing that receiving front-end is sent, the parameter information of the video flowing is obtained from the frame head of the video flowing;Wherein, from institute It includes: to obtain the view from the frame head of received video flowing that the frame head for stating video flowing, which obtains the parameter information of the video flowing, The row parameter and column parameter of every frame of frequency stream;
The video frame for obtaining the specified quantity after the frame head is right according to the line number and columns of the acquired video frame The parameter information of the video flowing is verified;
According to the parameter information of the video flowing, successively every frame in the video flowing received is detected;
When detecting that present frame is normal, present frame is saved, exports the video frame closest with present frame saved;
When detecting present frame exception, present frame is abandoned, exports the video frame closest with present frame saved;
First memory block and the second memory block are set, and setting is used to indicate the instruction message of current memory area;
It is described to save present frame when detecting that present frame is normal, export the video frame packet closest with present frame saved It includes: parsing the instruction message, obtain the current memory area of instruction;
The normal present frame that will test is saved in the first memory block indicated by the instruction message;Export the instruction The video frame saved in the second memory block that message does not indicate;And the current memory area in the instruction message is revised as second Memory block;Alternatively, the normal present frame that will test is saved in the second memory block indicated by the instruction message;Output The video frame saved in the first memory block that the instruction message does not indicate;And the current memory area in the instruction message is repaired It is changed to the first memory block;
It is described to abandon present frame when detecting present frame exception, export the video frame packet closest with present frame saved It includes: parsing the instruction message, obtain the current memory area of instruction;
The abnormal present frame that will test abandons, and exports the video saved in the second memory block that the instruction message does not indicate Frame;Alternatively, exporting the video frame saved in the first memory block that the instruction message does not indicate.
2. the method according to claim 1, wherein the parameter information according to the video flowing, successively right Every frame in the video flowing received carries out detection
According to the row parameter and column parameter of every frame of the video flowing;It detects in every one-frame video data in the video flowing Line number it is identical as the row parameter whether the columns in every one-frame video data in the identical and video flowing with it is described Whether column parameter is identical;
When the line number of present frame is identical as the row parameter in the video flowing, and columns is identical as the column parameter, really Recognizing the present frame is normal frame;
When the line number of present frame in the video flowing and the row parameter be not identical, and/or, columns and the column parameter be not identical When, confirm that the present frame is abnormal frame.
3. present frame is abandoned the method according to claim 1, wherein described when detecting present frame exception, Exporting the video frame closest with present frame saved includes:
When the quantity for being consecutively detected abnormal frame is more than preset threshold, forward end returns to miscue information.
4. a kind of video control circuit of head-mounted display, which is characterized in that the circuit includes: transceiver module, analysis module, inspection Survey module and memory module;
The transceiver module, the video flowing sent for receiving front-end;Send the video frame stored in memory module;
The analysis module, for obtaining the parameter information of the video flowing from the frame head of the video flowing;Wherein, for from connecing In the frame head of the video flowing of receipts, the row parameter and column parameter of every frame of the video flowing are obtained;
The detection module successively carries out every frame in the video flowing received in the parameter information according to the video flowing Before detection, it is also used to obtain the video frame of the specified quantity after the frame head, according to the row of the acquired video frame Several and columns, verifies the parameter information of the video flowing;
The detection module, for the parameter information according to the video flowing, successively to every frame in the video flowing received into Row detection;When detecting that present frame is normal, present frame is saved to memory module;It triggers the transceiver module and sends the storage The video frame closest with present frame saved in module;When detecting present frame exception, present frame is abandoned, the receipts are triggered Hair module sends the video frame closest with present frame saved in the memory module;
The memory module includes: the first register and the second register;
Detection module, the normal present frame for will test are saved in the first register indicated by instruction message;It is defeated The video frame saved in the second register out;And the actual registers in the instruction message are revised as the second register;Or Person, the normal present frame that will test are saved in the second register indicated by the instruction message;The first deposit of output The video frame saved in device;And the actual registers in the instruction message are revised as the first register;
The abnormal present frame that will test abandons, and exports the video saved in the second register that the instruction message does not indicate Frame;Alternatively, exporting the video frame saved in the first register that the instruction message does not indicate.
5. circuit according to claim 4, which is characterized in that
The detection module, for the row parameter and column parameter according to every frame of the video flowing;It detects in the video flowing Every one-frame video data in line number it is identical as the row parameter whether each frame video in the identical and video flowing Whether the columns and the column parameter in data are identical;
When the line number of present frame is identical as the row parameter in the video flowing, and columns is identical as the column parameter, sentence The present frame that breaks is normal frame;When the line number of present frame in the video flowing and the row parameter be not identical, and/or, columns When not identical as the column parameter, judge the present frame for abnormal frame.
6. circuit according to claim 4, which is characterized in that
The detection module successively carries out every frame in the video flowing received in the parameter information according to the video flowing Before detection, it is also used to when the quantity for being consecutively detected abnormal frame is more than preset threshold, forward end returns to miscue information.
CN201510219203.4A 2015-04-30 2015-04-30 A kind of head-mounted display video control method and circuit Active CN104883623B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510219203.4A CN104883623B (en) 2015-04-30 2015-04-30 A kind of head-mounted display video control method and circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510219203.4A CN104883623B (en) 2015-04-30 2015-04-30 A kind of head-mounted display video control method and circuit

Publications (2)

Publication Number Publication Date
CN104883623A CN104883623A (en) 2015-09-02
CN104883623B true CN104883623B (en) 2018-12-18

Family

ID=53950929

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510219203.4A Active CN104883623B (en) 2015-04-30 2015-04-30 A kind of head-mounted display video control method and circuit

Country Status (1)

Country Link
CN (1) CN104883623B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106878702B (en) * 2017-02-24 2018-12-21 青岛海信电器股份有限公司 The method and apparatus of FPGA are controlled in a kind of laser television
CN106878706B (en) * 2017-02-24 2019-02-15 青岛海信电器股份有限公司 The method and apparatus of FPGA are controlled when laser television video signal transmission failure
CN108600748A (en) * 2017-02-24 2018-09-28 青岛海信电器股份有限公司 The method that FPGA detects video signal transmission failure in laser television
CN109218685B (en) * 2018-11-20 2021-05-04 广东电网有限责任公司 Video signal output method and device
CN110646699A (en) * 2019-10-10 2020-01-03 北京嘀嘀无限科技发展有限公司 Charging pile fault identification method, storage medium, charging pile and electronic equipment
CN114268832B (en) * 2021-12-20 2024-05-28 杭州逗酷软件科技有限公司 Repairing method, electronic equipment and computer storage medium
CN116132728A (en) * 2022-12-29 2023-05-16 深圳创维-Rgb电子有限公司 Abnormal image frame processing method and related device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0478217A2 (en) * 1990-09-28 1992-04-01 Sony United Kingdom Limited Motion dependent video signal processing
CN1905663A (en) * 2006-07-31 2007-01-31 华为技术有限公司 Method and apparatus of frame frequency conversion
CN101287122A (en) * 2008-05-23 2008-10-15 清华大学 Video decoding method with active buffer management and complexity control function
CN101511030A (en) * 2009-03-30 2009-08-19 北京中星微电子有限公司 Method and system for processing video data transmission deletion
CN101697577A (en) * 2009-10-27 2010-04-21 中兴通讯股份有限公司 Video sending/receiving device and method
CN103517027A (en) * 2012-06-29 2014-01-15 联想(北京)有限公司 Video data processing method and electronic equipment
CN103679623A (en) * 2012-09-18 2014-03-26 成都方程式电子有限公司 Image deformation solving structure
CN104301767A (en) * 2014-09-29 2015-01-21 四川长虹电器股份有限公司 Method for achieving synchronous television video playing on mobile phone

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0478217A2 (en) * 1990-09-28 1992-04-01 Sony United Kingdom Limited Motion dependent video signal processing
CN1905663A (en) * 2006-07-31 2007-01-31 华为技术有限公司 Method and apparatus of frame frequency conversion
CN101287122A (en) * 2008-05-23 2008-10-15 清华大学 Video decoding method with active buffer management and complexity control function
CN101511030A (en) * 2009-03-30 2009-08-19 北京中星微电子有限公司 Method and system for processing video data transmission deletion
CN101697577A (en) * 2009-10-27 2010-04-21 中兴通讯股份有限公司 Video sending/receiving device and method
CN103517027A (en) * 2012-06-29 2014-01-15 联想(北京)有限公司 Video data processing method and electronic equipment
CN103679623A (en) * 2012-09-18 2014-03-26 成都方程式电子有限公司 Image deformation solving structure
CN104301767A (en) * 2014-09-29 2015-01-21 四川长虹电器股份有限公司 Method for achieving synchronous television video playing on mobile phone

Also Published As

Publication number Publication date
CN104883623A (en) 2015-09-02

Similar Documents

Publication Publication Date Title
CN104883623B (en) A kind of head-mounted display video control method and circuit
CN106375793B (en) video structured information superposition method, user terminal and superposition system
CN105704481B (en) The method and system of video interface Air conduct measurement
US10268334B2 (en) System for communicating avionics information through portable electronic devices
US11176386B2 (en) System and method for continuous operation of vision/radar systems in presence of bit errors
CN108875837A (en) Device and method for test target identification equipment
CN109309831A (en) The test method and device of video delay in video conference
CN102426514B (en) Synchronous displaying method and device for large-screen spliced wall
CN111858318B (en) Response time testing method, device, equipment and computer storage medium
CN104601770A (en) Terminal and smoothness evaluation method thereof
CN112055198A (en) Video testing method and device, electronic equipment and storage medium
CN106878706B (en) The method and apparatus of FPGA are controlled when laser television video signal transmission failure
CN104834498A (en) Signal processing method and device
CN104053002A (en) Video decoding method and device
CN108600748A (en) The method that FPGA detects video signal transmission failure in laser television
CN105100793A (en) Television and television signal interface detection method
CN104935436B (en) A kind of user authentication method and system
CN105704485A (en) Display device performance parameter detection method and system
CN116016823B (en) Video injection device and system
CN109831666B (en) Method for detecting transmission quality of digital video signal
US10917453B2 (en) Method and system for assessing the quality of a video transmission over a network
CN108574814A (en) Data processing method and device
CN104795014B (en) The abnormality eliminating method and system of multiple signals combination windowing
CN114281631A (en) Method and device for testing image processing chip and electronic equipment
US20150256820A1 (en) Shutter glass and control system and method for controlling the same

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant