Communication signal adjusting device and method
By real-time detection and adjustment of the wireless signals sent by the train, the problem of fixed signals of wireless communication equipment is solved, and the stability of data transmission and power consumption are reduced.
Patent Information
- Application Number
- CN202311838912.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-28
- Publication Date
- 2025-07-01
AI Technical Summary
The current wireless communication equipment has a fixed signal transmission and cannot be adjusted according to the train status, resulting in unstable data transmission.
By acquiring the communication data to be transmitted, wireless signal strength detection is performed, and whether data transmission is performed is determined based on the real-time signal strength, and when determining that data transmission is performed, the communication signal is adjusted, including signal strength adjustment and signal direction adjustment, and transmission is performed after random encryption processing.
It realizes real-time adjustment of communication signals according to the train status, reduces power consumption, and ensures the stability of data transmission.
Smart Images

Figure CN120239030A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of data communication, and particularly relates to a communication signal adjustment device and method. Background Art
[0002] Data communication is a new communication method resulting from the combination of communication technology and computer technology. To transmit information between two places, a transmission channel must be available. According to the different transmission media, there are wired data communication and wireless data communication.
[0003] In current trains, wireless communication technologies are usually used. For example, when a train enters a station, a wireless communication connection can be established between the station and the train, and data transmission between the station and the train can be completed through wireless communication.
[0004] However, for current wireless communication devices, their signal transmission is fixed and cannot be adjusted according to the train status. Summary of the Invention
[0005] An object of an embodiment of the present invention is to provide a communication signal adjustment method, aiming at solving the problem that for current wireless communication devices, their signal transmission is fixed and cannot be adjusted according to the train status.
[0006] An embodiment of the present invention is implemented as follows. A communication signal adjustment method includes:
[0007] Obtain communication data to be transmitted;
[0008] Perform wireless signal strength detection to obtain real-time signal strength, and determine whether to perform data transmission according to the real-time signal strength;
[0009] When it is determined to perform data transmission, adjust the communication signal to obtain a communication signal adjustment scheme, where the communication signal adjustment scheme includes signal strength adjustment and signal direction adjustment;
[0010] Perform random encryption processing on the communication data to be transmitted, and transmit the encrypted communication data to be transmitted according to the communication signal adjustment scheme.
[0011] Preferably, the step of performing wireless signal strength detection to obtain real-time signal strength and determining whether to perform data transmission according to the real-time signal strength specifically includes:
[0012] Perform wireless signal strength detection, record the detected signal strength values in chronological order to obtain real-time signal strength;
[0013] Draw a signal strength waveform diagram according to the real-time signal strength, where the signal strength waveform diagram has time as the horizontal axis and signal strength value as the vertical axis;
[0014] Determine whether the current signal strength value and the instantaneous change rate exceed the corresponding preset values according to the signal strength waveform diagram. If both exceed, determine to perform data transmission.
[0015] Preferably, when determining to perform data transmission, the step of adjusting the communication signal to obtain a communication signal adjustment scheme specifically includes:
[0016] Obtain two groups of signal strength detection values at preset time intervals;
[0017] Calculate the moving speed of the signal source according to the two groups of signal strength detection values;
[0018] Determine the communication signal direction adjustment curve and the signal strength adjustment curve according to the moving speed.
[0019] Preferably, the step of performing random encryption processing on the communication data to be transmitted and transmitting the encrypted communication data to be transmitted according to the communication signal adjustment scheme specifically includes:
[0020] Randomly collect a group of electrical signals and select a group of encryption functions according to preset rules and the electrical signals;
[0021] Encrypt the communication data to be transmitted according to the encryption function to obtain encrypted data;
[0022] The communication signal adjustment scheme adjusts the signal emitted by the signal transmitting device, and emits the encrypted data and the identifier corresponding to the encryption function through the communication signal.
[0023] The communication signal adjustment scheme adjusts the signal emitted by the signal transmitting device, and emits the encrypted data and the identifier corresponding to the encryption function through the communication signal;
[0024] The vehicle obtains the inter-vehicle distance information of multiple vehicles ahead through vehicle-to-vehicle communication, weights, sums, and normalizes the inter-vehicle distance information to obtain comprehensive inter-vehicle distance information of multiple vehicles ahead, thereby modifying the original following vehicle's following model to obtain a vehicle following model in the new vehicle-to-vehicle communication environment. The following vehicle adjusts its vehicle speed according to the vehicle following model;
[0025]
[0026]
[0027]
[0028] where x i (t) is the position of the i-th vehicle at time t, Δx i (t) = x i+1 (t) - xi (t) represents the distance to the vehicle in front of the i-th vehicle at time t, α is the sensitivity coefficient, and w ij is the following-distance influence weight coefficient of the j-th vehicle on the i-th vehicle, which decreases as the distance between vehicle i and vehicle j increases. And within a certain range, the overall influence of adjacent vehicles on the current vehicle is greater than that of relatively distant vehicles; the deformed hyperbolic tangent function meets the requirements, and D ij is the connectivity from vehicle j to vehicle i in the vehicle-to-vehicle communication environment; if the information is received, D ij = 1, otherwise D ij = 0; when i = j, D ij = D ji = 1;
[0029] is the optimal speed, where V max represents the maximum speed, and x c is the safety distance.
[0030] Preferably, there are multiple groups of the encryption functions, and each group of encryption functions corresponds to an independent identifier.
[0031] Preferably, the electric signal is a current signal or a voltage signal.
[0032] Another object of the embodiments of the present invention is to provide a communication signal adjustment device, and the device includes:
[0033] A data acquisition module, configured to acquire communication data to be transmitted;
[0034] A signal detection module, configured to perform wireless signal strength detection to obtain the real-time signal strength, and determine whether to perform data transmission according to the real-time signal strength;
[0035] A signal adjustment module, configured to adjust the communication signal to obtain a communication signal adjustment scheme when it is determined to perform data transmission, and the communication signal adjustment scheme includes signal strength adjustment and signal direction adjustment;
[0036] A data transmission module, configured to perform random encryption processing on the communication data to be transmitted, and transmit the encrypted communication data to be transmitted according to the communication signal adjustment scheme.
[0037] Preferably, the signal detection module includes:
[0038] A signal recording unit, configured to perform wireless signal strength detection, record the detected signal strength values in chronological order to obtain the real-time signal strength;
[0039] A signal waveform diagram drawing unit, configured to draw a signal strength waveform diagram according to the real-time signal strength, where the signal strength waveform diagram has time as the horizontal axis and the signal strength value as the vertical axis;
[0040] A data transmission determination unit, configured to determine whether the current signal strength value and the instantaneous change rate exceed corresponding preset values according to the signal strength waveform diagram, and if both exceed, determine to perform data transmission.
[0041] Preferably, the signal adjustment module includes:
[0042] A signal strength intercepting unit, configured to obtain two sets of signal strength detection values at preset time intervals;
[0043] A speed calculation unit, configured to calculate the moving speed of the signal source according to the two sets of signal strength detection values;
[0044] A scheme generation unit, configured to determine a communication signal direction adjustment curve and a signal strength adjustment curve according to the moving speed.
[0045] Preferably, the data transmission module includes:
[0046] A function selection unit, configured to randomly collect a set of electrical signals and select a set of encryption functions according to preset rules and the electrical signals;
[0047] A data encryption unit, configured to encrypt the communication data to be transmitted according to the encryption function to obtain encrypted data;
[0048] A scheme execution unit, configured to adjust the signal emitted by the signal transmitting device according to the communication signal adjustment scheme, and emit the encrypted data and the identifier corresponding to the encryption function through the communication signal.
[0049] A communication signal adjustment method provided by an embodiment of the present invention detects the signal of the train, so as to actively record the real-time signal strength when detecting the signal emitted by the train. When it is detected that the signal strength emitted by the train reaches the preset value, communication signal adjustment is started, so as to change the emission direction and emission intensity of the communication signal, so as to achieve the purpose of reducing power consumption and ensuring stable data transmission. Description of the Drawings
[0050] Figure 1 It is a flowchart of a communication signal adjustment method provided by an embodiment of the present invention;
[0051] Figure 2 It is a flowchart of the steps of performing wireless signal strength detection provided by an embodiment of the present invention to obtain the real-time signal strength and determining whether to perform data transmission according to the real-time signal strength;
[0052] Figure 3 It is a flowchart of the steps of adjusting the communication signal to obtain a communication signal adjustment scheme when it is determined to perform data transmission provided by an embodiment of the present invention;
[0053] Figure 4 A flowchart of steps for performing random encryption processing on communication data to be transmitted and transmitting the encrypted communication data to be transmitted according to a communication signal adjustment scheme provided by an embodiment of the present invention;
[0054] Figure 5 An architecture diagram of a communication signal adjustment device provided by an embodiment of the present invention;
[0055] Figure 6 An architecture diagram of a signal detection module provided by an embodiment of the present invention;
[0056] Figure 7 An architecture diagram of a signal adjustment module provided by an embodiment of the present invention;
[0057] Figure 8 An architecture diagram of a data transmission module provided by an embodiment of the present invention. Detailed implementation manners
[0058] In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0059] It can be understood that the terms "first", "second", etc. used in this application may be used herein to describe various elements, but unless otherwise specified, these elements are not limited by these terms. These terms are only used to distinguish the first element from another element. For example, without departing from the scope of this application, the first xx script may be referred to as the second xx script, and similarly, the second xx script may be referred to as the first xx script.
[0060] In current trains, wireless communication technologies are usually used. For example, when a train enters a station, a wireless communication connection can be established between the station and the train, and data transmission between the station and the train can be completed through wireless communication; however, in current wireless communication devices, the signal emission is fixed and cannot be adjusted according to the train status.
[0061] The present invention detects the signal of the train, and thus when detecting the signal emitted by the train, actively records the real-time signal strength. When detecting that the signal strength emitted by the train reaches a preset value, starts to perform communication signal adjustment, so as to change the emission direction and emission intensity of the communication signal, so as to achieve the purpose of reducing power consumption and ensuring stable data transmission.
[0062] As Figure 1 shown, it is a flowchart of a communication signal adjustment method provided by an embodiment of the present invention, and the method includes:
[0063] S100, Obtain the communication data to be transmitted.
[0064] In this step, obtain the communication data to be transmitted. The communication data to be transmitted is the data formed within the station and needs to be transmitted to the train. Store the data to be transmitted to prepare for transmission.
[0065] S200, Conduct a wireless signal strength detection to obtain the real-time signal strength, and determine whether to perform data transmission based on the real-time signal strength.
[0066] In this step, conduct a wireless signal strength detection. During the train's movement, it actively emits a wireless communication signal. Set corresponding wireless communication signal receiving devices within the station, and use the wireless communication signal receiving devices to detect the wireless signal, thereby determining the strength of the wireless signal detected at each moment, that is, conduct a wireless signal strength detection. The recorded strength data is the real-time signal strength. To determine the distance of the train, analyze the received real-time signal strength. When the train gets closer to the station, the strength of the wireless communication signal it emits is higher. When the strength value of the wireless communication signal received by the wireless communication signal receiving device reaches the preset value and the change rate of the corresponding signal strength reaches the preset value, it indicates that the train has arrived within the preset range, and signal transmission needs to be prepared.
[0067] S300, When it is determined to perform data transmission, adjust the communication signal to obtain a communication signal adjustment scheme, where the communication signal adjustment scheme includes signal strength adjustment and signal direction adjustment.
[0068] In this step, when it is determined to perform data transmission, adjust the communication signal. Estimate the moving speed of the train based on the strength value of the wireless communication signal it emits, thereby determining the change curve of the emission direction of the wireless communication signal within the station. This is to ensure that the emission range of the wireless communication signal is always facing the train, so as to ensure that data transmission can be completed with the minimum communication signal transmission power. During this process, a signal strength adjustment scheme can be determined, so as to reduce the signal emission strength when the train approaches the station, and gradually increase the emission strength of the wireless communication signal when the train moves away from the station to ensure the stability of data transmission.
[0069] S400, Perform random encryption processing on the communication data to be transmitted, and transmit the encrypted communication data to be transmitted according to the communication signal adjustment scheme.
[0070] In this step, the communication data to be transmitted is randomly encrypted. When encrypting, a set of encryption functions is randomly determined, and the communication data to be transmitted is encrypted using the randomly determined encryption functions. Corresponding decryption functions are also set inside the train. Therefore, when transmitting data, the identifier corresponding to the encryption function needs to be sent to the train together. When the train enters the preset range of the station, the communication signal is adjusted according to the communication signal adjustment scheme until all the communication data to be transmitted is completed. Then the train queries the corresponding decryption function according to the identifier and decrypts the encrypted communication data to be transmitted using the decryption function to obtain the original content.
[0071] As Figure 2 shown, as a preferred embodiment of the present invention, the step of performing wireless signal strength detection to obtain the real-time signal strength and determining whether to perform data transmission according to the real-time signal strength specifically includes:
[0072] S201, perform wireless signal strength detection, record the detected signal strength values in chronological order to obtain the real-time signal strength.
[0073] In this step, when performing wireless signal strength detection, when the wireless communication signal emitted by the train is detected, the detected signal strength values are immediately recorded. The detection time interval can be set. When the time interval is smaller, the number of detected signal strength values is larger. On the contrary, the number of detected signal strength values is smaller. To ensure the detection accuracy, the detection interval can be minimized as much as possible, and the signal strength values are recorded in chronological order to obtain the real-time signal strength.
[0074] S202, draw a signal strength waveform diagram according to the real-time signal strength. The signal strength waveform diagram has time as the horizontal axis and the signal strength value as the vertical axis.
[0075] In this step, draw a signal strength waveform diagram according to the real-time signal strength. Since the real-time signal strength has a time attribute, each real-time signal strength can be marked in a rectangular coordinate system in chronological order. Specifically, time is used as the horizontal axis, the signal strength value is used as the vertical axis, and they are connected with a smooth curve to obtain the signal strength waveform diagram.
[0076] S203, determine whether the current signal strength value and the instantaneous change rate exceed the corresponding preset values according to the signal strength waveform diagram. If both exceed, it is determined to perform data transmission.
[0077] In this step, according to the signal strength waveform diagram, determine whether the current signal strength value and the instantaneous change rate exceed the corresponding preset values. First, judge whether the real-time obtained signal strength value reaches the preset strength value. At the same time, according to the signal strength waveform diagram, calculate the curvature of each point, and use this curvature as the instantaneous change rate. When the instantaneous change rate also reaches the preset change rate, it is determined that the vehicle has reached within the preset range of the station, and data transmission is required.
[0078] As Figure 3 shown, as a preferred embodiment of the present invention, the step of adjusting the communication signal to obtain a communication signal adjustment scheme when determining data transmission specifically includes:
[0079] S301, Obtain two sets of signal strength detection values at preset time intervals.
[0080] In this step, obtain two sets of signal strength detection values at preset time intervals. This time interval is a fixed value, such as 10 ms. Obtain the signal strength twice according to the time interval, that is, obtain two sets of signal strength detection values.
[0081] S302, Calculate the moving speed of the signal source according to the two sets of signal strength detection values.
[0082] In this step, calculate the moving speed of the signal source according to the two sets of signal strength detection values. During the two signal strength detections, the train is moving forward. Then, the distances of the train from the station during the two detections are different, so the detected signal strength values are also different. Calculate the distance difference according to the relationship between the signal strength value and the distance, and then the moving speed of the train can be calculated according to the time interval.
[0083] S303, Determine the communication signal direction adjustment curve and the signal strength adjustment curve according to the moving speed.
[0084] In this step, determine the communication signal direction adjustment curve and the signal strength adjustment curve according to the moving speed. In the previous step, the distance and moving speed of the vehicle are already known. Then, the position of the vehicle in the future time can be determined accordingly, so that the communication signal direction adjustment curve can be determined to make the signal direction face the train directly. At the same time, determine the signal transmission intensity according to the distance between the train and the station to obtain the signal strength adjustment curve.
[0085] As Figure 4 shown, as a preferred embodiment of the present invention, the step of performing random encryption processing on the communication data to be transmitted and transmitting the encrypted communication data to be transmitted according to the communication signal adjustment scheme specifically includes:
[0086] S401. Randomly collect a set of electrical signals and select a set of encryption functions according to a preset rule and the electrical signals.
[0087] In this step, randomly collect a set of electrical signals, such as collecting a set of voltage signals, convert them into binary, and there is an encryption function database stored in the station. Each encryption function corresponds to a binary identifier, so as to determine the selected encryption function.
[0088] S402. Encrypt the communication data to be transmitted according to the encryption function to obtain encrypted data.
[0089] S403. Adjust the signal emitted by the signal transmitting device according to the communication signal adjustment scheme, and send the encrypted data and the identifier corresponding to the encryption function through the communication signal.
[0090] In this step, encrypt the communication data to be transmitted according to the encryption function to obtain encrypted data. In the train, there are decryption functions corresponding to all encryption functions stored, and each decryption function also corresponds to a corresponding binary identifier. Then, the decryption function can be determined according to the obtained binary identifier, and the encrypted data can be decrypted by using the decryption function.
[0091] Adjust the signal emitted by the signal transmitting device according to the communication signal adjustment scheme, and send the encrypted data and the identifier corresponding to the encryption function through the communication signal;
[0092] The vehicle obtains the inter-vehicle distance information of multiple vehicles ahead through vehicle-to-vehicle communication, weights, sums, and normalizes the inter-vehicle distance information to obtain comprehensive inter-vehicle distance information of multiple vehicles ahead, thereby modifying the original following vehicle model to obtain a new vehicle following model in the vehicle-to-vehicle communication environment, and the following vehicle adjusts its speed according to the vehicle following model.
[0093]
[0094]
[0095]
[0096] where x i (t) is the position of the i-th vehicle at time t, Δx i (t) = x i+1 (t) - x i (t) represents the distance to the vehicle in front of the i-th vehicle at time t, α is the sensitivity coefficient, w ijis the following - vehicle influence weight coefficient of the j - th vehicle on the i - th vehicle, which decreases as the distance between vehicle i and vehicle j increases. And within a certain range, neighboring vehicles have a greater impact on the current vehicle compared to vehicles farther away. The deformed hyperbolic tangent function meets the requirements, D ij is the connectivity from vehicle j to vehicle i in the vehicle - to - vehicle communication environment; if the information is received, D ij = 1, otherwise D ij = 0; when i = j, D ij = D ji = 1;
[0097] is the optimized speed, where V max represents the maximum speed, and x c is the safety distance.
[0098] As Figure 5 shown, a communication signal adjustment device provided by an embodiment of the present invention, the device includes:
[0099] A data acquisition module 100, configured to acquire communication data to be transmitted.
[0100] In this device, the data acquisition module 100 acquires communication data to be transmitted. The communication data to be transmitted is data formed within the station and needs to be transmitted to the train. The data to be transmitted is stored to prepare for transmission.
[0101] A signal detection module 200, configured to detect the wireless signal strength to obtain the real - time signal strength, and determine whether to perform data transmission according to the real - time signal strength.
[0102] In this device, the signal detection module 200 detects the wireless signal strength. During the train's movement, it actively emits wireless communication signals, and corresponding wireless communication signal receiving devices are set within the station. The wireless communication signal receiving devices are used to detect the wireless signals, so as to determine the strength of the wireless signals detected at each moment, that is, to perform wireless signal strength detection. The recorded strength data is the real - time signal strength. In order to determine the distance of the train, the received real - time signal strength is analyzed. When the train is closer to the station, the strength of the wireless communication signal it emits is higher. When the strength value of the wireless communication signal received by the wireless communication signal receiving device reaches a preset value and the change rate of the corresponding signal strength reaches a preset value, it indicates that the train has arrived within the preset range, and signal transmission needs to be prepared.
[0103] A signal adjustment module 300, configured to adjust the communication signal to obtain a communication signal adjustment scheme when it is determined to perform data transmission. The communication signal adjustment scheme includes signal strength adjustment and signal direction adjustment.
[0104] In this device, when the signal conditioning module 300 determines to perform data transmission, it conditions the communication signal, estimates the moving speed of the train according to the intensity value of the wireless communication signal emitted by the train, and thus determines the change curve of the emission direction of the wireless communication signal within the station. This is to ensure that the emission range of the wireless communication signal is always facing the train directly, so as to ensure the data transmission can be completed with the minimum communication signal emission power. During this process, a signal intensity adjustment scheme can be determined, so as to reduce the signal emission intensity when the train approaches the station, and gradually increase the emission intensity of the wireless communication signal when the train moves away from the station to ensure the stability of data transmission.
[0105] The data transmission module 400 is used to perform random encryption processing on the communication data to be transmitted, and transmit the encrypted communication data to be transmitted according to the communication signal conditioning scheme.
[0106] In this device, the data transmission module 400 performs random encryption processing on the communication data to be transmitted. When encrypting, a group of encryption functions are randomly determined, and the communication data to be transmitted is encrypted using the randomly determined encryption functions. There are also corresponding decryption functions set inside the train. Therefore, when performing data transmission, the identifier corresponding to the encryption function needs to be sent to the train together. When the train enters the preset range of the station, it starts to condition the communication signal according to the communication signal conditioning scheme until all the communication data to be transmitted is completed. The train then queries the corresponding decryption function according to the identifier and decrypts the encrypted communication data to be transmitted using the decryption function to obtain the original content.
[0107] As Figure 6 shown, as a preferred embodiment of the present invention, the signal detection module 200 includes:
[0108] The signal recording unit 201 is used to perform wireless signal intensity detection, record the detected signal intensity values in chronological order, and obtain the real-time signal intensity.
[0109] In this module, the signal recording unit 201 performs wireless signal intensity detection. When detecting the wireless communication signal emitted by the train, it starts to record the detected signal intensity values. The detection time interval can be set. When the time interval is smaller, the number of detected signal intensity values is more. On the contrary, the detected signal intensity values are fewer. To ensure the detection accuracy, the detection interval can be minimized as much as possible, and the signal intensity values are recorded in chronological order to obtain the real-time signal intensity.
[0110] The signal waveform diagram drawing unit 202 is used to draw a signal intensity waveform diagram according to the real-time signal intensity. The signal intensity waveform diagram has time as the horizontal axis and the signal intensity value as the vertical axis.
[0111] In this module, the signal waveform drawing unit 202 draws a signal intensity waveform diagram based on the real-time signal intensity. Since the real-time signal intensity contains time attributes, each real-time signal intensity can be marked in a rectangular coordinate system in chronological order. Specifically, with time as the horizontal axis and the signal intensity value as the vertical axis, and connecting them with a smooth curve, the signal intensity waveform diagram can be obtained.
[0112] The data transmission determination unit 203 is used to determine whether the current signal intensity value and the instantaneous change rate exceed the corresponding preset values according to the signal intensity waveform diagram. If both exceed, it is determined that data transmission is to be performed.
[0113] In this module, the data transmission determination unit 203 determines whether the current signal intensity value and the instantaneous change rate exceed the corresponding preset values according to the signal intensity waveform diagram. First, it judges whether the real-time obtained signal intensity value has reached the preset intensity value. At the same time, according to the signal intensity waveform diagram, the curvature of each point is calculated, and this curvature is used as the instantaneous change rate. When the instantaneous change rate also reaches the preset change rate, it is determined that the vehicle has reached within the preset range of the station and data transmission is required.
[0114] As Figure 7 shown, as a preferred embodiment of the present invention, the signal conditioning module 300 includes:
[0115] The signal intensity intercepting unit 301 is used to obtain two groups of signal intensity detection values at a preset time interval.
[0116] In this module, the signal intensity intercepting unit 301 obtains two groups of signal intensity detection values at a preset time interval. This time interval is a fixed value, such as 10 ms. Obtaining the signal intensity twice at the time interval, two groups of signal intensity detection values are obtained.
[0117] The speed calculation unit 302 is used to calculate the moving speed of the signal source according to the two groups of signal intensity detection values.
[0118] In this module, the speed calculation unit 302 calculates the moving speed of the signal source according to the two groups of signal intensity detection values. During the two signal intensity detections, the train is moving forward. Then the distances of the train from the station during the two detections are different, and thus the detected signal intensity values are also different. The distance difference is calculated according to the relationship between the signal intensity value and the distance, and then the moving speed of the train can be calculated according to the time interval.
[0119] The scheme generation unit 303 is used to determine the communication signal direction adjustment curve and the signal intensity adjustment curve according to the moving speed.
[0120] In this module, the solution generation unit 303 determines the communication signal direction adjustment curve and the signal strength adjustment curve according to the moving speed. In the previous step, the distance and moving speed of the vehicle are already known. Then, the position of the vehicle in the future time can be determined based on this, so that the communication signal direction adjustment curve can be determined to make the signal direction face the train directly. At the same time, the signal transmission intensity is determined according to the distance between the train and the station, and the signal strength adjustment curve is obtained.
[0121] As Figure 8 shown, as a preferred embodiment of the present invention, the data transmission module 400 includes:
[0122] A function selection unit 401, configured to randomly collect a set of electrical signals and select a set of encryption functions according to a preset rule and the electrical signals.
[0123] In this module, the function selection unit 401 randomly collects a set of electrical signals, such as collecting a set of voltage signals, converts them into binary, and there is an encryption function database stored in the station. Each encryption function corresponds to a binary identifier, so as to determine the selected encryption function.
[0124] A data encryption unit 402, configured to encrypt the communication data to be transmitted according to the encryption function to obtain the encrypted data.
[0125] A solution execution unit 403, configured to adjust the signal sent by the signal transmitting device according to the communication signal adjustment solution, and send the encrypted data and the identifier corresponding to the encryption function through the communication signal.
[0126] In this module, the communication data to be transmitted is encrypted according to the encryption function to obtain the encrypted data. In the train, the decryption functions corresponding to all the encryption functions are stored, and each decryption function also corresponds to a corresponding binary identifier. Then, the decryption function can be determined according to the obtained binary identifier, and the encrypted data can be decrypted by using the decryption function.
[0127] In one embodiment, a computer device is proposed. The computer device includes a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the computer program, the following steps are implemented:
[0128] Obtain the communication data to be transmitted;
[0129] Perform wireless signal strength detection to obtain the real-time signal strength, and determine whether to perform data transmission according to the real-time signal strength;
[0130] When determining to perform data transmission, the communication signal is adjusted to obtain a communication signal adjustment scheme, and the communication signal adjustment scheme includes signal strength adjustment and signal direction adjustment;
[0131] The communication data to be transmitted is randomly encrypted, and the encrypted communication data to be transmitted is transmitted according to the communication signal adjustment scheme.
[0132] In one embodiment, a computer-readable storage medium is provided. A computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, the processor is caused to perform the following steps:
[0133] Obtain the communication data to be transmitted;
[0134] Perform wireless signal strength detection to obtain the real-time signal strength, and determine whether to perform data transmission according to the real-time signal strength;
[0135] When determining to perform data transmission, the communication signal is adjusted to obtain a communication signal adjustment scheme, and the communication signal adjustment scheme includes signal strength adjustment and signal direction adjustment;
[0136] The communication data to be transmitted is randomly encrypted, and the encrypted communication data to be transmitted is transmitted according to the communication signal adjustment scheme.
[0137] It should be understood that although the steps in the flowcharts of the embodiments of the present invention are shown in sequence according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless there is a clear indication in this article, the execution of these steps has no strict order limit, and these steps can be executed in other orders. Moreover, at least a part of the steps in each embodiment may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed alternately or alternately with at least a part of other steps or sub-steps or stages of other steps.
[0138] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. The program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above methods. Among them, any reference to a memory, storage, database, or other medium used in the embodiments provided in the present application can include non-volatile and / or volatile memories. Non-volatile memories can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memories can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), Rambus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and Rambus dynamic RAM (RDRAM), etc.
[0139] The technical features of the above-described embodiments can be combined arbitrarily. For the sake of brevity of description, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered as the scope described in this specification.
[0140] The above-described embodiments only represent several implementation manners of the present invention. The description is relatively specific and detailed, but it should not be construed as a limitation on the scope of the patent of the present invention. It should be noted that for those of ordinary skill in the art, without departing from the concept of the present invention, several modifications and improvements can still be made, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention should be subject to the appended claims.
[0141] The above is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent replacements, and improvements made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A communication signal adjustment method, characterized in that, The method includes: Obtain communication data to be transmitted; Perform wireless signal strength detection to obtain the real-time signal strength, and determine whether to perform data transmission according to the real-time signal strength; When it is determined to perform data transmission, adjust the communication signal to obtain a communication signal adjustment scheme, where the communication signal adjustment scheme includes signal strength adjustment and signal direction adjustment; Perform random encryption processing on the communication data to be transmitted, and transmit the encrypted communication data to be transmitted according to the communication signal adjustment scheme.
2. The communication signal adjustment method according to claim 1, characterized in that The step of performing wireless signal strength detection to obtain the real-time signal strength and determining whether to perform data transmission according to the real-time signal strength specifically includes: Perform wireless signal strength detection, record the detected signal strength values in chronological order to obtain the real-time signal strength; Draw a signal strength waveform diagram according to the real-time signal strength, where the signal strength waveform diagram has time as the horizontal axis and the signal strength value as the vertical axis; Determine whether the current signal strength value and the instantaneous change rate exceed the corresponding preset values according to the signal strength waveform diagram. If both exceed, it is determined to perform data transmission.
3. The communication signal adjustment method according to claim 1, wherein The step of adjusting the communication signal to obtain a communication signal adjustment scheme when it is determined to perform data transmission specifically includes: Obtain two sets of signal strength detection values at preset time intervals; Calculate the moving speed of the signal source according to the two sets of signal strength detection values; Determine the communication signal direction adjustment curve and the signal strength adjustment curve according to the moving speed.
4. The communication signal adjustment method according to claim 1, wherein The step of performing random encryption processing on the communication data to be transmitted and transmitting the encrypted communication data to be transmitted according to the communication signal adjustment scheme specifically includes: Randomly collect a set of electrical signals, and select a set of encryption functions according to preset rules and the electrical signals; Encrypt the communication data to be transmitted according to the encryption function to obtain the encrypted data; The communication signal adjustment scheme adjusts the signal sent by the signal transmitting device, and sends the encrypted data and the identifier corresponding to the encryption function through the communication signal; The vehicle obtains the inter-vehicle distance information of multiple vehicles ahead through vehicle-to-vehicle communication, weights, sums, and normalizes the inter-vehicle distance information to obtain the comprehensive inter-vehicle distance information of multiple vehicles ahead, thereby modifying the original following vehicle's following model to obtain a new vehicle following model in the vehicle-to-vehicle communication environment, and the following vehicle adjusts its vehicle speed according to the vehicle following model; where x i (t) is the position of the i-th vehicle at time t, and Δx i (t) = x i+1 (t) - x i (t) represents the distance to the leading vehicle of the i-th vehicle at time t, α is the sensitivity coefficient, and w ij is the following influence weight coefficient of the j-th vehicle on the i-th vehicle, which decreases as the distance between vehicle i and vehicle j increases. And within a certain range, the overall influence of adjacent vehicles on the current vehicle is greater than that of relatively distant vehicles; the deformed hyperbolic tangent function meets the requirements, and D ij is the connectivity from vehicle j to vehicle i in the vehicle-to-vehicle communication environment; if the information is received, D ij = 1, otherwise D ij = 0; when i = j, D ij = D ji = 1; is to optimize the speed, where V max represents the maximum speed, and x c is the safety distance.
5. The communication signal adjustment method according to claim 4, wherein There are multiple groups of the encryption functions, and each group of encryption functions corresponds to an independent identifier.
6. The communication signal adjustment method according to claim 4, wherein The electrical signal is a current signal or a voltage signal.
7. A communication signal adjustment device, characterized in that, The device includes: A data acquisition module for obtaining communication data to be transmitted; A signal detection module for performing wireless signal strength detection to obtain the real-time signal strength and determining whether to perform data transmission according to the real-time signal strength; A signal adjustment module for adjusting the communication signal to obtain a communication signal adjustment scheme when it is determined to perform data transmission, where the communication signal adjustment scheme includes signal strength adjustment and signal direction adjustment; A data transmission module for performing random encryption processing on the communication data to be transmitted and transmitting the encrypted communication data to be transmitted according to the communication signal adjustment scheme.
8. The communication signal adjustment device according to claim 7, characterized in that The signal detection module includes: A signal recording unit, which is used to detect the wireless signal strength, record the detected signal strength values in chronological order to obtain the real-time signal strength; A signal waveform graph drawing unit, which is used to draw a signal strength waveform graph according to the real-time signal strength. The signal strength waveform graph uses time as the horizontal axis and the signal strength value as the vertical axis; A data transmission determination unit, which is used to determine whether the current signal strength value and the instantaneous change rate exceed the corresponding preset values according to the signal strength waveform graph. If both exceed, it is determined to perform data transmission.
9. The communication signal adjustment device according to claim 7, wherein, The signal adjustment module includes: A signal strength intercepting unit, which is used to obtain two groups of signal strength detection values at preset time intervals; A speed calculation unit, which is used to calculate the moving speed of the signal source according to the two groups of signal strength detection values; A scheme generation unit, which is used to determine the communication signal direction adjustment curve and the signal strength adjustment curve according to the moving speed.
10. The communication signal adjustment device according to claim 7, characterized in that, The data transmission module includes: A function selection unit, which is used to randomly collect a group of electrical signals and select a group of encryption functions according to preset rules and the electrical signals; A data encryption unit, which is used to encrypt the communication data to be transmitted according to the encryption function to obtain the encrypted data; A scheme execution unit, which is used to adjust the signal emitted by the signal transmitting device according to the communication signal adjustment scheme, and emit the encrypted data and the identifier corresponding to the encryption function through the communication signal.