Communication control method of a communication system and a communication system

By analyzing the historical communication data of the LED display screen, identifying the abnormal coding ratio, and encoding and converting the data to be sent, the communication stability problem caused by imbalance in the encoding ratio in the LED display communication system is solved, and a more stable communication process is achieved.

CN119446052BActive Publication Date: 2025-06-17HANGZHOU SHIXIN TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202510019186.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-01-07
Publication Date
2025-06-17
Estimated Expiration
2045-01-07

AI Technical Summary

Technical Problem

In the existing LED display communication system, the imbalance in the ratio of encoding 0 and encoding 1 of the data signal will lead to a decrease in communication stability, and the prior art has failed to effectively solve this problem.

Method used

By obtaining the historical communication data of the LED display screen and the display control data to be sent, the communication encoding ratio of the historical communication data is analyzed. If the preset encoding ratio is not met, the proportion abnormality type is determined, and the data to be sent is encoded and converted to obtain the target encoding to ensure the balance of the communication encoding ratio.

Benefits of technology

By analyzing the communication encoding ratio of historical communication data in real time, and coding and converting the transmitted data in a timely manner, the balance of the communication encoding ratio is improved, the communication stability problems caused by imbalance in the encoding ratio are effectively avoided, and the stability of the communication system is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119446052B_ABST
    Figure CN119446052B_ABST
Patent Text Reader

Abstract

The present application relates to a communication control method for a communication system and a communication system; obtaining historical communication data of an LED display screen and display control data to be sent; determining a proportional anomaly type corresponding to a communication coding ratio when the communication coding ratio of the historical communication data does not meet a preset coding ratio; performing coding conversion on the display control data to be sent according to the proportional anomaly type to obtain a target coding; and performing communication control on a driving circuit corresponding to the LED display screen according to the target coding. By analyzing the communication coding ratio of the historical communication data in real time, it is possible to timely perform corresponding coding conversion on the display control data to be sent to obtain a target coding, improving the balance of the communication coding ratio, effectively avoiding the problem of poor communication stability of the communication system caused by coding ratio imbalance in the prior art, and improving the stability of the communication process of the communication system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of display communication technologies, and particularly to a communication control method for a communication system and a communication system. Background Art

[0002] In existing LED display communication systems, the architecture usually consists of a master control terminal combined with one or more driving circuits. The master control terminal is responsible for generating and sending data signals and control signals to each driving circuit to precisely control the state of each LED lamp, thereby achieving the expected visual effect. However, in practical applications, since the data signals sent by the master control terminal change in real time, if the ratio of encoded 0s to encoded 1s in these data signals is too unbalanced, it will have an adverse impact on the communication stability of the system.

[0003] Regarding the problem of poor communication stability in the display communication system in the prior art, no effective solution has been proposed yet. Summary of the Invention

[0004] Based on this, in view of the above technical problems, it is necessary to provide a communication control method for a communication system and a communication system.

[0005] In a first aspect, this application provides a communication control method for a communication system, and the method includes:

[0006] Obtain the historical communication data of the LED display screen and the display control data to be sent;

[0007] When the communication coding ratio of the historical communication data does not meet the preset coding ratio, determine the ratio anomaly type corresponding to the communication coding ratio;

[0008] Perform coding conversion on the display control data to be sent according to the ratio anomaly type to obtain a target coding;

[0009] Perform communication control on the driving circuit corresponding to the LED display screen according to the target coding.

[0010] In one embodiment, the method for determining the communication coding ratio of the historical communication data includes:

[0011] Determine the total cumulative coding according to the historical communication data;

[0012] According to the total cumulative coding, determine the first total cumulative amount corresponding to the first coding and the second total cumulative amount corresponding to the second coding; the first coding and the second coding are complementary codes to each other;

[0013] Determine the communication coding ratio according to the ratio of the first total cumulative amount to the second total cumulative amount.

[0014] In one embodiment, when the communication coding ratio in the historical communication data does not meet the preset coding ratio, determining the ratio abnormal type corresponding to the communication coding ratio includes:

[0015] If the communication coding ratio is greater than the first coding ratio, determining that the ratio abnormal type corresponding to the communication coding ratio is the first abnormal type;

[0016] If the communication coding ratio is less than the second coding ratio, determining that the ratio abnormal type corresponding to the communication coding ratio is the second abnormal type; wherein, the second coding ratio is equal to the first coding ratio, or, the second coding ratio is less than the first coding ratio.

[0017] In one embodiment, the ratio abnormal type includes the first abnormal type; performing coding conversion on the display control data to be sent according to the ratio abnormal type to obtain a target code, including:

[0018] If the ratio abnormal type is the first abnormal type, and the number of first codes in the display control data to be sent is greater than the number of second codes, performing an inverse code conversion on the display control data to be sent to obtain the target inverse code corresponding to the display control data to be sent;

[0019] Taking the target inverse code as the target code;

[0020] If the ratio abnormal type is the first abnormal type, and the number of first codes in the display control data to be sent is less than or equal to the number of second codes, taking the display control data to be sent as the target code.

[0021] In one embodiment, the ratio abnormal type includes the second abnormal type; performing coding conversion on the display control data to be sent according to the ratio abnormal type to obtain a target code, including:

[0022] If the ratio abnormal type is the second abnormal type, and the number of first codes in the display control data to be sent is less than the number of second codes, performing an inverse code conversion on the display control data to be sent to obtain the target inverse code corresponding to the display control data to be sent;

[0023] Taking the target inverse code as the target code;

[0024] If the ratio abnormal type is the second abnormal type, and the number of first codes in the display control data to be sent is greater than or equal to the number of second codes, taking the display control data to be sent as the target code.

[0025] In one embodiment, the communication control of the driving circuit corresponding to the LED display screen according to the target coding includes:

[0026] Comparing the display control data to be sent with the target coding to determine a target flag bit;

[0027] Performing communication control on the driving circuit corresponding to the LED display screen according to the target coding and the target flag bit.

[0028] In one embodiment, the comparing the display control data to be sent with the target coding to determine a target flag bit includes:

[0029] If the target coding is the same as the display control data to be sent, generating a first flag bit;

[0030] If the target coding is different from the display control data to be sent, generating a second flag bit; the second flag bit and the first flag bit are complementary codes to each other;

[0031] Obtaining the target flag bit according to the first flag bit or the second flag bit.

[0032] In one embodiment, the performing communication control on the driving circuit corresponding to the LED display screen according to the target coding and the target flag bit includes:

[0033] Generating a target data packet according to the target coding and the target flag bit according to a preset rule;

[0034] Performing communication control on the driving circuit corresponding to the LED display screen according to the target data packet.

[0035] In a second aspect, the present application further provides a communication system, the system includes a main control end and an LED display screen; the main control end is communicatively connected to the LED display screen;

[0036] The main control end is configured to execute the communication control method of the communication system in any one of the embodiments of the first aspect above.

[0037] In a third aspect, the present application further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the method in any one of the embodiments of the first aspect above are implemented.

[0038] In a fourth aspect, the present application further provides a computer program product, including a computer program, and when the computer program is executed by a processor, the steps of the method in any one of the embodiments of the first aspect above are implemented.

[0039] The communication control method of the above communication system and the communication system obtain the historical communication data of the LED display screen and the display control data to be sent; based on the historical communication data, the change trend of the communication coding ratio in the communication process can be accurately identified; furthermore, when the communication coding ratio of the historical communication data does not meet the preset coding ratio, the ratio anomaly type corresponding to the communication coding ratio can be accurately determined; based on the ratio anomaly type, the display control data to be sent is encoded and converted to obtain the target code to ensure the balance of the communication coding ratio in the communication control process; the driving circuit corresponding to the LED display screen is controlled for communication according to the target code; based on this, by analyzing the communication coding ratio of the historical communication data in real time, the display control data to be sent can be encoded and converted accordingly in a timely manner to obtain the target code, improving the balance of the communication coding ratio and effectively avoiding the problem of poor communication stability of the communication system caused by the imbalance of the coding ratio in the prior art, and improving the stability of the communication process of the communication system. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related art, the following will briefly introduce the drawings required for the description in the embodiments of the present application or the related art. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other related drawings can be obtained based on these drawings without creative efforts.

[0041] Figure 1 It is a schematic flowchart of the communication control method of the communication system in an embodiment;

[0042] Figure 2 It is a schematic flowchart of the steps of the communication coding ratio determination method in an embodiment;

[0043] Figure 3 It is a schematic flowchart of the steps of the communication control method according to the target code in an embodiment;

[0044] Figure 4 It is a structural diagram of the communication system in an embodiment;

[0045] Figure 5 It is an internal structural diagram of the communication system in an embodiment. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0046] In order to make the objectives, technical solutions and advantages of the present application more clear, the present application will be further described in detail below with reference to the 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.

[0047] In one embodiment, as Figure 1As shown Figure 1 is a schematic flowchart of a communication control method for a communication system in an embodiment; the communication system includes a master control end and an LED display screen; the master control end is communicatively connected to the LED display screen; the communication control method of the communication system, which is applied to the master control end of the communication system, includes the following steps:

[0048] Step S101, obtain the historical communication data of the LED display screen and the display control data to be sent.

[0049] Among them, the LED display screen includes at least one LED display module; the LED display module includes a plurality of drive circuits connected in series or in cascade or in parallel; each drive circuit is connected to and drives one or more LED lights; the drive circuit is used to perform display control on the LEDs connected thereto according to the display control data.

[0050] Among them, the historical communication data includes historical display control data and historical flag bit data; among them, the historical display control data refers to the display control data that has been completed and sent; the historical display control data includes one or more sent display control data; among them, the display control data can be composed of a binary coding group; for example, the display control data is 00000001. It can be understood that the display control data is used to perform display control on the LEDs connected to the drive circuit corresponding to the LED display screen. The display control data needs to be set according to the actual display control requirements and is not specifically limited here.

[0051] Among them, the historical flag bit data includes historical flag bits corresponding one by one to one or more sent display control data; the historical flag bit is a binary coding used to represent the type of historical coding obtained after encoding conversion of the sent display control data; among them, the type of historical coding includes the original data type and the complementary code data type. Among them, the original data type means that the historical coding is exactly the same as the sent display control data; the complementary code data type means that the historical coding and the sent display control data are complementary codes to each other. For example, assuming that the historical flag bit is "1", it is used to indicate that the type of historical coding obtained after encoding conversion of the sent display control data is the complementary code data type; assuming that the historical flag bit is "0", it is used to indicate that the type of historical coding obtained after encoding conversion of the sent display control data is the original data type.

[0052] Among them, the display control data to be sent refers to the next set of display control data to be sent to the drive circuit corresponding to the LED display screen.

[0053] Step S102, when the communication coding ratio of the historical communication data does not meet the preset coding ratio, determine the ratio abnormal type corresponding to the communication coding ratio.

[0054] Among them, the communication coding ratio refers to the ratio of the first cumulative total corresponding to the first coding to the second cumulative total corresponding to the second coding in the historical communication data; among them, the first coding and the second coding are complementary codes to each other; for example, if the first coding is "0", then the second coding is "1"; if the first coding is "1", then the second coding is "0". Among them, the first coding cumulative total refers to the sum of the cumulative quantities of the first coding in the historical communication data; the second coding cumulative total refers to the sum of the cumulative quantities of the second coding in the historical communication data.

[0055] It can be understood that since the historical communication data will be dynamically updated accordingly according to the actual communication control process, the first cumulative total corresponding to the first coding and the second cumulative total corresponding to the second coding will be updated accordingly with the update of the historical communication data, and thus the communication coding ratio of the historical communication data will also change accordingly with the passage of time; based on this, by comparing the communication coding ratio with the preset coding ratio, it is possible to determine in real time whether there is an imbalance between the first coding and the second coding during the communication process, so as to adjust the coding in a timely manner to ensure the balance of the communication coding ratio, that is, the ratio of the first coding and the second coding.

[0056] Among them, the preset coding ratio needs to be set according to the actual communication requirements and is not specifically limited here. In an exemplary embodiment, the preset coding ratio can be a preset ratio threshold; the preset ratio threshold is a specific value; for example, the preset ratio threshold can be set to 1; in another embodiment, the preset coding ratio can be a preset ratio range; the preset ratio range is a numerical interval; for example, the preset ratio range can be set to 0.9 - 1.1.

[0057] Among them, the ratio anomaly type includes the first anomaly type and the second anomaly type; among them, the first anomaly type refers to the situation where the first cumulative total of the first coding is excessive; the second anomaly type refers to the situation where the second cumulative total of the second coding is excessive.

[0058] It can be understood that for different ratio anomaly types, appropriate coding conversion strategies need to be selected to ensure as much as possible the balance of the communication coding ratio during the communication process, and thus ensure the stability and reliability during the communication process of the communication system.

[0059] Step S103, perform coding conversion on the display control data to be sent according to the ratio anomaly type to obtain the target coding.

[0060] Among them, the target coding can be the original binary coding group corresponding to the display control data to be sent, or the complementary code of the original binary coding group corresponding to the display control data to be sent; it can be understood that the specific type of the target coding needs to be determined according to the ratio anomaly type and is not specifically limited here.

[0061] Step S104, perform communication control on the driving circuit corresponding to the LED display screen according to the target code.

[0062] Exemplarily, obtain the historical communication data corresponding to the LED display screen and the next set of display control data to be sent; based on the historical communication data, determine the communication coding ratio corresponding to the historical communication data, and determine whether the communication coding ratio meets the preset coding ratio; specifically, in the case where the communication coding ratio of the historical communication data does not meet the preset coding ratio, determine the ratio anomaly type corresponding to the communication coding ratio; furthermore, according to the ratio anomaly type, determine the coding conversion strategy corresponding to the ratio anomaly type, and perform corresponding coding conversion on the display control data to be sent according to the coding conversion strategy to obtain the corresponding target code; finally, perform communication control on the driving circuit corresponding to the LED display screen based on the target code.

[0063] In this embodiment, based on the historical communication data, the change trend of the communication coding ratio during the communication process can be accurately identified; furthermore, in the case where the communication coding ratio of the historical communication data does not meet the preset coding ratio, the ratio anomaly type corresponding to the communication coding ratio can be accurately determined; based on the ratio anomaly type, perform coding conversion on the display control data to be sent to obtain the target code to ensure the balance of the communication coding ratio during the communication control process; perform communication control on the driving circuit corresponding to the LED display screen according to the target code; based on this, by analyzing the communication coding ratio of the historical communication data in real time, the corresponding coding conversion can be timely performed on the display control data to be sent to obtain the target code, improving the balance of the communication coding ratio, effectively avoiding the problem of poor communication stability of the communication system caused by the coding ratio imbalance in the prior art, and improving the stability of the communication process of the communication system.

[0064] In one embodiment, as Figure 2 shown, Figure 2 is a flowchart of the steps of the communication coding ratio determination method in one embodiment; the method for determining the communication coding ratio of historical communication data includes the following steps:

[0065] Step S201, determine the cumulative coding total according to the historical communication data.

[0066] Among them, the historical communication data includes historical display control data and historical flag bit data; among them, the historical display control data includes one or more sent display control data; the display control data is composed of binary coding groups; the historical flag bit data includes historical flag bits corresponding one-to-one to one or more sent display control data; the historical flag bit is binary coding.

[0067] Among them, the cumulative coding total refers to the sum of all binary codes contained in historical communication data; that is, the cumulative coding total is equal to the sum of the binary coding total corresponding to historical display control data and the binary coding total corresponding to historical flag bit data.

[0068] Step S202: Determine the first cumulative total corresponding to the first code and the second cumulative total corresponding to the second code according to the cumulative coding total.

[0069] Among them, the first code and the second code are complementary codes to each other. The first code cumulative total refers to the sum of the cumulative quantities of the first code in historical communication data; the second code cumulative total refers to the sum of the cumulative quantities of the second code in historical communication data.

[0070] Step S203: Determine the communication coding ratio according to the ratio of the first cumulative total to the second cumulative total.

[0071] Among them, the communication coding ratio refers to the ratio of the first cumulative total to the second cumulative total; that is, the communication coding ratio = the first cumulative total / the second cumulative total.

[0072] Exemplarily, according to historical communication data, calculate the sum of the binary coding total corresponding to historical display control data and the binary coding total corresponding to historical flag bit data in the historical communication data to obtain the cumulative coding total; according to the cumulative coding total, calculate the first cumulative total corresponding to the first code and the second cumulative total corresponding to the second code; and then calculate the communication coding ratio according to the ratio of the first cumulative total to the second cumulative total.

[0073] In this embodiment, based on the first cumulative total corresponding to the first code and the second cumulative total corresponding to the second code, the current communication coding ratio can be accurately determined, and then the change trend of the communication coding ratio can be grasped in a timely manner, laying a foundation for adjusting the coding conversion strategy in a timely manner, and further laying a foundation for improving the stability in the communication process of the communication system.

[0074] In one embodiment, when the communication coding ratio of historical communication data does not meet the preset coding ratio, determining the ratio anomaly type corresponding to the communication coding ratio includes the following steps:

[0075] Step 1: If the communication coding ratio is greater than the first coding ratio, determine that the ratio anomaly type corresponding to the communication coding ratio is the first anomaly type.

[0076] Step 2: If the communication coding ratio is less than the second coding ratio, determine that the ratio anomaly type corresponding to the communication coding ratio is the second anomaly type.

[0077] Among them, the second coding ratio is equal to the first coding ratio, or the second coding ratio is less than the first coding ratio.

[0078] It should be noted that the first coding ratio and the second coding ratio are determined according to a preset coding ratio. When the preset coding ratio is a preset ratio threshold, i.e., a specific value, the first coding ratio is equal to the second coding ratio and equal to the preset ratio threshold; when the preset coding ratio is a preset ratio range, i.e., a numerical interval, the first coding ratio is equal to the upper bound of the preset ratio range, and the second coding ratio is equal to the lower bound of the preset ratio range. For example, when the preset ratio range is 0.9 - 1.1, the first coding ratio is equal to 1.1 and the second coding ratio is equal to 0.9; the second coding ratio is less than the first coding ratio.

[0079] Among them, the first abnormal type refers to the situation where the first cumulative total of the first coding is excessive; the second abnormal type refers to the situation where the second cumulative total of the second coding is excessive.

[0080] In an exemplary embodiment, taking the second coding ratio being equal to the first coding ratio as an example, if the communication coding ratio is equal to the first coding ratio, it is determined that the communication coding ratio is normal, and at this time, any coding conversion strategy can be selected for the display control data to be sent; if the communication coding ratio is greater than the first coding ratio, it is determined that the ratio abnormal type corresponding to the communication coding ratio is the first abnormal type, and at this time, a coding conversion strategy corresponding to the first abnormal type needs to be selected for the display control data to be sent; if the communication coding ratio is less than the second coding ratio, it is determined that the ratio abnormal type corresponding to the communication coding ratio is the second abnormal type, and at this time, a coding conversion strategy corresponding to the second abnormal type needs to be selected for the display control data to be sent.

[0081] In another exemplary embodiment, taking the second coding ratio being less than the first coding ratio as an example, if the communication coding ratio is between the second coding ratio and the first coding ratio, it is determined that the communication coding ratio is normal, and at this time, any coding conversion strategy can be selected for the display control data to be sent; if the communication coding ratio is greater than the first coding ratio, it is determined that the ratio abnormal type corresponding to the communication coding ratio is the first abnormal type, and at this time, a coding conversion strategy corresponding to the first abnormal type needs to be selected for the display control data to be sent; if the communication coding ratio is less than the second coding ratio, it is determined that the ratio abnormal type corresponding to the communication coding ratio is the second abnormal type, and at this time, a coding conversion strategy corresponding to the second abnormal type needs to be selected for the display control data to be sent.

[0082] It should be noted that the coding conversion strategy corresponding to the first abnormal type is different from the coding conversion strategy corresponding to the second abnormal type. The specific implementation method will be described in detail below and will not be elaborated here.

[0083] In this embodiment, based on the communication coding ratio, the first coding ratio, and the second coding ratio, the ratio anomaly type corresponding to the communication coding ratio can be accurately determined. Furthermore, based on the ratio anomaly type, the corresponding coding conversion strategy can be flexibly determined, improving the flexibility and stability of the communication process in the communication system.

[0084] In one embodiment, the ratio anomaly type includes a first anomaly type; encoding and converting the display control data to be sent according to the ratio anomaly type to obtain a target code, including the following steps:

[0085] Step 1, if the ratio anomaly type is the first anomaly type and the number of first codes in the display control data to be sent is greater than the number of second codes, then perform a complementary code conversion on the display control data to be sent to obtain the target complementary code corresponding to the display control data to be sent.

[0086] Step 2, use the target complementary code as the target code.

[0087] Step 3, if the ratio anomaly type is the first anomaly type and the number of first codes in the display control data to be sent is less than or equal to the number of second codes, then use the display control data to be sent as the target code.

[0088] It can be understood that this embodiment is the coding conversion strategy corresponding to the first anomaly type. When determining the coding conversion strategy corresponding to the first anomaly type, not only the ratio anomaly type needs to be considered, but also the quantity relationship between the first code and the second code in the display control data to be sent needs to be combined to ensure that the communication coding ratio can be adjusted timely and accurately based on the target code, ensuring the balance of the communication coding ratio.

[0089] Exemplarily, in the case where the proportion anomaly type is the first anomaly type, that is, when there is an excess in the first cumulative total of the first encoding, if the number of the first encodings in the display control data to be sent is greater than the number of the second encodings, the display control data to be sent is subjected to an inverse code conversion to obtain the target inverse code corresponding to the display control data to be sent, and the target inverse code is used as the target encoding; if the number of the first encodings in the display control data to be sent is less than or equal to the number of the second encodings, the display control data to be sent is used as the target encoding. For example, assuming that the first encoding is "1" and the second encoding is "0", in the case where the proportion anomaly type is the first anomaly type, that is, when there is an excess in the first cumulative total of the first encoding "1", if the display control data to be sent is "11111000", the display control data "11111000" to be sent is subjected to an inverse code conversion to obtain the target inverse code "00000111", and the target inverse code "00000111" is used as the target encoding, that is, the target encoding is "00000111"; if the display control data to be sent is "00000011", the display control data to be sent is used as the target encoding, that is, the target encoding is "00000011".

[0090] In this embodiment, an encoding conversion strategy corresponding to the first anomaly type is provided. The encoding conversion strategy corresponding to the first anomaly type not only considers the proportion anomaly type, but also combines the quantity relationship between the first encoding and the second encoding in the display control data to be sent, ensuring that the communication encoding proportion can be adjusted timely and accurately based on the target encoding, and further ensuring the balance of the communication encoding proportion.

[0091] In one embodiment, the proportion anomaly type includes a second anomaly type; encoding the display control data to be sent according to the proportion anomaly type to obtain the target encoding includes the following steps:

[0092] Step 1, if the proportion anomaly type is the second anomaly type and the number of the first encodings in the display control data to be sent is less than the number of the second encodings, the display control data to be sent is subjected to an inverse code conversion to obtain the target inverse code corresponding to the display control data to be sent.

[0093] Step 2, using the target inverse code as the target encoding.

[0094] Step 3, if the proportion anomaly type is the second anomaly type and the number of the first encodings in the display control data to be sent is greater than or equal to the number of the second encodings, the display control data to be sent is used as the target encoding.

[0095] It can be understood that this embodiment is the encoding conversion strategy corresponding to the second abnormal type. When determining the encoding conversion strategy corresponding to the second abnormal type, not only the proportional abnormal type needs to be considered, but also the quantitative relationship between the first encoding and the second encoding in the display control data to be sent needs to be combined to ensure that the communication encoding ratio can be adjusted timely and accurately based on the target encoding, and to ensure the balance of the communication encoding ratio.

[0096] Exemplarily, when the proportional abnormal type is the second abnormal type, that is, when the second cumulative total of the second encoding is excessive, if the number of the first encoding in the display control data to be sent is less than the number of the second encoding, then perform an inverse code conversion on the display control data to be sent to obtain the target inverse code corresponding to the display control data to be sent, and use the target inverse code as the target encoding; if the number of the first encoding in the display control data to be sent is greater than or equal to the number of the second encoding, then use the display control data to be sent as the target encoding. For example, assume that the first encoding is "1" and the second encoding is "0". When the proportional abnormal type is the second abnormal type, that is, when the second cumulative total of the second encoding "0" is excessive, if the display control data to be sent is "00000001", then perform an inverse code conversion on the display control data "00000001" to obtain the target inverse code "11111110", and use the target inverse code "11111110" as the target encoding, that is, the target encoding is "11111110"; if the display control data to be sent is "11111100", then use the display control data to be sent as the target encoding, that is, the target encoding is "11111100".

[0097] In this embodiment, an encoding conversion strategy corresponding to the second abnormal type is provided. The encoding conversion strategy corresponding to the second abnormal type not only considers the proportional abnormal type, but also combines the quantitative relationship between the first encoding and the second encoding in the display control data to be sent, ensuring that the communication encoding ratio can be adjusted timely and accurately based on the target encoding, and thus ensuring the balance of the communication encoding ratio.

[0098] In one embodiment, as Figure 3 shown, Figure 3 is a schematic flowchart of the steps of a communication control method according to the target encoding in one embodiment; performing communication control on the drive circuit corresponding to the LED display screen according to the target encoding includes the following steps:

[0099] Step S301, compare the display control data to be sent with the target encoding to determine the target flag bit.

[0100] Step S302, perform communication control on the drive circuit corresponding to the LED display screen according to the target encoding and the target flag bit.

[0101] Among them, the target flag bit includes a first flag bit or a second flag bit; among them, the first flag bit and the second flag bit are complementary codes to each other. Exemplarily, if the first flag bit is "1", then the second flag bit is "0"; if the first flag bit is "0", then the second flag bit is "1".

[0102] It should be noted that the target flag bit is used to mark the type of the target code, so that the corresponding driving circuit can obtain accurate display control data according to the target flag bit. The type of the target code includes the original data type and the complementary code data type. Among them, the original data type means that the target code is exactly the same as the display control data to be sent; the complementary code data type means that the target code and the display control data to be sent are complementary codes to each other. Specifically, the first flag bit is used to mark that the type of the target code is the original data type; the second flag bit is used to mark that the type of the target code is the complementary code data type.

[0103] Exemplarily, after obtaining the target code, compare the display control data to be sent with the target code to determine the corresponding target flag bit, and then communicate and control the driving circuit corresponding to the LED display screen according to the target code and the target flag bit to ensure that the driving circuit can accurately obtain the corresponding display control data.

[0104] In this embodiment, based on the target flag bit, it can be ensured that the driving circuit corresponding to the LED display screen accurately obtains the corresponding display control data, improving the accuracy and reliability of communication control.

[0105] In one embodiment, comparing the display control data to be sent with the target code to determine the target flag bit includes the following steps:

[0106] Step 1, if the target code is the same as the display control data to be sent, generate a first flag bit.

[0107] Step 2, if the target code is different from the display control data to be sent, generate a second flag bit.

[0108] Among them, the second flag bit and the first flag bit are complementary codes to each other. Among them, the first flag bit is used to mark that the type of the target code is the original data type; the second flag bit is used to mark that the type of the target code is the complementary code data type.

[0109] Step 3, obtain the target flag bit according to the first flag bit or the second flag bit.

[0110] Exemplarily, the display control data to be sent is compared with the target code. If the target code is the same as the display control data to be sent, a first flag bit is generated and the first flag bit is used as the target flag bit. If the target code is different from the display control data to be sent, a second flag bit is generated and the second flag bit is used as the target flag bit. For example, assume that "1" indicates that the target code is the same as the display control data to be sent, and "0" indicates that the target code is different from the display control data to be sent. Taking the display control data to be sent as "00000001" as an example, if the target code is "00000001", at this time the target code is the same as the display control data to be sent, a first flag bit is generated, and the first flag bit is "1". Then the first flag bit "1" is used as the target flag bit to mark that the type of the target code is the original data type. If the target code is "11111110", at this time the target code is different from the display control data to be sent, a second flag bit is generated, and the second flag bit is "0". Then the second flag bit "0" is used as the target flag bit to mark that the type of the target code is the complementary code data type.

[0111] In this embodiment, by comparing the display control data to be sent with the target code, the target flag bit can be accurately determined, laying a foundation for improving the reliability and accuracy of the communication process of the communication system.

[0112] In one embodiment, according to the target code and the target flag bit, communication control is performed on the driving circuit corresponding to the LED display screen, including the following steps:

[0113] Step 1, according to the preset rule, a target data packet is generated based on the target code and the target flag bit.

[0114] Step 2, according to the target data packet, communication control is performed on the driving circuit corresponding to the LED display screen.

[0115] Among them, the preset rule needs to be set according to the actual communication control requirements and is not specifically limited here. It should be noted that the preset rule determines the data structure corresponding to the target data packet. For example, the preset rule can determine the target data packet in the form of "target code + target flag bit", or the preset rule can also determine the target data packet in the form of "target flag bit + target code".

[0116] Exemplarily, assume that the target encoding is "00000011" and the target flag bit is "1". If following the preset rule of "target encoding + target flag bit", then according to the target encoding and the target flag bit, the generated target data packet is "00000011-1"; if following the preset rule of "target flag bit + target encoding", then according to the target encoding and the target flag bit, the generated target data packet is "1-00000011". Then, the target data packet is sent to the driving circuit corresponding to the LED display screen to achieve the communication control of the corresponding driving circuit. It can be understood that the driving circuit can parse out the correct display control data according to the target flag bit in the target data packet.

[0117] In this embodiment, based on the preset rule, the data structure corresponding to the target data packet can be accurately determined. Furthermore, based on the target data packet, the driving circuit can accurately parse out the corresponding display control data according to the target flag bit in the target data packet, improving the reliability and accuracy of the communication control.

[0118] In a specific embodiment, assume that the 4 groups of display control data corresponding to the LED display screen are "00000001", "00000010", "00000011", "00000100"; the first encoding is "0"; the second encoding is "1"; assume that the preset encoding ratio is 1; and assume that the target flag bit is "0", indicating that the type of the target encoding is the original data type; the target flag bit is "1", indicating that the type of the target encoding is the complementary code data type; the preset rule is "target flag bit + target encoding"; the main control end of the communication system can obtain 4 groups of target data packets, namely "0-00000001", "1-11111101", "0-00000011", "1-11111011", according to the 4 groups of display control data and the communication control method described in the above embodiment. Based on this, the balance of the communication coding ratio in the communication process can be ensured, improving the reliability and stability of the communication process.

[0119] Specifically, before sending the first set of display control data to be sent, i.e., "00000001", according to the historical communication data, it is determined that the cumulative coding total is 0, that is, the binary coding totals corresponding to the historical display control data and the historical flag bit data are both 0. At this time, any coding conversion strategy can be used to perform coding conversion on the first set of display control data to be sent, i.e., "00000001". In this embodiment, an example is given where the target coding corresponding to the first set of display control data to be sent, i.e., "00000001", is "00000001". According to the target coding "00000001" and the first set of display control data to be sent, i.e., "00000001", the target flag bit can be determined to be "0"; furthermore, according to the preset rule "target flag bit + target coding", the target data packet can be determined to be "0-00000001". According to the target data packet "0-00000001", communication control is performed on the drive circuit corresponding to the first set of display control data in the LED display screen. Thus, the sending of the first set of display control data to be sent is completed.

[0120] Similarly, before sending the second set of display control data to be sent, i.e., "00000010", according to the historical communication data "0-00000001", it is determined that the cumulative coding total is 9, that is, the binary coding total corresponding to the historical display control data is 8, and the binary coding total corresponding to the historical flag bit data is 1. Among them, the first cumulative total of the first coding "0" is 8, and the second cumulative total of the second coding "1" is 1. Furthermore, the communication coding ratio is determined to be 8 / 1 = 8; since the communication coding ratio 8 is greater than the preset coding ratio 1, the ratio anomaly type is determined to be the first anomaly type, that is, the first coding "0" is excessive; furthermore, according to the second set of display control data to be sent, i.e., "00000010", it is determined that the number of the first coding "0" is greater than the number of the second coding "1". At this time, the second set of display control data to be sent, i.e., "00000010", needs to be inverted to obtain the target inverse code "11111101", and the target inverse code "11111101" is used as the target coding; furthermore, according to the target coding "11111101" and the second set of display control data to be sent, i.e., "00000010", the target flag bit can be determined to be "1"; according to the preset rule "target flag bit + target coding", the target data packet can be determined to be "1-11111101". According to the target data packet "1-11111101", communication control is performed on the drive circuit corresponding to the second set of display control data in the LED display screen. Thus, the sending of the second set of display control data to be sent is completed. By analogy, according to the above implementation process, the sending of the third and fourth sets of display control data to be sent is completed in sequence, which will not be elaborated here.

[0121] The communication control method of the above communication system obtains the historical communication data of the LED display screen and the display control data to be sent; based on the historical communication data, it can accurately identify the change trend of the communication coding ratio during the communication process; furthermore, when the communication coding ratio of the historical communication data does not meet the preset coding ratio, it can accurately determine the ratio anomaly type corresponding to the communication coding ratio; based on the ratio anomaly type, the display control data to be sent is encoded and converted to obtain the target code to ensure the balance of the communication coding ratio during the communication control process; the driving circuit corresponding to the LED display screen is controlled for communication according to the target code; based on this, by analyzing the communication coding ratio of the historical communication data in real time, the display control data to be sent can be encoded and converted accordingly in a timely manner to obtain the target code, improving the balance of the communication coding ratio and effectively avoiding the problem of poor communication stability of the communication system caused by coding ratio imbalance in the prior art, and improving the stability of the communication process of the communication system.

[0122] In one embodiment, as Figure 4 shown, a communication system is provided, and the system includes a main control end 100 and an LED display screen 200; the main control end 100 is communicatively connected to the LED display screen 200;

[0123] The main control end 100 is used to execute the communication control method of the communication system described in any one of the above embodiments.

[0124] It should be noted that the main control end 100 at least includes a main control chip; the main control chip can be but is not limited to a microcontroller unit (MCU).

[0125] Among them, the LED display screen 200 includes at least one LED display module; the LED display module includes a plurality of driving circuits connected in series or in cascade or in parallel; each driving circuit is connected to and drives one or more LED lights; the driving circuit is used to perform display control on the LEDs connected thereto according to the display control data.

[0126] In this embodiment, the communication system can encode and convert the display control data to be sent in a timely manner to obtain the target code by analyzing the communication coding ratio of the historical communication data in real time, improving the balance of the communication coding ratio, effectively avoiding the problem of poor communication stability of the communication system caused by coding ratio imbalance in the prior art, and improving the stability of the communication process of the communication system.

[0127] It should be understood that although the steps in the flowcharts involved in the above-described embodiments are shown in sequence according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless there is a clear indication in this article, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-described embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be executed alternately or in turn with at least a part of other steps or steps or stages in other steps.

[0128] In an exemplary embodiment, a communication system is provided. The internal structure diagram of the communication system can be as Figure 5 shown. The communication system includes a processor, a memory, an input / output interface (Input / Output, abbreviated as I / O), and a communication interface. Among them, the processor, the memory, and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the communication system is used to provide computing and control capabilities. The memory of the communication system 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 the operation of the operating system and the computer program in the non-volatile storage medium. The database of the communication system is used to store communication control-related data of the communication system. The input / output interface of the communication system is used to exchange information between the processor and external devices. The communication interface of the communication system is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, it implements a communication control method of a communication system.

[0129] Those skilled in the art can understand that Figure 5 the structure shown in

[0130] is only a block diagram of a part of the structure related to the solution of this application, and does not constitute a limitation on the communication system to which the solution of this application is applied. The specific communication system may include more or fewer components than those shown in the figure, or combine some components, or have a different component layout.

[0131] In an embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, it implements the steps in the above method embodiments.

[0132] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above methods. Among them, any reference to a 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. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, 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. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc. The databases involved in the embodiments provided in the present application can include at least one of relational databases and non-relational databases. Non-relational databases can include distributed databases based on blockchain, etc., without limitation. The processors involved in the embodiments provided in the present application can be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, data processing logics based on quantum computing, artificial intelligence (AI) processors, etc., without limitation.

[0133] The technical features of the above embodiments can be combined arbitrarily. For the sake of brevity of description, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered as the scope recorded in the present application.

[0134] The above-described embodiments merely represent several implementation manners of the present application. The description thereof is relatively specific and detailed, but it should not be construed as a limitation to the patent scope of the present application. It should be noted that for those of ordinary skill in the art, without departing from the concept of the present application, several modifications and improvements can still be made, and these all fall within the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the appended claims.

Claims

1. A communication control method of a communication system, characterized in that: The method comprises: Acquire historical communication data of the LED display screen and display control data to be sent; the historical communication data includes historical display control data and historical flag data; In the case where the communication coding ratio of the historical communication data does not meet the preset coding ratio, determining the ratio abnormality type corresponding to the communication coding ratio; the communication coding ratio refers to the ratio of the first cumulative total amount corresponding to the first coding in the historical communication data to the second cumulative total amount corresponding to the second coding; wherein the first coding and the second coding are inverse codes of each other; the preset coding ratio refers to a preset ratio threshold value, or a preset ratio range; Performing encoding conversion on the display control data to be sent according to the abnormal ratio type to obtain a target encoding; Performing communication control on the drive circuit corresponding to the LED display screen according to the target code; The ratio abnormality type includes a first abnormality type and a second abnormality type; the first abnormality type refers to a situation where the first accumulated total amount of the first code is excessive; the second abnormality type refers to a situation where the second accumulated total amount of the second code is excessive; The encoding conversion of the display control data to be sent according to the abnormal ratio type to obtain a target encoding includes: If the ratio abnormality type is the first abnormality type, and the first code quantity in the display control data to be sent is greater than the second code quantity, the display control data to be sent is inverted to obtain a target inverted code corresponding to the display control data to be sent; and the target inverted code is used as the target code; If the ratio abnormality type is the first abnormality type, and the first code quantity in the display control data to be sent is less than or equal to the second code quantity, taking the display control data to be sent as the target code; If the ratio abnormality type is the second abnormality type, and the first code quantity in the display control data to be sent is less than the second code quantity, the display control data to be sent is inversely converted to obtain a target inverse code corresponding to the display control data to be sent; and the target inverse code is used as the target code; If the ratio abnormality type is the second abnormality type, and the first code quantity in the display control data to be sent is greater than or equal to the second code quantity, the display control data to be sent is used as the target code.

2. The method according to claim 1, characterized in that The method for determining the communication coding ratio of historical communication data includes: Determining the total amount of accumulated coding based on the historical communication data; According to the accumulated coding amount, determining a first accumulated total amount corresponding to the first coding and a second accumulated total amount corresponding to the second coding; A communication coding ratio is determined according to a ratio of the first cumulative total to the second cumulative total.

3. The method according to claim 1, characterized in that When the communication coding ratio of the historical communication data does not meet the preset coding ratio, determining the ratio abnormality type corresponding to the communication coding ratio includes: If the communication coding ratio is greater than the first coding ratio, determining that the ratio abnormality type corresponding to the communication coding ratio is the first abnormality type; If the communication coding ratio is smaller than the second coding ratio, it is determined that the ratio exception type corresponding to the communication coding ratio is the second exception type; wherein the second coding ratio is equal to the first coding ratio, or the second coding ratio is smaller than the first coding ratio.

4. The method according to claim 1, characterized in that: The communication control of the drive circuit corresponding to the LED display screen according to the target code includes: Comparing the display control data to be sent with the target code to determine the target flag bit; According to the target code and the target flag, communication control is performed on the drive circuit corresponding to the LED display screen.

5. The method according to claim 4, characterized in that The step of comparing the display control data to be sent with the target code to determine the target flag bit includes: If the target code is the same as the display control data to be sent, generating a first flag bit; If the target code is different from the display control data to be sent, a second flag is generated; the second flag is the inverse of the first flag; A target flag bit is obtained according to the first flag bit or the second flag bit.

6. The method according to claim 4, characterized in that The communication control of the drive circuit corresponding to the LED display screen according to the target code and the target flag bit includes: Generate a target data packet according to the target code and the target flag bit according to a preset rule; According to the target data packet, communication control is performed on the drive circuit corresponding to the LED display screen.

7. A communication system, characterized in that: The system includes a main control terminal and an LED display screen; the main control terminal is in communication connection with the LED display screen; The master control end is used to execute the communication control method of the communication system according to any one of claims 1 to 6.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

9. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • System and method for DC balanced conversion coding and display

    CN116092424A