CN110430423A - Method of data synchronization, system, device and readable storage medium storing program for executing - Google Patents

Method of data synchronization, system, device and readable storage medium storing program for executing Download PDF

Info

Publication number
CN110430423A
CN110430423A CN201910692050.3A CN201910692050A CN110430423A CN 110430423 A CN110430423 A CN 110430423A CN 201910692050 A CN201910692050 A CN 201910692050A CN 110430423 A CN110430423 A CN 110430423A
Authority
CN
China
Prior art keywords
frame
synchronization
data
embedded
generation module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910692050.3A
Other languages
Chinese (zh)
Inventor
张俊君
杨安康
欧智辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Createk Electronics Co Ltd
Original Assignee
Shenzhen Createk Electronics 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 Shenzhen Createk Electronics Co Ltd filed Critical Shenzhen Createk Electronics Co Ltd
Priority to CN201910692050.3A priority Critical patent/CN110430423A/en
Publication of CN110430423A publication Critical patent/CN110430423A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N13/00Stereoscopic video systems; Multi-view video systems; Details thereof
    • H04N13/30Image reproducers
    • H04N13/302Image reproducers for viewing without the aid of special glasses, i.e. using autostereoscopic displays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N13/00Stereoscopic video systems; Multi-view video systems; Details thereof
    • H04N13/30Image reproducers
    • H04N13/332Displays for viewing with the aid of special glasses or head-mounted displays [HMD]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N13/00Stereoscopic video systems; Multi-view video systems; Details thereof
    • H04N13/30Image reproducers
    • H04N13/398Synchronisation thereof; Control thereof

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)

Abstract

The invention discloses a kind of method of data synchronization, the following steps are included: in generation module when receiving synchronization signal embedded instructions, video data is obtained based on synchronization signal embedded instructions, then generation module encodes each frame of video data based on default embedded rule, obtain the frame of embedded synchronization signal, following generation module successively sends the frame of each embedded synchronization signal to recovery module, so that recovery module generates synchronous control signal.The invention also discloses a kind of device, synchronization system and readable storage medium storing program for executing.By the mark for embedding left and right synchronization signal in video data, equipment through display end decodes the synchronous mark in left and right, regeneration synchronous control signal is sent to 3D glasses, 3D glasses control the switch state of left eyeglass and right eyeglass according to synchronous control signal, it realizes 3D glasses in turn and the picture of viewing is precisely synchronous, the present invention can be realized based on existing 3D system simultaneously, without increasing additional equipment newly.

Description

Method of data synchronization, system, device and readable storage medium storing program for executing
Technical field
The present invention relates to 3D technology field more particularly to a kind of method of data synchronization, system, device and readable storage mediums Matter.
Background technique
3D display principle is to receive different pictures respectively using human eye or so, and then brain is by folding image information Life is aggravated, the image with stereo directional effect is constituted.The preferable 3D format of the effect of mainstream mainly has frame sequence at present (Frame Sequential) and frame encapsulate (Frame Packing), other 3D formats such as left and right (Left and Right), (Top and Bottom) up and down, since its resolution ratio halves, so can be poorer than frame sequence and frame encapsulation in effect.Frame envelope Dress is the standard output format of 3D blue light, since patent limits, can only be used on Blu-ray instrument, and frame sequence then can be general It is used on logical PC, it mainly sends picture by the way of 2 times of frame per second, and the picture of right and left eyes alternately displays.With industry Development, processing mode is simple, and the frame sequence mode for not needing additional hardware cost is increasingly becoming mainstream.
Currently, frame sequence mode has following defect: left and right synchronization signal cannot be distinguished.The transmitting of 3D signal and common 2D believe Number by the way of the same, such as HDMI, DVI, DP etc. are not directed to 3D signal specially treated, then using as 2D Transfer mode, so, be free from left and right synchronization signal inside signal.Although synchronization signal can be handled in the display of rear end Middle recovery, still, since left and right alternately displays, it is left eye or right eye, institute that present frame picture, which cannot be distinguished, in system at all With after putting on 3D glasses, the probability right and left eyes for having half are anti-, at this time switching right and left needed to show, give user experience band To bother.Using frame sequence 3D format, user needs frequent switching right and left picture, can be there are two mode: first is that on glasses Switching, this just proposes the function of right and left eyes switching to glasses, and current eyeglasses supplier considers for cost etc., all takes mostly The function of the right and left eyes that disappeared switching;Second is that switching at the end PC, some 3D players can provide the function.But if In the case that software does not support left and right to switch, and glasses do not support left and right to switch, user just has 50% probability can not be normal Use 3D function.
Above content is only used to facilitate the understanding of the technical scheme, and is not represented and is recognized that above content is existing skill Art.
Summary of the invention
The main purpose of the present invention is to provide a kind of method of data synchronization, system, device and readable storage medium storing program for executing, it is intended to Existing frame sequence is solved without synchronization signal, leads to the technical problem high using 3D functional cost.
To achieve the above object, the present invention provides a kind of method of data synchronization, and the method for data synchronization includes following Step:
The generation module obtains view when receiving synchronization signal embedded instructions, based on the synchronization signal embedded instructions Frequency evidence;
The generation module encodes each frame of the video data based on default embedded rule, obtains embedded same Walk the frame of signal;
The generation module successively sends the frame of each embedded synchronization signal to the recovery module, so that the reduction mould Block generates synchronous control signal.
Further, in one embodiment, the video data includes left-eye image frame and eye image frame, the life Each frame of the video data is encoded based on default embedded rule at module, obtains the step of the frame of embedded synchronization signal Suddenly include:
The generation module is based on first group of preset value and encodes to left-eye image frame, obtains a left side for embedded synchronization signal Eye picture frame;
The generation module is based on second group of preset value and encodes to eye image frame, obtains the right side of embedded synchronization signal Eye picture frame.
Further, in one embodiment, the generation module is based on first group of preset value to the progress of left-eye image frame Coding, the step of obtaining the left-eye image frame of embedded synchronization signal include:
The generation module is based on the first coding rule, determines the first pixel to be encoded in left-eye image frame;
The generation module is based on first group of preset value and encodes to first pixel, obtains described embedded The left-eye image frame of synchronization signal.
Further, in one embodiment, the generation module is based on second group of preset value to the progress of eye image frame Coding, the step of obtaining the eye image frame of embedded synchronization signal include:
The generation module is based on the second coding rule, determines the second pixel to be encoded in eye image frame;
The generation module is based on second group of preset value and encodes to second pixel, obtains described embedded The eye image frame of synchronization signal.
Further, in one embodiment, the synchronization system includes 3D glasses, and the generation module is successively sent respectively The frame of a embedded synchronization signal is to the recovery module, so that after the step of recovery module generates synchronous control signal, Further include:
The recovery module is when receiving the frame that the generation module is sent, based on default decoding data to receiving Frame is decoded, and generates synchronous control signal based on decoded data;
The recovery module sends the synchronous control signal to the 3D glasses.
Further, in one embodiment, the recovery module is when receiving the frame that the generation module is sent, base The step of being decoded in default decoding data to the frame received, generating synchronous control signal based on decoded data is wrapped It includes:
The recovery module is based on the default decoding data, is decoded to the frame received, obtains decoded number According to;
The recovery module determines whether the decoded data meet the first decision rule;
When determining that the decoded data meet the first decision rule, the recovery module generates left synchronously control letter Number;
The recovery module determines whether the decoded data meet the second decision rule;
When determining that the decoded data meet the second decision rule, the recovery module generates right synchronously control letter Number.
Further, in one embodiment, the recovery module sends the synchronous control signal to the 3D glasses The step of after, further includes:
The 3D glasses are when receiving the synchronous control signal, based on described 3D of synchronous control signal control The left eyeglass of mirror and the switch state of right eyeglass.
In addition, to achieve the above object, the present invention also provides a kind of synchronization system, the synchronization system include: memory, Processor and it is stored in the data synchronization program that can be run on the memory and on the processor, the synchronous journey of the data The step of sequence realizes method of data synchronization described in any of the above embodiments when being executed by the processor.
In addition, to achieve the above object, the present invention also provides a kind of readable storage medium storing program for executing, being deposited on the readable storage medium storing program for executing Data synchronization program is contained, the data synchronization program realizes the data side of synchronization described in any of the above embodiments when being executed by processor The step of method.
The present invention, when receiving synchronization signal embedded instructions, is embedded based on the synchronization signal and is referred in the generation module It enables and obtains video data, then the generation module compiles each frame of the video data based on default embedded rule Code, obtains the frame of embedded synchronization signal, and the following generation module successively sends the frame of each embedded synchronization signal to described Recovery module, so that the recovery module generates synchronous control signal.By the mark for embedding left and right synchronization signal in video data Know, the equipment through display end decodes the synchronous mark in left and right, and regeneration synchronous control signal is sent to 3D glasses, 3D glasses root The switch state of left eyeglass and right eyeglass is controlled according to synchronous control signal, and then the picture for realizing 3D glasses and viewing is precisely same Step, while the present invention can be realized based on existing 3D system, without increasing additional equipment newly.
Detailed description of the invention
Fig. 1 is the structural schematic diagram of data synchronous system in hardware running environment that the embodiment of the present invention is related to;
Fig. 2 is the flow diagram of method of data synchronization first embodiment of the present invention;
Fig. 3 is the flow diagram of method of data synchronization second embodiment of the present invention;
Fig. 4 is the functional block diagram of data synchronization unit embodiment of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
As shown in Figure 1, Fig. 1 is the structural schematic diagram of system in hardware running environment that the embodiment of the present invention is related to.
As shown in Figure 1, synchronization system includes generation module, recovery module and 3D glasses, which may include: processor 1001, for example, CPU, network interface 1004, customer interface 1003, memory 1005, communication bus 1002.Wherein, communication bus 1002 for realizing the connection communication between these components.Customer interface 1003 may include display screen (Display), input list First such as keyboard (Keyboard), optional customer interface 1003 can also include standard wireline interface and wireless interface.Network connects Mouth 1004 may include optionally standard wireline interface and wireless interface (such as WI-FI interface).Memory 1005 can be high speed RAM memory is also possible to stable memory (non-volatile memory), such as magnetic disk storage.Memory 1005 It optionally can also be the storage device independently of aforementioned processor 1001.
It will be understood by those skilled in the art that the restriction of the not structure paired systems of system structure shown in Fig. 1, can wrap It includes than illustrating more or fewer components, perhaps combines certain components or different component layouts.
As shown in Figure 1, as may include operating system, network communication in a kind of memory 1005 of readable storage medium storing program for executing Module, customer interface module and data synchronization program.
In the system shown in figure 1, network interface 1004 is mainly used for connecting background server, carries out with background server Data communication;Customer interface 1003 is mainly used for connecting client (client), carries out data communication with client;And processor 1001 can be used for calling the data synchronization program stored in memory 1005.
In the present embodiment, system includes: memory 1005, processor 1001 and is stored on the memory 1005 simultaneously The data synchronization program that can be run on the processor 1001, wherein stored in the calling memory 1005 of processor 1001 When data synchronization program, the step of executing the method for data synchronization that each embodiment of the application provides.
The present invention also provides a kind of method of data synchronization, are method of data synchronization first of the present invention implementation referring to Fig. 2, Fig. 2 The flow diagram of example.
The embodiment of the invention provides the embodiments of method of data synchronization, it should be noted that although showing in flow charts Go out logical order, but in some cases, it can be with the steps shown or described are performed in an order that is different from the one herein.
In the present embodiment, which includes:
Step S10, the generation module is when receiving synchronization signal embedded instructions, based on the embedded finger of the synchronization signal It enables and obtains video data;
In the present embodiment, three kinds of 3D effect point is realized, first is that active 3D technology, second is that passive type 3D technology, third is that Naked eye 3D technology, the prerequisite of active 3D are to need projector inherently to have 3D function, and viewer needs to match first Wear active 3D anaglyph spectacles;Passive type 3D projection is exactly to be realized with two projectors, plays the film source of right and left eyes respectively, and Plus polarizing film or the glass etc. of red green, red indigo plant before projector, cooperate suitable glasses, to make right and left eyes that can only distinguish See respective film source, and reaches 3D effect;Naked eye 3D technology, that is, not by allow any tool two eyes in left and right from Seeing that two width have the picture of parallax, different from display screen, they are emitted to brain, people will generate three-dimensional sense, Its same principle of parallax also with human eye with spectacle 3D technology, by sending to difference respectively to viewer or so two Picture, to reach three-dimensional visual effect.
The present invention is suitable for all 3D display technologies, including active 3D technology, passive type 3D technology and naked eye 3D technology, For convenience, the present invention is illustrated by taking active 3D technology as an example.The equipment of active 3D technology includes generating 3D letter Number source, receive 3D signal display end and 3D anaglyph spectacles, wherein the present invention in generation module setting generate 3D The source of signal, for built-in synchronization signal mark in video signals;Recovery module is arranged in display end, for parsing synchronization Signal, and then synchronous control signal is generated according to synchronization signal so that 3D glasses according to synchronous control signal control left eyeglass and The switch state of right eyeglass.Specifically, when generation module receives synchronization signal embedded instructions, then illustrate to regard 3D at this time Frequency obtains video data according to the synchronization signal embedded instructions according to the operation for carrying out embedded synchronization signal.
Step S20, the generation module encode each frame of the video data based on default embedded rule, obtain To the frame of embedded synchronization signal;
In the present embodiment, active 3D is mainly to realize 3D effect, frame sequence by improving the refresh rate of picture Before and after frames correspond to two groups of pictures of left eye and right eye, continuous interlaced display comes out, while Synchronization Control shutter type 3 D spectacles Left and right eyeglass switch, enables left and right eyes to see respective picture at the time of correct, spectators is allowed to see the stereoscopic effect of 3D. In short, in the present invention, 3D video data includes two kinds of frame, it is left-eye image frame and eye image frame, difference respectively The left eyeglass and right eyeglass of corresponding 3D glasses need to open 3D glasses that is, when the screen of display end shows left-eye image frame Left eyeglass, close right eyeglass;Similarly, when the screen of display end shows eye image frame, need to open the right side of 3D glasses Eyeglass closes left eyeglass.
Therefore, 3D glasses need precisely synchronous with the picture of viewing, can be by left and right synchronization signal built in each frame Mark, the equipment through display end decodes the synchronous mark in left and right, and regeneration synchronous control signal is sent to 3D glasses, 3D Mirror controls the switch state of left eyeglass and right eyeglass according to synchronous control signal.
Specifically, step S20 includes:
Step S21, the generation module are based on first group of preset value and encode to left-eye image frame, obtain embedded synchronization The left-eye image frame of signal;
In the present embodiment, in the mark of left and right synchronization signal built in each frame, that is, to some or all of frame picture Vegetarian refreshments is encoded, and in recovery module by decoding to these pixels after being encoded, can be recognized accurately and to be received Frame is left-eye image frame or eye image frame.
Specifically, step S21 includes:
Step a, the generation module are based on the first coding rule, determine the first pixel to be encoded in left-eye image frame Point;
In the present embodiment, a frame image includes the pixel of preset quantity, and specific quantity is related with the resolution ratio of image, Such as the format standard of 720P (Progressive, line by line) digital TV in high resolution, 720P are that one kind reaches under progressive scan The display format of 1280 × 720 resolution ratio, including 780,000 or so dynamic pixel.Each pixel can use RGB or YUV table Show, wherein RGB is the color for representing three channels of red, green, blue, and " Y " indicates brightness (Luminance or Luma), also It is grayscale value, that " U " and " V " is indicated is then coloration (Chrominance or Chroma), and effect is description colors of image and saturation Degree, the color for specified pixel.For convenience, it is illustrated with the RGB of pixel.
Specifically, pixel all in a frame image is all supported to encode, to be encoded to determine according to specific circumstances Pixel.Pixel is encoded, the rgb value after coding, can be had any different with former rgb value, so, when formulating coding rule, need Consider code efficiency and image effect, pixel all in frame image can be encoded, realizes embedded synchronization signal Mark, part pixel can also be determined according to coding rule, is then encoded to these pixels, and then is realized embedded same Walk signal identification.
Step b, the generation module are based on first group of preset value and encode to first pixel, obtain institute State the left-eye image frame of embedded synchronization signal.
In the present embodiment, it after determining pixel to be encoded according to the first coding rule, is treated using first group of preset value Encoded pixels point is encoded, and the left-eye image frame of the embedded synchronization signal is obtained.Because the rgb value of pixel includes 3 Channel, each channel can be carried out encoding, these preset values are for the value of RGB dedicated tunnel to be become odd number or even number. According to pre-set coding rule, the dedicated tunnel for treating encoded pixels point respectively is encoded.As long as it should be noted that Left-eye image frame is different with the coding rule of eye image frame, i.e., built-in left and right synchronization signal identifies different, in this way reduction mould Root tuber is according to the synchronization signal mark recognized, so that it may determine that present frame is left-eye image frame or eye image frame.
For example, being encoded to the channel G of a pixel of left-eye image frame, the channel G of the pixel after coding For odd number, at this point, first group of preset value is to contain 2 values: 0xFE and 0x01 encodes the channel G, i.e. G=(G& 0xFE) | the lowest order of 0x01, the G after coding are 1, i.e., the channel G is odd number;Similarly, if it is desired to making the G of the pixel after coding logical Road is even number, and first group of preset value is to contain 1 value: 0xFE encodes the channel G, i.e. G=(G&0xFE), after coding The lowest order of G be 0, i.e., the channel G is even number.From numerically calculating, the value more probability in a channel of a pixel are as follows: 1/ 256*256*256=0.000000059 can be ignored, with the naked eye watching, even more not for whole frame picture Have any difference.
Step S22, the generation module are based on second group of preset value and encode to eye image frame, obtain embedded synchronization The eye image frame of signal.
In the present embodiment, in the mark of left and right synchronization signal built in each frame, that is, to some or all of frame picture Vegetarian refreshments is encoded, in recovery module by being decoded to these pixels after being encoded, so that it may be recognized accurately, connect The frame received is left-eye image frame or eye image frame.
Specifically, step S22 includes:
Step c, the generation module are based on the second coding rule, determine the second pixel to be encoded in eye image frame Point;
In the present embodiment, a frame image includes the pixel of preset quantity, and all pixels are all supported in a frame image Coding determines pixel to be encoded according to specific circumstances, that is, generation module determines right according to the second coding rule Second pixel to be encoded in eye picture frame.
It should be noted that pixel is encoded, the rgb value after coding can have any different with former rgb value, so, it is formulating It when coding rule, needs to consider code efficiency and image effect, pixel all in frame image can be encoded, realized Embedded synchronization signal mark, part pixel can also be determined according to coding rule, is then encoded to these pixels, into And realize embedded synchronization signal mark.
Step d, the generation module are based on second group of preset value and encode to second pixel, obtain institute State the eye image frame of embedded synchronization signal.
In the present embodiment, it after determining pixel to be encoded according to the second coding rule, is treated using second group of preset value Encoded pixels point is encoded, and the left-eye image frame of the embedded synchronization signal is obtained.Because the rgb value of pixel includes 3 Channel, each channel can be carried out encoding, these preset values are for the value of RGB dedicated tunnel to be become odd number or even number. According to pre-set coding rule, the dedicated tunnel for treating encoded pixels point respectively is encoded.As long as it should be noted that Left-eye image frame is different with the coding rule of eye image frame, and built-in left and right synchronization signal identifies different, such recovery module According to the synchronization signal mark recognized, so that it may determine that present frame is left-eye image frame or eye image frame.
For example, being encoded to the channel G of a pixel of left-eye image frame, the channel G of the pixel after coding For odd number, at this point, first group of preset value is to contain 2 values: 0xFE and 0x01 encodes the channel G, i.e. G=(G& 0xFE) | the lowest order of 0x01, the G after coding are 1, i.e., the channel G is odd number;Similarly, if it is desired to making the G of the pixel after coding logical Road is even number, and first group of preset value is to contain 1 value: 0xFE encodes the channel G, i.e. G=(G&0xFE), after coding The lowest order of G be 0, i.e., the channel G is even number.From numerically calculating, the value more probability in a channel of one pixel are as follows: 1/ 256*256*256=0.000000059 for whole frame picture, so that it may ignore, with the naked eye watch, even more will not There is any difference.Further, if left-eye image frame and eye image frame are compiled to the channel G of the first pixel Code, then can allow the channel G of left-eye image frame is odd number, and the channel G of eye image frame is even number.
Step S30, the generation module successively send the frame of each embedded synchronization signal to the recovery module, so that institute It states recovery module and generates synchronous control signal.
In the present embodiment, generation module carries out left-eye image frame according to first group of preset value and the first coding rule Coding realizes built-in left synchronization signal mark;According to second group of preset value and the second coding rule to left-eye image frame into Row coding realizes built-in right synchronization signal mark.It should be noted that each frame in video data is successively to carry out respectively Coding, i.e., generation module encodes present frame, and then by the frame after coding, that is, the frame of embedded synchronization signal is sent To recovery module, so that recovery module generates the synchronous control signal of control 3D glasses, the picture essence of 3D glasses and viewing is realized It is plesiochronous.
The method of data synchronization that the present embodiment proposes, by receiving synchronization signal embedded instructions in the generation module When, video data is obtained based on the synchronization signal embedded instructions, then the generation module is based on default embedded rule to institute The each frame for stating video data is encoded, and the frame of embedded synchronization signal is obtained, and the following generation module is successively sent respectively The frame of a embedded synchronization signal is to the recovery module, so that the recovery module generates synchronous control signal.By in video The mark of Data Encapsulation or so synchronization signal, the equipment through display end decode the synchronous mark in left and right, regenerate synchronously control Signal is sent to 3D glasses, and 3D glasses control the switch state of left eyeglass and right eyeglass according to synchronous control signal, and then realize 3D glasses and the picture of viewing are precisely synchronous, while the present invention can be realized based on existing 3D system, be set without newly-increased additional It is standby.
The second embodiment of method of data synchronization of the present invention is proposed, in the present embodiment referring to Fig. 3 based on first embodiment In, after step S30, further includes:
Step S40, the recovery module is when receiving the frame that the generation module is sent, based on default decoding data pair The frame received is decoded, and generates synchronous control signal based on decoded data;
In the present embodiment, it when recovery module receives the frame of generation module transmission, needs to judge to be currently received Frame is left-eye image frame or eye image frame, therefore is decoded according to default decoding data to the frame received, obtains and synchronizes Then signal identification generates synchronous control signal according further to decoded frame.
Specifically, step S40 includes:
Step S41, the recovery module are based on the default decoding data, are decoded, are solved to the frame received Data after code;
In the present embodiment, generation module is encoded by treating the dedicated tunnel of encoded pixels point, the rule of coding It is then exactly to allow the lowest order in channel for 0 (even number) or 1 (odd number), therefore default decoding data can be 0x01, identify using 0x01 Channel value is odd number or even number out.For example, if left-eye image frame and eye image frame are all the channels G to the first pixel It is encoded, the channel G of left-eye image frame is odd number, and the channel G of eye image frame is even number, then recovery module reads present frame The G channel value of first pixel, when G channel value is odd number, i.e. when G&0x01==0x01, which is left-eye image frame;Work as G When channel value is even number, i.e. when G&0x01==0x00, which is eye image frame.
Step S42, the recovery module determine whether the decoded data meet the first decision rule;
Step S43, when determining that the decoded data meet the first decision rule, the recovery module generates left same Step control signal;
In the present embodiment, the first decision rule is related to the first coding rule, and generation module is according to the first coding rule Pixel to be encoded has been determined, then the first decision rule is just decoded these pixels to be encoded, the data after being decrypted. First decision rule will also provide the rule of left synchronization signal mark, which channel that generation module treats encoded pixels carries out It encodes, the channel value is odd number or even number after coding, these require to be embodied in the first decision rule.For example, generating mould Block all encodes the first pixel of left-eye image frame and the channel R of the second pixel, the R of the two pixels after coding Channel value is odd number, then it is odd number that the first decision rule, which is exactly the R channel value of the first pixel and the second pixel,.
Specifically, recovery module is based on default decoding data, is decoded to the frame received, obtains decoded number According to then further determining that whether decoded data meet the first decision rule, first sentence if decoded data meet Set pattern then, then illustrates that the frame being currently received is left-eye image frame, then generates left synchronous control signal.
Step S44, the recovery module determine whether the decoded data meet the second decision rule;
Step S45, when determining that the decoded data meet the second decision rule, the recovery module generates right same Step control signal.
In the present embodiment, the second decision rule is related to the second coding rule, and generation module is according to the second coding rule Determine pixel to be encoded, then the second decision rule is just decoded these pixels to be encoded, the data after being decrypted.The Two decision rules will also provide the rule of right synchronization signal mark, which channel that generation module treats encoded pixels is compiled Yard, the channel value is odd number or even number after coding, these require to be embodied in the second decision rule.For example, generation module The channel R of the first pixel and the second pixel to eye image frame is all encoded, and the R of the two pixels is logical after coding Road value is even number, then it is even number that the second decision rule, which is exactly the R channel value of the first pixel and the second pixel,.
Specifically, recovery module is based on default decoding data, is decoded to the frame received, obtains decoded number According to then further determining that whether decoded data meet the second decision rule, second sentence if decoded data meet Set pattern then, then illustrates that the frame being currently received is eye image frame, then generates right synchronous control signal.
Step S50, the recovery module send the synchronous control signal to the 3D glasses.
In the present embodiment, synchronization signal is exactly to the machinery equipment offer same time reference for needing synchronization process information Signal, such as all television relays, mobile communication etc., synchronization signal can be a switching signal, be also possible to one it is continuous Pulse.In the present invention, synchronous control signal is exactly to be used to that 3D glasses to be notified when to open eyeglass switch and need to keep more For a long time.Specifically, recovery module sends synchronous control signal to 3D glasses in real time, and the eyeglass for controlling 3D glasses switchs shape State.
Further, in one embodiment, after step S50 further include: the 3D glasses are receiving the synchronous control When signal processed, the left eyeglass of the 3D glasses and the switch state of right eyeglass are controlled based on the synchronous control signal.
In the present embodiment, synchronous control signal is switched for controlling the eyeglass of 3D glasses, and synchronous control signal includes Left synchronous control signal and right synchronous control signal then control 3D glasses when 3D glasses receive left synchronous control signal Left eyeglass is opened, and right eyeglass is closed;, when 3D glasses receive right synchronous control signal, then the right eyeglass for controlling 3D glasses is beaten It opens, left eyeglass is closed.
The method of data synchronization that the present embodiment proposes is receiving what the generation module was sent by the recovery module When frame, the frame received is decoded based on default decoding data, generates synchronous control signal based on decoded data, and The recovery module sends the synchronous control signal to the 3D glasses afterwards, realizes and accurately identifies left-eye image frame and right eye Picture frame, and then synchronous control signal is generated, realize the eyeglass switch state for being precisely controlled 3D glasses.
The present invention further provides a kind of data synchronization units, are data synchronization unit of the present invention implementation referring to Fig. 4, Fig. 4 The functional block diagram of example.
Module 10 is obtained, the generation module is when receiving synchronization signal embedded instructions, based in the synchronization signal Embedding instruction obtains video data;
Coding module 20, the generation module compile each frame of the video data based on default embedded rule Code obtains the frame of embedded synchronization signal;
Sending module 30, the generation module successively send the frame of each embedded synchronization signal to the recovery module, with The recovery module is set to generate synchronous control signal.
Further, the coding module 20 is also used to:
First coding unit, the generation module are based on first group of preset value and encode to left-eye image frame, obtain interior The left-eye image frame of embedding synchronization signal;
Second coding unit, the generation module are based on second group of preset value and encode to eye image frame, obtain interior The eye image frame of embedding synchronization signal.
Further, first coding unit is also used to:
The generation module is based on the first coding rule, determines the first pixel to be encoded in left-eye image frame;
The generation module is based on first group of preset value and encodes to first pixel, obtains described embedded The left-eye image frame of synchronization signal.
Further, second coding unit is also used to:
The generation module is based on the second coding rule, determines the second pixel to be encoded in eye image frame;
The generation module is based on second group of preset value and encodes to second pixel, obtains described embedded The eye image frame of synchronization signal.
Further, the data synchronization unit is also used to:
Decoder module, the recovery module is when receiving the frame that the generation module is sent, based on default decoding data The frame received is decoded, generates synchronous control signal based on decoded data;
Transmission module, the recovery module send the synchronous control signal to the 3D glasses.
Further, the decoder module is also used to:
The recovery module is based on the default decoding data, is decoded to the frame received, obtains decoded number According to;
The recovery module determines whether the decoded data meet the first decision rule;
When determining that the decoded data meet the first decision rule, the recovery module generates left synchronously control letter Number;
The recovery module determines whether the decoded data meet the second decision rule;
When determining that the decoded data meet the second decision rule, the recovery module generates right synchronously control letter Number.
Further, the data synchronization unit is also used to:
Control module, the 3D glasses are based on the synchronous control signal control when receiving the synchronous control signal Make the left eyeglass of the 3D glasses and the switch state of right eyeglass.
In addition, the embodiment of the present invention also proposes a kind of readable storage medium storing program for executing, data are stored on the readable storage medium storing program for executing Synchronization program, the data synchronization program realize the step of method of data synchronization in above-mentioned each embodiment when being executed by processor Suddenly.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the system that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or system institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or system.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in one as described above In readable storage medium storing program for executing (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a system equipment (can be hand Machine, computer, server, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of method of data synchronization, which is characterized in that be applied to data synchronous system, the synchronization system includes generation module And recovery module, the method for data synchronization the following steps are included:
The generation module obtains video counts when receiving synchronization signal embedded instructions, based on the synchronization signal embedded instructions According to;
The generation module encodes each frame of the video data based on default embedded rule, obtains embedded synchronous letter Number frame;
The generation module successively sends the frame of each embedded synchronization signal to the recovery module, so that the recovery module is raw At synchronous control signal.
2. method of data synchronization as described in claim 1, which is characterized in that the video data includes left-eye image frame and the right side Eye picture frame, the generation module encode each frame of the video data based on default embedded rule, are embedded The step of frame of synchronization signal includes:
The generation module is based on first group of preset value and encodes to left-eye image frame, obtains the left eye figure of embedded synchronization signal As frame;
The generation module is based on second group of preset value and encodes to eye image frame, obtains the right eye figure of embedded synchronization signal As frame.
3. method of data synchronization as claimed in claim 2, which is characterized in that the generation module is based on first group of preset value pair The step of left-eye image frame is encoded, and the left-eye image frame of embedded synchronization signal is obtained include:
The generation module is based on the first coding rule, determines the first pixel to be encoded in left-eye image frame;
The generation module is based on first group of preset value and encodes to first pixel, obtains the embedded synchronization The left-eye image frame of signal.
4. method of data synchronization as claimed in claim 2, which is characterized in that the generation module is based on second group of preset value pair The step of eye image frame is encoded, and the eye image frame of embedded synchronization signal is obtained include:
The generation module is based on the second coding rule, determines the second pixel to be encoded in eye image frame;
The generation module is based on second group of preset value and encodes to second pixel, obtains the embedded synchronization The eye image frame of signal.
5. method of data synchronization as described in claim 1, which is characterized in that the synchronization system includes 3D glasses, the life The frame of each embedded synchronization signal is successively sent at module to the recovery module, so that the recovery module generates synchronously control After the step of signal, further includes:
The recovery module when receiving the frame that the generation module is sent, based on default decoding data to the frame received into Row decoding generates synchronous control signal based on decoded data;
The recovery module sends the synchronous control signal to the 3D glasses.
6. method of data synchronization as claimed in claim 5, which is characterized in that the recovery module is receiving the generation mould When the frame that block is sent, the frame received is decoded based on default decoding data, generates synchronous control based on decoded data The step of signal processed includes:
The recovery module is based on the default decoding data, is decoded to the frame received, obtains decoded data;
The recovery module determines whether the decoded data meet the first decision rule;
When determining that the decoded data meet the first decision rule, the recovery module generates left synchronous control signal;
The recovery module determines whether the decoded data meet the second decision rule;
When determining that the decoded data meet the second decision rule, the recovery module generates right synchronous control signal.
7. method of data synchronization as claimed in claim 5, which is characterized in that the recovery module sends the synchronously control letter After the step of number to the 3D glasses, further includes:
The 3D glasses control the 3D glasses when receiving the synchronous control signal, based on the synchronous control signal The switch state of left eyeglass and right eyeglass.
8. a kind of data synchronization unit, which is characterized in that the data synchronization unit includes:
Module is obtained, the generation module is based on the synchronization signal embedded instructions when receiving synchronization signal embedded instructions Obtain video data;
Coding module, the generation module encode each frame of the video data based on default embedded rule, obtain The frame of embedded synchronization signal;
Sending module, the generation module successively send the frame of each embedded synchronization signal to the recovery module, so that described Recovery module generates synchronous control signal.
9. a kind of data synchronous system, which is characterized in that the data synchronous system includes: memory, processor and is stored in On the memory and the data synchronization program that can run on the processor, the data synchronization program is by the processor The step of method of data synchronization as described in any one of claims 1 to 7 is realized when execution.
10. a kind of readable storage medium storing program for executing, which is characterized in that the data synchronization program is stored on the readable storage medium storing program for executing, Realizing the method for data synchronization as described in any one of claims 1 to 7 when the data synchronization program is executed by processor Step.
CN201910692050.3A 2019-07-26 2019-07-26 Method of data synchronization, system, device and readable storage medium storing program for executing Pending CN110430423A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910692050.3A CN110430423A (en) 2019-07-26 2019-07-26 Method of data synchronization, system, device and readable storage medium storing program for executing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910692050.3A CN110430423A (en) 2019-07-26 2019-07-26 Method of data synchronization, system, device and readable storage medium storing program for executing

Publications (1)

Publication Number Publication Date
CN110430423A true CN110430423A (en) 2019-11-08

Family

ID=68411274

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910692050.3A Pending CN110430423A (en) 2019-07-26 2019-07-26 Method of data synchronization, system, device and readable storage medium storing program for executing

Country Status (1)

Country Link
CN (1) CN110430423A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024021776A1 (en) * 2022-07-26 2024-02-01 惠州Tcl移动通信有限公司 Image display device and method based on 3d display technology

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110279645A1 (en) * 2009-01-20 2011-11-17 Koninklijke Philips Electronics N.V. Transferring of 3d image data
CN102469328A (en) * 2010-11-15 2012-05-23 三星电子株式会社 Computer, monitor, and method for providing 3D image
CN102547313A (en) * 2010-12-21 2012-07-04 北京睿为视讯技术有限公司 Three-dimensional video play system and method thereof
CN103442241A (en) * 2013-08-14 2013-12-11 京东方科技集团股份有限公司 3D displaying method and 3D displaying device
CN105763867A (en) * 2016-04-20 2016-07-13 青岛海信电器股份有限公司 Processing method and apparatus of 3D display signal, and 3D player

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110279645A1 (en) * 2009-01-20 2011-11-17 Koninklijke Philips Electronics N.V. Transferring of 3d image data
CN102469328A (en) * 2010-11-15 2012-05-23 三星电子株式会社 Computer, monitor, and method for providing 3D image
CN102547313A (en) * 2010-12-21 2012-07-04 北京睿为视讯技术有限公司 Three-dimensional video play system and method thereof
CN103442241A (en) * 2013-08-14 2013-12-11 京东方科技集团股份有限公司 3D displaying method and 3D displaying device
CN105763867A (en) * 2016-04-20 2016-07-13 青岛海信电器股份有限公司 Processing method and apparatus of 3D display signal, and 3D player

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024021776A1 (en) * 2022-07-26 2024-02-01 惠州Tcl移动通信有限公司 Image display device and method based on 3d display technology

Similar Documents

Publication Publication Date Title
CN113593499B (en) Transitioning between video priority and graphics priority
CN105530504B (en) Stereoscopic video sequences coding system and method
CN102461181B (en) For providing stereoscopic image reproducing device and the method for 3D user interface
CN102196285B (en) The method of adjustment 3D rendering quality and 3D display device
KR101651442B1 (en) Image based 3d video format
CA2559131C (en) Stereoscopic parameter embedding apparatus and stereoscopic image reproducer
CN105139789B (en) 3D picture reproducers and method
CN102918847B (en) The method and apparatus of display image
CN105812771B (en) Digit receiver and in digit receiver processing caption data method
US6956964B2 (en) Apparatus for producing real-time anaglyphs
CN101198074B (en) Stereoscopic picture format conversion method and display system using the same
JP2011090079A (en) Display device, display method and computer program
KR20100002035A (en) Method and apparatus for processing 3d video image
JP2011015216A (en) Video system, and video display device and video viewing eyeglasses used in video system
CN113206971B (en) Image processing method and display device
TWI539790B (en) Apparatus, method and software product for generating and rebuilding a video stream
US20090262125A1 (en) Rendering A Multiple Viewpoint Image Into A Single Frame Buffer Using Off-Screen Rendering Surfaces
JP2011242773A (en) Stereoscopic image display device and driving method for the same
JPWO2012127836A1 (en) Generation device, display device, playback device, glasses
CN102439553B (en) Apparatus and method for reproducing stereoscopic images, providing a user interface appropriate for a 3d image signal
KR101382058B1 (en) Crosstalk correction amount evaluating apparatus and crosstalk correction amount evaluating method
CN110430423A (en) Method of data synchronization, system, device and readable storage medium storing program for executing
CN107333122B (en) A kind of projection draws stereoscopic display play system and method more
CN104125448A (en) Display processing system and method and electronic equipment
KR101768538B1 (en) Method for adjusting 3-Dimension image quality, 3D display apparatus, 3D glasses and System for providing 3D image

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20191108

RJ01 Rejection of invention patent application after publication