A data representation, transmission method, apparatus, medium and device

By expanding the data representation range to include both positive and negative numbers and adopting a time-based representation, the carry problem of traditional number systems is solved, thereby improving the flexibility of data representation and transmission efficiency.

CN122308786APending Publication Date: 2026-06-30CHINA NAT PETROLEUM CORP +1

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
CHINA NAT PETROLEUM CORP
Filing Date
2024-12-30
Publication Date
2026-06-30

AI Technical Summary

Technical Problem

Traditional number systems suffer from problems such as increased numerical length due to carry-over, fixed and singular representation, and lack of support for negative number representation, which affect data processing efficiency and flexibility.

Method used

Using a preset range of numerical representations and a data combination algorithm, the data to be transmitted is expanded into multiple sets of data combinations including positive and negative numbers. The data is then represented in a time base, and the preferred combinations are selected and converted into time base data for transmission.

Benefits of technology

It improves the flexibility of data representation and transmission efficiency, reduces storage space usage, and adapts to the needs of large-scale data storage and processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122308786A_ABST
    Figure CN122308786A_ABST
Patent Text Reader

Abstract

This invention discloses a data representation, transmission method, apparatus, medium, and device. The method includes: expanding each digit of the data to be transmitted to a number within the preset numerical expression range based on a preset numerical expression range and a preset data combination algorithm, resulting in multiple expanded data combinations. The numbers within the preset numerical expression range include both positive and negative numbers. The multiple data combinations are evaluated according to preset evaluation criteria, and a preferred data combination is selected from the multiple data combinations according to a screening criterion. This preferred data combination is determined as the expanded data combination of the data to be transmitted. Each digit in the expanded data combination is represented using a time-based system to obtain time-based data, where the time-based data refers to numbers with time units. This allows for a more flexible data representation of the data to be transmitted, while simultaneously converting it to time-based data, improving data transmission and storage efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of data processing technology, and in particular to a data representation, transmission method, apparatus, medium, and device. Background Technology

[0002] In current information technology and computer science, traditional number systems such as binary, decimal, and hexadecimal are widely used and extensively studied to represent data. However, these systems have inherent limitations in practical applications. When representing numerical values, traditional number systems require a carry-over when a digit reaches its maximum value, increasing the length of the representation. For example, in decimal, the number "9999" becomes "10000" after the carry-over, requiring more characters to represent the new value. This phenomenon also exists in binary and hexadecimal systems, where the carry-over results in more digits, impacting data processing efficiency. Furthermore, traditional number systems have fixed and limited data representations, lacking flexibility and failing to meet the demands of efficient data transmission and the dynamic changes required by encryption systems. In addition, traditional number systems typically do not support direct representation of negative numbers; negative numbers usually require an extra sign bit or two's complement, increasing numerical complexity. Summary of the Invention

[0003] In traditional number systems, since the base is fixed, a carry will occur as long as the carry condition is met. Frequent carry will affect the efficiency of data transmission and storage. In addition, traditional number systems are not flexible in representing data and do not use negative numbers. When encountering negative numbers or complex calculations, additional processing steps are often required. In short, traditional number systems have some inherent limitations and shortcomings, and cannot flexibly represent data or improve data transmission efficiency.

[0004] In view of the above problems, the present invention is proposed to provide a data representation method and apparatus that overcomes or at least partially solves the above problems.

[0005] In a first aspect, embodiments of the present invention provide a data representation method, including:

[0006] Based on a preset range of digital representation and a preset data combination algorithm, the digits in each digit of the data to be transmitted are expanded to digits within the preset range of digital representation, resulting in multiple sets of expanded data combinations. The digits within the preset range of digital representation include both positive and negative numbers.

[0007] The data combinations are evaluated according to the preset evaluation criteria, and the preferred data combinations are selected from the data combinations according to the screening criteria. The preferred data combinations are then determined as the data combinations to be transmitted after expansion.

[0008] The time-based representation of each digit in the expanded data combination is used to obtain time-based data, which refers to numbers with time units.

[0009] In some optional embodiments, based on a preset number representation range and a preset data combination algorithm, the digits in each bit of the data to be transmitted are expanded to digits within the preset number representation range, resulting in multiple expanded data combinations, including:

[0010] Each digit in the data to be transmitted is represented by any number within a preset range of numbers, resulting in an expanded data combination.

[0011] Using a preset data combination algorithm, the expanded data combinations that can be restored to the data to be transmitted are retained, resulting in multiple expanded data combinations.

[0012] In some optional embodiments, the implementation process of the preset data combination algorithm is as follows:

[0013] For each digit in the expanded data combination;

[0014] Determine the product of the digit corresponding to the given number and the weight corresponding to that number. The weight is determined based on the radix of the data to be transmitted.

[0015] Sum the products of the digits corresponding to each digit and the weight corresponding to that digit to obtain the total data.

[0016] If the total amount of data equals the amount of data to be transmitted, then retain it; otherwise, discard it.

[0017] In some optional embodiments, multiple sets of data combinations are evaluated according to preset evaluation criteria, including:

[0018] From multiple sets of data combinations, determine the maximum value of each digit in each data combination;

[0019] For each data combination;

[0020] Determine the difference between the digit in each place value and the maximum value of the corresponding digit in the data combination. Based on the difference and the scoring weight of the corresponding digit, determine the score of the digit in each place value.

[0021] The numerical scores for each digit in each data combination are summed to obtain the overall score for each data combination.

[0022] Determine the time scale and carry-over for each combination of data based on the digits in each place value.

[0023] In some optional embodiments, the overall score for each data set is obtained using the following expression:

[0024]

[0025] Where Score is the overall score, i is the i-th digit in the data combination, n is the total number of digits in the data combination, max(Column(i)) is the maximum value of the digit in the i-th digit, Column(i) is the digit in the i-th digit of the data combination, and Weight(i) is the score weight of the i-th digit.

[0026] In some optional embodiments, determining the time scale and carry-over of each data combination based on the digits at each position in that combination includes:

[0027] For each data combination;

[0028] The time scale for a data combination is obtained by summing the absolute values ​​of the digits in each place value.

[0029] Determine the number of non-zero digits in a data combination to obtain the carry-over of that combination.

[0030] In some alternative embodiments, the screening criteria include one or more of the following: highest overall score, fewest time scales, and fewest round numbers.

[0031] Secondly, embodiments of the present invention provide a data transmission method, including:

[0032] Obtain the data to be transmitted, and based on the data representation method described above, represent the data to be transmitted as time-based data;

[0033] The time base data corresponding to each digit of the data to be transmitted is converted into pulse data, and the pulse data is transmitted.

[0034] In some optional embodiments, the time base data corresponding to each digit of the data to be transmitted is converted into pulse data, and the pulse data is transmitted, including:

[0035] Based on the time base data corresponding to each digit of the data to be transmitted, the pulse time interval and pulse polarity of each digit are determined to obtain the pulse data of each digit. The pulse time interval is the time base data corresponding to each digit, and the pulse polarity is determined according to the sign of the time base data.

[0036] For each bit of the data to be transmitted;

[0037] Before transmitting pulse data, a first pulse signal is sent. After a pulse time interval, a second pulse signal is sent according to the pulse polarity.

[0038] This invention provides a data representation apparatus, comprising:

[0039] The data expansion module is used to expand the digits of each digit in the data to be transmitted to digits within the preset digital expression range and preset data combination algorithm, so as to obtain multiple sets of expanded data combinations. The preset digital expression range includes positive and negative numbers.

[0040] The data optimization module is used to evaluate multiple data combinations according to preset evaluation criteria, select the preferred data combinations from the multiple data combinations according to the screening criteria, and determine the preferred data combinations as the expanded data combinations to be transmitted.

[0041] The time base conversion module is used to represent each digit in the expanded data combination using a time base, resulting in time base data, which refers to numbers with time units.

[0042] This invention provides a data transmission device, comprising:

[0043] The data conversion module is used to acquire the data to be transmitted and, based on the data representation method described above, to represent the data to be transmitted as time-based data.

[0044] The data transmission module is used to convert the time base data corresponding to each digit of the data to be transmitted into pulse data, and then transmit the pulse data.

[0045] This invention provides a computer storage medium storing computer-executable instructions, which, when executed by a processor, implement the aforementioned data representation method and / or data transmission method.

[0046] This invention provides a computer device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, it implements the above-described data representation method and / or the above-described data transmission method.

[0047] The beneficial effects of the above-described technical solutions provided in the embodiments of the present invention include at least the following:

[0048] The data representation method provided in this invention, based on a preset numerical expression range and a preset data combination algorithm, expands the digits of each place value in the data to be transmitted to digits within the preset numerical expression range, resulting in multiple expanded data combinations. The preset numerical expression range includes both positive and negative numbers. In traditional number systems, data representation is fixed. For example, in decimal, 0 to 9 are used to represent data. When carrying over, it is often necessary to add characters, such as "99" carrying over to "100". In this case, a carry-over is required, and the number of digits increases from two to three. This multi-character representation method consumes more bandwidth and storage space during data transmission and storage, reducing the overall transmission and storage efficiency. This method breaks through the limitations of traditional number systems by expanding the data expression range and using a combination of positive and negative numbers to expand the data to be transmitted. This not only means that a wider range of numerical values ​​can be used to represent each place value, allowing data that needs to be carried to be expanded and represented by other numbers so that no carry occurs, but also allows for different data combinations, increasing the flexibility of data representation.

[0049] The method evaluates multiple data combinations according to preset evaluation criteria, selects the preferred data combinations from the multiple data combinations according to screening criteria, and determines the preferred data combinations as the expanded data combinations to be transmitted. The method of the present invention expands the data to obtain multiple possible representation methods, and can comprehensively evaluate the data combinations according to the requirements, select the optimal representation method, and thus further optimize the data transmission and processing efficiency.

[0050] Each digit in the expanded data combination is represented using a time-based system, resulting in time-based data. Time-based data refers to numbers with time units. Finally, the data is converted into time-based representation. When transmitting data in time-based format, all data is transmitted in the form of time segments. Therefore, even if carry saturation occurs, it is not necessary to increase the number of digits. Representing the data to be transmitted in time-based format makes the numerical representation more concise and reduces storage space usage. This is particularly important in large-scale data storage and processing scenarios, helping to improve the efficiency and economy of the storage system.

[0051] Other features and advantages of the invention will be set forth in the description which follows, and will be apparent in part from the description, or may be learned by practicing the invention. The objects and other advantages of the invention may be realized and obtained by means of the structures particularly pointed out in the written description, claims, and drawings.

[0052] The technical solution of the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. Attached Figure Description

[0053] The accompanying drawings are provided to further illustrate the invention and form part of the specification. They are used in conjunction with embodiments of the invention to explain the invention and do not constitute a limitation thereof. In the drawings:

[0054] Figure 1 This is a flowchart of the data representation method in Embodiment 1 of the present invention;

[0055] Figure 2 This is a schematic diagram of time-based data transmission in Embodiment 1 of the present invention;

[0056] Figure 3 This is a schematic diagram of the data representation device structure in Embodiment 1 of the present invention;

[0057] Figure 4 This is a flowchart of the data transmission method in Embodiment 2 of the present invention;

[0058] Figure 5 This is an example diagram illustrating the pulse with time-based time distribution in Embodiment 2 of the present invention;

[0059] Figure 6 This is a schematic diagram of the time base pulse for "E" in hexadecimal in Embodiment 2 of the present invention;

[0060] Figure 7 This is a schematic diagram of the data transmission device in Embodiment 2 of the present invention. Detailed Implementation

[0061] Exemplary embodiments of the present disclosure will now be described in more detail with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.

[0062] To address the problems of inflexible data representation and increased data carry-over in existing technologies, embodiments of the present invention provide a data representation, transmission method, apparatus, medium, and device.

[0063] Example 1

[0064] Embodiment 1 of the present invention provides a data representation method, the process of which is as follows: Figure 1 As shown, it includes the following steps:

[0065] Step S101: Based on the preset number expression range and the preset data combination algorithm, expand the digits of each digit in the data to be transmitted to the numbers within the preset number expression range to obtain multiple sets of expanded data combinations. The numbers in the preset number expression range include positive and negative numbers.

[0066] Step S102: Evaluate multiple sets of data combinations according to preset evaluation criteria, select the preferred data combinations from the multiple sets of data combinations according to the screening criteria, and determine the preferred data combinations as the data combinations to be transmitted after data expansion.

[0067] Step S103: Represent each digit in the expanded data combination using a time base to obtain time base data. Time base data refers to numbers with time units.

[0068] Steps S101-S103 above expand the data to be transmitted, obtaining multiple expanded data combinations. One of these combinations is then selected as the expanded data combination for transmission. The expanded data combination is represented using a time-based system, providing a more flexible data representation. When time-based data is transmitted, any number, regardless of its size or number of bits, corresponds to a time segment, i.e., the interval between TB pulses and pulse data. Figure 2 This is a schematic diagram of time-based data transmission. T1 represents the first pulse data, corresponding to the first digit; T2 represents the second pulse data, corresponding to the second digit; and so on. The time interval between TB and T1 is a time segment.

[0069] Optionally, in step S101 above, based on a preset number representation range and a preset data combination algorithm, the digits in each bit of the data to be transmitted are expanded to digits within the preset number representation range, resulting in multiple expanded data combinations, including:

[0070] Each digit in the data to be transmitted is represented by any number within a preset range of numbers, resulting in an expanded data combination.

[0071] Using a preset data combination algorithm, the expanded data combinations that can be restored to the data to be transmitted are retained, resulting in multiple expanded data combinations.

[0072] In traditional number systems, decimal data can only use digits between 0 and 9 to represent the value of each digit, and hexadecimal data can only use 0-F. This type of data representation is limited and does not support the direct representation of negative numbers. The representation of negative numbers usually requires an extra sign bit or the use of two's complement. However, this method can preset the range of numbers to be represented according to needs, making the data representation more diverse. The preset data representation range includes both positive and negative numbers, providing a new way of representing data. For example, the range of decimal numbers can be extended from 0 to 9 to -3 to 13, -2 to 12, -1 to 11, etc. This extension can increase the range and flexibility of data representation.

[0073] Optionally, the implementation process of the preset data combination algorithm is as follows: for each digit in the expanded data combination;

[0074] Determine the product of the number corresponding to each bit and the weight corresponding to that bit. The weight is determined based on the radix of the data to be transmitted. Sum the products of the numbers corresponding to all bits and the weights corresponding to each bit to obtain the total data. If the total data equals the data to be transmitted, retain it; otherwise, discard it.

[0075] After expanding the data to be transmitted, not all data combinations will meet the requirements. Therefore, a combination algorithm is needed to retain the data combinations that do meet the requirements. The expanded data combinations must be able to be restored to the data to be transmitted. Only such data combinations are meaningful; otherwise, data tampering is likely to occur. For example, E in hexadecimal can be represented as a combination of (1, -2). Can such a combination be restored to E? The restoration method is 1*16... 1 +(-2)*16 0 =14, where 14 is represented as "E" in hexadecimal, indicating that this combination is meaningful. The weight of each digit needs to be determined based on the radix of the data to be transmitted. The radix of decimal is 10, and the radix of hexadecimal is 16. The weight of each digit is a power of the radix, and the specific power needs to be determined based on the digit position of the data. Furthermore, representing E in hexadecimal as a combination of (1, -2) allows for efficient data transmission. Assuming the time unit is nanoseconds, only a positive pulse signal needs to be sent at 1ns intervals, and a negative pulse signal at 2ns intervals. The total data transmission time is three time intervals, significantly improving data transmission efficiency.

[0076] Optionally, in step S102 above, the multiple data combinations are evaluated according to preset evaluation criteria, including:

[0077] From multiple sets of data combinations, determine the maximum value of each digit in each data combination;

[0078] For each data set; determine the difference between the digit in each place value and the maximum value of the corresponding place value in the data set; based on the difference and the scoring weight of the corresponding place value, determine the score of the digit in each place value; sum the scores of the digits in each place value in each data set to obtain the comprehensive score of each data set; determine the time scale and carry-over of the set based on the digits in each place value in each data set.

[0079] Optionally, the overall score for each data combination is represented by the following expression:

[0080]

[0081] Where Score is the overall score, i is the i-th digit in the data combination, n is the total number of digits in the data combination, max(Column(i)) is the maximum value of the digit in the i-th digit, Column(i) is the digit in the i-th digit of the data combination, and Weight(i) is the score weight of the i-th digit.

[0082] Optionally, the feature is that, based on the digits in each place value of each data combination, the time scale and carry-in of the combination are determined, including:

[0083] For each data combination, sum the absolute values ​​of the digits in each place value to obtain the time scale for that combination; determine the number of non-zero digits in the data combination to obtain the carry-over number for that combination.

[0084] Optionally, the selection criteria may include one or more of the following: highest overall score, fewest time increments, and fewest round numbers.

[0085] The purpose of evaluating most data combinations is to select those that meet the requirements based on the evaluation results. After evaluating each data set, a comprehensive score, time scale, and carry-over are generated. The preferred data combinations are then selected according to the selection criteria to be used as the expanded data sets for transmission. The selection criteria can be any one of the following: highest score, fewest time scale, fewest carry-over; or a combination of any two or all three. Ultimately, the selection criteria need to be determined based on the actual requirements to prioritize data combinations that improve transmission efficiency.

[0086] In step S103 above, the digits in each place value of the expanded data combination are represented using a time-based system to obtain time-based data. In traditional number systems, when a value exceeds the carry limit of the current digit, multiple characters are needed to represent the larger value. For example, in hexadecimal, the number 16 needs to be represented by two characters "10", where "1" represents the tens digit 16 and "0" represents the units digit. However, the time-based system uses a single-pulse representation, which is fundamentally different from traditional number systems. The time-based system transmits data as a time segment, and therefore is not limited by carry saturation. The digital information carried by a single pulse is equivalent to a single character in a traditional number system. Even if the value exceeds the radix limit, no additional characters are needed to represent it. The following specific example illustrates the significant effect of the present invention. Using the data representation method provided by the present invention, the decimal number 1298419 is expanded by carry, extending the range of the number from 0 to 9 to -3 to 13. This means we can use a wider range of numerical values ​​to represent each digit, resulting in more combinations to expand the original value. The expanded data will have a variety of possible combinations. For example, the value 1298419 can be represented by different combinations of digits, each corresponding to a carry method. As shown in Table 1, 1298419 can be represented by 47 different data combinations. To select the most suitable data representation method, a preset evaluation standard can be used to evaluate each data combination, obtaining a comprehensive score, time scale, and carry number for each data combination. The scale number and time scale in Table 1 have the same meaning. C7-C1 represent the high-order to low-order digits of the data to be transmitted, respectively.

[0087] Table 1

[0088]

[0089] Each set of data in Table 1 can be converted back to the original decimal number 1298419. For example, the method for converting the first set of data is as follows:

[0090] 1×10 6 +3×10 5 +(-2)×10 3 +4×10 2 +2×10 1 +(-1)×10 0 =1298419, where the weight of each digit is a power of the decimal base, that is, a power of 10.

[0091] The overall score for each data combination in Table 1 is calculated using the following expression:

[0092]

[0093] In the above formula, max(Column(1)) represents the maximum value of the highest digit C7 of the data combination, which is the maximum value of the first column in Table 1. Column(1) represents the number of the highest digit C7 of the data combination. Weight(1) is the weight of the digit C7, which is the weight of the first column. max(Column(2)) is the maximum value of the second highest digit C6, which is the maximum value of the second column in Table 1. Column(2) is the number of the second highest digit C6. Weight(2) is the weight of the digit C6. And so on, until the lowest digit is calculated, and a score for a set of data combinations can be obtained. All the highest digits C7 in each set of data combinations correspond to a score weight, which means that the score weight of each column in Table 1 is the same. The score weight of each digit can be set according to actual needs, and there is no restriction here.

[0094] By evaluating each data combination, a preferred data combination was selected from 47 data combinations according to a preset screening standard. In this example, the screening standard was the highest comprehensive score of the data combination. The data combination (1,3,0,-2,4,2,-1) had a significant advantage in score, with its score being more than twice that of the original data combination (1,2,9,8,4,1,9). This means that in terms of transmission efficiency, using this combination is about twice as efficient as the original combination, reducing the number of carry-overs from 7 to 6. Simultaneously, the preferred combination occupies significantly less time during transmission compared to the original data combination, thus improving overall transmission efficiency. Finally, the preferred data combination was represented using a time-based number system. In this system, each digit is represented by a single pulse, eliminating the need for multiple characters. The original data to be transmitted was the decimal number 1298419. In a traditional decimal system, each digit of this value needs to be represented independently, requiring additional characters for carry-overs. For example, 1298419 represents the millions place and has 7 characters. If further calculations or transmissions are needed for this value, the required bandwidth and storage space will increase significantly. However, the method of this invention expands the original data and represents it in other forms, compressing and optimizing the original large value, which significantly improves transmission and storage efficiency.

[0095] Based on the same inventive concept, embodiments of the present invention also provide a data representation device, which can be installed in a device capable of processing computer instructions, and the structure of the device is as follows. Figure 3 As shown, it includes:

[0096] Data expansion module 10 is used to expand the digits in each digit of the data to be transmitted into digits within the preset digital expression range based on the preset digital expression range and the preset data combination algorithm, so as to obtain multiple sets of expanded data combinations. The digits in the preset digital expression range include positive and negative numbers.

[0097] The data optimization module 11 is used to evaluate multiple sets of data combinations according to preset evaluation criteria, select the preferred data combinations from the multiple sets of data combinations according to the screening criteria, and determine the preferred data combinations as the data combinations after data expansion to be transmitted.

[0098] The time base conversion module 12 is used to represent each digit in the expanded data combination using a time base to obtain time base data, which refers to numbers with time units.

[0099] Regarding the data representation apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.

[0100] Example 2

[0101] Embodiment 2 of the present invention provides an implementation process for a data transmission method, the flow of which is as follows: Figure 4 As shown, it includes the following steps:

[0102] Step S201: Obtain the data to be transmitted, and represent the data to be transmitted as time-based data based on the data representation method provided in Embodiment 1;

[0103] Step S202: Convert the time base data corresponding to each digit of the data to be transmitted into pulse data, and transmit the pulse data.

[0104] Optionally, in step S202 above, converting the time base data corresponding to each digit of the data to be transmitted into pulse data and transmitting the pulse data includes:

[0105] Based on the time base data corresponding to each digit of the data to be transmitted, the pulse time interval and pulse polarity of each digit are determined to obtain the pulse data of each digit. The time base data corresponding to each digit is the pulse time interval, and the sign of the time base data is the pulse polarity. For each digit of the data to be transmitted, before the pulse data transmission, the first pulse signal is sent, and after the pulse time interval, the second pulse signal is sent according to the pulse polarity.

[0106] Figure 5 This is a pulse diagram in time-based format. The blue bars represent the first pulse signal, and the red bars represent the second pulse signal. Figure 5This indicates the transmission of the hexadecimal data "17". This demonstrates that time-based number systems are not bound by carry rules; they simply use time scales to represent data. When transmitting hexadecimal data, if the data is greater than 15, it needs to carry over. In traditional number systems, an additional character is needed to represent the carried-over data; for example, the hexadecimal number "16" would be represented as "10". However, in time-based number systems, when 15 is carried over to become 16, only a time scale needs to be added; no carry is required. Furthermore, the positive or negative sign of a number can be expressed using pulse polarity. This increases the expressive diversity of traditional number systems. Information that could be expressed with a single character can be expanded to multiple characters: for example, the hexadecimal number E can be expanded to the data combination (1, -2). Using time-based number systems allows each digit to have a time unit, such as (1ns, -2ns), where the time intervals for each digit are 1ns and -2ns, respectively, with the pulse polarities being positive and negative. Figure 6 This diagram illustrates the time-based pulse representation of the hexadecimal number "E". The blue and red pulses represent the original time-based pulse of the data "E", requiring 14 time increments. The black pulse represents the pulse used to convert "E" into time-based data using the method described in Example 1, requiring only 3 time increments. The two black pulses represent pulses at different digits. "1" is in the tens place of hexadecimal, so a black pulse in the tens place represents "1" in the tens place. "-2" is in the units place of hexadecimal and, as its sign indicates, is a negative pulse. Sending different pulses at different digits enables accurate data transmission and improves data transfer speed. Because the time-based system uses a single-pulse representation, it reduces storage space usage, which is particularly important in large-scale data storage and processing scenarios, contributing to improved storage system efficiency and economy.

[0107] Based on the same inventive concept, embodiments of the present invention also provide a data transmission device, which can be installed in a device capable of processing computer instructions, and the structure of the device is as follows. Figure 7 As shown, it includes:

[0108] The data conversion module 21 is used to acquire the data to be transmitted and, based on the data representation method provided in Embodiment 1, represent the data to be transmitted as time-based data.

[0109] The data transmission module 22 is used to convert the time base data corresponding to each digit of the data to be transmitted into pulse data and transmit the pulse data.

[0110] Regarding the data transmission device in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.

[0111] This invention also provides a computer storage medium storing computer-executable instructions. When these computer-executable instructions are executed by a processor, they implement the data representation method in Embodiment 1 and / or the data transmission method described in Embodiment 2.

[0112] This invention also provides a computer device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, it implements the data representation method in Embodiment 1 and / or the data transmission method described in Embodiment 2.

[0113] Unless otherwise specifically stated, terms such as processing, calculation, operation, determination, display, etc., may refer to the actions and / or processes of one or more processing or computing systems or similar devices that represent the manipulation and conversion of data representing physical (e.g., electronic) quantities within the registers or memory of the processing system into other data similarly representing physical quantities within the memory, registers, or other such information storage, transmission, or display devices of the processing system. Information and signals can be represented using any of a variety of different techniques and methods. For example, data, instructions, commands, information, signals, bits, symbols, and chips mentioned throughout the above description can be represented by voltage, current, electromagnetic waves, magnetic fields or particles, light fields or particles, or any combination thereof.

[0114] It should be understood that the specific order or hierarchy of steps in the disclosed process is an example of an exemplary method. Based on design preferences, it should be understood that the specific order or hierarchy of steps in the process may be rearranged without departing from the scope of this disclosure. The appended method claims provide elements of various steps in an exemplary order and are not intended to limit the scope to the specific order or hierarchy described.

[0115] In the detailed description above, various features are combined together in a single embodiment to simplify this disclosure. This approach to disclosure should not be construed as reflecting an intention that embodiments of the claimed subject matter require more features than are explicitly stated in each claim. Rather, as reflected in the appended claims, the invention is presented with fewer features than all of the features in a single disclosed embodiment. Therefore, the appended claims are hereby explicitly incorporated into the detailed description, with each claim representing a separate preferred embodiment of the invention.

[0116] Those skilled in the art will also understand that the various illustrative logic blocks, modules, circuits, and algorithm steps described in conjunction with the embodiments herein can be implemented as electronic hardware, computer software, or a combination thereof. To clearly illustrate the interchangeability between hardware and software, the various illustrative components, blocks, modules, circuits, and steps described above are generally described in terms of their functionality. Whether such functionality is implemented as hardware or software depends on the specific application and the design constraints imposed on the overall system. Those skilled in the art can implement the described functionality in alternative ways for each specific application; however, such implementation decisions should not be construed as departing from the scope of this disclosure.

[0117] The steps of the methods or algorithms described in conjunction with the embodiments herein can be directly embodied in hardware, software modules executed by a processor, or a combination thereof. The software modules can reside in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disks, removable disks, CD-ROMs, or any other form of storage medium well known in the art. An exemplary storage medium is connected to the processor, enabling the processor to read information from and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and storage medium can reside in an ASIC. The ASIC can reside in a user terminal. Alternatively, the processor and storage medium can exist as discrete components in the user terminal.

[0118] For software implementation, the techniques described in this application can be implemented using modules (e.g., procedures, functions, etc.) that perform the functions described in this application. This software code can be stored in memory units and executed by a processor. The memory units can be implemented within the processor or outside the processor; in the latter case, they are communicatively coupled to the processor via various means, as is well known in the art.

[0119] The foregoing description includes examples of one or more embodiments. It is certainly impossible to describe all possible combinations of components or methods in order to describe the above embodiments, but those skilled in the art will recognize that further combinations and arrangements of the various embodiments are possible. Therefore, the embodiments described herein are intended to cover all such changes, modifications, and variations that fall within the scope of the appended claims. Furthermore, the term "comprising" as used in the specification or claims is interpreted in a manner similar to the term "including," as interpreted when used as a conjunction in the claims. Additionally, the use of any term "or" in the specification of the claims is intended to mean "non-exclusive or."

Claims

1. A data representation method, characterized by, include: Based on a preset range of digital representation and a preset data combination algorithm, the digits in each digit of the data to be transmitted are expanded to digits within the preset range of digital representation, resulting in multiple sets of expanded data combinations. The digits in the preset range of digital representation include positive and negative numbers. The data combinations are evaluated according to the preset evaluation criteria, and the preferred data combinations are selected from the data combinations according to the screening criteria. The preferred data combinations are then determined as the data combinations to be transmitted after expansion. The digits in each place value of the expanded data combination are represented using a time base, resulting in time base data, which refers to numbers with time units.

2. The method of claim 1, wherein, The algorithm, based on a preset numerical representation range and a preset data combination algorithm, expands the digits of each number in the data to be transmitted to numbers within the preset numerical representation range, resulting in multiple expanded data combinations, including: Each digit in the data to be transmitted is represented by any number within a preset range of numbers, resulting in an expanded data combination. Using a preset data combination algorithm, the expanded data combinations that can be restored to the data to be transmitted are retained, resulting in multiple expanded data combinations.

3. The method of claim 2, wherein, The implementation process of the preset data combination algorithm is as follows: For each digit in the expanded data combination; Determine the product of the digit corresponding to the digit and the weight corresponding to the digit, wherein the corresponding weight is determined according to the base of the data to be transmitted; Sum the products of the digits corresponding to each digit and the weight corresponding to that digit to obtain the total data. If the sum of the data equals the data to be transmitted, then retain it; otherwise, discard it.

4. The method of claim 1, wherein, The evaluation of multiple data combinations according to preset evaluation criteria includes: From multiple sets of data combinations, determine the maximum value of each digit in each data combination; For each data combination; Determine the difference between the digit in each place value and the maximum value of the digit in the corresponding place value in the data combination, and determine the score of the digit in each place value based on the difference and the score weight of the corresponding place value; The numerical scores for each digit in each data combination are summed to obtain the overall score for each data combination. Determine the time scale and carry-over for each combination of data based on the digits in each place value.

5. The method of claim 4, wherein, The overall score for each data set is obtained using the following expression: Where Score is the overall score, i is the i-th digit in the data combination, n is the total number of digits in the data combination, max(Column(i)) is the maximum value of the digit in the i-th digit, Column(i) is the digit in the i-th digit of the data combination, and Weight(i) is the score weight of the i-th digit.

6. The method of claim 4, wherein, Based on the digits in each data combination, determine the time scale and carry-over for that combination, including: For each data combination; The time scale for a data combination is obtained by summing the absolute values ​​of the digits in each place value. Determine the number of non-zero digits in a data combination to obtain the carry-over of that combination.

7. The method of claim 6, wherein, The selection criteria include one or more of the following: highest overall score, fewest time increments, and fewest round numbers.

8. A data transmission method, characterized by, include: The data to be transmitted is obtained, and the data to be transmitted is represented as time-based data based on the data representation method described in any one of claims 1-7. Each digit of the data to be transmitted is converted into time-based data, and the pulse data is then transmitted.

9. The method as described in claim 8, characterized in that, Converting the time base data corresponding to each digit of the data to be transmitted into pulse data, and transmitting the pulse data includes: Based on the time base data corresponding to each digit of the data to be transmitted, the pulse time interval and pulse polarity of each digit are determined to obtain the pulse data of each digit. The pulse time interval is the time base data corresponding to each digit, and the pulse polarity is determined according to the sign of the time base data. For each bit of the data to be transmitted; Before transmitting pulse data, a first pulse signal is sent, and after the pulse time interval, a second pulse signal is sent according to the pulse polarity.

10. A data display device, characterized in that, include: The data expansion module is used to expand the digits of each digit in the data to be transmitted into digits within the preset digital expression range based on a preset digital expression range and a preset data combination algorithm, thereby obtaining multiple sets of expanded data combinations. The digits in the preset digital expression range include positive and negative numbers. The data optimization module is used to evaluate multiple data combinations according to preset evaluation criteria, select the preferred data combinations from the multiple data combinations according to the screening criteria, and determine the preferred data combinations as the expanded data combinations to be transmitted. The time base conversion module is used to represent each digit in the expanded data combination using a time base to obtain time base data, wherein the time base data refers to numbers with time units.

11. A data transmission device, characterized in that, include: A data conversion module is used to acquire the data to be transmitted and, based on the method described in any one of claims 1-7, represent the data to be transmitted as time-based data. The data transmission module is used to convert the time base data corresponding to each digit of the data to be transmitted into pulse data, and to transmit the pulse data.

12. A computer storage medium, characterized in that, The computer storage medium stores computer-executable instructions, which, when executed by a processor, implement the data representation method of any one of claims 1-7 and / or the data transmission method of any one of claims 8-9.

13. A computer device, characterized in that, include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the program, implements the data representation method of any one of claims 1-7 and / or the data transmission method of any one of claims 8-9.