A method, system, apparatus, and medium for data conversion based on light emitting diodes

By using a light-emitting diode collision model and a data conversion method based on Cartesian coordinates, the problem of insufficient data caching in existing technologies is solved, achieving more efficient and reliable data transmission, and making it suitable for various data conversion scenarios.

CN117421359BActive Publication Date: 2026-06-23CHINA TELECOM CORP LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CHINA TELECOM CORP LTD
Filing Date
2023-10-12
Publication Date
2026-06-23

AI Technical Summary

Technical Problem

In existing technologies, data conversion methods based on classical encryption algorithms such as base64, base32, and base16 cannot effectively cache large amounts of data, resulting in unstable data transmission and insufficient accuracy.

Method used

A data conversion method based on light-emitting diodes is adopted. By constructing a collision model of light-emitting diodes and a rectangular coordinate system, random character combinations and coordinate points are generated by the collision of P-ions and N-ions to form coincidence points. The target data is split and stored, and random strings are formed by configuring random character combinations for data transmission. Finally, the target data is restored by the processor.

Benefits of technology

It improves the accuracy and speed of data transmission, solves the data caching problem, and enhances the reliability and security of data transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117421359B_ABST
    Figure CN117421359B_ABST
Patent Text Reader

Abstract

The application discloses a light-emitting diode-based data conversion method, system, device and medium, and the method comprises the following steps: constructing a plurality of light-emitting diode collision models and a rectangular coordinate system, and obtaining target data; making P ions and N ions in each light-emitting diode collision model collide to form a plurality of collision ions, and obtaining a first random character combination and a first coordinate point of the collision ions; linking the first coordinate points of the collision ions in the same collision model to form a link line graph on the rectangular coordinate system and obtain a plurality of coincidence points; splitting and storing the target data to the plurality of coincidence points according to a first preset order; configuring a second random character combination to each coincidence point, and splicing the random character combination corresponding to each coincidence point according to the first preset order to obtain a random string corresponding to all the coincidence points; and sending the random string to a target processor. The application can be applied to the technical field of data processing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of data processing technology, and in particular to a data conversion method, system, device and storage medium based on light-emitting diodes. Background Technology

[0002] With the rapid development of information technology, the internet is no longer an unfamiliar term. More and more people have joined the ranks of internet users, and the network is changing people's living space and lifestyles with its rapid, convenient, and timeless transmission capabilities. At the same time, ensuring the secure transmission of personal information online has become a top priority for internet professionals.

[0003] In related technologies, while algorithm conversion and character conversion are now common methods for improving data readability, tools such as base64, base32, and base16 generated using single-table substitution algorithms from classical encryption algorithms have drawbacks, such as the inability to cache large amounts of data. Therefore, there are still technical problems that need to be solved in related technologies. Summary of the Invention

[0004] The purpose of this application is to at least partially solve one of the technical problems existing in the prior art.

[0005] Therefore, one objective of the embodiments of this application is to provide a data conversion method, system, apparatus, and storage medium based on light-emitting diodes, which can improve the accuracy of data conversion and recognition based on light-emitting diodes.

[0006] To achieve the above-mentioned technical objectives, the technical solution adopted in this application includes: a data conversion method based on light-emitting diodes (LEDs), comprising constructing a plurality of LED collision models and a Cartesian coordinate system, and acquiring target data, wherein each LED collision model includes a plurality of P ions and a plurality of N ions; wherein each P ion is configured to carry a first random character and a first number, and each N ion is configured to carry a second random character and a second number; applying a forward voltage to the plurality of LED collision models, causing the P ions and N ions in each LED collision model to collide, forming a plurality of collision ions, and obtaining a first random character combination and a first coordinate point of the collision ions; the first The X-axis data of the coordinate point is a first number, and the Y-axis data of the first coordinate point is a second number; each of the first random character combinations corresponds one-to-one with each of the first coordinate points; the first coordinate points of each collision ion of the same collision model are linked to form a link line diagram on the Cartesian coordinate system and obtain several overlapping points; the target data is split and stored in several overlapping points according to a first preset order; a second random character combination is configured to each overlapping point, and the random character combinations corresponding to each overlapping point are concatenated according to the first preset order to obtain a random string corresponding to all overlapping points; the random string is sent to the target processor so that the target processor can restore the data of the random string to obtain the target data.

[0007] In addition, the data conversion method based on light-emitting diodes according to the above embodiments of the present invention may also have the following additional technical features:

[0008] Furthermore, in this embodiment of the application, the step of the target processor restoring the random string to obtain the target data specifically includes: receiving the random string and extracting each second random character combination corresponding to the random string and the coordinates of each overlapping point; restoring a Cartesian coordinate system based on the coordinates of each overlapping point; determining the split data carried by each overlapping point on the Cartesian coordinate system; the split data being several sub-data after the target data has been split; and recombining the split data to obtain the target data.

[0009] Furthermore, in this embodiment of the application, configuring the second random character combination to each of the overlapping points further includes: determining the second random character combination; the step of determining the second random character combination includes: obtaining the coordinates of the overlapping point; calculating the distance between the coordinates of the overlapping point and all the first coordinate points, taking the first coordinate point corresponding to the smallest distance as the target coordinate point, and taking the first random character combination corresponding to the target coordinate point as the second random character combination.

[0010] Furthermore, in this embodiment of the application, the step of calculating the distance between the coordinates of the overlapping point and all the first coordinate points, and taking the first coordinate point with the smallest distance as the target coordinate point, specifically includes: calculating the distance between the coordinates of the overlapping point and all the first coordinate points; when there is only one first coordinate point with the smallest distance, taking that first coordinate point as the target coordinate point; when there are two or more first coordinate points with the smallest distance, taking the first coordinate point with the smallest X coordinate as the target coordinate point.

[0011] Furthermore, in this embodiment of the application, both the first random character and the second random character include any one of the following: numbers, uppercase English letters, lowercase English letters, or special punctuation marks.

[0012] Further, in this embodiment of the application, the step of calculating the distance between the coordinates of the coincident point and all the first coordinate points includes: for the coordinates of the coincident point and any one of the first coordinate points, extracting the first X coordinate and the first Y coordinate of the first coordinate point and the second X coordinate and the second Y coordinate of the coincident point; performing a square difference operation on the first X coordinate and the second X coordinate to obtain a first square difference; performing a square difference operation on the first Y coordinate and the second Y coordinate to obtain a second square difference; performing a summation operation on the first square difference and the second square difference to obtain a first sum; and using the arithmetic square root of the first sum as the distance between the coordinates of the coincident point and any one of the first coordinate points.

[0013] Furthermore, in this embodiment of the application, the maximum value of the X-axis of the rectangular coordinate system is the maximum value of the first number, and the maximum value of the Y-axis of the rectangular coordinate system is the maximum value of the second number; the value range of both the first number and the second number is 0-99.

[0014] On the other hand, embodiments of this application also provide a data conversion system based on light-emitting diodes, including a first processing unit for constructing a plurality of light-emitting diode collision models and a rectangular coordinate system, and acquiring target data. Each light-emitting diode collision model includes a plurality of P ions and a plurality of N ions; wherein each P ion is configured to carry a first random character and a first number, and each N ion is configured to carry a second random character and a second number.

[0015] The second processing unit is used to apply a forward voltage to a plurality of the LED collision models, causing the P ions and N ions in each LED collision model to collide and form a plurality of collision ions, and to obtain a first random character combination and a first coordinate point of the collision ions; the X-axis data of the first coordinate point is a first number, and the Y-axis data of the first coordinate point is a second number; wherein each of the first random character combinations corresponds one-to-one with each of the first coordinate points;

[0016] The third processing unit is used to link the first coordinate points of each collision ion of the same collision model, form a link line diagram on the rectangular coordinate system, and obtain several overlapping points.

[0017] The fourth processing unit is used to split the target data according to a first preset order and store it into several overlapping points;

[0018] The fifth processing unit is configured to assign a second random character combination to each of the overlapping points, and to concatenate the random character combinations corresponding to each of the overlapping points in the first preset order to obtain a random string corresponding to all the overlapping points.

[0019] The sixth processing unit is used to send the random string to the target processor so that the target processor can restore the random string to obtain the target data.

[0020] On the other hand, this application also provides a data conversion device based on light-emitting diodes, comprising:

[0021] At least one processor;

[0022] At least one memory for storing at least one program;

[0023] When the at least one program is executed by the at least one processor, the at least one processor implements a data conversion method based on a light-emitting diode as described in any one of the inventions.

[0024] Furthermore, this application also provides a computer-readable storage medium storing processor-executable instructions, which, when executed by a processor, are used to perform a data conversion method based on a light-emitting diode as described in any of the preceding claims.

[0025] The advantages and beneficial effects of this application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of this application:

[0026] This application constructs a diode collision model and a Cartesian coordinate system, performs several collisions to form several overlapping points of the link line graph on the Cartesian coordinate system, splits the target data, converts it into random strings through the overlapping points, and sends it to the subsequent processor. The processor restores the target data. This application can split the data and transmit it in the form of random strings between the front and back stages, which can improve the defect of large amounts of data that cannot be cached, and improve the speed and accuracy of data transmission. Attached Figure Description

[0027] Figure 1 This is a schematic diagram illustrating the steps of a data conversion method based on light-emitting diodes in a specific embodiment of the present invention;

[0028] Figure 2 This is a schematic diagram illustrating the steps of a target processor restoring random characters to obtain target data in a specific embodiment of the present invention;

[0029] Figure 3 This is a schematic diagram illustrating the steps of determining the second random character combination in a specific embodiment of the present invention;

[0030] Figure 4 This is a schematic diagram illustrating the steps of calculating the distances between the coordinates of the coincident point and all first coordinate points in a specific embodiment of the present invention, and taking the first coordinate point with the smallest distance as the target coordinate point.

[0031] Figure 5 This is a schematic diagram illustrating the steps of calculating the coordinates of the coincident point and the distance to all first coordinate points in a specific embodiment of the present invention;

[0032] Figure 6 This is a schematic diagram of the structure of the positive and negative electrodes of the LED in another specific embodiment of the present invention in the LED collision model;

[0033] Figure 7 This is a schematic diagram illustrating the numbering of P-ions and N-ions in a light-emitting diode collision model in another specific embodiment of the present invention;

[0034] Figure 8 This is a schematic diagram of storing random character data in the P-ion and N-ion collision model of a light-emitting diode in a specific embodiment of the present invention;

[0035] Figure 9 This is a schematic diagram of the collision between P ions and N ions in a specific embodiment of the LED collision model in this invention.

[0036] Figure 10 This is a schematic diagram of a rectangular coordinate system constructed in a specific embodiment of the present invention;

[0037] Figure 11This is a schematic diagram of a rectangular coordinate system recording the coordinate points formed by colliding ions in a specific embodiment of the present invention;

[0038] Figure 12 This is a diagram of connecting lines formed in a rectangular coordinate system in a specific embodiment of the present invention;

[0039] Figure 13 This is a schematic diagram illustrating the marking and recording of coincident points on a rectangular coordinate system in a specific embodiment of the present invention;

[0040] Figure 14 This is a schematic diagram of a data conversion system based on light-emitting diodes in a specific embodiment of the present invention;

[0041] Figure 15 This is a schematic diagram of a data conversion device based on a light-emitting diode in a specific embodiment of the present invention. Detailed Implementation

[0042] The following detailed description, in conjunction with the accompanying drawings, illustrates the principles and processes of the data conversion method, system, device, and storage medium based on light-emitting diodes according to the embodiments of the present invention.

[0043] First, necessary explanations will be provided for the terms appearing in this application:

[0044] Diode: A diode is a semiconductor device mainly used in circuits for rectification, voltage regulation, excitation, and detection. A diode is a PN junction composed of P-type and N-type semiconductors. Under forward bias, holes in the P-region are injected into the N-region, while electrons in the N-region are injected into the P-region. This creates a built-in electric field on the PN junction, which inhibits the diffusion of holes and electrons, thus allowing current to flow in only one direction. Under reverse bias, the built-in electric field on the PN junction intensifies, resulting in a large number of hole-electron recombinations, causing the device to become open-circuited.

[0045] Forward bias: When a forward voltage is applied, in the initial part of the forward characteristic, the forward voltage is very small and insufficient to overcome the blocking effect of the electric field inside the PN junction. The forward current is almost zero; this section is called the dead zone. This forward voltage that cannot turn on the diode is called the dead zone voltage. When the forward voltage exceeds the dead zone voltage, the electric field inside the PN junction is overcome, the diode conducts in the forward direction, and the current rises rapidly with increasing voltage. Within the normal operating current range, the terminal voltage of the diode remains almost constant when it is conducting; this voltage is called the forward voltage of the diode.

[0046] Secondly, the shortcomings of the existing technology will be explained:

[0047] With the rapid development of information technology, the internet is no longer an unfamiliar term. More and more people have joined the ranks of internet users, and the network is changing people's living space and lifestyles with its rapid, convenient, and timeless transmission capabilities. At the same time, ensuring the secure transmission of personal information online has become a top priority for internet professionals.

[0048] With algorithmic and character conversions now common methods for improving data readability, tools such as base64, base32, and base16 are generated using single-table substitution algorithms from classical encryption algorithms. However, these mainstream algorithms have drawbacks, such as the inability to cache large amounts of text or data.

[0049] As can be seen from the above, there are still technical problems in the relevant technologies that need to be solved.

[0050] In view of the shortcomings of the prior art, referring to Figure 1 , Figure 1 This is a schematic diagram illustrating the steps of a data conversion method based on a light-emitting diode provided in an embodiment of this application. Figure 1 In this process, the data conversion method based on light-emitting diodes may include, but is not limited to, steps S101-S106.

[0051] S101. Construct several LED collision models and a Cartesian coordinate system, and obtain target data. Each LED collision model includes several P ions and several N ions. Each P ion is configured to carry a first random character and a first number, and each N ion is configured to carry a second random character and a second number.

[0052] It is understood that both the first and second random characters can be any one of multiple characters set by the user. Similarly, both the first and second numbers can be any one of multiple numbers set by the user. The Cartesian coordinate system is a two-dimensional Cartesian coordinate system. The two mutually orthogonal axes of the coordinate system can represent the numbers of P-ions and N-ions, respectively. Specifically, this application can use P-ions as the X-axis and N-ions as the Y-axis, with the maximum scale on the X-axis corresponding to the maximum value in the first number, and the maximum scale on the Y-axis corresponding to the maximum value in the second number. Furthermore, in any two of the several LED collision models, the P-ions and N-ions in the models can be completely different or partially different. For example, if two LED collision models A and B each have 3 P-ions and 3 N-ions, the three P-ions in model A are PA1, PA2, and PA3, and the three N-ions are NA1, NA2, and NA3, while the three P-ions in model B are PB1, PB2, and PB3, corresponding to numbers a, b, and c. The three N ions are NB1, NB2, and NB3, with corresponding numbers d, e, and f. A, b, and c can be different from all of d, e, and f, or any one or two of a, b, and c can have the same numbers as any one or two of d, e, and f.

[0053] In some feasible embodiments of this application, the processor can construct several light-emitting diode collision models, each including several P ions and several N ions, and a Cartesian coordinate system using computer-aided software, and acquire target data. Each light-emitting diode collision model includes several P ions and several N ions; wherein each P ion is configured to carry a first random character and a first number, and each N ion is configured to carry a second random character and a second number.

[0054] S102. Apply a forward voltage to several LED collision models, causing P-ions and N-ions in each LED collision model to collide and form several collision ions, and obtain a first random character combination and a first coordinate point of the collision ions; the X-axis data of the first coordinate point is a first number, and the Y-axis data of the first coordinate point is a second number; wherein each of the first random character combinations corresponds one-to-one with each of the first coordinate points.

[0055] It is understood that each of the first random character combinations corresponds one-to-one with each of the first coordinate points; that is, each colliding ion corresponds to a first coordinate point, and each first coordinate point corresponds to a coordinate combination. The first random character combination can be a combination of characters carried by two colliding ions, while the first coordinate point is the coordinate of the two colliding ions in a Cartesian coordinate system. The X-axis coordinate of the first coordinate is the first number, and the Y-axis coordinate is the second number.

[0056] In some feasible embodiments of this application, the processor can use computer-aided software to apply a positive voltage to several light-emitting diode collision models, causing the P ions and N ions in each light-emitting diode collision model to collide, forming several collision ions, and obtaining a first random character combination and a first coordinate point of the collision ions.

[0057] S103. Link the first coordinate points of each collision ion in the same collision model to form a link line diagram on a rectangular coordinate system and obtain several overlapping points.

[0058] Understandably, each collision model can include several different colliding ions, and correspondingly, each collision model can generate several first coordinate points. The link diagram can include several link lines, each link line being formed by connecting the first coordinate points under the same collision model. The overlapping point can be the coordinate point where two or more link lines intersect.

[0059] In some feasible embodiments of this application, the processor can link the first coordinate points of each collision ion of the same collision model obtained through collision, forming a link line diagram with several link lines on a Cartesian coordinate system. These link lines can intersect each other to form several intersection points, which are corresponding several coincidence points.

[0060] S104. Split the target data into several overlapping points according to the first preset order.

[0061] It is understandable that the first preset order can be either from left to right or from right to left. One order is based on the position corresponding to the first transmitted data in serial data transmission as the right side, while the other order is based on the position corresponding to the last transmitted data in serial data transmission as the left side.

[0062] In some feasible embodiments of this application, the processor splits the target data according to a first preset order and stores it in several overlapping points. During the splitting, one piece of data can be split into several pieces of data of equal length. For example, if the target data to be transmitted is 123456, it can be split from left to right into 12, 34, 56, or it can be split into 123, 456 and input into several overlapping points.

[0063] It should be noted that the specific number of data points of equal length is related to the number of overlapping points, and the number of overlapping points is greater than or equal to the specific number of data points of equal length.

[0064] S105. Configure the second random character combination to each overlapping point, and concatenate the random character combination corresponding to each overlapping point according to the first preset order to obtain the random string corresponding to all overlapping points.

[0065] Understandably, the second random character combination can be a different combination from the first random character combination. Configuring the second random character combination is for the subsequent reconstruction of the target number. The first preset order can be from left to right or from right to left. One preset order uses the position corresponding to the first transmitted data in serial data transmission as the right side, while the other uses the position corresponding to the last transmitted data in serial data transmission as the left side. The random string is a string formed by concatenating random character combinations according to the first preset order.

[0066] In some feasible embodiments of this application, the processor configures a second random character combination to each overlapping point, so that each overlapping point carries the second random character combination, and concatenates the random character combinations corresponding to each overlapping point in a preset order to obtain a random string corresponding to all overlapping points.

[0067] S106. Send the random string to the target processor so that the processor can restore the random characters to obtain the target data.

[0068] It is understandable that the target processor can be a processor that receives random strings, which is different from the processor that executes steps S101 to S105. Its specific restoration algorithm is also different from that of the processor that executes steps S101 to S105.

[0069] In some feasible embodiments of this application, the processor executing steps S101 to S105 sends a random string to the target processor. The target processor receives the random string and uses an algorithm to restore the random characters to obtain the target data.

[0070] Furthermore, referring to Figure 2 , Figure 2 This is a schematic diagram of the steps in this application embodiment where the target processor restores random characters to obtain target data. These steps may include, but are not limited to, steps S201-S204.

[0071] S201. Receive the random string and extract each second random character combination corresponding to the random string and the coordinates of each overlapping point;

[0072] S202. Reconstruct the rectangular coordinate system based on the coordinates of each coincident point;

[0073] S203. Determine the split data carried by each coincident point on the rectangular coordinate system; the split data is several sub-data after the target data is split.

[0074] S204. Recombine the split data to obtain the target data.

[0075] In some feasible embodiments of this application, the processor executing steps S101 to S105 can send a random string to the target processor. The target processor receives the random string and extracts each second random character combination corresponding to the random string and the coordinates of each overlapping point. The target processor can reconstruct a Cartesian coordinate system based on the coordinates of each overlapping point. Then, the target processor can determine the split data carried by each overlapping point on the Cartesian coordinate system; the split data is several sub-data after the target data is split; finally, the split data is recombined according to the original preset order to finally obtain the target data.

[0076] Furthermore, configuring the second random character combination to each of the overlapping points also includes the step of determining the second random character combination. (See reference...) Figure 3 , Figure 3 This is a schematic diagram illustrating the steps for determining the second random character combination in an embodiment of this application. Figure 3 In this process, the step may include, but is not limited to, steps S301-S303.

[0077] S301. Obtain the coordinates of the overlapping points;

[0078] S302. Calculate the distances between the coordinates of the coincident point and all first coordinate points, and take the first coordinate point with the smallest distance as the target coordinate point;

[0079] S303. Use the first random character combination corresponding to the target coordinate point as the second random character combination.

[0080] In some feasible embodiments of this application, the processor can obtain the coordinates of the overlapping point and calculate the distance between the coordinates of the overlapping point and all the first coordinate points. Among all the first coordinate points, the first coordinate point with the smallest distance is taken as the target coordinate point. The first random character combination corresponding to the target coordinate point is taken as the second random character combination. That is, the character corresponding to the coordinate point closest to the overlapping point is moved to the overlapping point, and the character carried by the coordinate point closest to the overlapping point is taken as the character of the overlapping point.

[0081] Furthermore, referring to Figure 4 , Figure 4 This is a schematic diagram illustrating the steps in this embodiment of the application to calculate the distances between the coordinates of the overlapping point and all first coordinate points, and to select the first coordinate point with the smallest distance as the target coordinate point. Figure 4In this process, the step may include, but is not limited to, steps S401-S403.

[0082] S401. Calculate the coordinates of the coincident point and the distance between it and all first coordinate points;

[0083] S402. When there is only one first coordinate point corresponding to the minimum distance, take that first coordinate point as the target coordinate point;

[0084] S403. When there are two or more first coordinate points corresponding to the minimum distance, the first coordinate point with the smallest X coordinate shall be taken as the target coordinate point.

[0085] In some feasible embodiments of this application, when there is only one collision ion closest to the overlapping point, the target coordinate point is the currently unique coordinate point. When there are multiple collision ions closest to the overlapping point, the first coordinate point with the smallest X-coordinate is taken as the target coordinate point. For example, the overlapping point is (7,6), and the first coordinate points with the same and smallest distance (distance of 5) are (3,3) and (4,2). In this case, (3,3) is taken as the target coordinate point.

[0086] Furthermore, referring to Figure 5 , Figure 5 This is a schematic diagram illustrating the steps of calculating the coordinates of the coincident point and the distance to all first coordinate points in an embodiment of this application. Figure 5 In this process, the step may include, but is not limited to, steps S501-S505.

[0087] S501. For the coordinates of the coincident point and any first coordinate point, extract the first X coordinate and first Y coordinate of the first coordinate point and the second X coordinate and second Y coordinate of the coincident point.

[0088] S502. Perform a squared difference operation between the first X-coordinate and the second X-coordinate to obtain the first squared difference;

[0089] S503. Perform a squared difference operation between the first Y coordinate and the second Y coordinate to obtain the second squared difference;

[0090] S504. Summate the first difference of squares and the second difference of squares to obtain the first sum;

[0091] S505, the distance between the coordinates of the point coinciding with the arithmetic square root of the first sum and any first coordinate point.

[0092] In some feasible embodiments of this application, when calculating the distance between the coordinates of the coincident point and all first coordinate points, for the coordinates of the coincident point and any first coordinate point, the processor can extract the first X coordinate and first Y coordinate of the first coordinate point and the second X coordinate and second Y coordinate of the coincident point; then, perform a square difference operation on the first X coordinate and the second X coordinate to obtain the first square difference; then, perform a square difference operation on the first Y coordinate and the second Y coordinate to obtain the second square difference; next, sum the first square difference and the second square difference to obtain the first sum; finally, calculate the arithmetic square root of the first sum, and use the arithmetic square root as the distance between the coordinates of the coincident point and any first coordinate point. Specifically, the distance between the coincident point and the first coordinate point can be obtained by a formula, as follows:

[0093] |AB|=√[(x2-x1)^2+(y2-y1^2)]

[0094] Where |AB| is the distance between the coincident point and the first coordinate point, and (x1, y1) is the coordinate of the first coordinate point; (x2, y2) is the coordinate of the coincident point.

[0095] Furthermore, in some feasible embodiments of this application, both the first random character and the second random character can include any one of the following: numbers, uppercase English letters, lowercase English letters, or special punctuation marks. For example, numbers can be 123456789, uppercase English letters can be AZ, lowercase English letters can be az, and special punctuation marks can be " / ", "*", etc.

[0096] Furthermore, the maximum value of the X-axis in the rectangular coordinate system is the maximum value of the first number, and the maximum value of the Y-axis in the rectangular coordinate system is the maximum value of the second number; the values ​​of both the first and second numbers range from 0 to 99. Specifically, when the first numbers of the five P ions are 90, 80, 75, 73, and 21, the maximum value of the X-axis is 90; when the first numbers of the five N ions are 20, 15, 13, 8, and 3, the maximum value of the X-axis is 20.

[0097] The specific implementation principle of this application is explained below with reference to the accompanying drawings:

[0098] 1.Reference Figure 6 as well as Figure 13 Model preparation: Generate a diode model, with 10 positive and 10 negative ions generated in each of the P and N regions. Label the ions with numbers ranging from 0 to 99. After labeling, each ion carries a randomly generated single character consisting of the numbers 0-9, uppercase letters, lowercase letters, and special punctuation marks, and enters the collision process.

[0099] 2. Collision process:

[0100] 2a. Under forward voltage, ions inside the diode will move in one direction. Based on this characteristic, a forward voltage can be applied to the model to cause the ions to collide.

[0101] 2b. After the model collision, record the collision sequence of ions and the numbers carried by the positive and negative ions;

[0102] 2c. Construct a coordinate system with the p-block ion labels as x and the corresponding n-block ions as y;

[0103] 2d. In the coordinate system, the length of x is the maximum value among the labels, and the length of y is the maximum value among the labels. After the coordinate system is constructed, the coordinate points are linked to form a link line diagram.

[0104] 3. Multiple collisions:

[0105] 3a. Reorganize the model multiple times, renumber the ions, forming a model different from the previous one, and perform model collisions. Record the collision sequence, create a coordinate system, and form a link diagram;

[0106] 3b. The three different collision models formed by multiple recombinations form a link diagram. The coordinate points of the link diagram are extracted, and the three sets of data are described in the same coordinate system, forming a connecting line diagram in the same coordinate system.

[0107] 4. Coordinates coincide:

[0108] In the connecting lines formed in the same coordinate system, identify the overlapping part of the three connecting lines and record the coordinates (xy) of that point for later storage.

[0109] 5. Data storage points:

[0110] a. Split the target data to be converted into characters, and then store it in the overlapping points according to the original data order, usually from left to right;

[0111] b. Since the initial overlapping point does not carry randomly generated characters, the initial carrying data is obtained from the nearest initial carrying data point within the overlapping point range.

[0112] c. According to the formula for the shortest distance along the coordinate axes, d = √((x² - xl)). 2 + (y2-y1) 2 ), where d represents the shortest distance between two points, x1 and y1 represent the x and y coordinates of the first point, and x2 and y2 represent the x and y coordinates of the second point, respectively.

[0113] d. The initial point selection rule is that the point closest to the overlapping point has the highest priority. The acquisition ends after two initial point data are obtained.

[0114] 6. Rational planning

[0115] 6a. The number of collisions and connections generated by the coincident point model is proportional to the data length and the number of coincident points.

[0116] 6b. To avoid wasting resources, during the generation process, once the number of overlapping points reaches the total data length, the recording of collisions and coordinate points will stop.

[0117] 6c. When initial points with the same distance are found, they are selected according to the numerical difference between the x-axis of the initial point and the x-axis of the coincident point. That is, the smaller the numerical difference, the higher the priority.

[0118] 7. Data Conversion

[0119] 7a. The initial characters obtained from the overlapping points mentioned above can be concatenated in the order of the original data to obtain the converted special random string.

[0120] 7b. By using the x-axis coordinate and corresponding y-axis coordinate storage method, secondary data protection can be performed on the basis of the original data transformation through the x-axis coordinate and the preset data transformation order, thereby improving the anti-cracking capability.

[0121] 8. Data Restoration

[0122] 8a. By following the order of the records and collecting the string data, we can reverse the conversion of the characters.

[0123] 8b. The original coordinate points and the intersection points of the coordinate axes can form the prototype of the coordinate system before data transformation. By restoring the prototype, we can obtain the original data before transformation, further improving the practicality of this transformation method.

[0124] In summary, this application has the following advantages:

[0125] 1. This application converts data into an updated format that is compatible with multiple data storage methods, thereby improving storage and utilization performance.

[0126] 2. This application converts data into a relatively new and more reliable format, which helps prevent data loss and ensures the accessibility of information.

[0127] 3. This application is applicable to any scenario involving data transformation and has a wide range of uses.

[0128] In addition, refer to Figure 14 ,and Figure 1Corresponding to the method, embodiments of this application also provide a data conversion system based on light-emitting diodes (LEDs). The system may include a first processing unit 1001, a second processing unit 1002, a third processing unit 1003, a fourth processing unit 1004, a fifth processing unit 1005, and a sixth processing unit 1006. The first processing unit 1001 can be used to construct several LED collision models and a Cartesian coordinate system, and acquire target data. Each LED collision model includes several P-ions and several N-ions; each P-ion is configured to carry a first random character and a first number, and each N-ion is configured to carry a second random character and a second number. The second processing unit 1002 can be used to apply a forward voltage to several LED collision models, causing the P-ions and N-ions in each LED collision model to collide, forming several collision ions, and obtaining a first random character combination and a first coordinate point of the collision ions; the X-axis data of the first coordinate point is the first number, and the Y-axis data of the first coordinate point is the second number; wherein each The first random character combination corresponds one-to-one with each of the first coordinate points; the third processing unit 1003 can be used to link the first coordinate points of each collision ion of the same collision model, form a link line diagram on the rectangular coordinate system, and obtain several overlapping points; the fourth processing unit 1004 can be used to split the target data according to a first preset order and store it to several overlapping points; the fifth processing unit 1005 can be used to configure the second random character combination to each of the overlapping points, and concatenate the random character combination corresponding to each of the overlapping points according to the first preset order to obtain a random string corresponding to all the overlapping points; the sixth processing unit 1006 can be used to send the random string to the target processor, so that the target processor can restore the data of the random string to obtain the target data.

[0129] It should be noted that the first processing unit can be any integrated circuit unit or microprocessor unit obtained by integrating a chip with processing functions and its peripheral circuits using existing integration technology. Similarly, the second, third, fourth, fifth, and sixth processing units can also be any integrated circuit module or microprocessor module obtained by integrating a chip with processing functions and its peripheral circuits using existing integration technology. The second and third processing units may also include one or more memories. These memories can be used to store the specific algorithms used for identification processing in this application.

[0130] In some embodiments of this application, the first processing unit 1001 may be disposed in a device with processing functions, along with the second processing unit 1002, the third processing unit 1003, the fourth processing unit 1004, the fifth processing unit 1005, and the sixth processing unit 1006. The specific device connection method and device configuration of the first processing unit 1001 and the second processing unit 1002, the third processing unit 1003 and the fourth processing unit 1004, the fifth processing unit 1005, and the sixth processing unit 1006 are not limited. If the first processing unit 1001 and the second processing unit 1002, and the third processing unit 1003 and the fourth processing unit 1004, the fifth processing unit 1005, and the sixth processing unit 1006 are wirelessly connected, the wireless connection may include, but is not limited to, 3G / 4G / 5G connection, WiFi connection, Bluetooth connection, WiMAX connection, Zigbee connection, UWB (Ultra Wideband) connection, and other currently known or future developed wireless connection methods.

[0131] and Figure 1 Corresponding to the method described herein, embodiments of this application also provide a data conversion device based on light-emitting diodes, the specific structure of which can be referred to... Figure 15 ,include:

[0132] At least one processor 1011;

[0133] At least one memory 1012 is used to store at least one program;

[0134] When the at least one program is executed by the at least one processor, the at least one processor implements the LED-based data conversion method.

[0135] and Figure 1 Corresponding to the method described above, embodiments of this application also provide a computer-readable storage medium storing processor-executable instructions, which, when executed by a processor, are used to perform the aforementioned LED-based data conversion method.

[0136] The contents of the above-described data conversion method embodiments based on light-emitting diodes are all applicable to this storage medium embodiment. The specific functions implemented in this storage medium embodiment are the same as those in the above-described data conversion method embodiments based on light-emitting diodes, and the beneficial effects achieved are also the same as those achieved in the above-described data conversion method embodiments based on light-emitting diodes.

[0137] In some alternative embodiments, the functions / operations mentioned in the block diagrams may not occur in the order shown in the operation diagrams. For example, depending on the functions / operations involved, two consecutively shown blocks may actually be executed substantially simultaneously, or the blocks may sometimes be executed in reverse order. Furthermore, the embodiments presented and described in the flowcharts of this application are provided by way of example to provide a more comprehensive understanding of the technology. The disclosed methods are not limited to the operations and logic flows presented herein. Alternative embodiments are contemplated in which the order of various operations is changed and sub-operations described as part of a larger operation are executed independently.

[0138] Furthermore, although this application is described in the context of functional modules, it should be understood that, unless otherwise stated to the contrary, one or more of the functions and / or features may be integrated into a single physical device and / or software module, or one or more functions and / or features may be implemented in a separate physical device or software module. It is also understood that a detailed discussion of the actual implementation of each module is unnecessary for understanding this application. Rather, given the properties, functions, and internal relationships of the various functional modules in the apparatus disclosed herein, the actual implementation of the module will be understood within the scope of conventional technology for an engineer. Therefore, those skilled in the art can implement the application set forth in the claims using ordinary techniques without excessive experimentation. It is also understood that the specific concepts disclosed are merely illustrative and not intended to limit the scope of this application, which is determined by the full scope of the appended claims and their equivalents.

[0139] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several programs to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0140] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequential list of executable programs for implementing logical functions, and can be embodied in any computer-readable medium for use by, or in conjunction with, a program execution system, apparatus, or device (such as a computer-based system, a processor-included system, or other system that can retrieve and execute a program from or in conjunction with such a program execution system, apparatus, or device). For the purposes of this specification, "computer-readable medium" can mean any means that can contain, store, communicate, propagate, or transmit a program for use by or in conjunction with a program execution system, apparatus, or device.

[0141] More specific examples of computer-readable media (a non-exhaustive list) include: electrical connections (electronic devices) having one or more wires, portable computer disk drives (magnetic devices), random access memory (RAM), read-only memory (ROM), erasable and editable read-only memory (EPROM or flash memory), fiber optic devices, and portable optical disc read-only memory (CDROM). Furthermore, computer-readable media can even be paper or other suitable media on which the program can be printed, because the program can be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, interpreting, or otherwise processing as necessary, and then stored in computer memory.

[0142] It should be understood that various parts of this application can be implemented using hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented using software or firmware stored in memory and executed by a suitable program execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented using any one or a combination of the following techniques known in the art: discrete logic circuits having logic gates for implementing logical functions on data signals, application-specific integrated circuits (ASICs) having suitable combinational logic gates, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc.

[0143] In the foregoing description of this specification, the references to terms such as "one embodiment," "another embodiment," or "some embodiments," etc., indicate that a specific feature, structure, material, or characteristic described in connection with an embodiment or example is included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.

[0144] Although embodiments of this application have been shown and described, those skilled in the art will understand that various changes, modifications, substitutions and variations can be made to these embodiments without departing from the principles and spirit of this application, the scope of which is defined by the claims and their equivalents.

[0145] The above is a detailed description of the preferred embodiments of this application, but this application is not limited to the embodiments described. Those skilled in the art can make various equivalent modifications or substitutions without departing from the spirit of this application, and these equivalent modifications or substitutions are all included within the scope defined by the claims of this application.

Claims

1. A data conversion method based on light-emitting diodes, characterized in that, include: Several LED collision models and a Cartesian coordinate system are constructed, and target data is obtained. Each LED collision model includes several P ions and several N ions. Each P ion is configured to carry a first random character and a first number, and each N ion is configured to carry a second random character and a second number. A forward voltage is applied to several LED collision models, causing P-ions and N-ions in each LED collision model to collide and form several collision ions. A first random character combination and a first coordinate point are obtained for each collision ion. The X-axis data of the first coordinate point is a first number, and the Y-axis data of the first coordinate point is a second number. Each first random character combination corresponds one-to-one with each first coordinate point. The first coordinate points of each collision ion in the same collision model are linked together to form a link line diagram on the rectangular coordinate system and obtain several overlapping points. The target data is split and stored in several overlapping points according to a first preset order; Configure a second random character combination to each of the overlapping points, and concatenate the random character combinations corresponding to each of the overlapping points according to the first preset order to obtain a random string corresponding to all the overlapping points; The random string is sent to the target processor so that the target processor can restore the data from the random string to obtain the target data; The step of the target processor restoring the random string to obtain the target data specifically includes: Receive the random string and extract each second random character combination corresponding to the random string and the coordinates of each overlapping point; Reconstruct the Cartesian coordinate system based on the coordinates of each of the overlapping points; The split data carried by each of the coincident points is determined on the Cartesian coordinate system; the split data is several sub-data after the target data is split. The split data is then recombined to obtain the target data.

2. The data conversion method based on light-emitting diodes according to claim 1, characterized in that, The step of configuring the second random character combination to each overlapping point further includes: determining the second random character combination; the step of determining the second random character combination includes: Obtain the coordinates of the coincident points; Calculate the distances between the coordinates of the overlapping point and all the first coordinate points, and select the first coordinate point with the smallest distance as the target coordinate point. The first random character combination corresponding to the target coordinate point is used as the second random character combination.

3. The data conversion method based on light-emitting diodes according to claim 2, characterized in that, The step of calculating the distances between the coordinates of the coincident point and all the first coordinate points, and taking the first coordinate point with the smallest distance as the target coordinate point, specifically includes: Calculate the distance between the coordinates of the coincident point and all the first coordinate points; When there is only one first coordinate point corresponding to the minimum distance, take that first coordinate point as the target coordinate point; When there are two or more first coordinate points corresponding to the smallest distance, the first coordinate point with the smallest X coordinate is taken as the target coordinate point.

4. The data conversion method based on light-emitting diodes according to claim 1, characterized in that, Both the first random character and the second random character include any one of the following: numbers, uppercase English letters, lowercase English letters, or special punctuation marks.

5. The data conversion method based on light-emitting diodes according to claim 3, characterized in that, The step of calculating the coordinates of the coincident point and the distances to all the first coordinate points includes: For the coordinates of the coincident point and any of the first coordinate points, extract the first X coordinate and the first Y coordinate of the first coordinate point and the second X coordinate and the second Y coordinate of the coincident point; Perform a squared difference operation between the first X coordinate and the second X coordinate to obtain the first squared difference; The second squared difference is obtained by performing a squared difference operation between the first Y coordinate and the second Y coordinate; Summing the first difference of squares and the second difference of squares yields the first sum. The distance between the coordinates of the coincident point and any one of the first coordinate points is determined by the arithmetic square root of the first sum.

6. The data conversion method based on light-emitting diodes according to claim 1, characterized in that, The maximum value of the X-axis of the rectangular coordinate system is the maximum value of the first number, and the maximum value of the Y-axis of the rectangular coordinate system is the maximum value of the second number; the values ​​of the first number and the second number are both in the range of 0-99.

7. A data conversion system based on light-emitting diodes, characterized in that, include: The first processing unit is used to construct several LED collision models and a Cartesian coordinate system, and to acquire target data. Each LED collision model includes several P ions and several N ions. Each P ion is configured to carry a first random character and a first number, and each N ion is configured to carry a second random character and a second number. The second processing unit is used to apply a forward voltage to a plurality of the LED collision models, causing the P ions and N ions in each LED collision model to collide and form a plurality of collision ions, and to obtain a first random character combination and a first coordinate point of the collision ions; the X-axis data of the first coordinate point is a first number, and the Y-axis data of the first coordinate point is a second number; wherein each of the first random character combinations corresponds one-to-one with each of the first coordinate points; The third processing unit is used to link the first coordinate points of each collision ion of the same collision model, form a link line diagram on the rectangular coordinate system, and obtain several overlapping points. The fourth processing unit is used to split the target data according to a first preset order and store it into several overlapping points; The fifth processing unit is configured to assign a second random character combination to each of the overlapping points, and to concatenate the random character combinations corresponding to each of the overlapping points in the first preset order to obtain a random string corresponding to all the overlapping points. The sixth processing unit is used to send the random string to the target processor so that the target processor can restore the random string to obtain the target data; The target processor performs data restoration on the random string to obtain the target data, including: Receive the random string and extract each second random character combination corresponding to the random string and the coordinates of each overlapping point; Reconstruct the Cartesian coordinate system based on the coordinates of each of the overlapping points; The split data carried by each of the coincident points is determined on the Cartesian coordinate system; the split data is several sub-data after the target data is split. The split data is then recombined to obtain the target data.

8. A data conversion device based on light-emitting diodes, characterized in that, include: At least one processor; At least one memory for storing at least one program; When the at least one program is executed by the at least one processor, the at least one processor implements a data conversion method based on a light-emitting diode as described in any one of claims 1-6.

9. A computer-readable storage medium storing processor-executable instructions, characterized in that, The processor-executable instructions, when executed by the processor, are used to perform a data conversion method based on a light-emitting diode as described in any one of claims 1-6.