CN115802082A - Vehicle-mounted video distribution equipment, method, device, terminal and storage medium - Google Patents

Vehicle-mounted video distribution equipment, method, device, terminal and storage medium Download PDF

Info

Publication number
CN115802082A
CN115802082A CN202211504026.0A CN202211504026A CN115802082A CN 115802082 A CN115802082 A CN 115802082A CN 202211504026 A CN202211504026 A CN 202211504026A CN 115802082 A CN115802082 A CN 115802082A
Authority
CN
China
Prior art keywords
data
wave
video
waves
timestamp
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
CN202211504026.0A
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.)
Xinyi Electronic Technology Shanghai Co ltd
Original Assignee
Xinyi Electronic Technology Shanghai 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 Xinyi Electronic Technology Shanghai Co ltd filed Critical Xinyi Electronic Technology Shanghai Co ltd
Priority to CN202211504026.0A priority Critical patent/CN115802082A/en
Publication of CN115802082A publication Critical patent/CN115802082A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention relates to the technical field of video processing, in particular to vehicle-mounted video shunting equipment, a method, a device, a terminal and a storage medium. The embodiment of the invention analyzes the data from the serializer at the deserializer end to obtain the video stream and the timestamp, determines the delay time according to the timestamp of the video stream, and down-regulates the carrier frequency and the modulated wave frequency when the delay time is obviously lower than the requirement of video transmission, thereby ensuring the timeliness of data transmission, increasing the stability and the reliability of data transmission and reducing the energy consumption of the deserializer and the serializer.

Description

Vehicle-mounted video distribution equipment, method, device, terminal and storage medium
Technical Field
The invention relates to the technical field of video processing, in particular to vehicle-mounted video distribution equipment, a method, a device, a terminal and a storage medium.
Background
The main driving force for the rapid development of the automotive industry is the gradual expansion from the past focus on power systems to ever increasing intelligent demands. The intelligent cockpit and the advanced auxiliary driving system are visual experiences which can be perceived by consumers, and all large-brand vehicles and enterprises are actively changed on the intelligent driving road. For example, they have introduced a 33 inch and 9K resolution LED ultra large screen, with tens of millions of pixels taking the image of a camera.
Under the conceptual trend that vehicles develop from simple vehicles to moving travel spaces, the functions of the vehicles become more and more complex, and exponential growth of data transmission and real-time processing puts new requirements on high bandwidth, low latency and high reliability on a vehicle internal communication network.
Therefore, with the development of intelligence, it is necessary to lay a highway for data transmission.
For video streaming, if parallel transmission is adopted, the data transmission line becomes very complicated due to the fact that the data throughput varies from hundreds of Mbps to dozens of Gpbs, which cannot be imagined by a traditional automobile.
Based on this, there is a need to develop a fast and device resource-saving vehicle-mounted video distribution method.
Disclosure of Invention
The embodiment of the invention provides vehicle-mounted video distribution equipment, a method, a device, a terminal and a storage medium, which are used for solving the problem of low video transmission efficiency in the prior art.
In a first aspect, an embodiment of the present invention provides a vehicle-mounted video distribution device, including:
a deserializer and a control module;
the deserializer is electrically connected with the control module;
the deserializer receives serial data carrying video streams and analyzes the serial data to obtain video streams with time stamps;
the control module analyzes the video stream to obtain video data and generates a timestamp signal indicating the current time according to a time service source;
and the deserializer generates a sending serial data indication signal according to the time stamp signal and the received serial data, wherein the signal for indicating the sending serial data is provided with a time stamp signal indication.
In one possible implementation manner, the vehicle-mounted video distribution device further includes: a serializer electrically connected with the deserializer;
the deserializer generates a signal indicating to send serial data from the timestamp signal and the received serial data, comprising:
the deserializer generates a transmitted serial data indicating signal with a transmitted frequency indication according to the time deviation of the time stamp signal and the received serial data;
and the serializer adjusts the sending frequency according to the sending frequency indication and serializes the received video stream according to the timestamp signal to form serial data.
In a second aspect, an embodiment of the present invention provides a vehicle-mounted video offloading method, including:
acquiring a video stream and a timestamp signal corresponding to the video stream;
decomposing the video stream into a plurality of sets of video data less than the number of channels corresponding to the frequencies of a plurality of modulated waves that are orthogonal to each other within a predetermined period;
modulating the time stamp signal and the plurality of video data sets onto different modulation waves respectively to form a plurality of data waves;
and superposing the multiple data waves, and performing up-conversion on the data waves to a carrier wave with a preset sending frequency for output.
In one possible implementation, the modulating the time stamp signal and the plurality of sets of video data onto different modulation waves respectively to form a plurality of data waves includes:
acquiring the duration of the video stream;
obtaining a timestamp data set according to the number of the plurality of data sets and the duration of the video stream, wherein the timestamp data set comprises timestamp data corresponding to the plurality of video data sets;
for the timestamp dataset and each of the plurality of video datasets, performing the steps of:
acquiring a modulation period and a target channel corresponding to the data set;
converting a plurality of data in the data set into binary digits according to a preset rule;
and controlling the amplitude of a target modulation wave in a plurality of modulation periods according to a plurality of bits of the binary digit to form a data wave corresponding to a data set, wherein the target modulation wave corresponds to the target channel.
In a third aspect, an embodiment of the present invention provides a vehicle-mounted video offloading method, including:
acquiring a serial wave, wherein the serial wave is formed by superposing a carrier wave and a plurality of data waves, and serial data is modulated by the plurality of data waves;
carrying out down-conversion on the serial traveling wave according to the carrier wave to obtain a superposed wave;
converting the superposed wave according to a modulation period and a plurality of channels to obtain a plurality of binary digits;
and splicing the binary digits according to a preset rule to obtain a video stream with a timestamp.
In one possible implementation manner, the transforming the superimposed wave according to a modulation period and a plurality of channels to obtain a plurality of binary digits includes:
acquiring a plurality of target frequencies, wherein the target frequencies correspond to target channels;
obtaining a plurality of binary digits corresponding to the plurality of channels according to the modulation period, the superposition wave, a first formula and the plurality of target frequencies, wherein the first formula is as follows:
Figure BDA0003967488680000031
in the formula, biti (n) is the nth bit of the binary digits corresponding to the ith channel, T is the modulation period, f (T) is the superposition wave, sin () is the sine function, ω i is the target frequency, vol is the separation amplitude, and [ ] is the rounding.
In a possible implementation manner, after the step of splicing the plurality of binary digits according to a preset rule to obtain a video stream with a timestamp, the method includes:
acquiring the latest timestamp in the video stream as a tail timestamp;
if the deviation between the current time and the last timestamp is smaller than a first threshold value, generating an indication adjusted to a first carrier frequency and indications adjusted to a plurality of first channels, wherein the first carrier frequency is lower than the frequency of the current carrier, and the frequency of a modulated wave of the first channels is lower than the frequency of the current modulated wave;
and if the deviation between the current time and the tail time stamp is larger than a second threshold value, generating an indication of adjusting to a second carrier frequency and indications of adjusting to a plurality of second channels, wherein the second carrier frequency is higher than the frequency of the current carrier, and the frequency of the modulation waves of the second channels is higher than the frequency of the current modulation waves.
In a fourth aspect, an embodiment of the present invention provides a vehicle-mounted video offloading device, configured to implement the vehicle-mounted video offloading method according to the third aspect or any possible implementation manner of the third aspect, where the vehicle-mounted video offloading device includes:
the device comprises a serial traveling wave acquisition module, a serial data transmission module and a serial data transmission module, wherein the serial traveling wave acquisition module is used for acquiring serial traveling waves, the serial traveling waves are formed by superposing a plurality of data waves on the basis of carrier waves, and serial data are modulated by the plurality of data waves;
the down-conversion module is used for performing down-conversion on the serial traveling wave according to the carrier wave to obtain a superposed wave;
the analysis module is used for converting the superposed waves according to the modulation period and the channels to obtain a plurality of binary digits;
and the number of the first and second groups,
and the splicing module is used for splicing the binary digits according to a preset rule to obtain a video stream with a timestamp.
In a fifth aspect, an embodiment of the present invention provides a terminal, including a memory and a processor, where the memory stores a computer program operable on the processor, and the processor executes the computer program to implement the steps of the method according to any one of the possible implementations of the second aspect, the third aspect, or any one of the possible implementations of the third aspect.
In a sixth aspect, the present invention provides a computer-readable storage medium, which stores a computer program, and the computer program, when executed by a processor, implements the steps of the method as described in the second aspect, any possible implementation manner of the second aspect, the third aspect, or any possible implementation manner of the third aspect.
Compared with the prior art, the implementation mode of the invention has the following beneficial effects:
the vehicle-mounted video shunting device in the embodiment of the invention comprises a deserializer and a serializer, wherein the deserializer receives a timestamp signal of the control module and forwards a timestamp to the serializer, and after segmenting a video stream, the serializer processes segmented data and timestamp data in parallel through a plurality of channels, so that the transmission efficiency is high, and the video is provided with the timestamp, so that the video can be synchronized with other videos.
In the embodiment of the invention, at a serializer end, a frequency stream and a timestamp signal corresponding to the video stream are obtained firstly; then decomposing the video stream into a plurality of sets of video data fewer than the number of channels corresponding to the frequencies of a plurality of modulated waves orthogonal to each other within a predetermined period; then, modulating the time stamp signal and the plurality of video data sets onto different modulation waves respectively to form a plurality of data waves; and finally, the data waves are superposed and then are up-converted to a carrier wave with a preset sending frequency for output. According to the vehicle-mounted video shunting method at the serializer end, the video streams are transmitted simultaneously through the plurality of channels after being processed in a segmented mode, so that the transmission speed is high, the transmission efficiency is high, the time stamps are added into the video streams, when the video streams of the videos are obtained, the sequence of the videos can be distinguished through the time stamps, the synchronization of the videos is completed, and the problem of image processing caused by the fact that the videos are not synchronous is avoided.
According to the implementation mode of the vehicle-mounted video shunting method, at a deserializer end, a serial wave is firstly acquired, wherein the serial wave is formed by superposing a carrier wave and a plurality of data waves, and serial data are modulated by the data waves; then, carrying out down-conversion on the serial traveling wave according to the carrier wave to obtain a superposed wave; then, converting the superposed wave according to a modulation period and a plurality of channels to obtain a plurality of binary digits; and finally, splicing the binary digits according to a preset rule to obtain a video stream with a timestamp. The embodiment of the invention analyzes the data from the serializer at the deserializer end to obtain the video stream and the timestamp, determines the delay time according to the timestamp of the video stream, and reduces the carrier frequency and the modulation wave frequency when the delay time is obviously lower than the requirement of video transmission, thereby ensuring the timeliness of data transmission, increasing the stability and reliability of data transmission and reducing the energy consumption of the deserializer and the serializer.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art description will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive labor.
Fig. 1 is a functional block diagram of a vehicle-mounted video distribution device according to an embodiment of the present invention;
fig. 2 is a functional block diagram of a vehicle-mounted video distribution device in the prior art according to an embodiment of the present invention;
fig. 3 is a flowchart of a shunting method applied to a serializer end according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of data wave superposition provided by an embodiment of the present invention;
fig. 5 is a flowchart of a shunting method applied to a deserializer end according to an embodiment of the present invention;
fig. 6 is a functional block diagram of a vehicle-mounted video distribution device according to an embodiment of the present invention;
fig. 7 is a functional block diagram of a terminal according to an embodiment of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
In order to make the objects, technical solutions and advantages of the present invention more apparent, the following description is made with reference to the accompanying drawings.
The following is a detailed description of the embodiments of the present invention, which is implemented on the premise of the technical solution of the present invention, and a detailed implementation manner and a specific operation process are given, but the scope of the present invention is not limited to the following embodiments.
Fig. 1 is a functional block diagram of a vehicle-mounted video distribution device according to an embodiment of the present invention.
As shown in fig. 1, a functional block diagram of a vehicle-mounted video distribution device provided in a first aspect of an embodiment of the present invention is shown, and details are as follows:
an in-vehicle video distribution apparatus comprising:
a deserializer 102 and a control module 103;
the deserializer 102 is electrically connected with the control module 103;
the deserializer 102 receives serial data carrying a video stream, and analyzes the serial data to obtain a video stream with a timestamp;
the control module 103 analyzes the video stream to obtain video data, and generates a timestamp signal indicating the current time according to a time service source;
the deserializer 102 generates a signal indicative of the transmitted serial data from the time stamp signal and the received serial data, wherein the signal indicative of the transmitted serial data is indicated by the time stamp signal.
In some embodiments, the in-vehicle video distribution apparatus further includes: a serializer 101, the serializer 101 being electrically connected with the deserializer 102;
the deserializer 102 generates a signal indicating to transmit serial data according to the timestamp signal and the received serial data, including:
the deserializer 102 generates a transmit serial data indication signal with a transmit frequency indication and a time stamp signal indication based on the time offset of the time stamp signal from the received serial data;
the serializer 101 adjusts the transmission frequency according to the transmission frequency indication, and serializes the received video stream to form serial data according to the timestamp signal.
Illustratively, as shown in fig. 2, which illustrates a vehicle-mounted video shunting device in the prior art, each serializer 101 serializes a video stream output by a video capture device, for example, a video stream output by a camera, to form a data string. The plurality of serialized data strings are sent to the deserializer 102 through a transmission line cable, the deserializer 102 analyzes the data strings, the data strings are restored into video streams and then sent to the control module 103, and the control module 103 analyzes each video stream according to an external clock source to obtain a video picture and adds a time stamp, so that data synchronization from a plurality of camera pictures is completed.
The system has a problem that since the plurality of serializers 101 are connected with the plurality of cameras, the images of the plurality of cameras are transmitted to the deserializer 102 almost at the same time and then transmitted to the control module 103 to be stamped with the same time stamp, and the problem that the images are not synchronous may exist, for example, the fourth serializer first obtains the image and the first serializer last obtains the image, and due to the uncertainty of the sequence of the data transmitted by the two, the first serializer first transmits the data and the fourth serializer last completes the transmission, at this time, the image transmitted by the first serializer and the image transmitted by the fourth serializer are synchronous on the side of the control module 103, which is obviously contradictory to the actual situation, and the analysis is performed based on the asynchronous images, for example, when a vehicle is at an intersection, two images respectively correspond to two directions of red and green lights, and a situation that two directions of the intersection simultaneously appear, and the exception of processing logic may occur.
In addition, there is a problem in such a system, for example, the deserializer 102 sends the parsed video stream to different control modules 103, and if different control modules 103 have different clocks, various problems due to asynchronous pictures may occur when the different control modules 103 interact.
Therefore, in the embodiment of the present invention, the deserializer 102 is provided with a clock input port, generates a timestamp according to the clock input port, and then sends the timestamp to the serializer 101, and the serializer 101 adds the timestamp into the data string when serializing the data stream, that is, has a timestamp from the data string, and performs synchronization according to the timestamp when performing screen processing, thereby avoiding the problem of screen non-synchronization.
Furthermore, as is known, in the system shown in fig. 2, in order to ensure high-speed transmission of a large amount of data, the frequency of transmission is generally set to be high, but in practice, the amount of data may not be as large as expected, for example, in some scenes, a serializer only connects two video capture devices, or the resolution of the video capture device connected with the serializer is not high, and the amount of data generated is small. In this scenario, the use of high frequency signals is more susceptible to interference than signals of lower frequency. It is very necessary to adjust the transmission frequency of the wave and reduce the frequency of the transmission carrier wave on the premise of ensuring reasonable transmission delay.
Therefore, in the embodiment of the invention, the time stamp in the image is compared with the current time after the data is analyzed by the deserializer, and if the deviation between the time stamp in the image and the current time after the data is analyzed by the deserializer is obviously lower than the time delay requirement, the frequency of the carrier wave and the frequency of the modulation wave can be reduced, the reliability of data transmission and the accuracy of analysis are improved, and the overall power consumption of a system is reduced.
Embodiments of the present invention are described in the second and third aspects, respectively, with respect to a data serialization process of a serializer on a video stream including time stamps and a deserialization process of a deserializer.
Fig. 3 is a flowchart of a vehicle-mounted video shunting method applied to a serializer according to an embodiment of the present invention.
As shown in fig. 3, it shows a flowchart of an implementation of the vehicle-mounted video shunting method applied to the serializer according to the embodiment of the present invention, which is detailed as follows:
in step 301, a video stream and a timestamp signal corresponding to the video stream are obtained.
In step 302, the video stream is decomposed into a plurality of sets of video data less than a number of channels corresponding to frequencies of a plurality of modulated waves that are orthogonal to each other over a predetermined period.
In step 303, the time stamp signal and the plurality of sets of video data are modulated onto different modulation waves, respectively, to form a plurality of data waves.
In step 304, the multiple data waves are superimposed and then up-converted to a carrier wave with a preset transmission frequency for output.
In some embodiments, the step 303 comprises:
acquiring the duration of the video stream;
obtaining a timestamp data set according to the number of the plurality of data sets and the duration of the video stream, wherein the timestamp data set comprises timestamp data corresponding to the plurality of video data sets;
for the timestamp dataset and each of the plurality of video datasets, performing the steps of:
acquiring a modulation period and a target channel corresponding to the data set;
converting a plurality of data in the data set into binary digits according to a preset rule;
and controlling the amplitude of a target modulation wave in a plurality of modulation periods according to a plurality of bits of the binary digits to form a data wave corresponding to a data set, wherein the target modulation wave corresponds to the target channel.
Illustratively, in the method embodiment of the present invention, the serializer obtains the timestamp at the same time as obtaining the start of the video stream, and then the video stream is decomposed to obtain a plurality of video data sets.
For example, in an application scenario, the data of the video stream is 1000 bytes in total, the number of channels is 12, and considering that channels giving time stamps and other things are also reserved, therefore, the video stream is divided into 10 data segments in the order from first to last, each data segment includes 100 bytes, each data segment is used as a video data set, the time stamp determines the time data corresponding to each video data set according to the number of segments and the duration of the video stream, for example, 20 milliseconds, and the time data are used as the time stamp data set. The 10 video data sets and the time stamp data set are respectively transmitted through modulation waves corresponding to a plurality of channels.
Specifically, each data set is converted into a binary number, and the binary number is sequentially associated with the amplitude of each predetermined modulation period of the modulation wave, so that the process of modulating the binary number into the modulation wave to form the data wave is completed.
It should be noted that the plurality of data sets correspond to a plurality of channels, and the plurality of data sets correspond to a plurality of modulated waves (modulated wave corresponds to a channel) during modulation, and the plurality of modulated waves are orthogonal to each other in a predetermined modulation period, so that a process of simultaneously transmitting the plurality of data sets through the plurality of channels is formed.
After the multiple data waves are obtained, the multiple data waves are overlapped to form overlapped waves, and then the overlapped waves are up-converted to carriers with preset sending frequency to form waveforms of transmission data.
Fig. 4 shows a schematic diagram of data wave superposition provided by the embodiment of the present invention, in which the abscissa is time variable t and the ordinate is amplitude variable vol, and in the diagram, the waveform at the top side is the first data wave (corresponding to the first channel) which has a higher amplitude in the first modulation period and carries the number 1, and the waveform at the second modulation period has a lower amplitude and carries the number 0. The middle waveform is the second data wave (corresponding to the second channel, it can be seen from a careful observation that the modulation wave frequencies of the first data wave and the second data wave are different, and actually, the two modulation waves are orthogonal in the modulation period), the amplitude of the wave in the first modulation period is lower and carries the number 0, and the amplitude of the wave in the second modulation period is lower and carries the number 1, and the two waveforms perform data transmission simultaneously.
Fig. 5 is a flowchart of a vehicle-mounted video distribution method according to an embodiment of the present invention.
As shown in fig. 5, it shows a flowchart of an implementation of a vehicle-mounted video offloading method applied by a deserializer according to an embodiment of the present invention, which is detailed as follows:
in step 501, a serial wave is obtained, wherein the serial wave is formed by superimposing a plurality of data waves on a carrier wave, and serial data is modulated by the plurality of data waves.
In step 502, down-conversion is performed on the serial wave according to the carrier wave to obtain a superimposed wave.
In step 503, the superimposed wave is transformed according to the modulation period and the channels to obtain a plurality of binary digits.
In step 504, the plurality of binary digits are spliced according to a preset rule to obtain a video stream with a timestamp.
In some embodiments, the step 503 comprises:
acquiring a plurality of target frequencies, wherein the target frequencies correspond to target channels;
obtaining a plurality of binary digits corresponding to the plurality of channels according to the modulation period, the superposition wave, a first formula and the plurality of target frequencies, wherein the first formula is as follows:
Figure BDA0003967488680000111
in the formula, biti (n) is the nth bit of the binary digits corresponding to the ith channel, T is the modulation period, f (T) is the superposition wave, sin () is the sine function, ω i is the target frequency, vol is the separation amplitude, and [ ] is the rounding.
Illustratively, the vehicle-mounted video shunting method applied by the deserializer is that after a serial wave is acquired, the serial wave is subjected to down-conversion to obtain a superposed wave, a plurality of target frequencies are acquired through a preset channel, and binary digits corresponding to a plurality of channels are acquired by combining a modulation cycle and a first formula:
Figure BDA0003967488680000112
in the formula, biti (n) is the nth bit of the binary digits corresponding to the ith channel, T is the modulation period, f (T) is the superposition wave, sin () is the sine function, ω i is the target frequency, vol is the separation amplitude, and [ ] is the rounding.
The waveform separation and the data acquisition are completed through the formula, finally, binary digits corresponding to a plurality of channels are obtained, and the binary digits are spliced according to the sequence of the data corresponding to the channels, so that the video stream with the timestamp is obtained.
In some embodiments, step 504 is followed by step 505, in which step 505:
acquiring the latest timestamp in the video stream as a tail timestamp;
if the deviation between the current time and the last timestamp is smaller than a first threshold value, generating an indication of adjusting to a first carrier frequency and indications of adjusting to a plurality of first channels, wherein the first carrier frequency is lower than the frequency of the current carrier, and the frequency of the modulation waves of the first channels is lower than the frequency of the current modulation waves;
and if the deviation between the current time and the tail time stamp is larger than a second threshold value, generating an indication of adjusting to a second carrier frequency and indications of adjusting to a plurality of second channels, wherein the second carrier frequency is higher than the frequency of the current carrier, and the frequency of the modulation waves of the second channels is higher than the frequency of the current modulation waves.
For example, as mentioned above, in the prior art, for data transmission, the carrier wave and the modulation wave are always maintained at a higher frequency, so that a large amount of data can be transmitted in time.
In fact, according to the magnitude of the video flow and the amount of video delay, the carrier wave and the modulation wave can be dynamically adjusted, and the frequency of the carrier wave and the modulation wave is reduced when the data flow is small, so that the stability and the reliability of data transmission can be improved, the power consumption of data processing is reduced, and the communication distance is increased.
The embodiment of the invention determines the delay time length according to the deviation of the time stamp in the video stream and the current time, when the delay time length is obviously lower than the delay requirement, the deserializer outputs the indication of adjusting to the lower carrier frequency and the modulation wave frequency, when the delay time length is determined according to the deviation of the time stamp in the video stream and the current time, and when the delay time length is about to reach the delay requirement, the deserializer outputs the indication of adjusting to the higher carrier frequency and the modulation wave frequency.
The vehicle-mounted video shunting device in the embodiment of the invention comprises a deserializer and a serializer, wherein the deserializer receives a timestamp signal of the control module and forwards a timestamp to the serializer, and after segmenting a video stream, the serializer processes segmented data and timestamp data in parallel through a plurality of channels, so that the transmission efficiency is high, and the video is provided with the timestamp, so that the video can be synchronized with other videos.
In the embodiment of the vehicle-mounted video shunting method, at a serializer end, a frequency stream and a timestamp signal corresponding to the video stream are obtained firstly; then decomposing the video stream into a plurality of sets of video data less than the number of channels corresponding to the frequencies of a plurality of modulated waves orthogonal to each other within a predetermined period; then, modulating the time stamp signal and the plurality of video data sets onto different modulation waves respectively to form a plurality of data waves; and finally, the data waves are superposed and then are up-converted to a carrier wave with a preset sending frequency for output. According to the vehicle-mounted video shunting method at the serializer end, the video streams are transmitted simultaneously through the plurality of channels after being processed in a segmented mode, so that the transmission speed is high, the transmission efficiency is high, the time stamps are added into the video streams, when the video streams of the plurality of videos are obtained, the sequence of the plurality of videos can be distinguished through the time stamps, the synchronization of the plurality of videos is completed, and the problem of image processing caused by the fact that the videos are not synchronized is avoided.
According to the implementation mode of the vehicle-mounted video shunting method, at a deserializer end, a serial wave is firstly acquired, wherein the serial wave is formed by superposing a carrier wave and a plurality of data waves, and serial data are modulated by the data waves; then, carrying out down-conversion on the serial traveling wave according to the carrier wave to obtain a superposed wave; then, converting the superposed wave according to a modulation period and a plurality of channels to obtain a plurality of binary digits; and finally, splicing the binary digits according to a preset rule to obtain a video stream with a timestamp. The embodiment of the invention analyzes the data from the serializer at the deserializer end to obtain the video stream and the timestamp, determines the delay time according to the timestamp of the video stream, and down-regulates the carrier frequency and the modulated wave frequency when the delay time is obviously lower than the requirement of video transmission, thereby ensuring the timeliness of data transmission, increasing the stability and the reliability of data transmission and reducing the energy consumption of the deserializer and the serializer.
It should be understood that the sequence numbers of the steps in the above embodiments do not mean the execution sequence, and the execution sequence of each process should be determined by the function and the inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
The following are apparatus embodiments of the invention, and for details not described in detail therein, reference may be made to the corresponding method embodiments described above.
Fig. 6 is a functional block diagram of a vehicle-mounted video distribution device according to an embodiment of the present invention, and referring to fig. 6, the vehicle-mounted video distribution device 6 includes: a serial wave acquisition module 601, a down conversion module 602, an analysis module 603, and a splicing module 604, wherein:
a serial wave acquisition module 601, configured to acquire a serial wave, where the serial wave is formed by superimposing a carrier wave and multiple data waves, and serial data is modulated by the multiple data waves;
a down-conversion module 602, configured to perform down-conversion on the serial traveling wave according to the carrier to obtain a superimposed wave;
an analyzing module 603, configured to transform the superimposed wave according to a modulation period and a plurality of channels to obtain a plurality of binary digits;
a splicing module 604, configured to splice the multiple binary digits according to a preset rule, so as to obtain a video stream with a timestamp.
Fig. 7 is a functional block diagram of a terminal according to an embodiment of the present invention. As shown in fig. 7, the terminal 7 of this embodiment includes: a processor 700 and a memory 701, said memory 701 having stored therein a computer program 702 executable on said processor 700. When the processor 700 executes the computer program 702, the steps in the above-described vehicle-mounted video distribution method and embodiment, such as steps 301 to 304 shown in fig. 3, are implemented.
Illustratively, the computer program 702 may be partitioned into one or more modules/units that are stored in the memory 701 and executed by the processor 700 to implement the present invention.
The terminal 7 may be a desktop computer, a notebook, a palm computer, a cloud server, or other computing devices. The terminal 7 may include, but is not limited to, a processor 700, a memory 701. It will be appreciated by those skilled in the art that fig. 7 is only an example of a terminal 7 and does not constitute a limitation of the terminal 7, and may comprise more or less components than those shown, or some components may be combined, or different components, for example, the terminal 7 may further comprise input and output devices, network access devices, buses, etc.
The Processor 700 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 701 may be an internal storage unit of the terminal 7, such as a hard disk or a memory of the terminal 7. The memory 701 may also be an external storage device of the terminal 7, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) and the like provided on the terminal 7. Further, the memory 701 may also include both an internal storage unit and an external storage device of the terminal 7. The memory 701 is used for storing the computer program 702 and other programs and data required by the terminal 7. The memory 701 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit, and the integrated unit may be implemented in a form of hardware, or may be implemented in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the description of each embodiment is focused on, and for parts that are not described or illustrated in detail in a certain embodiment, reference may be made to the description of other embodiments.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus/terminal and method may be implemented in other manners. For example, the above-described apparatus/terminal embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions in actual implementation, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated module/unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow in the method according to the above embodiments may be implemented by a computer program, which may be stored in a computer readable storage medium and used for implementing the steps of the method and apparatus embodiments when executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, read-Only Memory (ROM), random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like.
The above embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may be modified or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.

Claims (10)

1. An in-vehicle video distribution apparatus, comprising:
a deserializer and a control module;
the deserializer is electrically connected with the control module;
the deserializer receives serial data carrying video streams and analyzes the serial data to obtain video streams with time stamps;
the control module analyzes the video stream to obtain video data and generates a timestamp signal indicating the current time according to a time service source;
and the deserializer generates a signal indicating serial data transmission according to the timestamp signal and the received serial data, wherein the signal indicating the serial data transmission is indicated by the timestamp signal.
2. The vehicle-mounted video distribution apparatus according to claim 1, further comprising: a serializer electrically connected with the deserializer;
the deserializer generates a signal indicating to send serial data according to the timestamp signal and the received serial data, comprising:
the deserializer generates a transmitted serial data indication signal with a transmitted frequency indication and a time stamp signal indication according to the time deviation of the time stamp signal and the received serial data;
and the serializer adjusts the sending frequency according to the sending frequency indication and serializes the received video stream according to the timestamp signal to form serial data.
3. A vehicle-mounted video distribution method is characterized by comprising the following steps:
acquiring a video stream and a timestamp signal corresponding to the video stream;
decomposing the video stream into a plurality of sets of video data fewer than the number of channels corresponding to the frequencies of a plurality of modulated waves that are orthogonal to each other over a predetermined period;
modulating the time stamp signal and the plurality of video data sets onto different modulation waves respectively to form a plurality of data waves;
and superposing the multiple data waves, and performing up-conversion on the data waves to a carrier wave with a preset sending frequency for output.
4. The vehicle-mounted video splitting method according to claim 3, wherein the modulating the time stamp signal and the plurality of video data sets onto different modulation waves respectively to form a plurality of data waves comprises:
acquiring the duration of the video stream;
obtaining a timestamp data set according to the number of the plurality of data sets and the duration of the video stream, wherein the timestamp data set comprises timestamp data corresponding to the plurality of video data sets;
for the timestamp dataset and each of the plurality of video datasets, performing the steps of:
acquiring a modulation period and a target channel corresponding to the data set;
converting a plurality of data in the data set into binary digits according to a preset rule;
and controlling the amplitude of a target modulation wave in a plurality of modulation periods according to a plurality of bits of the binary digits to form a data wave corresponding to a data set, wherein the target modulation wave corresponds to the target channel.
5. A vehicle-mounted video distribution method is characterized by comprising the following steps:
acquiring a serial wave, wherein the serial wave is formed by superposing a carrier wave and a plurality of data waves, and serial data is modulated by the plurality of data waves;
carrying out down-conversion on the serial traveling wave according to the carrier wave to obtain a superposed wave;
converting the superposed wave according to a modulation period and a plurality of channels to obtain a plurality of binary digits;
and splicing the binary digits according to a preset rule to obtain a video stream with a timestamp.
6. The vehicle-mounted video shunting method according to claim 5, wherein the converting the superimposed wave according to a modulation period and a plurality of channels to obtain a plurality of binary digits comprises:
acquiring a plurality of target frequencies, wherein the target frequencies correspond to target channels;
obtaining a plurality of binary digits corresponding to the plurality of channels according to the modulation period, the superposition wave, a first formula and the plurality of target frequencies, wherein the first formula is as follows:
Figure FDA0003967488670000021
in the formula, bit i (n) is the nth bit of a binary number corresponding to the ith channel, T is the modulation period, f (T) is the superposition wave, sin () is the sine function, ω is the sine function i Is a target frequency, vol is a separation amplitude value]Is to get the whole.
7. The vehicle-mounted video splitting method according to any one of claims 5 to 6, wherein after the step of splicing the plurality of binary digits according to a preset rule to obtain the video stream with the timestamp, the method comprises:
acquiring the latest timestamp in the video stream as a tail timestamp;
if the deviation between the current time and the last timestamp is smaller than a first threshold value, generating an indication of adjusting to a first carrier frequency and indications of adjusting to a plurality of first channels, wherein the first carrier frequency is lower than the frequency of the current carrier, and the frequency of the modulation waves of the first channels is lower than the frequency of the current modulation waves;
and if the deviation between the current time and the tail time stamp is larger than a second threshold value, generating an indication of adjusting to a second carrier frequency and indications of adjusting to a plurality of second channels, wherein the second carrier frequency is higher than the frequency of the current carrier, and the frequency of the modulation waves of the second channels is higher than the frequency of the current modulation waves.
8. A vehicle-mounted video distribution device, which is used for implementing the vehicle-mounted video distribution method according to any one of claims 5 to 7, and comprises:
the device comprises a serial traveling wave acquisition module, a serial data transmission module and a serial data transmission module, wherein the serial traveling wave acquisition module is used for acquiring serial traveling waves, the serial traveling waves are formed by superposing a plurality of data waves on the basis of carrier waves, and serial data are modulated by the plurality of data waves;
the down-conversion module is used for performing down-conversion on the serial traveling wave according to the carrier wave to obtain a superposed wave;
the analysis module is used for converting the superposed waves according to the modulation period and the channels to obtain a plurality of binary digits;
and the number of the first and second groups,
and the splicing module is used for splicing the binary digits according to a preset rule to obtain a video stream with a timestamp.
9. A terminal comprising a memory and a processor, the memory having stored therein a computer program operable on the processor, wherein the processor, when executing the computer program, performs the steps of the method according to any of claims 3 to 7.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 3 to 7.
CN202211504026.0A 2022-11-28 2022-11-28 Vehicle-mounted video distribution equipment, method, device, terminal and storage medium Pending CN115802082A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211504026.0A CN115802082A (en) 2022-11-28 2022-11-28 Vehicle-mounted video distribution equipment, method, device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211504026.0A CN115802082A (en) 2022-11-28 2022-11-28 Vehicle-mounted video distribution equipment, method, device, terminal and storage medium

Publications (1)

Publication Number Publication Date
CN115802082A true CN115802082A (en) 2023-03-14

Family

ID=85442379

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211504026.0A Pending CN115802082A (en) 2022-11-28 2022-11-28 Vehicle-mounted video distribution equipment, method, device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN115802082A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116527845A (en) * 2023-04-27 2023-08-01 中国第一汽车股份有限公司 Vehicle video monitoring method and device, electronic equipment and storage medium
CN116821941A (en) * 2023-08-25 2023-09-29 建信金融科技有限责任公司 Data encryption and decryption method, device, equipment and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116527845A (en) * 2023-04-27 2023-08-01 中国第一汽车股份有限公司 Vehicle video monitoring method and device, electronic equipment and storage medium
CN116821941A (en) * 2023-08-25 2023-09-29 建信金融科技有限责任公司 Data encryption and decryption method, device, equipment and storage medium
CN116821941B (en) * 2023-08-25 2023-12-19 建信金融科技有限责任公司 Data encryption and decryption method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN115802082A (en) Vehicle-mounted video distribution equipment, method, device, terminal and storage medium
US20220368369A1 (en) Transporting Sampled Signals over Multiple Electromagnetic Pathways
CN110581963B (en) V-BY-ONE signal conversion method and device and electronic equipment
US20120120967A1 (en) Universal Serial Interface
CN110602538B (en) System and method for supporting image multi-streaming
US20220410909A1 (en) Method and system for collecting vehicle driving data
CN111954070A (en) FPGA-based video resolution conversion method and terminal
CN102237901A (en) Communication apparatus, and data transmission method
CN109901115B (en) Radar data transmission device and radar system
KR20200115238A (en) Transmission device, reception device, transceiver device and transceiver system
CN110460746B (en) System and method for an asymmetric image divider with line marking memory
CN115905067A (en) Data transmission control method, chip, device and storage medium
CN101577598A (en) Multiple signal multiplexing and demultiplexing methods, devices and systems
EP3070864B1 (en) Method and device for transmitting multiple streams of time division traffic
CN113707101B (en) Mini LED backlight control method, device and related equipment
CN210199300U (en) Radar data transmission device and radar system
CN113781945A (en) Display device drive control circuit assembly and display device
CN115136667A (en) Power saving techniques for BB-RF interfaces
CN111294562A (en) Analog video processing method, system and device
CN103731250A (en) High-speed synchronization method and system between PC and mobile terminal
CN105100639A (en) Display method and display apparatus
CN112165606A (en) Vehicle-mounted camera, motor vehicle video acquisition system and motor vehicle video acquisition method
CN214675406U (en) Vehicle-mounted video signal analysis and conversion device
CN114913624B (en) Data sharing method among domain controllers, vehicle-mounted system and vehicle
CN213213677U (en) Vehicle-mounted camera and motor vehicle video acquisition system

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