Display data transmission system, method, computer device
By working together with the selector and the data conversion module, real-time transmission of display instruction codes is achieved, solving the problem of delay in inserting instruction codes in the display protocol and improving the efficiency and accuracy of display data transmission.
Patent Information
- Application Number
- CN202511204357.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-27
- Publication Date
- 2025-12-09
- Estimated Expiration
- 2045-08-27
AI Technical Summary
In the existing display protocol, inserting special indicator codes requires waiting for feedback, which causes delays and is inefficient.
By combining the selector and the data conversion module, the selector outputs directly when the display code is a display data code, while the display instruction code is stored in the cache module until the count value reaches an integer multiple before being output. By combining the periodic counting of the cache module and the data conversion module, the real-time transmission of the display instruction code is achieved.
It reduces display data transmission latency, improves efficiency and accuracy, avoids data garbled characters, and ensures the timeliness and reliability of display data transmission.
Smart Images

Figure CN120751022B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of display data processing, and in particular to a display data transmission system and method, a computer device, a computer readable storage medium and a computer program product. BACKGROUND
[0002] With the iteration and upgrading of display technology, the display protocol for transmitting display data has been iterated to DP2.1 (DisplayPort2.1, DisplayPort2.1 version, a video transmission protocol). Usually, the bit width of one link symbol is 32 bits, and four link symbols constitute a super symbol, which needs to be encoded in units of super symbols in this protocol. In the process of video image transmission, display control such as display sleep often needs to be realized by inserting special indication codes.
[0003] In the related art, in order to avoid data garbled, when inserting a special indication code, the feedback of the splicing of the currently transmitted symbol needs to be waited for, and the special indication code is inserted after it is determined that the currently transmitted symbol has been spliced and sent. However, this method relies on feedback, and since feedback requires a certain time, it will cause the problem of special indication code sending delay, which is low in efficiency. SUMMARY
[0004] Therefore, it is necessary to provide a display data transmission system, method, computer device, computer readable storage medium and computer program product capable of improving efficiency and accuracy in view of the above technical problems.
[0005] In a first aspect, the present application provides a display data transmission system, which comprises:
[0006] a selector configured to receive a display code and output the display code to a data conversion module if the display code is a display data code;
[0007] a data conversion module configured to receive the display code output by the selector and count according to a preset period N, and splice the display code corresponding to the current counting period and output the spliced display code if the counting value is an integer multiple of N, wherein N is a positive integer greater than 1;
[0008] The selector is further configured to store the display instruction code in a cache module if the display code is a display instruction code and the counting value corresponding to the data conversion module is not an integer multiple of N, until the counting value corresponding to the data conversion module reaches an integer multiple of N, and output the display instruction code in the cache module to the data conversion module.
[0009] In one of the embodiments, the selector is further configured to output the display instruction code to the data conversion module when the display code is the display instruction code and a count value corresponding to the data conversion module is an integer multiple of N.
[0010] In one of the embodiments, the cache module comprises (N-1) cache units, each of which is configured to store a display instruction code, and the selector is configured to sequentially store the display instruction codes into the cache units according to a preset order.
[0011] In one of the embodiments, the sequentially storing the display instruction codes into the cache units according to a preset order comprises:
[0012] determining a target cache unit corresponding to the display instruction code based on a count value corresponding to the data conversion module when the display instruction code is received;
[0013] storing the display instruction code into the target cache unit.
[0014] In one of the embodiments, the outputting the display instruction codes in the cache module to the data conversion module comprises:
[0015] determining a target count value corresponding to a display instruction code stored in the cache module first;
[0016] according to a data output strategy corresponding to the target count value, sequentially obtaining the display instruction codes from the cache units and outputting the display instruction codes to the data conversion module.
[0017] In one of the embodiments, when the received display code is a display instruction code, the splicing the display code corresponding to the current count period further comprises:
[0018] obtaining a plurality of display instruction codes corresponding to the current count period;
[0019] splicing the plurality of display instruction codes according to identification information and count values corresponding to the display instruction codes.
[0020] In one of the embodiments, the system further comprises:
[0021] an encoding module configured to receive the spliced display code output by the data conversion module, encode the spliced display code according to a preset encoding mode to obtain a target display code, and output the target display code to a display device.
[0022] In a second aspect, the application further provides a display data transmission method, comprising:
[0023] receive the display code and output the display code to a data conversion module if the display code is a display data code;
[0024] if the display code is a display instruction code and the count value corresponding to the data conversion module is not an integer multiple of N, store the display instruction code in a cache module until the count value corresponding to the data conversion module reaches an integer multiple of N, and output the display instruction code in the cache module to the data conversion module; wherein the data conversion module receives the display code output by the selector and counts according to a preset period N, and splices the display code corresponding to the current counting period and outputs the spliced display code if the count value is an integer multiple of N, wherein N is a positive integer greater than 1.
[0025] In a third aspect, the embodiments of the present disclosure further provide a computer device. The computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the steps of the method in any of the embodiments of the present disclosure when executing the computer program.
[0026] In a fourth aspect, the embodiments of the present disclosure further provide a computer readable storage medium. The computer readable storage medium stores a computer program, and the computer program implements the steps of the method in any of the embodiments of the present disclosure when executed by a processor.
[0027] In a fifth aspect, the embodiments of the present disclosure further provide a computer program product. The computer program product includes a computer program, and the computer program implements the steps of the method in any of the embodiments of the present disclosure when executed by a processor.
[0028] In the aforementioned display data transmission system, method, computer device, computer-readable storage medium, and computer program product, during the display data transmission process, the selector receives a display code and, if the display code is a display data code, outputs it to the data conversion module. Upon receiving the display code, the data conversion module simultaneously counts the data and, when the count value reaches an integer multiple of N, concatenates the display code and outputs the concatenated display code. If the display code received by the selector is a display instruction code, and the count value corresponding to the data conversion module is not an integer multiple of N, the selector stores the display instruction code in the buffer module. When the count value corresponding to the data conversion module reaches an integer multiple of N, the display instruction code in the buffer module is output to the data conversion module, enabling the data conversion module to receive the display instruction code, count, and concatenate it, thus achieving aligned transmission of the display instruction code. By setting the periodic count in the data conversion module and combining it with the caching module, the display command code can be cached based on the count value when it is inserted. When the count value meets the conditions, the display command code is sent automatically and immediately, realizing the transmission of the display command code without waiting for feedback from the data conversion module after it has finished splicing. This effectively reduces latency and improves the timeliness and efficiency of display data transmission. At the same time, due to the periodic count of the data conversion module and the splicing of the display code, the situation of incorrect insertion position of the display command code is avoided, and data garbled characters are avoided in the subsequent encoding process, thus ensuring the accuracy and reliability of display data transmission. Attached Figure Description
[0029] To more clearly illustrate the technical solutions in the embodiments of this application or related technologies, the drawings used in the description of the embodiments of this application or related technologies will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0030] Figure 1 This is a schematic diagram showing a data transmission system in one embodiment;
[0031] Figure 2 This is a schematic diagram of a data transmission system shown in another embodiment;
[0032] Figure 3 This is a schematic diagram of a data transmission system shown in another embodiment;
[0033] Figure 4 This is a flowchart illustrating the data transmission method in another embodiment;
[0034] Figure 5 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation
[0035] In order to make the purposes, technical solutions and advantages of the present application clearer, further detailed description will be made to the present application in combination with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, and are not used to limit the present application.
[0036] In one exemplary embodiment, as shown in Figure 1 a display data transmission system 100 is provided, which comprises:
[0037] a selector 110, configured to receive a display code and output the display code to a data conversion module if the display code is a display data code.
[0038] Exemplarily, the display data transmission system comprises a selector configured to receive a display code. In some examples, the display code comprises a display data code and a display instruction code, wherein the display data code can comprise a data code corresponding to a display image, and is configured to be transmitted to a display device to enable the display device to display a corresponding display image; the display instruction code can comprise an instruction code for display control, and is configured to be transmitted to the display device to enable the display device to perform a corresponding display action (such as sleep, pause, close, etc.) according to the display instruction code. The specific display instruction code can be determined according to the actual application scenario.
[0039] In some examples, the display code can be input to the selector in the form of a code stream. The code stream corresponding to the display data code can comprise code streams corresponding to different types of display data codes, such as an SDP code stream (a secondary data code stream in a display protocol such as DP / EDP), a pattern code stream, a video code stream, etc. (a video data stream, a data stream for transmitting a video image). The specific code stream can be determined according to the actual application scenario. In some examples, the code stream module outputs the code stream to the selector.
[0040] Optionally, the selector can determine the type of the display code according to the received display code, and directly output the display data code to the data conversion module for counting and splicing by the data transmission module when the display code is a display data code. In some examples, the type of the display code can be determined according to the identification bit information of the display code.
[0041] In some possible implementations, the display instruction code can be inserted during the transmission of the display data code. In some examples, the display data code can comprise different types of data codes, such as an SDP code, a pattern code, a video code, etc. The specific code can be determined according to the actual application scenario.
[0042] The data conversion module 120 is configured to receive the display code output by the selector and count according to a preset period N, and splice the display code corresponding to the current counting period and output the spliced display code when the counting value is an integer multiple of N, wherein N is a positive integer greater than 1.
[0043] For example, the data conversion module receives the display code output by the selector and counts according to a preset period. In some examples, the selector outputs the same type of display code to the data conversion module in one preset period. The preset period can be determined according to the actual application scenario, and in some examples, it can be determined according to the data splicing and encoding requirements of the display protocol and the length of the display code received at a time, for example, in the DP2.1 protocol, the length of the display code received at a time is 32 bits, and four display codes are needed to splice to form a spliced display code, at this time, the preset period N can be set to 4, that is, the preset period can be the number of single display codes in the spliced display code.
[0044] In some possible implementations, according to some display protocols, when data transmission is performed, a plurality of display codes need to be spliced and encoded and then output to a display device to enable the display device to display, so as to ensure the display effect and data transmission efficiency. For example, in the DP2.1 protocol, four 32-bit display codes need to be spliced and encoded and then output.
[0045] Optionally, the data conversion module counts according to a preset period, and each time the display code output by the selector is received in one counting period, the counting value is incremented by one. When the counting value reaches an integer multiple of N, it can be considered that the number of display codes in the data conversion module at this time reaches the requirement and can be spliced. In some examples, the N display codes received in the current counting period are spliced, and the spliced display code is output.
[0046] For example, when the counting value reaches an integer multiple of the preset period N, the data conversion module receives the display code again, and the counting value continues to count. In some examples, at the beginning of transmission, the counting value starts from 1, and each time an integer multiple of the preset period N is reached, it can be considered that a counting period is completed, and the next counting period continues to count.
[0047] The selector is further configured to, when the display code is a display instruction code and the corresponding counting value of the data conversion module is not an integer multiple of N, store the display instruction code in the cache module 130 until the corresponding counting value of the data conversion module reaches an integer multiple of N, and output the display instruction code in the cache module to the data conversion module.
[0048] Exemplarily, in a case that the display code is a display data code and the count value corresponding to the data conversion module is not an integer multiple of N, it can be considered that the indication code for display control is inserted in the display data code at this time, but the current count period of the data conversion module has not ended, at this time, in order to avoid the display instruction code inserted into the display data code which is counted to half to cause garbled code, the display instruction code is stored in the cache module.
[0049] Optionally, after the display instruction code is stored in the cache module, the selector receives the display instruction code to continue storing in the cache module, and receives the display data code to send to the data conversion module, and the data conversion module continues counting, in a case that the count value reaches an integer multiple of N, it can be considered that the display data code in the data conversion module can be spliced to form a complete spliced display code at this time, at this time, the display instruction code is taken out from the cache module and output to the data conversion module. In some possible implementation manners, if a plurality of display instruction codes are stored in the cache module, they can be output to the data conversion module in turn according to the storage order.
[0050] Exemplarily, when the data received by the data conversion module in the current count period is a display instruction code, if the selector receives the display data code, no transmission is performed.
[0051] In the display data transmission process, the selector receives the display code, and outputs the display code to the data conversion module in a case that the display code is a display data code, the data conversion module receives the display code and simultaneously performs counting, and splices the display code and outputs the spliced display code in a case that the count value reaches an integer multiple of N, the selector stores the display instruction code in the cache module in a case that the display code received by the selector is a display instruction code and the count value corresponding to the data conversion module is not an integer multiple of N, and outputs the display instruction code in the cache module to the data conversion module in a case that the count value corresponding to the data conversion module reaches an integer multiple of N, so that the data conversion module receives the display instruction code and performs counting and splicing, to realize the aligned transmission of the display instruction code. Through the setting of the period count of the data conversion module and the combination of the cache module, the display instruction code can be buffered according to the count value when the display instruction code is inserted, and the display instruction code can be automatically sent immediately when the count value meets the condition, to realize the transmission of the display instruction code, without waiting for the feedback after the splicing of the data conversion module is completed, so that the delay is effectively reduced, and the timeliness and efficiency of the display data transmission are improved; meanwhile, due to the period count of the data conversion module and the splicing of the display code, the error of the insertion position of the display instruction code is avoided, and the garbled code in the subsequent coding process is avoided, so that the accuracy and reliability of the display data transmission are considered.
[0052] In one embodiment, the selector is further configured to output the display instruction code to the data conversion module when the display code is the display instruction code and the corresponding count value of the data conversion module is an integer multiple of N.
[0053] For example, when the display code is the display instruction code and the corresponding count value of the data conversion module is an integer multiple of N, it can be considered that the data conversion module is about to start counting in the next counting period and splice data in the next counting period. At this time, outputting data to the data conversion module will not affect the splicing and encoding of the previously transmitted data. Therefore, the display instruction code can be directly inserted, and the display code is directly sent to the data conversion module for counting and splicing.
[0054] In the embodiments of the present disclosure, the selector is configured to output the display instruction code to the data conversion module when the display code is the display instruction code and the corresponding count value of the data conversion module is an integer multiple of N, which effectively avoids inserting the display instruction code into other data being transmitted, reduces the problem of data disorder, and improves the transmission accuracy and reliability of the display instruction code.
[0055] In one embodiment, the buffer module includes (N-1) buffer units, each buffer unit being configured to store one display instruction code, and the selector is configured to sequentially store the display instruction codes in the buffer units in a preset order.
[0056] For example, the display instruction codes can be stored in the buffer module in the form of buffer units. In some examples, the buffer module includes (N-1) buffer units, each buffer unit being configured to store one display instruction code. The buffer module is configured to temporarily buffer data when the counting period of the data being transmitted has not ended. Since the preset period is N, that is, one counting period corresponds to the transmission of N display codes, if the current counting period has not ended, the display instruction code can be inserted after at most (N-1) display codes are transmitted. Therefore, the number of buffer units is set to (N-1).
[0057] Optionally, the selector sequentially stores the display instruction codes in the buffer units in a preset order when receiving the display instruction codes. In some examples, different buffer units are configured to store display instruction codes corresponding to different count values, which can be determined according to actual application scenarios.
[0058] In the embodiments of the present disclosure, the buffer module includes buffer units configured to store single display instruction codes, and the selector sequentially stores the display instruction codes in the buffer units in a preset order when storing the display instruction codes, which ensures the orderliness of the storage of the display instruction codes in the buffer module, so that the display instruction codes in the buffer module can be quickly and orderly output in subsequent processes, which is suitable for more application scenarios.
[0059] In one embodiment, the storing the display instruction code into the buffer unit in the preset order comprises:
[0060] determining a target buffer unit corresponding to the display instruction code based on a count value corresponding to the data conversion module when the display instruction code is received;
[0061] storing the display instruction code into the target buffer unit.
[0062] Exemplarily, the selector obtains a count value corresponding to the data conversion module when the display instruction code is received when storing the display instruction code into the buffer unit, determines a target buffer unit corresponding to the display instruction code based on the count value, and different count values can correspond to different buffer units. In some examples, different buffer units correspond to different identification information, different buffer units can be distinguished based on the identification information, and the display instruction code is stored into the corresponding buffer unit. In some examples, the target buffer unit can be determined based on a remainder of the count value divided by a preset period N.
[0063] Optionally, since the display instruction code is generally inserted in the display data transmission process, the display instruction code is stored into the buffer unit without suspending the transmission of the display data code, and therefore, the display data code is transmitted synchronously, the selector receives the display data code and continues to send it to the data conversion module, and the data conversion module receives the display data code and counts until the current count period is completed.
[0064] In the embodiments of the present disclosure, when the display instruction code is stored into the buffer unit, the target buffer unit is determined based on a count value corresponding to the data conversion module when the display instruction code is received, and the display instruction code is stored into the target buffer unit, so that the display instruction code can be buffered based on the association between the buffer unit and the count value, and in the subsequent output process, the display instruction code can be extracted from the corresponding buffer unit based on the count value and output, thereby ensuring the accuracy of the output of the display instruction code.
[0065] In one embodiment, the outputting the display instruction code in the buffer module to the data conversion module comprises:
[0066] determining a target count value corresponding to the display instruction code stored first in the buffer module;
[0067] obtaining the display instruction code from the buffer unit in sequence based on a data output strategy corresponding to the target count value, and outputting the display instruction code to the data conversion module.
[0068] Exemplarily, when the display instruction code in the cache module is output to the data conversion module, the output is performed in a certain order. In some examples, the target count value corresponding to the display instruction code first stored in the cache module is determined. For example, two display instruction codes are stored in the cache module, and the count value of the data conversion module corresponding to the display instruction code first received by the selector is determined as the target count value.
[0069] Optionally, according to the data output strategy corresponding to the target count value, the display instruction codes are sequentially obtained from the cache units and output to the data conversion module. In some examples, the data output strategy is the data output times and the data output order determined according to the actual application scenario.
[0070] For example, the clock can be used to trigger the cache units to output the display instruction codes to the selector. Different target count values correspond to different numbers of clock signals. One clock signal triggers one cache unit to output the display instruction code to the selector. In one example, a plurality of clock signals trigger different cache units to output the display instruction codes to the selector in a preset order.
[0071] In some possible implementation manners, taking the target count value M as an example, the remainder m of M divided by N is calculated. When the display instruction codes are output from the cache module, (N-m) display instruction codes are stored in the cache module, corresponding to (N-m) cache units. At this time, (N-m) clock signals are needed to trigger the cache units to output the display instruction codes to the selector.
[0072] In the embodiment of the disclosure, when the display instruction codes in the cache module are output, the data output strategy is determined according to the target count value corresponding to the display instruction code first stored, and the display instruction codes are sequentially obtained from the cache units and output to the data conversion module according to the data output strategy. The problem of disordered output order of the display instruction codes is avoided, the data output accuracy is improved, and the method is suitable for more application scenarios.
[0073] In one embodiment, in the case that the received display code is a display instruction code, the splicing of the display code corresponding to the current count period further includes:
[0074] Obtaining a plurality of display instruction codes corresponding to the current count period;
[0075] Splicing the plurality of display instruction codes according to the identification information and the count value corresponding to the display instruction code.
[0076] Exemplarily, when splicing the display instruction code, a plurality of display instruction codes corresponding to the current counting period are acquired. In some examples, the display instruction code corresponds to identification information, which is used to indicate the type of the display instruction code. For example, the display instruction code can include a control instruction code and a normal instruction code, which correspond to different identification information. In some examples, the identification information can correspond to an identification bit in the display instruction code, and the values of the identification bits of different types of display instruction codes are different.
[0077] Optionally, the counting value corresponding to the display instruction code represents the order in which the display instruction code is transmitted to the data conversion module. If the counting is from small to large, the smaller the counting value, the earlier the transmission order can be considered. When splicing, the transmission order of the display instruction code is determined according to the size of the counting value, and the display instruction code is arranged according to the transmission order to obtain the display instruction code arranged initially. Then, the control instruction code in the display instruction code is determined according to the identification information, and the display instruction code arranged initially is arranged again according to the priority order of the control instruction code arranged in front to obtain the display instruction code arranged again, and splicing is performed.
[0078] In the embodiment of the present disclosure, when splicing the display instruction code, the data conversion module splices according to the identification information and the counting value corresponding to the display instruction code, taking into account the role and transmission order of the display instruction code, and ensuring the accuracy and reliability of the spliced display instruction code.
[0079] In one embodiment, the system further comprises:
[0080] The encoding module is configured to receive the spliced display code output by the data conversion module, encode the spliced display code according to a preset encoding manner to obtain a target display code, and output the target display code to a display device.
[0081] Exemplarily, the system further comprises an encoding module, and the data conversion module outputs the spliced display code to the encoding module, and the encoding module encodes the spliced display code according to a preset encoding manner. In some examples, the preset encoding manner can be determined based on the display protocol corresponding to the current data transmission.
[0082] Taking a display protocol DP2.1 as an example, the preset encoding mode can be set as 128-bit / 132-bit encoding. In some examples, the encoding process includes inserting a cdi1 code (a 1-bit code inserted in the encoding process, used for auxiliary encoding or checking), FEC encoding (Forward Error Correction), and precoding encoding; specifically, in 12 super symbols (corresponding to the spliced display code) (128 bits), 1 bit of cdi1 code is inserted in each super symbol, then 4 pad bits are inserted, then a 32-bit RS Parity symbol (Reed-Solomon Parity symbol, a checking information based on RS encoding, used for error correction) is inserted, then FEC encoding is performed, and precoding output is performed. After the above-mentioned first encoding, 12 super symbols of 32 bits can be encoded into 1584 bits, and after encoding, there are 132 bits on average per symbol.
[0083] Optionally, a target display code is obtained after encoding. The target display code is output to a display device, and the display device displays according to the target display code after receiving the target display code, thereby realizing transmission of display data.
[0084] In some possible implementations, the system further includes a scrambling module, the data conversion module outputs the spliced display code to the scrambling module, the scrambling module outputs to the encoding unit after scrambling, and the encoding unit receives and encodes.
[0085] In the embodiments of the present disclosure, the system further includes an encoding module, which receives the spliced display code and encodes to obtain a target display code, and outputs the target display code to a display device, thereby realizing image display and display control of the display device.
[0086] Figure 2 To show the structure block diagram of a display data transmission system according to an example embodiment, refer to Figure 2 As shown in the figure, the system includes a selector, a data conversion module, a scrambling module, and an encoding module. The code stream module outputs different code streams, for example, an SDP code stream corresponding to a display data code, a pattern code stream, a video code stream, and a special code stream corresponding to a display instruction code. The display data code outputs a code stream to the selector, the selector selects different code streams according to different time sequences, and when a display instruction code needs to be sent, the special code stream is selected immediately.
[0087] The code stream selected by the selector enters the data conversion module. Taking the DP2.1 protocol as an example, the module will combine four 32-bit symbols (corresponding to display codes) to form a spliced display code, i.e., a super symbol (128 bits). In some examples, the super symbol is also exchanged, and the control symbol (corresponding to the control instruction code) in the four symbols is exchanged to the position of the front symbol (i.e., the display code is spliced according to the identification information). After the synthesis of the 128-bit super symbol, it is transmitted to the scrambling module, which directly scrambles the super symbol. The bit width of the super symbol after scrambling does not change. After the scrambling module scrambles, the data enters the encoding module for encoding, and the encoded data is output to the display device.
[0088] In some examples, the display instruction code has an identification bit, i.e., identification information. When the data conversion module identifies that the incoming display code is a display instruction code, it will immediately identify it as a special code value. After being identified as a special code value, the special code value is automatically cached in three levels with the link clock (link clock, a clock signal used to synchronize data transmission) as the unit.
[0089] The data conversion module counts the symbols when receiving the display code. The count is combined into a super symbol in units of 4.
[0090] When the count value meets the condition, the display instruction code is extracted from the cache and sent to the data conversion module. When the count value is an integer multiple of 4, the data output strategy is determined according to the count value when the first display instruction code is stored in the cache, and output to the data conversion module.
[0091] Figure 3 To show a display data transmission system according to an example embodiment, refer to Figure 3 As shown, the cache module corresponds to three cache units buffer0, buffer1, and buffer2. The clock signal corresponding to the count value of the first display instruction code is determined, and the display instruction code is output from the corresponding cache unit to the selector through the clock signal. The selector outputs to the data conversion unit for splicing output.
[0092] In the embodiments of the present disclosure, when the display instruction code is received, it can be temporarily cached according to the count value, and when the count value meets the condition, it is directly sent to the data conversion module for splicing and subsequent encoding, without waiting for feedback, effectively reducing the delay and ensuring the data transmission efficiency and accuracy.
[0093] Based on the same inventive concept, the embodiments of the present application also provide a display data transmission method applied to the selector of the display data transmission system, and the implementation scheme for solving the problem provided by the method is similar to the implementation scheme described in the system, so the specific definition in one or more display data transmission method embodiments below can refer to the definition of the display data transmission system in the foregoing, and will not be described here.
[0094] In one embodiment, as shown in Figure 4 A display data transmission method is provided, which is applied to a selector of a display data transmission system, and includes:
[0095] Step S410, receiving a display code and outputting the display code to a data conversion module in the case that the display code is a display data code;
[0096] Step S420, storing the display instruction code in a cache module in the case that the display code is a display instruction code and the count value corresponding to the data conversion module is not an integer multiple of N, until the count value corresponding to the data conversion module reaches an integer multiple of N, and outputting the display instruction code in the cache module to the data conversion module; wherein the data conversion module receives the display code output by the selector and counts according to a preset period N, and in the case that the count value is an integer multiple of N, splices the display code corresponding to the current count period and outputs the spliced display code, wherein N is a positive integer greater than 1.
[0097] It should be understood that although each step in the flowchart involved in each of the above embodiments is displayed in sequence according to the arrow, these steps are not necessarily executed in sequence according to the arrow. Unless otherwise stated herein, the execution of these steps is not strictly limited in sequence, and these steps can be executed in other sequences. Moreover, at least part of the steps in the flowchart involved in each of the above embodiments can include multiple steps or stages, which are not necessarily executed at the same time, but can be executed at different times, and the execution sequence of these steps or stages is not necessarily sequential, but can be executed in rotation or alternation with at least part of other steps or steps or stages in other steps.
[0098] In one exemplary embodiment, a computer device, which can be a server, is provided, and its internal structure diagram can be as shown in Figure 5The computer device shown in the figure includes a processor, a memory, an Input / Output (I / O) interface, and a communication interface. The processor, the memory, and the I / O interface are connected through a system bus, and the communication interface is connected to the system bus through the I / O interface. The processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for running the operating system and the computer program in the non-volatile storage medium. The database of the computer device is configured to store data involved in the method described in the embodiment, such as display codes. The I / O interface of the computer device is configured to exchange information between the processor and external devices. The communication interface of the computer device is configured to communicate with terminals outside through a network connection. The computer program is executed by the processor to implement a display data transmission method.
[0099] Those skilled in the art can understand that, Figure 5 The structure shown in the figure is only a block diagram of part of the structure related to the scheme of the present application, and does not constitute a limitation on the computer device to which the scheme of the present application is applied. A specific computer device can include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0100] In one embodiment, a computer device is also provided, including a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the steps in the above method embodiments.
[0101] In one embodiment, a computer readable storage medium is provided, which stores a computer program. The computer program is executed by a processor to implement the steps in the above method embodiments.
[0102] In one embodiment, a computer program product is provided, which includes a computer program. The computer program is executed by a processor to implement the steps in the above method embodiments.
[0103] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in the present application are all information and data authorized by the user or authorized by all parties, and the collection, use, and processing of related data need to comply with relevant regulations.
[0104] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a non-volatile computer readable storage medium, and when executed, can include the processes of the above-mentioned embodiment methods. Any reference to memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. The non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical storage, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. The volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration but not limitation, the RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc. The database involved in the embodiments provided in the present application can include at least one of a relational database and a non-relational database. The non-relational database can include a distributed database based on a block chain, etc., without being limited thereto. The processor involved in the embodiments provided in the present application can be a general-purpose processor, a central processing unit, a graphics processing unit, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., without being limited thereto.
[0105] The technical features of the above embodiments can be combined in any manner. To make the description concise, all possible combinations of the technical features in the above embodiments are not described, but as long as the combinations of the technical features do not exist, they should be considered as the scope of the present application.
[0106] The above-described embodiments are merely illustrative of several embodiments of the present application, and the description is relatively specific and detailed, but should not be understood as a limitation on the scope of the patent. It should be noted that for those skilled in the art, without departing from the concept of the present application, a number of modifications and improvements can be made, which are all within the scope of the present application. Therefore, the scope of protection of the present application should be subject to the appended claims.
Claims
1. A display data transmission system, characterized by The system comprises: a selector configured to receive a display code and output the display code to a data conversion module if the display code is a display data code; the data conversion module is configured to receive the display code output by the selector and count according to a preset period N, and splice the display code corresponding to the current counting period and output the spliced display code if the counting value is an integer multiple of N, wherein N is a positive integer greater than 1; the selector is further configured to store the display instruction code in a cache module if the display code is a display instruction code and the counting value corresponding to the data conversion module is not an integer multiple of N, until the counting value corresponding to the data conversion module reaches an integer multiple of N, and output the display instruction code in the cache module to the data conversion module; the cache module comprises N-1 cache units, each cache unit is configured to store a display instruction code, and the selector is configured to store the display instruction code in the cache units in a preset order; the display instruction code is stored in the cache units in the preset order, which comprises determining a target cache unit corresponding to the display instruction code based on the counting value corresponding to the data conversion module when the display instruction code is received, and storing the display instruction code in the target cache unit.
2. The system of claim 1, wherein, the selector is further configured to output the display instruction code to the data conversion module if the display code is a display instruction code and the counting value corresponding to the data conversion module is an integer multiple of N.
3. The system of claim 1, wherein, the preset period is determined according to the data splicing and encoding requirements corresponding to the display protocol and the length of the display code received at a time.
4. The system of claim 1, wherein, the selector is further configured to output the display instruction code in the cache module to the data conversion module in the order of storage.
5. The system of claim 1, wherein, the output of the display instruction code in the cache module to the data conversion module comprises: determining a target counting value corresponding to the display instruction code stored in the cache module first; according to the data output strategy corresponding to the target counting value, the display instruction code is sequentially obtained from the cache unit and output to the data conversion module.
6. The system of claim 1, wherein, in the case that the received display code is a display instruction code, the splicing of the display code corresponding to the current counting period further comprises: obtaining a plurality of display instruction codes corresponding to the current counting period; splicing the plurality of display instruction codes according to the identification information and the counting value corresponding to the display instruction codes.
7. The system of claim 1, wherein, The system further comprises: an encoding module configured to receive the spliced display code output by the data conversion module, encode the spliced display code according to a preset encoding mode, obtain a target display code, and output the target display code to a display device.
8. A method of displaying data transmission, characterized by, The method is applied to the selector of the display data transmission system according to any one of claims 1 to 7, and the method comprises: receiving a display code and outputting the display code to a data conversion module if the display code is a display data code; In a case that the display code is a display instruction code and the count value corresponding to the data conversion module is not an integer multiple of N, the display instruction code is stored in a buffer module until the count value corresponding to the data conversion module reaches an integer multiple of N, and the display instruction code in the buffer module is output to the data conversion module; wherein the data conversion module receives the display code output by the selector and counts according to a preset period N, and in a case that the count value is an integer multiple of N, the display code corresponding to the current count period is spliced, and the spliced display code is output, wherein N is a positive integer greater than 1. 9.A computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the computer device is configured to perform the method according to any one of claims 1-8 when the computer program is executed by the processor. The computer program is executed by the processor to implement the steps of the method of claim 8.
10. A computer readable storage medium storing a computer program, characterized in that, The computer program is executed by the processor to implement the steps of the method of claim 8.
Citation Information
Patent Citations
Extensible pipelined circuit aiming at SM4 cryptographic algorithm and implementation method thereof
CN105577363A
Audio-video transmission device and audio-video transmission system
CN211702218U