WO2018210082A1 - 数据传输方法、数据加载装置、数据解析装置以及数据传输系统 - Google Patents

数据传输方法、数据加载装置、数据解析装置以及数据传输系统 Download PDF

Info

Publication number
WO2018210082A1
WO2018210082A1 PCT/CN2018/083140 CN2018083140W WO2018210082A1 WO 2018210082 A1 WO2018210082 A1 WO 2018210082A1 CN 2018083140 W CN2018083140 W CN 2018083140W WO 2018210082 A1 WO2018210082 A1 WO 2018210082A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
original
target
target video
video data
Prior art date
Application number
PCT/CN2018/083140
Other languages
English (en)
French (fr)
Inventor
李颖祎
Original Assignee
京东方科技集团股份有限公司
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 京东方科技集团股份有限公司 filed Critical 京东方科技集团股份有限公司
Priority to US16/320,687 priority Critical patent/US11109008B2/en
Publication of WO2018210082A1 publication Critical patent/WO2018210082A1/zh

Links

Images

Classifications

    • 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/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video stream to a specific local network, e.g. a Bluetooth® network
    • H04N21/43637Adapting the video stream to a specific local network, e.g. a Bluetooth® network involving a wireless protocol, e.g. Bluetooth, RF or wireless LAN [IEEE 802.11]
    • 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/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/42204User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N11/00Colour television systems
    • H04N11/06Transmission systems characterised by the manner in which the individual colour picture signal components are combined
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/32Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device
    • H04N1/32101Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title
    • H04N1/32144Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title embedded in the image data, i.e. enclosed or integrated in the image, e.g. watermark, super-imposed logo or stamp
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/46Embedding additional information in the video signal during the compression process
    • H04N19/467Embedding additional information in the video signal during the compression process characterised by the embedded information being invisible, e.g. watermarking
    • 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/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4122Peripherals receiving signals from specially adapted client devices additional display device, e.g. video projector
    • 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/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4126The peripheral being portable, e.g. PDAs or mobile phones
    • 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/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/64Circuits for processing colour signals

Definitions

  • the present disclosure relates to the field of wireless communications, and in particular, to a data transmission method, a data loading device, a data analysis device, and a data transmission system.
  • WiFi Wireless Fidelity
  • Bluetooth Wireless Fidelity
  • WiFi Wireless Fidelity
  • 2400-2483.5 MHz band the wireless spectrum resources are limited, so the frequency bands that can be allocated for wireless communication are also very limited, which greatly restricts the development of wireless communication technologies.
  • a data transmission method comprising:
  • the target video data and the original video data are displayed.
  • the original video data includes a plurality of original video frames, and each original video frame includes a plurality of original pixel points; and wherein the processing the original video data according to the data to be transmitted to obtain a target Video data includes:
  • each binary data string includes a plurality of data segments, and each data The segment corresponds to an original pixel point of the original video frame corresponding to the binary data string to which each data segment belongs;
  • each binary data string For each binary data string, changing the grayscale value of the original pixel point corresponding to each data segment according to the grayscale change value corresponding to each data segment of the binary data string, to obtain a plurality of target pixel points, wherein The plurality of target pixel points constitute one target video frame, and the plurality of target video frames corresponding to the plurality of binary data strings constitute the target video data.
  • the grayscale variation value includes at least one of a grayscale variation value of a red subpixel, a grayscale variation value of a green subpixel, and a grayscale variation value of a blue subpixel.
  • the changing the grayscale value of the original pixel corresponding to each data segment according to the grayscale change value corresponding to each data segment of the binary data string includes:
  • the grayscale value of the corresponding original pixel point is decreased by the first change value
  • the grayscale value of the corresponding original pixel point is increased by a second change value.
  • the method further includes: after the displaying the target video data and the original video data:
  • a data loading apparatus comprising:
  • Acquiring component configured to acquire original video data and data to be transmitted
  • a processor configured to process the original video data according to the to-be-transmitted data to obtain target video data
  • a display for displaying the target video data and the original video data.
  • the original video data includes a plurality of original video frames, each of the original video frames includes a plurality of original pixel points; and the processor is further configured to:
  • each binary data string includes a plurality of data segments, and each data The segment corresponds to an original pixel point of the original video frame corresponding to the binary data string to which each data segment belongs;
  • each binary data string For each binary data string, changing the grayscale value of the original pixel point corresponding to each data segment according to the grayscale change value corresponding to each data segment of the binary data string, to obtain a plurality of target pixel points, wherein The plurality of target pixel points constitute one target video frame, and the plurality of target video frames corresponding to the plurality of binary data strings constitute the target video data.
  • a data analysis apparatus including:
  • a collector configured to collect original video data and target video data, where the target video data is obtained by processing the original video data according to data to be transmitted;
  • a parser for parsing the original video data and the target video data to obtain the data to be transmitted.
  • the original video data includes a plurality of original video frames, each of the original video frames includes a plurality of original pixel points, the target video data includes a plurality of target video frames, and each of the target video frames includes a plurality of target pixel points, and wherein the plurality of target video frames are in one-to-one correspondence with the plurality of original video frames, and each target pixel point is one of original video frames corresponding to a target video frame to which the target pixel belongs Corresponding to the original pixel points;
  • the parser is further configured to: obtain, for each target video frame, a grayscale change value of each target pixel in the target video frame compared to the corresponding original pixel, and obtain the grayscale change value.
  • Corresponding data segments to obtain a binary data string, and converting the binary data string into original data, wherein the original data corresponding to the plurality of target video frames constitute the data to be transmitted.
  • FIG. 1 is a schematic diagram of a data transmission system provided by an embodiment of the present disclosure.
  • FIG. 2 is a flowchart of a data transmission method according to an embodiment of the present disclosure.
  • FIG. 3A is a flowchart of another data transmission method provided by an embodiment of the present disclosure.
  • FIG. 3B is a schematic diagram of splitting binary data into multiple binary data strings according to an embodiment of the present disclosure.
  • FIG. 3C is a schematic diagram of a corresponding manner of data segments and original pixel points provided by an embodiment of the present disclosure.
  • FIG. 3D is a schematic diagram of another corresponding manner of a data segment and an original pixel point provided by an embodiment of the present disclosure.
  • FIG. 3E is a schematic diagram of still another manner of correspondence between a data segment and an original pixel point according to an embodiment of the present disclosure.
  • FIG. 3F is a schematic diagram of a further correspondence between a data segment and an original pixel point according to an embodiment of the present disclosure.
  • FIG. 3G is a schematic diagram of changing a grayscale value of an original pixel point corresponding to a data segment to obtain a target pixel point according to an embodiment of the present disclosure.
  • FIG. 3H is a schematic diagram showing changes in brightness of original pixel points corresponding to data segment 1 compared to brightness of corresponding target pixel points according to an embodiment of the present disclosure.
  • FIG. 3I is a schematic diagram showing changes in brightness of original pixel points corresponding to data segment 0 compared to brightness of corresponding target pixel points according to an embodiment of the present disclosure.
  • FIG. 3J is a schematic diagram of display target video data and original video data provided by an embodiment of the present disclosure.
  • FIG. 3K is a schematic diagram of display target video data and original video data provided by an embodiment of the present disclosure.
  • FIG. 3L is a schematic diagram of luminance changes of six target pixel points compared to respective original pixel points provided by an embodiment of the present disclosure.
  • FIG. 4 is a structural block diagram of a data loading apparatus according to an embodiment of the present disclosure.
  • FIG. 5 is a structural block diagram of a data analysis apparatus according to an embodiment of the present disclosure.
  • FIG. 6 is a structural block diagram of another data loading apparatus according to an embodiment of the present disclosure.
  • FIG. 7 is a structural block diagram of another data analysis apparatus according to an embodiment of the present disclosure.
  • FIG. 1 is a schematic diagram of a data transmission system according to an embodiment of the present disclosure.
  • the data transmission system includes a data loading device 101 and a data analysis device 102.
  • the data loading device 101 can be an electronic device having a video playing function, such as a television, a computer, etc.
  • the data analyzing device 102 can be an electronic device having a shooting function, such as a smart phone, a tablet computer, etc., but embodiments of the present disclosure This is not specifically limited.
  • the data loading device 101 can process the original video data of the video to be played by using the data to be transmitted to obtain the target video data, and display the original video data and the target video data when the video is played.
  • the data parsing device 102 can collect the original video data and the target video data displayed by the data loading device 101 when playing the video by capturing or scanning, and parse the original video data and the target video data to obtain the data to be transmitted.
  • the data transmission system can perform data transmission through the video frames of the video being played. Since the display and acquisition of video frames are performed on the visible light band, the data transmission system does not need to occupy wireless spectrum resources for data transmission, and can be free from limited wireless spectrum resources.
  • the data transmission method includes the following steps 201-204.
  • the data loading device retrieves the raw video data.
  • the data loading device acquires data to be transmitted.
  • the data loading device processes the raw video data according to the data to be transmitted to obtain target video data. Therefore, the target video data includes the processed original video data and can reflect the data to be transmitted.
  • the data loading device displays the target video data and the original video data.
  • the data loading device processes the original video data with the data to be transmitted to obtain target video data, and displays the original video data and the target video data, and then collects
  • the data parsing means to the displayed original video data and the target video data can parse the original video data and the target video data to obtain data to be transmitted. Since the display and acquisition of the original video data and the target video data are performed on the visible light band, there is no need to occupy the wireless spectrum resources. Therefore, the data transmission method provided by the embodiments of the present disclosure may not be limited by limited wireless spectrum resources.
  • FIG. 3A is a flowchart of another data transmission method according to an embodiment. As shown in FIG. 3A, the data transmission method can be implemented in the data transmission system as shown in FIG. 1, and can include the following steps 301-306.
  • the data loading device acquires raw video data and data to be transmitted.
  • the data loading device can perform data transmission when playing video.
  • the data loading device needs to acquire video data of the video to be played and data to be transmitted, wherein the video data of the video to be played is the original video data described above.
  • the raw video data includes a plurality of original video frames, each original video frame including a plurality of original pixel points.
  • the data loading device can process the original video data by using the data to be transmitted to obtain the target video data, and perform video playback based on the original video data and the target video data, thereby performing the video playback process. data transmission.
  • the data loading device can receive a video play command sent by a remote controller, a data parsing device, or the like, the video play command being used to instruct the data loading device to play the video. After receiving the video playback instruction, the data loading device can acquire the original video data. Then, the data loading device can also receive a data transmission instruction sent by the remote controller, the data analysis device, and the like, and acquire the data to be transmitted after receiving the data transmission instruction. Of course, in some embodiments, the data loading device may also acquire both the original video data and the data to be transmitted after receiving the video playback instruction. Moreover, in some embodiments, the data loading device can also acquire the data to be transmitted before playing the video.
  • the data loading device When the data loading device acquires the data to be transmitted and detects that the video is being played by itself, the data loading device may acquire the original video data to perform data transmission when the video is played. In this case, the data loading device may prompt the user to receive data by using the data parsing device through a pop-up window, a prompt sound, or the like.
  • the user Xiao Ming wants to receive data from his mobile phone while watching the video.
  • Xiao Ming can use the remote control to turn on the TV, and can use the remote control to control the TV to play the video he wants to watch. peach blossom".
  • Xiao Ming can also use the remote controller to send a data transmission instruction to the television.
  • the television After receiving the data transmission instruction, the television can obtain the locally stored data to be transmitted, and the locally stored data to be transmitted can be the TV according to the user's needs. Pre-downloaded video data, etc.
  • timing at which the data loading device acquires the original video data and the data to be transmitted is merely exemplary, and there may be other timings for acquiring the original video data and the data to be transmitted.
  • the data loading device can process the original video data according to the data to be transmitted, as described in steps 302 and 303.
  • the data loading device converts the data to be transmitted into a plurality of binary data strings.
  • the data loading device can convert the acquired data to be transmitted into binary data and split the binary data into a plurality of binary data strings.
  • Each binary data string corresponds to an original video frame, each binary data string comprising a plurality of data segments, each data segment corresponding to an original pixel point of the one original video frame.
  • the number of data segments included in the binary data string may be the same as the number of original pixel points included in the original video frame corresponding to the binary data string. That is, the data segments in the binary data string may have a one-to-one correspondence with the original pixel points in the corresponding original video frame. Of course, the number of data segments included in the binary data string may also be smaller than the number of original pixel points included in the corresponding original video frame. In this case, a part of the original pixel points included in the original video frame may correspond to the data segment of the binary data string, and other original pixel points do not correspond to the data segment, which is not specifically limited by the embodiment of the present disclosure. .
  • the length of the above data segment may be 1 bit (English: bit). When the length of the data segment is 1 bit, the data segment may be 0 or 1. Of course, the length of the data segment may also be greater than 1 bit, which is not specifically limited in the embodiment of the present disclosure.
  • the technical process of splitting the binary data into a plurality of binary data strings will be described by taking the length of the data segment as 1 bit as an example.
  • the technical process when the length of the data segment is greater than 1 bit is the same as the technical process with the length of the data segment being 1 bit.
  • the data loading device may convert the acquired data to be transmitted X1 into binary data X2 of length n bits, and the data loading device may further determine that the number of original pixel points included in the original video frame is s. Then, the data loading device can sequentially intercept a plurality of binary data strings c from the binary data X2 from end to end, and ensure that the length of each intercepted binary data string c is s bits. Each of the binary data strings c thus intercepted corresponds to an original video frame y, and each of the data segments in the binary data string corresponds to one of the original original video frames.
  • the process of splitting the binary data string shown in FIG. 3B is merely exemplary, and of course, there are other split modes.
  • the data loading device may sequentially intercept the plurality of binary data strings c from the end of the binary data X2, or the length of the binary data string intercepted by the data loading device may be less than s bits or the like, which is not limitative.
  • each data segment in the binary data string corresponds to one of the original video frames in the original video frame corresponding to the binary data string.
  • the data segments correspond to the original pixel points.
  • FIGS. 3C, 3D, 3E, and 3F are four exemplary corresponding manners provided by the embodiments of the present disclosure.
  • the data segments in the binary data string may sequentially correspond to the original pixel points d in the original video frame y as indicated by the arrows in FIG. 3C. That is, the original pixel points in the original video frame correspond to the data segments in the binary data string from left to right row by row.
  • the data segments in the binary data string may sequentially correspond to the original pixel points d in the original video frame y as indicated by the arrows in FIG. 3D. That is, the original pixel points in the original video frame are successively connected end by line to the data segments in the binary data string.
  • the data segments in the binary data string may correspond to the original pixel points d in the original video frame y in order as indicated by the arrows in Fig. 3E. That is, the original pixel points in the original video frame correspond to the data segments in the binary data string in order from top to bottom.
  • the data segments in the binary data string may correspond to the original pixel points d in the original video frame y in order as indicated by the arrows in FIG. 3F. That is, the original pixel points in the original video frame are connected end by side in series with the data segments in the binary data string.
  • FIGS. 3C, 3D, 3E, and 3F are merely exemplary, and are not intended to limit the disclosure.
  • the data loading device changes the grayscale value of the original pixel point corresponding to each data segment according to the grayscale change value corresponding to each data segment of the binary data string to obtain multiple targets.
  • the plurality of target pixel points constitute a target video frame, and the plurality of target video frames corresponding to the plurality of binary data strings constitute the target video data.
  • step 303 will be described by taking the length of the data segment as 1 bit as an example.
  • the technical process of step 303 is the same as the technical process of step 303 when the length of the data segment is 1 bit.
  • the data loading device may store a mapping relationship between the data segment and the grayscale change value, and the mapping relationship may be as shown in Table 1:
  • the gray scale change value may include at least one of a gray scale change value of a red sub-pixel, a gray scale change value of a green sub-pixel, and a gray scale change value of a blue sub-pixel.
  • the data loading device may acquire a grayscale change value corresponding to each data segment based on a mapping relationship between the stored data segment and the grayscale change value, and then change each of the data segments according to the grayscale change value.
  • the grayscale value of the corresponding original pixel As shown in Table 1, when the data segment is 0, the data loading device may reduce the grayscale value of the original pixel corresponding to the data segment by the first change value m, and when the data segment is 1, the data loading device may The grayscale value of the original pixel corresponding to the data segment is increased by a second variation value n.
  • the first three original pixel points of the first line in the original video frame y1 are the original pixel points d1, d2, and d3, respectively, and the grayscale values of the original pixel points d1, d2, and d3 are respectively 50. , 65 and 50.
  • the data loading device may increase the grayscale value of the original pixel point d1. 5 to obtain a target pixel point h1 corresponding to the original pixel point d1, and the grayscale value of the target pixel point h1 is 55.
  • the data loading device can also obtain target pixel points h2 and h3 corresponding to the original pixel points d2 and d3, respectively, and the grayscale values of the target pixel points h2 and h3 are 60 and 55, respectively.
  • the grayscale value of each original pixel in the original video frame y1 to be changed in the same manner as the original pixel points d1, d2 and d3, a plurality of target pixel points can be obtained, and the plurality of target pixel points can be composed and The target video frame q1 corresponding to the original video frame y1.
  • the target pixel points h1, h2, and h3 are the first three target pixel points of the first line in the target video frame q1.
  • the gray scale change value may include a gray scale change value of a red sub-pixel, a gray scale change value of a green sub-pixel, and a gray scale change value of a blue sub-pixel.
  • increasing the grayscale value of the original pixel point d1 by 5 may mean that the grayscale value of the red subpixel of the original pixel point d1, the grayscale value of the green subpixel, and the grayscale value of the blue subpixel are respectively Increase by 5 to get the target pixel h1.
  • the data loading device may reduce the grayscale value of the original pixel corresponding to the data segment by the first change value m to obtain a corresponding target pixel, and when the data segment is 1.
  • the data loading device may increase the grayscale value of the original pixel corresponding to the data segment by a second variation value n to obtain a corresponding target pixel.
  • the increase of the gray scale value increases the brightness of the target pixel point compared to the brightness of the corresponding original pixel point
  • the decrease of the gray scale value reduces the brightness of the target pixel point compared to the brightness of the corresponding original pixel point. small. As shown in FIG.
  • the luminance L1 of the original pixel corresponding to the data segment 1 is smaller than the luminance L2 of the corresponding target pixel.
  • the luminance L1 of the original pixel corresponding to the data segment 0 is larger than the corresponding target pixel.
  • the brightness of the point L2 is large. Therefore, the data loading device can load the data to be transmitted based on the change of the brightness of each target pixel in the target video frame compared to the brightness of the corresponding original pixel, and the data analyzing device only needs to determine the brightness of the target pixel.
  • the data to be transmitted can be parsed by the change of the brightness of the corresponding original pixel. This data transmission method is relatively simple, and the hardware requirements of the data analysis device are low.
  • the first change value m and the second change value n may be set in advance by a technician.
  • m and n may both be positive numbers less than 50. It should be understood that the larger the values of m and n, the larger the difference in luminance between the target pixel and the corresponding original pixel, and the easier the data parsing device performs data parsing, but the more easily the video picture is distorted. In an embodiment of the present disclosure, the m and n may both be 5, which ensures that the data parsing device can easily perform data parsing, and on the other hand, avoids the phenomenon of video picture distortion.
  • the data loading device may increase the grayscale value of the original pixel point, and when the data segment is 1, the data loading device may reduce the grayscale value of the original pixel point; or, in the data segment When 0 or 1, the data loading device can increase the grayscale value of the original pixel; or, when the data segment is 0 or 1, the data loading device can reduce the grayscale value of the original pixel.
  • the embodiment of the present disclosure does not specifically limit this.
  • the data loading device displays the target video data and the original video data.
  • the data loading device may alternately display the original video frame contained in the original video data and the target video frame contained in the target video data. For example, as shown in FIG. 3J, the data loading device may display a frame of the target video frame q corresponding to the original video frame y after displaying one frame of the original video frame y. Alternatively, as shown in FIG. 3K, the data loading device may display a frame of the target video frame q corresponding to the last frame of the original video frame of the multi-frame original video frame after displaying the multi-frame original video frame y. Of course, there may be other ways of displaying the target video data and the original video data.
  • the data transmission method Since the number of original video frames and target video frames displayed per second is greater when the data loading device plays the video, the data transmission method provided by the embodiment of the present disclosure has a higher transmission rate.
  • the data loading device transmits data when playing Full HD Definition video and the length of the data segment is 1 bit.
  • the data transmission rate can reach:
  • 1920 is the number of pixels included in each line of the full HD video frame
  • 1080 is the number of pixels included in each column of the full HD video frame
  • 30 is the frame of the original video frame displayed per second during full HD video playback. number.
  • the data analysis device acquires the target video data and the original video data displayed by the data loading device.
  • the data loading device may prompt the user by using a pop-up window or a prompt tone before the data transmission is performed.
  • the user may open the camera of the data analysis device and collect the data loading device by means of camera shooting or scanning.
  • Target video data and raw video data may be further preset.
  • the data loading device may send a data receiving instruction to the data analyzing device when performing data transmission.
  • the data analyzing device can open its own camera to collect the target video data and the original video data displayed by the data loading device by means of camera shooting or scanning.
  • the manner in which the data parsing apparatus provided in the above description collects the target video data and the original video data displayed by the data loading apparatus is merely exemplary, and other acquisition modes may exist.
  • the data parsing device parses the original video data and the target video data to obtain data to be transmitted.
  • the data parsing device may acquire grayscale change values of each target pixel point in the target video frame compared to the corresponding original pixel point and acquire data corresponding to each grayscale change value. Segments to get a binary data string and convert the binary data string into raw data.
  • the original data corresponding to the plurality of target video frames may constitute data to be transmitted.
  • the data parsing apparatus can parse the data to be transmitted by determining the brightness of the target pixel in the target video data compared to the brightness change of the corresponding original pixel.
  • FIG. 3L shows a schematic diagram of luminance changes of six target pixel points compared to respective original pixel points. According to the schematic diagram, it can be seen that the data segments corresponding to the six target pixel points are 1, 1, 0, 0, 1, and 0, respectively.
  • the data loading device processes the original video data by using the data to be transmitted to obtain target video data, and displays the original video data and the target video data, so that the data is collected.
  • the data parsing device of the displayed original video data and the target video data can parse the to-be-transmitted data according to the original video data and the target video data. Since the display and acquisition of the original video data and the target video data are performed on the visible light band, there is no need to occupy the wireless spectrum resources. Therefore, the data transmission method provided by the embodiments of the present disclosure may not be limited by the limited wireless spectrum resources.
  • FIG. 4 is a block diagram of a data loading apparatus 400 according to an embodiment of the present disclosure.
  • the apparatus includes an acquisition component 401, a processor 402, and a display 403.
  • the acquisition component 401 is configured to acquire raw video data and data to be transmitted.
  • the processor 402 is configured to process the raw video data based on the data to be transmitted to obtain target video data.
  • the target video data includes processed original video data and is capable of reflecting the data to be transmitted.
  • the display 403 is configured to display the target video data and the original video data.
  • the raw video data includes a plurality of original video frames, each original video frame including a plurality of original pixel points.
  • the processor 402 is configured to convert data to be transmitted into a plurality of binary data strings, each binary data string including a plurality of data segments, the plurality of binary data strings being in one-to-one correspondence with the plurality of original video frames, And each data segment corresponds to an original pixel point of the original video frame corresponding to the binary data string to which it belongs.
  • each binary data string For each binary data string, changing the grayscale value of the original pixel point corresponding to each data segment according to the grayscale change value corresponding to each data segment of the binary data string, to obtain a plurality of target pixel points,
  • the target pixel points constitute a target video frame, and the plurality of target video frames corresponding to the plurality of binary data strings constitute the target video data.
  • the data loading apparatus processes the original video data by using the data to be transmitted to obtain the target video data, and displays the original video data and the target video data, so that the displayed original video data and the target video data are collected.
  • the data parsing device is capable of parsing the data to be transmitted according to the original video data and the target video data. Since the display and acquisition of the original video data and the target video data are performed on the visible light band, there is no need to occupy the wireless spectrum resources.
  • FIG. 5 is a block diagram of a data analysis apparatus 500 according to an embodiment of the present disclosure.
  • the apparatus includes a collector 501 and a parser 502.
  • the collector 501 is configured to acquire raw video data and target video data obtained by processing the original video data according to data to be transmitted.
  • the target video data includes the processed original video data and is capable of reflecting the data to be transmitted.
  • the parser 502 is configured to parse the original video data and the target video data to obtain the data to be transmitted.
  • the raw video data includes a plurality of original video frames, each original video frame including a plurality of original pixel points.
  • the target video data includes a plurality of target video frames, each target video frame including a plurality of target pixel points.
  • the plurality of target video frames are in one-to-one correspondence with the plurality of original video frames, and each target pixel point corresponds to one original pixel point of the original video frame corresponding to the target video frame to which the target pixel belongs.
  • the parser 502 is configured to: obtain, for each target video frame, a grayscale change value of each target pixel in the target video frame compared to the corresponding original pixel, and acquire data corresponding to the grayscale change value. Segments to get a binary data string and convert the binary data string into raw data.
  • the original data corresponding to the plurality of target video frames constitutes the data to be transmitted.
  • the data parsing apparatus collects original video data and target video data displayed by the data loading device, and parses the data to be transmitted according to the original video data and the target video data, so that the original video data and the target video data are obtained.
  • the display and acquisition are performed on the visible light band, so there is no need to occupy wireless spectrum resources.
  • FIG. 6 is a structural block diagram of another data loading apparatus according to an embodiment of the present disclosure.
  • the data loading device includes:
  • Memory 601, display 602, and processor 603 including one or more processing cores.
  • Memory 601, display 602, and processor 603 including one or more processing cores.
  • the structure illustrated in Figure 6 does not constitute a limitation to the data loading device. It should be understood that the data loading device may include more or fewer components than illustrated.
  • the memory 601 stores software programs and modules, and the processor 603 executes various functional applications and data processing by executing software programs and modules stored on the memory 601.
  • the memory 601 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the data storage area may be stored according to Data created by the use of the data loading device (such as audio data, etc.) and the like.
  • the memory 601 may include random access memory (RAM), nonvolatile memory (such as any one or more of read only memory (ROM), flash memory, EPROM, EEPROM, etc.), and a disk storage device. . Accordingly, memory 601 can also include a memory controller to provide processor 603 access to memory 601.
  • Display 602 can be used to display video, images, and the like.
  • Display 602 can include a display panel.
  • the display panel may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), an LED (Light Emitting Diode), or the like.
  • the processor 603 can perform the acquisition or processing functions of the data loading device by running or executing software programs and/or modules stored in the memory 601, as well as acquiring data stored in the memory 601.
  • processor 603 can include one or more processing cores.
  • a non-transitory computer readable storage medium when instructions in the storage medium are executed by a processor of a data loading device, to enable the data loading device to perform the data transfer method described above: For example, acquiring original video data; acquiring data to be transmitted; processing the original video data according to the data to be transmitted to obtain target video data.
  • the target video data includes processed original video data and is capable of reflecting the to-be-transmitted data; displaying the target video data and the original video data.
  • FIG. 7 is a structural block diagram of another data analysis apparatus according to an embodiment of the present disclosure.
  • the data analysis apparatus may include an RF (Radio Frequency) circuit 701, a memory 702, an input unit 703, a display 704, a sensor 705, an audio circuit 706, a WiFi (Wireless Fidelity) module 707, including There are one or more processors 708, a power supply 709, and a camera 710.
  • RF Radio Frequency
  • the data analysis device may include more or fewer components than illustrated.
  • the RF circuit 701 can be configured to transmit and receive information or receive and transmit signals during a call. Specifically, after receiving the downlink information of the base station, the RF circuit passes it to the processor 708 for processing; and transmits the data related to the uplink to the base station.
  • the RF circuit 701 includes, but is not limited to, an antenna, at least one amplifier, a tuner, one or more oscillators, a subscriber identity module (SIM) card, a transceiver, a coupler, an LNA (Low Noise Amplifier). , duplexer, etc.
  • SIM subscriber identity module
  • the RF circuit 701 can also communicate with the network and other devices through wireless communication.
  • the wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication), GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access). , Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution), e-mail, SMS (Short Messaging Service), and the like.
  • GSM Global System of Mobile communication
  • GPRS General Packet Radio Service
  • CDMA Code Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • LTE Long Term Evolution
  • e-mail Short Messaging Service
  • the memory 702 can be configured to store software programs and modules, and the processor 708 executes various functional applications and data processing by running software programs and modules stored in the memory 702.
  • the memory 702 may mainly include a program storage area and a data storage area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the data storage area may be stored according to Data created by the use of the data analysis device (such as audio data, phone book, etc.).
  • the memory 702 may include random access memory (RAM), nonvolatile memory (such as any one or more of read only memory (ROM), flash memory, EPROM, EEPROM, etc.), and a disk storage device.
  • RAM random access memory
  • nonvolatile memory such as any one or more of read only memory (ROM), flash memory, EPROM, EEPROM, etc.
  • memory 702 may also include a memory controller to provide access to memory 702 by processor 708 and input unit 703.
  • the input unit 703 can be configured to input an input signal related to user settings and function control via its input.
  • input unit 703 can include touch-sensitive surface 7031 as well as other input devices 7032.
  • Touch-sensitive surface 7031 also known as a touch display or touchpad, can collect touch operations on or near the user (eg, the user uses a finger, stylus, etc., on any touch-sensitive surface 7031 or on the touch-sensitive surface 7031 The operation near the touch-sensitive surface 7031) and driving the corresponding connecting device according to a preset program.
  • the touch sensitive surface 7031 can include a touch detection device and a touch controller.
  • the touch detection device detects the user's touch orientation and detects the involved signal, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device and converts it into contact coordinates, and sends it to the processor 708.
  • the touch detection device can also receive commands from the processor 708 and execute them.
  • the touch sensitive surface 7031 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the input unit 703 may also include other input devices 7032.
  • other input devices 7032 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
  • Display 704 can be configured to display information entered by the user or information provided to the user and various graphical user interfaces of the data analysis device, which can be comprised of graphics, text, icons, video, and any combination thereof.
  • Display 704 can include a display panel 7041.
  • the display panel 7041 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like.
  • the touch-sensitive surface 7031 can cover the display panel 7041, and when the touch-sensitive surface 7031 collects a touch operation thereon or nearby, it is transmitted to the processor 708 to determine the type of the touch event, and then the processor 708 displays the type according to the type of the touch event.
  • a corresponding visual output is provided on panel 7041.
  • touch-sensitive surface 7031 and display panel 7041 are implemented as two separate components to implement input and output functions, in some embodiments, touch-sensitive surface 7031 can be integrated with display panel 7041. Implement input and output functions.
  • the data analysis device can also include at least one type of sensor 705, such as a light sensor, motion sensor, and other sensors.
  • the light sensor can include an ambient light sensor and a proximity sensor.
  • the ambient light sensor can adjust the brightness of the display panel 7041 according to the brightness of the ambient light
  • the proximity sensor can turn off the display panel 7041 and/or the backlight when the data analysis device moves to the ear.
  • the gravity acceleration sensor can detect the magnitude of the acceleration in each direction (usually three axes), and the magnitude and direction of gravity can be detected at rest.
  • the data analysis device may be equipped with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor.
  • Audio circuit 706, speaker 7061, and microphone 7062 can provide an audio interface between the user and the data analysis device.
  • the audio circuit 706 can convert the received audio data into an electrical signal, and then transmit it to the speaker 7061, and convert it into a sound signal output by the speaker 7061; on the other hand, the microphone 7062 can convert the collected sound signal into an electrical signal, and then by the audio.
  • Circuit 706 is converted to audio data upon reception.
  • the audio data may be sent by the processor 708, sent via RF circuitry 701 to, for example, another data analysis device, or the audio data may be stored to memory 702 for further processing.
  • the audio circuit 706 may also include an earbud jack to provide communication of the peripheral earphones with the data analysis device.
  • the data analysis device further includes a video interface such as a camera as described above for collecting video data.
  • WiFi is a short-range wireless transmission technology.
  • the WiFi module 707 Through the WiFi module 707, the user can send and receive emails, browse web pages, and access streaming media, etc., which provides users with wireless broadband Internet access.
  • FIG. 7 shows the WiFi module 707, it can be understood that it does not belong to a necessary part of the data parsing apparatus, and may be omitted as needed within the scope of not changing the essence of the disclosure.
  • the processor 708 is a control center for the data parsing device that connects the various components of the entire data parsing device using various interfaces and lines, and by running or executing software programs and/or modules stored in the memory 702, and recalls stored in the memory.
  • the data in 702 performs the analysis and processing functions of the data analysis device.
  • processor 708 can include one or more processing cores.
  • the processor 708 can also integrate an application processor and a modem processor, wherein the application processor primarily processes an operating system, a user interface, an application, etc., and the modem processor primarily processes wireless communications. It will be appreciated that the above described modem processor may also not be integrated into the processor 708.
  • the data analysis device also includes a power source 709 (such as a battery) that supplies power to the various components.
  • the power supply can be logically coupled to the processor 708 through a power management system to enable functions such as charging, discharging, and power consumption through the power management system.
  • the power supply 709 can also include any one or more of a DC or AC power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
  • a non-transitory computer readable storage medium when instructions in the storage medium are executed by a processor of a data analysis device, to enable the data analysis device to perform the data transmission method described above: For example, acquiring target video data and original video data; for each target video frame in the target video data, acquiring grayscale change values of each target pixel point in the target video frame compared to the corresponding original pixel point, acquiring each The data segment corresponding to the grayscale change value is used to obtain a binary data string, and the binary data string is converted into original data, wherein the original data corresponding to all the target video frames constitutes the data to be transmitted.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Human Computer Interaction (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

本文描述了一种数据传输方法、数据加载装置、数据解析装置以及数据传输系统。所述方法包括:获取原始视频数据;获取待传输数据;根据待传输数据对原始视频数据进行处理得到目标视频数据;显示目标视频数据和原始视频数据。所述方法还可以包括在所述显示所述目标视频数据和所述原始视频数据之后:采集显示的所述目标视频数据和所述原始视频数据;解析所述原始视频数据和所述目标视频数据以得到所述待传输数据。

Description

数据传输方法、数据加载装置、数据解析装置以及数据传输系统 技术领域
本公开涉及无线通信的领域,特别涉及一种数据传输方法、数据加载装置、数据解析装置以及数据传输系统。
背景技术
当前,无线通信,例如WiFi(Wireless Fidelity,无线保真)、蓝牙等,在人们的日常生活中已经十分常见了。在实际应用中,为了避免通信干扰,不同的无线通信方式需要在预先分配的不同的频段上工作。例如,WiFi一般工作于2.4GHz和5.0GHz的频段上,蓝牙一般工作于2400-2483.5MHz的频段上。实际应用中,无线频谱资源是有限的,因此能够分配的用于无线通信的频段也十分有限,这极大制约着无线通信技术的发展。
发明内容
根据本公开的第一方面,提供了一种数据传输方法,包括:
获取原始视频数据;
获取待传输数据;
根据所述待传输数据对所述原始视频数据进行处理以得到目标视频数据;
显示所述目标视频数据和所述原始视频数据。
可选地,所述原始视频数据包括多个原始视频帧,并且每个原始视频帧包括多个原始像素点;以及其中所述根据所述待传输数据对所述原始视频数据进行处理以得到目标视频数据包括:
将所述待传输数据转化为多个二进制数据串,其中,所述多个二进制数据串与所述多个原始视频帧一一对应,每个二进制数据串包括多个数据段,且每个数据段与该每个数据段属于的二进制数据串对应的原始视频帧的一个原始像素点对应;
对于每个二进制数据串,根据所述二进制数据串的每个数据段对应的灰阶变化值更改所述每个数据段对应的原始像素点的灰阶值,以得到多个目标像素点,其中所述多个目标像素点组成一个目标视频帧, 并且所述多个二进制数据串对应的多个目标视频帧组成所述目标视频数据。
可选地,所述灰阶变化值包括红色子像素的灰阶变化值、绿色子像素的灰阶变化值和蓝色子像素的灰阶变化值中的至少一个。
可选地,所述根据所述二进制数据串的每个数据段对应的灰阶变化值更改所述每个数据段对应的原始像素点的灰阶值包括:
当所述数据段为0时,将对应的原始像素点的灰阶值减小第一变化值;
当所述数据段为1时,将对应的原始像素点的灰阶值增加第二变化值。
可选地,所述方法还包括:在所述显示所述目标视频数据和所述原始视频数据之后:
采集显示的所述目标视频数据和所述原始视频数据;
对于所述目标视频数据中的每一个目标视频帧,获取所述目标视频帧中每个目标像素点相较于对应的原始像素点的灰阶变化值并且获取所述灰阶变化值对应的数据段以得到二进制数据串,并将所述二进制数据串转化为原始数据,其中所述多个目标视频帧对应的原始数据组成所述待传输数据。
根据本公开的第二方面,提供了一种数据加载装置,包括:
获取组件,被配置成获取原始视频数据以及待传输数据;
处理器,被配置成根据所述待传输数据对所述原始视频数据进行处理以得到目标视频数据;
显示器,用于显示所述目标视频数据和所述原始视频数据。
可选地,所述原始视频数据包括多个原始视频帧,每个所述原始视频帧包括多个原始像素点;并且所述处理器还被配置成:
将所述待传输数据转化为多个二进制数据串,其中,所述多个二进制数据串与所述多个原始视频帧一一对应,每个二进制数据串包括多个数据段,且每个数据段与该每个数据段属于的二进制数据串对应的原始视频帧的一个原始像素点对应;
对于每个二进制数据串,根据所述二进制数据串的每个数据段对应的灰阶变化值更改所述每个数据段对应的原始像素点的灰阶值,以得到多个目标像素点,其中所述多个目标像素点组成一个目标视频帧, 并且所述多个二进制数据串对应的多个目标视频帧组成所述目标视频数据。
根据本公开的第三方面,提供了一种数据解析装置,包括:
采集器,用于采集原始视频数据和目标视频数据,所述目标视频数据是通过根据待传输数据对所述原始视频数据进行处理而得到的;
解析器,用于解析所述原始视频数据和所述目标视频数据以得到所述待传输数据。
可选地,所述原始视频数据包括多个原始视频帧,每个所述原始视频帧包括多个原始像素点,所述目标视频数据包括多个目标视频帧,每个所述目标视频帧包括多个目标像素点,并且其中所述多个目标视频帧与所述多个原始视频帧一一对应,且每个目标像素点与该目标像素点属于的目标视频帧对应的原始视频帧的一个原始像素点对应;
其中所述解析器被进一步配置成:对于每一个目标视频帧,获取所述目标视频帧中每个目标像素点相较于对应的原始像素点的灰阶变化值并且获取所述灰阶变化值对应的数据段以得到二进制数据串,以及将所述二进制数据串转化为原始数据,其中所述多个目标视频帧对应的原始数据组成所述待传输数据。
附图说明
为了更清楚地说明本公开的实施例中的技术方案,下面将对实施例的描述中所使用的附图作简单地介绍。
图1是本公开的实施例提供的数据传输系统的示意图。
图2是本公开的实施例提供的一种数据传输方法的流程图。
图3A是本公开的实施例提供的另一种数据传输方法的流程图。
图3B是本公开的实施例提供的将二进制数据拆分成多个二进制数据串的示意图。
图3C是本公开的实施例提供的数据段与原始像素点的对应方式的示意图。
图3D是本公开的实施例提供的数据段与原始像素点的另一对应方式的示意图。
图3E是本公开的实施例提供的数据段与原始像素点的又一对应方式的示意图。
图3F是本公开的实施例提供的数据段与原始像素点的再一对应方式的示意图。
图3G是本公开的实施例提供的更改数据段对应的原始像素点的灰阶值得到目标像素点的示意图。
图3H是本公开的实施例提供的数据段1对应的原始像素点的亮度相较于对应的目标像素点的亮度的变化示意图。
图3I是本公开的实施例提供的数据段0对应的原始像素点的亮度相较于对应的目标像素点的亮度的变化示意图。
图3J是本公开的实施例提供的显示目标视频数据和原始视频数据的示意图。
图3K是本公开的实施例提供的显示目标视频数据和原始视频数据的示意图。
图3L是本公开的实施例提供的6个目标像素点相较于各自对应的原始像素点的亮度变化示意图。
图4是本公开的实施例提供的一种数据加载装置的结构框图。
图5是本公开的实施例提供的一种数据解析装置的结构框图。
图6是本公开的实施例提供的另一种数据加载装置的结构框图。
图7是本公开的实施例提供的另一种数据解析装置的结构框图。
具体实施方式
为使本公开的目的、技术方案和优点更加清楚,下面将结合附图对本公开的实施方式作进一步地详细描述。
图1为本公开的实施例提供的数据传输系统的示意图。如图1所示,该数据传输系统包括数据加载装置101和数据解析装置102。该数据加载装置101可以为具有视频播放功能的电子设备,如电视机、电脑等,该数据解析装置102可以为具有拍摄功能的电子设备,如智能手机、平板电脑等,但是本公开的实施例对此不做具体限定。
该数据加载装置101可以利用待传输数据对待播放视频的原始视频数据进行处理以得到目标视频数据,并在播放视频时显示该原始视频数据和该目标视频数据。数据解析装置102可以通过拍摄或扫描的方式采集数据加载装置101在播放视频时显示的原始视频数据和目标视频数据,并解析该原始视频数据和该目标视频数据以得到该待传输 数据。换句话说,数据传输系统可以通过正在播放的视频的视频帧进行数据传输。由于视频帧的显示和采集均在可见光波段上进行,因此数据传输系统进行数据传输时不需要占用无线频谱资源,可以不受有限的无线频谱资源的限制。
图2是根据一实施例的一种示例性数据传输方法的流程图。如图2所示,该数据传输方法包括以下步骤201-204。
在步骤201处,数据加载装置获取原始视频数据。
在步骤202处,数据加载装置获取待传输数据。
在步骤203处,数据加载装置根据待传输数据对原始视频数据进行处理以得到目标视频数据。因此,目标视频数据包括经处理后的原始视频数据,并且能够反映待传输数据。
在步骤204处,数据加载装置显示目标视频数据和原始视频数据。
综上所述,在本公开的实施例提供的数据传输方法中,数据加载装置用待传输数据对原始视频数据进行处理以得到目标视频数据,并显示该原始视频数据和目标视频数据,然后采集到所显示的原始视频数据和目标视频数据的数据解析装置能够解析该原始视频数据和该目标视频数据以得到待传输数据。由于原始视频数据和目标视频数据的显示和采集均在可见光波段上进行,因此无需占用无线频谱资源。故而,本公开的实施例提供的数据传输方法可以不受有限的无线频谱资源的限制。
图3A是根据一实施例提供的另一种数据传输方法的流程图。如图3A所示,该数据传输方法可以实施于如图1所示的数据传输系统中,并可以包括以下步骤301-306。
在步骤301处,数据加载装置获取原始视频数据和待传输数据。
本公开的实施例提供的数据加载装置可以在播放视频时进行数据传输。为了实现这一目的,数据加载装置需要获取待播放视频的视频数据和待传输数据,其中,该待播放视频的视频数据是上文所述的原始视频数据。该原始视频数据包括多个原始视频帧,每个原始视频帧包括多个原始像素点。这样,在后续步骤中,数据加载装置就可以利用该待传输数据对原始视频数据进行处理以得到目标视频数据,并基于该原始视频数据和目标视频数据进行视频播放,从而在播放视频过程中进行数据传输。
在一些实施例中,数据加载装置可以接收遥控器、数据解析装置等设备发送的视频播放指令,该视频播放指令用于指示数据加载装置播放视频。在接收到该视频播放时指令后,数据加载装置可以获取原始视频数据。而后,数据加载装置还可以接收遥控器、数据解析装置等设备发送的数据传输指令,并在接收到该数据传输指令后获取待传输数据。当然,在一些实施例中,该数据加载装置也可以在接收到上述视频播放指令后获取原始视频数据和待传输数据两者。此外,在一些实施例中,该数据加载装置还可以在播放视频之前获取该待传输数据。当数据加载装置获取到了该待传输数据,且检测到自身正在播放视频时,数据加载装置可以获取该原始视频数据,以在播放视频时进行数据传输。在这种情况下,数据加载装置可以通过弹窗、提示音等方式提示用户利用数据解析装置接收数据。
例如,用户小明想要在观看视频的同时令自己的手机接收数据,此时,小明可以使用遥控器打开电视机,并可以使用遥控器控制电视机播放自己想要观看的视频“三生三世十里桃花”。而后,小明还可以使用遥控器向电视机发送数据传输指令,电视机在接收到该数据传输指令后可以获取本地存储的待传输数据,该本地存储的待传输数据可以为电视机根据用户的需求预先下载的视频数据等。
需要说明的是,上述数据加载装置获取原始视频数据和待传输数据的时机仅仅是示例性的,还可能存在其他的获取原始视频数据和待传输数据的时机。
数据加载装置可以根据待传输数据对原始视频数据进行处理,如步骤302和303所记载的。
在步骤302处,数据加载装置将待传输数据转化为多个二进制数据串。
数据加载装置可以将获取的待传输数据转化为二进制数据,并将该二进制数据拆分成多个二进制数据串。每个二进制数据串与一个原始视频帧对应,每个二进制数据串包括多个数据段,每个数据段与所述一个原始视频帧的一个原始像素点对应。
上述二进制数据串中包含的数据段的个数可以与该二进制数据串对应的原始视频帧中包含的原始像素点的个数相同。也即是,二进制数据串中的数据段与对应的原始视频帧中的原始像素点可以一一对应。 当然,上述二进制数据串中包含的数据段的个数也可以小于对应的原始视频帧中包含的原始像素点的个数。在这种情况下,原始视频帧中包含的部分原始像素点可以与二进制数据串的数据段对应,而另一些原始像素点则不与数据段对应,本公开的实施例对此不做具体限定。
需要说明的是,上述数据段的长度可以为1比特(英文:bit)。在该数据段的长度为1比特时,该数据段可以为0或1。当然,该数据段的长度还可以大于1比特,本公开的实施例对此也不做具体限定。
下面,仅以数据段的长度为1比特为例对上述将二进制数据拆分成多个二进制数据串的技术过程进行说明。数据段的长度大于1比特时的技术过程与数据段的长度为1比特的技术过程同理。
如图3B所示,数据加载装置可以将获取的待传输数据X1转化成长度为n比特的二进制数据X2,同时该数据加载装置还可以确定原始视频帧中包含的原始像素点的个数为s,则数据加载装置可以从二进制数据X2中由头至尾依次截取多个二进制数据串c,并保证每个截取的二进制数据串c的长度为s比特。这样截取的每一个二进制数据串c均与一个原始视频帧y对应,且,二进制数据串中的每一个数据段与对应的原始视频帧中的一个原始像素点对应。
需要说明的是,图3B所示的拆分二进制数据串的过程仅仅是示例性的,当然还存在其他的拆分方式。例如,数据加载装置可以从二进制数据X2中由尾至头依次截取该多个二进制数据串c,或者,数据加载装置截取的二进制数据串的长度可以小于s比特等,这不是限制性的。
如上所述,二进制数据串中的每一个数据段与二进制数据串对应的原始视频帧中的一个原始像素点对应。当然,数据段与原始像素点的对应方式可以有很多种,图3C、3D、3E和3F为本公开的实施例提供的四种示例性的对应方式。
如图3C所示,二进制数据串中的数据段可以按照图3C中箭头所示依次与原始视频帧y中的原始像素点d对应。也即是,原始视频帧中的原始像素点逐行由左至右依次与二进制数据串中的数据段对应。
如图3D所示,二进制数据串中的数据段可以按照图3D中箭头所示依次与原始视频帧y中的原始像素点d对应。也即是,原始视频帧中的原始像素点逐行首尾相接依次与二进制数据串中的数据段对应。
如图3E所示,二进制数据串中的数据段可以按照图3E中箭头所 示依次与原始视频帧y中的原始像素点d对应。也即是,原始视频帧中的原始像素点逐列由上至下依次与二进制数据串中的数据段对应。
如图3F所示,二进制数据串中的数据段可以按照图3F中箭头所示依次与原始视频帧y中的原始像素点d对应。也即是,原始视频帧中的原始像素点逐列首尾相接依次与二进制数据串中的数据段对应。
需要说明的是,图3C、3D、3E和3F所示的对应方式仅仅是示例性的,其并不能限制本公开。
在步骤303处,对于每个二进制数据串,数据加载装置根据二进制数据串的每个数据段对应的灰阶变化值更改每个数据段对应的原始像素点的灰阶值,以得到多个目标像素点。所述多个目标像素点组成一个目标视频帧,多个二进制数据串对应的多个目标视频帧组成目标视频数据。
下面,仅以数据段的长度为1比特为例对步骤303的技术过程进行说明。数据段的长度大于1比特时步骤303的技术过程与数据段的长度为1比特时步骤303的技术过程同理。
数据加载装置中可以存储有数据段与灰阶变化值的映射关系,该映射关系可以如表1所示:
表1
数据段 灰阶变化值
1 +n
0 -m
应当指出,上述灰阶变化值可以包括红色子像素的灰阶变化值、绿色子像素的灰阶变化值和蓝色子像素的灰阶变化值中的至少一个。
对于每个二进制数据串,数据加载装置可以基于存储的数据段与灰阶变化值的映射关系获取每个数据段对应的灰阶变化值,而后根据该灰阶变化值更改所述每个数据段对应的原始像素点的灰阶值。如表1所示,在数据段为0时,数据加载装置可以将该数据段对应的原始像素点的灰阶值减小第一变化值m,以及在数据段为1时,数据加载装置可以将该数据段对应的原始像素点的灰阶值增加第二变化值n。对每个数据段对应的原始像素点的灰阶值进行更改后可以得到多个目标像素点,该多个目标像素点可以组成一个目标视频帧。
例如,如图3G所示,原始视频帧y1中第一行的前3个原始像素 点分别为原始像素点d1、d2和d3,该原始像素点d1、d2和d3的灰阶值分别为50、65和50。若原始像素点d1、d2和d3对应的数据段分别为1、0和1,且上述表1中m和n的值均为5,则数据加载装置可以将原始像素点d1的灰阶值增加5以得到与该原始像素点d1对应的目标像素点h1,该目标像素点h1的灰阶值为55。同理,数据加载装置还可以得到与原始像素点d2和d3分别对应的目标像素点h2和h3,所述目标像素点h2和h3的灰阶值分别为60和55。对于原始视频帧y1中每一个原始像素点的灰阶值进行与上述原始像素点d1、d2和d3相同方式的更改后即可得到多个目标像素点,该多个目标像素点即可组成与原始视频帧y1对应的目标视频帧q1。目标像素点h1、h2和h3为目标视频帧q1中第一行的前3个目标像素点。应当指出,上述灰阶变化值可以包括红色子像素的灰阶变化值、绿色子像素的灰阶变化值和蓝色子像素的灰阶变化值。在这种情况下,将原始像素点d1的灰阶值增加5可以指将原始像素点d1的红色子像素的灰阶值、绿色子像素的灰阶值和蓝色子像素的灰阶值分别增加5,以得到目标像素点h1。
如上所述,在数据段为0时,数据加载装置可以将该数据段对应的原始像素点的灰阶值减小第一变化值m以得到对应的目标像素点,并且在数据段为1时,数据加载装置可以将该数据段对应的原始像素点的灰阶值增加第二变化值n以得到对应的目标像素点。然而,灰阶值的增加会使目标像素点的亮度相较于对应的原始像素点的亮度增加,而灰阶值减小会使目标像素点的亮度相较于对应的原始像素点的亮度减小。如图3H所示,数据段1对应的原始像素点的亮度L1比对应的目标像素点的亮度L2小,如图3I所示,数据段0对应的原始像素点的亮度L1比对应的目标像素点的亮度L2大。因此,数据加载装置可以基于目标视频帧中每一个目标像素点的亮度相较于对应的原始像素点的亮度的变化来加载待传输数据,而数据解析装置只需要判断目标像素点的亮度相较于对应的原始像素点的亮度的变化就可以解析出待传输数据。这种数据传输方式较为简单,且对数据解析装置的硬件要求较低。
需要说明的是,上述第一变化值m和第二变化值n可以由技术人员预先进行设定。在本公开的一个实施例中,m和n可以均为小于50的正数。应当理解,m和n的值越大目标像素点和对应的原始像素点 的亮度差异就越大,数据解析装置就越容易进行数据解析,但是视频画面也越容易失真。在本公开的一个实施例中,该m和n可以均为5,这一方面保证了数据解析装置可以容易地进行数据解析,另一方面也避免了出现视频画面失真的现象。
还需要说明的是,上述表1所示的内容仅仅是示例性的,其并不能限制本公开。在实施例中,数据段为0时,数据加载装置可以增加原始像素点的灰阶值,以及数据段为1时,数据加载装置可以减小原始像素点的灰阶值;或者,在数据段为0或1时,数据加载装置均可以增加原始像素点的灰阶值;或者,在数据段为0或1时,数据加载装置均可以减小原始像素点的灰阶值。本公开的实施例对此不做具体限定。
在步骤304处,数据加载装置显示目标视频数据和原始视频数据。
在实施例中,数据加载装置可以交替地显示原始视频数据中包含的原始视频帧和目标视频数据中包含的目标视频帧。例如,如图3J所示,数据加载装置可以在显示一帧原始视频帧y后,显示一帧与该原始视频帧y对应的目标视频帧q。或者,如图3K所示,数据加载装置可以在显示多帧原始视频帧y后,显示一帧与该多帧原始视频帧中最后一帧原始视频帧对应的目标视频帧q。当然,还可能存在其他的显示目标视频数据和原始视频数据的方式。
由于数据加载装置播放视频时每秒钟显示的原始视频帧和目标视频帧的个数较多,因此,本公开的实施例提供的数据传输方法的传输速率较高。以数据加载装置在播放全高清(英文:Full High Definition)视频时传输数据且数据段的长度为1比特为例,数据传输的速率可达:
1920×1080×30b/s=7594Mb/s,
其中,1920为全高清视频帧每行包括的像素点的个数,1080为全高清视频帧每列包括的像素点的个数,30为全高清视频播放时每秒显示的原始视频帧的帧数。
在步骤305处,数据解析装置采集数据加载装置显示的目标视频数据和原始视频数据。
在实施例中,数据加载装置可以在进行数据传输之前通过弹窗或提示音等方式提示用户,用户接收到提示后可以打开数据解析装置的摄像头并通过摄像头拍摄或扫描的方式采集数据加载装置显示的目标 视频数据和原始视频数据。此外,用户还可以预先将数据解析装置置于预定位置,该预定位置为能够拍摄数据加载装置显示的内容的位置,然后数据加载装置在进行数据传输时可以向该数据解析装置发送数据接收指令,数据解析装置在接收到该数据接收指令后可以打开自身的摄像头,以通过摄像头拍摄或扫描的方式采集数据加载装置显示的目标视频数据和原始视频数据。
需要说明的是,在上述说明中提供的数据解析装置采集数据加载装置显示的目标视频数据和原始视频数据的方式仅仅是示例性的,还可能存在其他的采集方式。
在步骤306处,数据解析装置解析原始视频数据和目标视频数据以得到待传输数据。
对于目标视频数据中的每一个目标视频帧,数据解析装置可以获取目标视频帧中每个目标像素点相较于对应的原始像素点的灰阶变化值并且获取每个灰阶变化值对应的数据段以得到二进制数据串,并将二进制数据串转化为原始数据。所述多个目标视频帧对应的原始数据可以组成待传输数据。
如上所述,数据解析装置可以通过判断目标视频数据中目标像素点的亮度相较于对应的原始像素点的亮度变化而解析出待传输数据。例如,图3L示出了6个目标像素点相较于各自对应的原始像素点的亮度变化示意图。根据该示意图,可知该6个目标像素点对应的数据段分别为1、1、0、0、1和0。
综上所述,在本公开的实施例提供的数据传输方法中,数据加载装置用待传输数据对原始视频数据进行处理得到目标视频数据,并显示该原始视频数据和目标视频数据,使得采集到显示的原始视频数据和目标视频数据的数据解析装置能够根据该原始视频数据和该目标视频数据解析得到该待传输数据。由于原始视频数据和目标视频数据的显示和采集均在可见光波段上进行,因此无需占用无线频谱资源,故而,本公开的实施例提供的数据传输方法可以不受有限的无线频谱资源的限制。
图4是本公开的一实施例提供的一种数据加载装置400的框图。参照图4,该装置包括获取组件401、处理器402和显示器403。
该获取组件401被配置成获取原始视频数据以及待传输数据。
该处理器402被配置成根据该待传输数据对该原始视频数据进行处理以得到目标视频数据。该目标视频数据包括经处理后的原始视频数据,并且能够反映该待传输数据。
该显示器403被配置成显示该目标视频数据和该原始视频数据。
在本公开的一个实施例中,该原始视频数据包括多个原始视频帧,每个原始视频帧包括多个原始像素点。该处理器402被配置成:将待传输数据转化为多个二进制数据串,每个二进制数据串包括多个数据段,所述多个二进制数据串与所述多个原始视频帧一一对应,且每个数据段与其属于的二进制数据串对应的原始视频帧的一个原始像素点对应。对于每个二进制数据串,根据该二进制数据串的每个数据段对应的灰阶变化值更改该每个数据段对应的原始像素点的灰阶值,以得到多个目标像素点,所述多个目标像素点组成一个目标视频帧,所述多个二进制数据串对应的多个目标视频帧组成该目标视频数据。
本公开的实施例提供的数据加载装置通过利用待传输数据对原始视频数据进行处理以得到目标视频数据,并显示该原始视频数据和目标视频数据,使得采集到显示的原始视频数据和目标视频数据的数据解析装置能够根据该原始视频数据和该目标视频数据解析出该待传输数据。由于原始视频数据和目标视频数据的显示和采集均在可见光波段上进行,因此无需占用无线频谱资源。
图5是本公开的一实施例提供的一种数据解析装置500的框图。参照图5,该装置包括采集器501和解析器502。
该采集器501被配置成采集原始视频数据和目标视频数据,该目标视频数据是通过根据待传输数据对该原始视频数据进行处理而得到的。该目标视频数据包括经处理后的该原始视频数据,并且能够反映该待传输数据。
该解析器502被配置成解析该原始视频数据和该目标视频数据以得到该待传输数据。
在本公开的一个实施例中,该原始视频数据包括多个原始视频帧,每个原始视频帧包括多个原始像素点。所述目标视频数据包括多个目标视频帧,每个目标视频帧包括多个目标像素点。所述多个目标视频帧与所述多个原始视频帧一一对应,且每个目标像素点与该目标像素点属于的目标视频帧对应的原始视频帧的一个原始像素点对应。该解 析器502被配置成:对于每一个目标视频帧,获取该目标视频帧中每个目标像素点相较于对应的原始像素点的灰阶变化值并获取所述灰阶变化值对应的数据段以得到二进制数据串,并将该二进制数据串转化为原始数据。所述多个目标视频帧对应的原始数据组成该待传输数据。
本公开的实施例提供的数据解析装置通过采集数据加载装置显示的原始视频数据和目标视频数据,并根据该原始视频数据和该目标视频数据解析出待传输数据,使得原始视频数据和目标视频数据的显示和采集均在可见光波段上进行,因此无需占用无线频谱资源。
需要说明的是,上述各组件的划分仅仅是示例性的。应当指出,上述任一功能可以由不同的组件或设备完成,即将装置的内部结构划分成不同的组件或设备,以完成以上描述的全部或者部分功能。另外,上述实施例提供的数据加载装置和数据传输装置与数据传输方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。
图6是本公开的实施例提供的另一种数据加载装置的结构框图。参见图6,该数据加载装置包括:
存储器601、显示器602和包括有一个或者多个处理核心的处理器603。本领域技术人员可以理解,图6中示出的结构并不构成对数据加载装置的限定。应当理解,数据加载装置可以包括比图示更多或更少的部件。
存储器601存储软件程序以及模块,处理器603通过运行存储在存储器601上的软件程序以及模块而执行各种功能应用以及数据处理。存储器601可主要包括程序存储区和数据存储区,其中,程序存储区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;数据存储区可存储根据数据加载装置的使用所创建的数据(比如音频数据等)等。此外,存储器601可以包括随机存取存储器(RAM)、非易失性存储器(例如只读存储器(ROM)、闪速存储器、EPROM、EEPROM等等中的任何一个或更多),以及盘存储设备。相应地,存储器601还可以包括存储器控制器,以提供处理器603对存储器601的访问。
显示器602可用于对视频、图像等进行显示。显示器602可包括显示面板。可选地,可以采用LCD(Liquid Crystal Display,液晶显示器)、OLED(Organic Light-Emitting Diode,有机发光二极管)、LED(Light  Emitting Diode,发光二极管)等形式来配置显示面板。
处理器603可以通过运行或执行存储在存储器601内的软件程序和/或模块,以及获取存储在存储器601内的数据,来执行数据加载装置的获取或处理功能。可选地,处理器603可包括一个或多个处理核心。
在示例性实施例中,还提供了一种非临时性计算机可读存储介质,当所述存储介质中的指令由数据加载装置的处理器执行时,使得数据加载装置能够执行上述数据传输方法:例如,获取原始视频数据;获取待传输数据;根据该待传输数据对该原始视频数据进行处理以得到目标视频数据。该目标视频数据包括经处理后的原始视频数据,并且能够反映该待传输数据;显示该目标视频数据和该原始视频数据。
图7是本公开的实施例提供的另一种数据解析装置的结构框图。参见图7,该数据解析装置可以包括RF(Radio Frequency,射频)电路701、存储器702、输入单元703、显示器704、传感器705、音频电路706、WiFi(Wireless Fidelity,无线保真)模块707、包括有一个或者多个处理核心的处理器708、电源709以及摄像头710等部件。本领域技术人员可以理解,图7中示出的结构并不构成对数据解析装置的限定。应当理解,数据解析装置可以包括比图示更多或更少的部件。
RF电路701可被配置成收发信息或通话过程中信号的接收和发送。特别地,RF电路接收基站的下行信息后,将其交由处理器708处理;以及将涉及上行的数据发送给基站。通常,RF电路701包括但不限于天线、至少一个放大器、调谐器、一个或多个振荡器、用户身份模块(SIM)卡、收发信机、耦合器、LNA(Low Noise Amplifier,低噪声放大器)、双工器等。此外,RF电路701还可以通过无线通信与网络和其他设备通信。所述无线通信可以使用任一通信标准或协议,包括但不限于GSM(Global System of Mobile communication,全球移动通讯系统)、GPRS(General Packet Radio Service,通用分组无线服务)、CDMA(Code Division Multiple Access,码分多址)、WCDMA(Wideband Code Division Multiple Access,宽带码分多址)、LTE(Long Term Evolution,长期演进)、电子邮件、SMS(Short Messaging Service,短消息服务)等。
存储器702可被配置成存储软件程序以及模块,处理器708通过 运行存储在存储器702的软件程序以及模块,来执行各种功能应用以及数据处理。存储器702可主要包括程序存储区和数据存储区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;数据存储区可存储根据数据解析装置的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器702可以包括随机存取存储器(RAM)、非易失性存储器(例如只读存储器(ROM)、闪速存储器、EPROM、EEPROM等等中的任何一个或更多),以及盘存储设备。相应地,存储器702还可以包括存储器控制器,以提供处理器708和输入单元703对存储器702的访问。
输入单元703可被配置成经由其输入与用户设置以及功能控制有关输入信号。具体地,输入单元703可包括触敏表面7031以及其他输入设备7032。触敏表面7031,也称为触摸显示屏或者触控板,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触敏表面7031上或在触敏表面7031附近的操作),并根据预先设定的程式驱动相应的连接装置。可选地,触敏表面7031可包括触摸检测装置和触摸控制器。触摸检测装置检测用户的触摸方位,并检测牵涉的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器708。触摸检测装置还可以接收处理器708发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触敏表面7031。除了触敏表面7031,输入单元703还可以包括其他输入设备7032。具体地,其他输入设备7032可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。
显示器704可被配置成显示由用户输入的信息或提供给用户的信息以及数据解析装置的各种图形用户接口,这些图形用户接口可以由图形、文本、图标、视频和其任意组合来构成。显示器704可包括显示面板7041。可选地,可以采用LCD(Liquid Crystal Display,液晶显示器)、OLED(Organic Light-Emitting Diode,有机发光二极管)等形式来配置显示面板7041。触敏表面7031可覆盖显示面板7041,当触敏表面7031收集到在其上或附近的触摸操作后,传送给处理器708以确定 触摸事件的类型,随后处理器708根据触摸事件的类型在显示面板7041上提供相应的视觉输出。虽然在图7中,触敏表面7031与显示面板7041是作为两个独立的部件来实现输入和输出功能,但是在某些实施例中,可以将触敏表面7031与显示面板7041集成在一起来实现输入和输出功能。
数据解析装置还可包括至少一种传感器705,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器。环境光传感器可根据环境光线的明暗来调节显示面板7041的亮度,接近传感器可在数据解析装置移动到耳边时,关闭显示面板7041和/或背光。作为运动传感器的一种,重力加速度传感器可检测各个方向上(一般为三轴)的加速度的大小,静止时可检测出重力的大小及方向。数据解析装置还可配置有陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器。
音频电路706、扬声器7061,传声器7062可提供用户与数据解析装置之间的音频接口。音频电路706可将接收到的音频数据转换成电信号,然后传输到扬声器7061,由扬声器7061转换为声音信号输出;另一方面,传声器7062可以将收集的声音信号转换为电信号,然后由音频电路706接收后转换为音频数据。音频数据可以在被处理器708处理后,经RF电路701发送给比如另一数据解析装置,或者音频数据可以被存储至存储器702以便进一步处理。音频电路706还可能包括耳塞插孔,以提供外设耳机与数据解析装置的通信。当然,数据解析装置还包括如上文所述的摄像头等视频接口,用于采集视频数据。
WiFi是一种短距离无线传输技术。通过WiFi模块707,用户可以收发电子邮件、浏览网页和访问流式媒体等,其为用户提供了无线的宽带互联网访问。虽然图7示出了WiFi模块707,但是可以理解的是,其并不属于数据解析装置的必须部分,完全可以根据需要在不改变公开的本质的范围内而省略。
处理器708是数据解析装置的控制中心,其利用各种接口和线路连接整个数据解析装置的各个部件,并且通过运行或执行存储在存储器702内的软件程序和/或模块,以及调用存储在存储器702内的数据,执行数据解析装置的解析和处理功能。可选地,处理器708可包括一个或多个处理核心。处理器708还可集成应用处理器和调制解调处理 器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器708中。
数据解析装置还包括给各个部件供电的电源709(比如电池)。电源可以通过电源管理系统与处理器708逻辑相连,从而通过电源管理系统实现对充电、放电、以及功耗的管理等功能。电源709还可以包括一个或多个直流或交流电源、再充电系统、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。
在示例性实施例中,还提供了一种非临时性计算机可读存储介质,当所述存储介质中的指令由数据解析装置的处理器执行时,使得数据解析装置能够执行上述数据传输方法:例如,采集目标视频数据和原始视频数据;对于目标视频数据中的每一个目标视频帧,获取目标视频帧中每个目标像素点相较于对应的原始像素点的灰阶变化值,获取每个灰阶变化值对应的数据段以得到二进制数据串,并将二进制数据串转化为原始数据,其中全部目标视频帧对应的原始数据组成待传输数据。
本领域普通技术人员可以理解,实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中。上述提到的存储介质可以是只读存储器,磁盘或光盘等。
以上所述仅为本公开的可选实施例,并不用以限制本公开。凡在本公开的精神和原则之内所作的任何修改、等同替换、改进等,均应包含在本公开的保护范围之内。

Claims (10)

  1. 一种数据传输方法,包括:
    获取原始视频数据;
    获取待传输数据;
    根据所述待传输数据对所述原始视频数据进行处理以得到目标视频数据;
    显示所述目标视频数据和所述原始视频数据。
  2. 根据权利要求1所述的方法,其中,所述原始视频数据包括多个原始视频帧,并且每个原始视频帧包括多个原始像素点;以及其中所述根据所述待传输数据对所述原始视频数据进行处理以得到目标视频数据包括:
    将所述待传输数据转化为多个二进制数据串,其中,所述多个二进制数据串与所述多个原始视频帧一一对应,每个二进制数据串包括多个数据段,且每个数据段与该每个数据段属于的二进制数据串对应的原始视频帧的一个原始像素点对应;
    对于每个二进制数据串,根据所述二进制数据串的每个数据段对应的灰阶变化值更改所述每个数据段对应的原始像素点的灰阶值,以得到多个目标像素点,其中所述多个目标像素点组成一个目标视频帧,并且所述多个二进制数据串对应的多个目标视频帧组成所述目标视频数据。
  3. 根据权利要求2所述的方法,其中,所述灰阶变化值包括红色子像素的灰阶变化值、绿色子像素的灰阶变化值和蓝色子像素的灰阶变化值中的至少一个。
  4. 根据权利要求2所述的方法,其中,所述根据所述二进制数据串的每个数据段对应的灰阶变化值更改所述每个数据段对应的原始像素点的灰阶值包括:
    当所述数据段为0时,将对应的原始像素点的灰阶值减小第一变化值;
    当所述数据段为1时,将对应的原始像素点的灰阶值增加第二变化值。
  5. 根据权利要求2所述的方法,其中,所述方法还包括:
    在所述显示所述目标视频数据和所述原始视频数据之后:
    采集显示的所述目标视频数据和所述原始视频数据;
    对于所述目标视频数据中的每一个目标视频帧,获取所述目标视频帧中每个目标像素点相较于对应的原始像素点的灰阶变化值并且获取所述灰阶变化值对应的数据段以得到二进制数据串,并将所述二进制数据串转化为原始数据,其中所述多个目标视频帧对应的原始数据组成所述待传输数据。
  6. 一种数据加载装置,包括:
    获取组件,被配置成获取原始视频数据以及待传输数据;
    处理器,被配置成根据所述待传输数据对所述原始视频数据进行处理以得到目标视频数据;
    显示器,用于显示所述目标视频数据和所述原始视频数据。
  7. 根据权利要求6所述的装置,其中,所述原始视频数据包括多个原始视频帧,每个所述原始视频帧包括多个原始像素点;并且所述处理器还被配置成:
    将所述待传输数据转化为多个二进制数据串,其中,所述多个二进制数据串与所述多个原始视频帧一一对应,每个二进制数据串包括多个数据段,且每个数据段与该每个数据段属于的二进制数据串对应的原始视频帧的一个原始像素点对应;
    对于每个二进制数据串,根据所述二进制数据串的每个数据段对应的灰阶变化值更改所述每个数据段对应的原始像素点的灰阶值,以得到多个目标像素点,其中所述多个目标像素点组成一个目标视频帧,并且所述多个二进制数据串对应的多个目标视频帧组成所述目标视频数据。
  8. 一种数解析装置,包括:
    采集器,用于采集原始视频数据和目标视频数据,所述目标视频数据是通过根据待传输数据对所述原始视频数据进行处理而得到的;
    解析器,用于解析所述原始视频数据和所述目标视频数据以得到所述待传输数据。
  9. 根据权利要求8所述的装置,其中,所述原始视频数据包括多个原始视频帧,每个所述原始视频帧包括多个原始像素点,所述目标视频数据包括多个目标视频帧,每个所述目标视频帧包括多个目标像 素点,并且其中所述多个目标视频帧与所述多个原始视频帧一一对应,且每个目标像素点与该目标像素点属于的目标视频帧对应的原始视频帧的一个原始像素点对应;
    其中所述解析器被进一步配置成:对于每一个目标视频帧,获取所述目标视频帧中每个目标像素点相较于对应的原始像素点的灰阶变化值并且获取所述灰阶变化值对应的数据段以得到二进制数据串,以及将所述二进制数据串转化为原始数据,其中所述多个目标视频帧对应的原始数据组成所述待传输数据。
  10. 一种数据传输系统,包括如权利要求6-7任一所述的数据加载装置和如权利要求8-9任一所述的数据解析装置。
PCT/CN2018/083140 2017-05-18 2018-04-16 数据传输方法、数据加载装置、数据解析装置以及数据传输系统 WO2018210082A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US16/320,687 US11109008B2 (en) 2017-05-18 2018-04-16 Data transmission method, data loading device, data parsing device and data transmission system

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710352403.6 2017-05-18
CN201710352403.6A CN107124638B (zh) 2017-05-18 2017-05-18 数据传输方法、装置及系统

Publications (1)

Publication Number Publication Date
WO2018210082A1 true WO2018210082A1 (zh) 2018-11-22

Family

ID=59728491

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/083140 WO2018210082A1 (zh) 2017-05-18 2018-04-16 数据传输方法、数据加载装置、数据解析装置以及数据传输系统

Country Status (3)

Country Link
US (1) US11109008B2 (zh)
CN (1) CN107124638B (zh)
WO (1) WO2018210082A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107124638B (zh) 2017-05-18 2020-05-12 京东方科技集团股份有限公司 数据传输方法、装置及系统
CN113037465A (zh) * 2021-03-11 2021-06-25 钧捷智能(深圳)有限公司 汽车数据安全处理方法、装置、电子设备及存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103778590A (zh) * 2012-10-24 2014-05-07 航天信息股份有限公司 利用数字图像存储和传输信息的方法和装置
CN104202501A (zh) * 2014-08-29 2014-12-10 西安空间无线电技术研究所 一种在图像中进行信息搭载传输的方法
CN105120325A (zh) * 2015-09-15 2015-12-02 中国人民解放军信息工程大学 一种信息传输方法及系统
US20160048940A1 (en) * 2000-04-19 2016-02-18 Digimarc Corporation Digital watermarking in data representing color channels
CN106570816A (zh) * 2016-10-31 2017-04-19 努比亚技术有限公司 一种信息发送、接收方法和装置
CN107124638A (zh) * 2017-05-18 2017-09-01 京东方科技集团股份有限公司 数据传输方法、装置及系统

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6888893B2 (en) * 2001-01-05 2005-05-03 Microsoft Corporation System and process for broadcast and communication with very low bit-rate bi-level or sketch video
US20040002302A1 (en) * 2002-06-26 2004-01-01 Fuji Photo Film Co., Ltd. Image data transmission method, portable terminal apparatus, image processing method, image processing apparatus, and computer program therefor
JP4523368B2 (ja) * 2004-09-10 2010-08-11 株式会社マーキュリーシステム 立体視画像生成装置およびプログラム
US9648334B2 (en) * 2011-03-21 2017-05-09 Qualcomm Incorporated Bi-predictive merge mode based on uni-predictive neighbors in video coding
CN102938841B (zh) * 2012-11-30 2015-02-11 西安空间无线电技术研究所 在承载图像中隐藏信息、图像质量评价及信息传输方法

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160048940A1 (en) * 2000-04-19 2016-02-18 Digimarc Corporation Digital watermarking in data representing color channels
CN103778590A (zh) * 2012-10-24 2014-05-07 航天信息股份有限公司 利用数字图像存储和传输信息的方法和装置
CN104202501A (zh) * 2014-08-29 2014-12-10 西安空间无线电技术研究所 一种在图像中进行信息搭载传输的方法
CN105120325A (zh) * 2015-09-15 2015-12-02 中国人民解放军信息工程大学 一种信息传输方法及系统
CN106570816A (zh) * 2016-10-31 2017-04-19 努比亚技术有限公司 一种信息发送、接收方法和装置
CN107124638A (zh) * 2017-05-18 2017-09-01 京东方科技集团股份有限公司 数据传输方法、装置及系统

Also Published As

Publication number Publication date
US11109008B2 (en) 2021-08-31
US20190166347A1 (en) 2019-05-30
CN107124638B (zh) 2020-05-12
CN107124638A (zh) 2017-09-01

Similar Documents

Publication Publication Date Title
US9697622B2 (en) Interface adjustment method, apparatus, and terminal
CN111708503B (zh) 一种投屏控制方法、设备及计算机可读存储介质
CN106792120B (zh) 视频画面的显示方法、装置和终端
WO2017152355A1 (zh) 一种显示方法及终端设备
CN110874128B (zh) 可视化数据处理方法和电子设备
CN109901695B (zh) 屏幕省电的显示方法、移动终端和计算机可读存储介质
CN109697008B (zh) 一种内容分享方法、终端及计算机可读存储介质
US11165950B2 (en) Method and apparatus for shooting video, and storage medium
CN109040808B (zh) 一种视频交互调控方法、设备及计算机可读存储介质
CN109995862B (zh) 一种资源调度方法及终端
CN112105057B (zh) 电子价签局部刷图方法、设备及计算机可读存储介质
US20210105651A1 (en) Measurement gap processing method, terminal, and network node
CN108600544B (zh) 一种单手控制方法及终端
CN111399819B (zh) 数据生成方法、装置、电子设备及存储介质
WO2018210082A1 (zh) 数据传输方法、数据加载装置、数据解析装置以及数据传输系统
CN108111912A (zh) 多屏互动中的图像传输方法、终端及存储介质
CN109462732B (zh) 一种图像处理方法、设备及计算机可读存储介质
CN111615198A (zh) 资源确定方法、资源指示方法、终端及网络侧设备
CN109683796B (zh) 一种交互控制方法、设备及计算机可读存储介质
WO2020134756A1 (zh) 通话方法以及相关设备
CN110955397A (zh) 游戏终端帧率的设置方法、游戏终端及存储介质
CN107844353B (zh) 一种显示方法、终端及计算机可读存储介质
CN109885275B (zh) 一种音频调控方法、设备及计算机可读存储介质
CN109683793B (zh) 一种内容翻转显示方法、设备及计算机可读存储介质
CN111158814A (zh) 一种界面切换方法、终端及计算机可读存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18802412

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 06.04.2020)

122 Ep: pct application non-entry in european phase

Ref document number: 18802412

Country of ref document: EP

Kind code of ref document: A1