Electronic stop board and bus shelter data encryption method

By determining fixed and mobile points based on numbers in electronic station signs and bus shelters, using elliptical formulas to encode data, encrypting data in the bus system, the problems of data leakage and malicious acquisition are solved, and the secure encryption and resistance of data are achieved Cracking ability.

CN118916891APending Publication Date: 2024-11-08SHANGHAI ZEMSO ELECTRONICS TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410982995.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-22
Publication Date
2024-11-08

AI Technical Summary

Technical Problem

In the existing bus system, electronic station signs and shelter data are easily leaked during transmission, and cannot effectively prevent malicious acquisition, resulting in the security of passenger privacy data being threatened.

Method used

By determining fixed points based on electronic station number and determining moving points based on the field changes that need to be encrypted, data encoding is used to encode elliptical formulas in the plane rectangular coordinate system to generate an encrypted code set, and the data encryption operation is completed to avoid data transmission. Leakage in the process.

Benefits of technology

It realizes the secure encryption of electronic station signs and bus shelter data, effectively avoids data leakage and brute-force cracking, and ensures the security of passenger data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118916891A_ABST
    Figure CN118916891A_ABST
Patent Text Reader

Abstract

The invention discloses a data encryption method for an electronic bus stop board and a bus shelter, and provides the data encryption method for the electronic bus stop board and the bus shelter in order to solve the problem of data security of the bus stop board and the bus shelter. The corresponding first point location and second point location are generated according to the serial numbers of the electronic bus stop board and the bus shelter and the data needing to be encrypted, and the data needing to be encrypted are converted, so that the first point location generated by the electronic bus stop board and the bus shelter and the second point location corresponding to the original data are jointly mapped to the encrypted data set; and obtaining data in the corresponding encrypted data set after the original data is encrypted, and obtaining encrypted data. According to the method, the data can be directly encrypted on the electronic stop board and the bus shelter, so that the data security is guaranteed, and meanwhile, the encryption method used by the invention can be used for performing secondary conversion on the data, so that brute force cracking can be effectively avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of data processing and relates to a method for encrypting data of an electronic bus stop sign and a bus shelter. Background Art

[0002] With the development of society, urban public transportation is becoming more and more intelligent, and more and more passenger data is recorded. It is inevitable that passengers' privacy data will be recorded, such as ticket purchase transaction information, facial recognition information, etc. The protection of privacy data is particularly important, and the encryption of privacy data is becoming more and more important. The bus company will not intentionally leak this data, but it cannot prevent malicious acquisition. At the same time, during the data transmission process, data is generally transmitted through information transmission protocols, and the information transmission protocol cannot avoid the protocol being cracked, resulting in passenger data leakage. In the existing bus system, electronic bus stops and bus shelters are important information collection points. If the electronic bus stops and bus shelters are not encrypted, data leakage incidents are likely to occur.

[0003] This requires a method that can encrypt data directly on electronic bus stops and bus shelters. Summary of the invention

[0004] In order to solve the problems existing in the background technology, the present invention proposes a data encryption method for an electronic bus stop sign and a bus shelter.

[0005] In order to achieve the above-mentioned purpose, the technical solution adopted by the present invention is as follows.

[0006] A method for encrypting data of an electronic bus stop sign and a bus shelter is divided into the following steps:

[0007] Determine the first point based on the electronic station sign and the bus shelter number; generate the second point based on the original data to be encrypted;

[0008] Based on the continuous change of the field data to be encrypted, the second point moves along with the change of the field data to be encrypted;

[0009] Based on the first point and the changed second point, the encryption code set is mapped to obtain a first sequence, thereby completing the encryption operation.

[0010] Furthermore, the first point and the second point are determined as follows:

[0011] The first point is a fixed point, and different positions are determined according to different electronic bus stops and bus shelter numbers;

[0012] The second point is a mobile point, which changes continuously according to the change of the field to be encrypted. The corresponding second point is selected according to the plaintext data currently to be encrypted.

[0013] Furthermore, the second point is constantly changing according to the change of the field to be encrypted. First, the plain text is encoded and converted into a first data set that can be expressed cyclically. The first data set can be expressed by the following formula:

[0014]

[0015] Wherein p is the displacement of the first data set on the x-axis in the plane rectangular coordinate system, t is the offset of the first data set on the y-axis in the plane rectangular coordinate system, u is the offset of the first data set on the x-axis in the plane rectangular coordinate system, and r is the size of the control first data set;

[0016] The plaintext currently to be encrypted is replaced by corresponding data in the first data set. Each data in the first data set corresponds to a second point position. The second point position is located by replacing the original plaintext data with the data in the first data set.

[0017] Furthermore, based on the change of the first point and the second point, the first sequence is mapped to the encrypted code set and obtained in the following specific manner:

[0018] Through the first point and the changing second point, the data composed of the first point and the second point points to different ciphertexts in the encryption code set. The data composed of the first point and the second point can be represented by a straight line l1 between the two points, and the ciphertext sequence can be represented by a straight line l2. The intersection of l1 and l2 is the ciphertext pointed to by the data to be encrypted at that time. l1 and l2 are expressed by the following formula:

[0019] l1:y=kx+z

[0020] l2:x=s

[0021] Where z represents the constant term, s is the straight line l2 where the ciphertext data set is located, and k represents the slope of the straight line, which is calculated by the following formula:

[0022]

[0023] Where (m, n) is used to represent the coordinates of the first point, m and n are the values ​​on the x-axis and y-axis of the first point respectively, (a, b) is used to represent the coordinates of the first point, a and b are the values ​​on the x-axis and y-axis of the second point respectively;

[0024] The encryption of all data in the original data sequence is completed according to the above formula to obtain the first sequence.

[0025] Furthermore, based on the change of the first point position and the second point position, the encrypted code set is mapped. In certain cases, the change of the first point position and the second point position is not mapped to the encrypted code set, and a special character is used to replace it.

[0026] Compared with the prior art, the present invention has the following beneficial effects:

[0027] The present invention reads the current electronic bus stop sign and bus shelter data, reads the current electronic bus stop sign and bus shelter number, and can directly encrypt the data on the electronic bus stop sign and bus shelter in combination with internal data, so that data security is guaranteed. At the same time, the encryption method used in the present invention can make a secondary conversion of the data, which can effectively avoid brute force cracking. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] Figure 1 It is a schematic diagram of the encryption process of the present invention;

[0029] Figure 2 It is a schematic diagram of encryption mapping of the present invention. DETAILED DESCRIPTION

[0030] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0031] In order to solve the data security problem of bus stops and bus booths, urban public transportation records more and more passenger data, which inevitably records passengers' private data, such as ticket purchase transaction information, facial recognition information, etc. Figure 1 , Figure 2 As shown, in order to prevent the leakage of passenger data, the technical solution adopted by the present invention is as follows:

[0032] like Figure 1 As shown, a method for encrypting data of an electronic bus stop sign and a bus shelter is divided into the following steps:

[0033] Determine the first point based on the electronic station sign and the bus shelter number; generate the second point based on the original data to be encrypted;

[0034] Based on the continuous change of the field data to be encrypted, the second point moves along with the change of the field data to be encrypted;

[0035] Based on the first point and the changed second point, the encryption code set is mapped to obtain a first sequence, thereby completing the encryption operation.

[0036] First, the electronic bus stop sign and the bus shelter obtain the original data sequence. In order to prevent the data of the electronic bus stop sign and the bus shelter from being leaked, the data needs to be encrypted.

[0037] First, the first point is determined based on the number of the electronic bus stop sign and the bus shelter. The first point is a fixed point, and different positions are determined according to different numbers of electronic bus stops and bus shelters. The first point is a fixed point, and the data can be encrypted according to the number of the current electronic bus stop sign and bus shelter, which can reduce the amount of data calculation. At the same time, the encryption operation can also be traced to prevent data interleaving between multiple electronic bus stops and bus shelters.

[0038] After the first point is generated, a second point is generated based on the original data to be encrypted. The second point is a mobile point that changes continuously according to the change of the field to be encrypted. The corresponding second point is selected according to the plaintext data currently to be encrypted.

[0039] Based on the continuous change of the field data to be encrypted, the second point moves following the change of the field data to be encrypted.

[0040] The second point needs to be constantly changed according to the change of the field that needs to be encrypted. First, the plaintext is encoded and converted into a first data set that can be expressed cyclically. The first data set can be expressed by the following formula:

[0041]

[0042] Where p is the displacement of the first data set on the x-axis in the plane rectangular coordinate system, t is the offset of the first data set on the y-axis in the plane rectangular coordinate system, u is the offset of the first data set on the x-axis in the plane rectangular coordinate system, and r is the size of the first data set. The above formula is an ellipse in the plane rectangular coordinate system, and the size, displacement and offset can be freely controlled according to the user's wishes. The ellipse can be modified at any time. When the electronic bus stop and bus shelter data need to be replaced, the parameters in the current ellipse formula can be modified at will, so that the security of the data is better protected and brute force cracking is avoided.

[0043] like Figure 2 As shown, the plaintext that currently needs to be encrypted selects the corresponding data in the first data set to replace, each data in the first data set corresponds to a second point position, and the second point position is located by replacing the original plaintext data with the data in the first data set.

[0044] In the above content, the second point is mentioned as a moving point, which changes continuously according to the change of the field to be encrypted and the plaintext data to be encrypted. Based on the change of the first point and the second point, the specific method of mapping to the encryption code set to obtain the first sequence is:

[0045] Through the first point and the changing second point, the data composed of the first point and the second point points to different ciphertexts in the encryption code set. The data composed of the first point and the second point can be represented by a straight line l1 between the two points. The first data set of the ciphertext sequence can be represented by a straight line l2. The intersection of l1 and l2 is the ciphertext pointed to by the data to be encrypted at that time. l1 and l2 are expressed by the following formula:

[0046] l1:y=kx+z

[0047] l2:x=s

[0048] Where z represents the constant term, s is the position of the line l2 where the ciphertext data set is located on the x-axis in the plane rectangular coordinate system, and k represents the slope of the line. k and z are calculated by the following formulas:

[0049]

[0050] z=-k×a+b

[0051] Where (m, n) is used to represent the coordinates of the first point, m and n are the values ​​on the x-axis and y-axis of the first point respectively, and (a, b) is used to represent the coordinates of the first point, a and b are the values ​​on the x-axis and y-axis of the second point respectively.

[0052] Based on the first point and the changed second point, it is mapped to the encryption code set, that is, the intersection of l1 and l2, to obtain the first sequence and complete the encryption operation.

[0053] According to the above formula, the original data sequence is encrypted to obtain the first sequence. This encryption method does not require online processing, and the data can be encrypted only inside the electronic bus stop and the bus shelter, avoiding the problem of data leakage caused by attacks in the network.

[0054] It is worth noting that when l1 and l2 are parallel, the slope k of l1 does not exist. At this time, special data is needed to express the encryption code corresponding to the data that needs to be encrypted. Special data can be freely specified by the user, and accordingly, the special data can also be freely modified according to different electronic bus stops and bus shelters. Because the data corresponding to the first and second points of each electronic bus stop and bus shelter are different, the special data corresponding to each electronic bus stop and bus shelter can also be different.

[0055] At the same time, when the first point and the second point coincide, l1 cannot be expressed in the case of the present invention, and the tangent line of the ellipse corresponding to the current data set at the first point should be used to represent it. This fully considers special circumstances and improves the stability of the electronic station sign and bus shelter data encryption method provided by the present invention during specific use.

[0056] In summary, the present invention reads the current electronic station sign and bus shelter data, reads the current electronic station sign and bus shelter number, and combines the internal data to directly encrypt the data on the electronic station sign and bus shelter, so that data security is guaranteed. At the same time, the encryption method used in the present invention can make the data undergo a secondary conversion, which can effectively avoid brute force cracking. The data security of passengers is effectively protected.

[0057] Although the present invention has been described in detail with reference to the aforementioned embodiments, it is still possible for those skilled in the art to modify the technical solutions described in the aforementioned embodiments, or to make equivalent substitutions for some of the technical features therein. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for encrypting data of an electronic bus stop sign and a bus shelter, characterized in that: It is divided into the following steps: Determine the first point based on the electronic station sign and the bus shelter number; generate the second point based on the original data to be encrypted; Based on the continuous change of the field data to be encrypted, the second point moves along with the change of the field data to be encrypted; Based on the first point and the changed second point, the encryption code set is mapped to obtain a first sequence, thereby completing the encryption operation.

2. The method for encrypting data of an electronic bus stop sign and a bus shelter according to claim 1 is characterized in that , the first point and the second point are determined as follows: The first point is a fixed point, and different positions are determined according to different electronic bus stops and bus shelter numbers; The second point is a mobile point, which changes continuously according to the change of the field to be encrypted. The corresponding second point is selected according to the plaintext data currently to be encrypted.

3. The method for encrypting data of an electronic bus stop sign and a bus shelter according to claim 2 is characterized in that ,The second point changes continuously according to the change of the field to be encrypted. First, the plaintext is encoded and converted into a first data set that can be expressed cyclically. The first data set can be expressed by the following formula: Wherein p is the displacement of the first data set on the x-axis in the plane rectangular coordinate system, t is the offset of the first data set on the y-axis in the plane rectangular coordinate system, u is the offset of the first data set on the x-axis in the plane rectangular coordinate system, and r is the size of the control first data set; The plaintext currently to be encrypted is replaced by corresponding data in the first data set. Each data in the first data set corresponds to a second point position. The second point position is located by replacing the original plaintext data with the data in the first data set.

4. The method for encrypting data of an electronic bus stop sign and a bus shelter according to claim 1, characterized in that ,Based on the changes of the first point and the second point, the specific method of mapping to the encrypted code set to obtain the first sequence is: Through the first point and the changing second point, the data composed of the first point and the second point points to different ciphertexts in the encryption code set. The data composed of the first point and the second point can be represented by a straight line l1 between the two points, and the ciphertext sequence can be represented by a straight line l2. The intersection of l1 and l2 is the ciphertext pointed to by the data to be encrypted at that time. l1 and l2 are expressed by the following formula: l1:y=kx+z l2:x=s Where z represents the constant term, s is the straight line l2 where the ciphertext data set is located, and k represents the slope of the straight line, which is calculated by the following formula: Where (m,n) is used to represent the coordinates of the first point, m and n are the values ​​on the x-axis and y-axis of the first point respectively, (a,b) is used to represent the coordinates of the first point, a and b are the values ​​on the x-axis and y-axis of the second point respectively; The encryption of all data in the original data sequence is completed according to the above formula to obtain the first sequence.

5. The method for encrypting data of an electronic bus stop sign and a bus shelter according to claim 4 is characterized in that ,Based on the changes of the first point and the second point, it is mapped to the encryption code set. In certain cases, the changes of the first point and the second point are not mapped to the encryption code set. In this case, special characters are used instead.