Communication transmission control system for electric bicycle
The communication transmission control system for electric bicycles addresses inefficiencies by using a data-driven approach with reinforcement learning to dynamically adjust communication parameters, enhancing network connectivity and data transmission efficiency.
Patent Information
- Application Number
- CN202411606539.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-12
- Publication Date
- 2024-12-17
- Estimated Expiration
- 2044-11-12
AI Technical Summary
Existing communication transmission control methods for electric bicycles are inefficient due to high hardware costs, limited communication distances, unstable data transmission, and the inability to adapt to dynamic environments, failing to leverage real-time communication and big data analysis capabilities.
A communication transmission control system and method for electric bicycles that utilize a data acquisition module, update data packet acquisition, network status acquisition, actual communication rate acquisition, parameter calculation, and a reinforcement learning model to dynamically adjust communication parameters, ensuring efficient vehicle-to-vehicle communication.
Enhances communication efficiency and adaptability by optimizing communication rates, signal quality, and connection management through real-time data processing and reinforcement learning, improving overall network connectivity and data transmission.
Smart Images

Figure CN119155657A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of vehicle communication transmission, and in particular to a communication transmission control system for an electric bicycle. Background Art
[0002] With the popularity and development of electric bicycles, efficient communication transmission control between bicycles has become an important issue. Traditional communication transmission control methods mainly rely on hardware devices such as bicycle locks and bracelets to perform identity recognition and data transmission through near-field communication. Although these methods meet basic needs to a certain extent, they are unable to meet the growing communication needs of electric bicycles due to factors such as high hardware equipment costs, limited communication distances, and unstable data transmission.
[0003] In one prior art, a wireless charging method for electric bicycles mainly solves the reliability problem of the electric bicycle charging system and improves the communication reliability between the vehicle and the charging system. However, this method still relies on traditional short-range communication technologies, such as Bluetooth, which is prone to interference in dense traffic environments and fails to fully utilize the real-time communication and big data analysis capabilities of the Internet of Vehicles. In addition, this prior art usually relies on static communication protocols and is difficult to adapt to different communication environments.
[0004] The existing technology cannot meet the actual transportation needs of electric bicycles and has the problem of low communication data transmission efficiency. Summary of the invention
[0005] The present invention provides a communication transmission control system for an electric bicycle, aiming to solve the problem that the existing technology cannot meet the actual transportation needs of electric bicycles and has low communication data transmission efficiency.
[0006] In a first aspect, the present invention provides a communication transmission control system for an electric bicycle, which is configured at a data receiving end and includes: An electric bicycle data acquisition module is used to acquire electric bicycle data, wherein the electric bicycle data includes vehicle location data, speed data, battery status data, own historical data and historical communication rate; An update data packet acquisition module is used to perform data processing operations on the battery status data based on the electric bicycle vehicle network to obtain a data packet of the battery status, and perform data update operations on the data packet and its own historical data to obtain an update data packet; A network status acquisition module, used to perform calculation operations according to the update data packet to obtain a connectivity index and a communication reception rate of the electric bicycle, and to analyze and obtain a network status and communication transmission data between the electric bicycle and other vehicles according to the connectivity index and the communication reception rate; An actual communication rate acquisition module, used to perform calculation and analysis operations according to the networking status and the communication transmission data to obtain the actual communication rate of the electric bicycle; A parameter calculation module, used for calculating the control variable, the communication reception signal-to-noise ratio and the signal-to-noise ratio variance corresponding to the electric bicycle according to the actual communication rate; A communication control instruction acquisition module, used to construct and train a reinforcement learning model according to the actual communication rate, the control variable and the signal-to-noise ratio variance, and determine the output result of the reinforcement learning model as a communication control instruction; the communication control instruction includes a communication rate adjustment instruction, a signal enhancement instruction, a connection management instruction, a data packet sending instruction, a dynamic adjustment instruction and an exception handling instruction; The vehicle-to-vehicle communication module is used to control the electric bicycle according to the communication control instruction to complete the vehicle-to-vehicle communication.
[0007] In a second aspect, in order to solve the above technical problems, the present invention provides a communication transmission control method for an electric bicycle, which is executed by a data receiving end and includes: Acquire electric bicycle data, wherein the electric bicycle data includes vehicle location data, speed data, battery status data, own historical data and historical communication rate; Based on the electric bicycle Internet of Vehicles, the battery status data is processed to obtain a data packet of the battery status, and the data packet is updated with the own historical data to obtain an updated data packet; Performing calculation operations according to the update data packet to obtain a connectivity index and a communication reception rate of the electric bicycle, and analyzing the connectivity index and the communication reception rate to obtain a networking status and communication transmission data between the electric bicycle and other vehicles; Performing calculation and analysis operations according to the networking status and the communication transmission data to obtain an actual communication rate of the electric bicycle; According to the actual communication rate, calculating the control variable, the communication reception signal-to-noise ratio and the signal-to-noise ratio variance corresponding to the electric bicycle; According to the actual communication rate, the control variable and the signal-to-noise ratio variance, a reinforcement learning model is constructed and trained, and an output result of the reinforcement learning model is determined as a communication control instruction, wherein the communication control instruction includes a communication rate adjustment instruction, a signal enhancement instruction, a connection management instruction, a data packet sending instruction, a dynamic adjustment instruction and an exception handling instruction; The electric bicycle is controlled according to the communication control instruction to complete vehicle-to-vehicle communication.
[0008] As an optional implementation, based on the electric bicycle Internet of Vehicles, the battery status data is subjected to data processing operations to obtain a data packet of the battery status, and the data packet is subjected to data updating operations with the own historical data to obtain an updated data packet, including: According to the battery status data, the battery status data is input into the electric bicycle vehicle network to construct the battery status data packet; The electric bicycle receives the battery status data packet, stores the own historical data and the historical data of the battery status data packet in two queues respectively, and calculates the data packet length by the following formula: in, Indicates the length of the data packet. Indicates the time when a data packet is received. Indicates the historical data update value of the received data packet, represents the normalized distance constant, Indicates the distance between two queues; According to the data packet length and the update time, a data update operation is performed to obtain the update data packet.
[0009] As an optional implementation manner, the update time includes: The data packet length is used as input to perform a time update operation. The time update method is defined as follows: in, Indicates at time Update time, Indicates the last moment historical moment, represents the reference gain factor, Indicates that the obedience parameter is A Gaussian distributed random variable.
[0010] As an optional implementation, performing a calculation operation according to the update data packet to obtain a connectivity index and a communication reception rate of the electric bicycle includes: The calculation formula of the connectivity index is expressed as: in, represents a connectivity index of the electric bicycle, represents the number of all other electric bicycles within the communication range, represents the connection weight of the electric bicycle, represents the communication reception rate of the electric bicycle; The connection weight of the electric bicycle, when the electric bicycle With electric bikes When establishing communication, The value is 1. The value is 0; The communication reception rate of the electric bicycle is calculated as follows: in, Represents an indicator variable, when the electric bicycle Successfully received electric bicycles When the data packet The value is 1. The value is 0; Indicates the number of electric bicycles in a given period of time To electric bicycle Total number of packets sent.
[0011] As an optional implementation manner, the obtaining of the networking status and communication transmission data between the electric bicycle and other vehicles according to the connectivity index and the communication reception rate analysis includes: The determination method of the networking status is expressed as follows: like , then the electric bicycle remains connected to the Internet of Vehicles; like , then the electric bicycle is in a disconnected state; in, Indicates the preset connection threshold; According to the communication reception rate and the speed of each connection, calculate the electric bicycle The total communication transmission data is calculated as follows: in, The electric bicycle Total communication data transmitted, Each connected bicycle The communication rate, The electric bicycle The communication reception rate, Indicates the communication time.
[0012] As an optional implementation manner, performing a calculation and analysis operation according to the networking state and the communication transmission data to obtain an actual communication rate of the electric bicycle includes: If the electric bicycle Establishing a connection with other vehicles, the actual communication rate of the electric bicycle is determined by the maximum data transmission rate; The electric bicycle The calculation formula of data transmission rate is expressed as: in, The electric bicycle The data transfer rate, Indicates electric bicycle The data transfer rate, represents the connection weight of the electric bicycle; According to the data transmission rate, the actual communication rate is obtained: .
[0013] As an optional implementation manner, according to the actual communication rate, the control variable corresponding to the electric bicycle, the communication reception signal-to-noise ratio and the signal-to-noise ratio variance are calculated, including: The control variable is calculated as follows: in, represents the control variable, The electric bicycle The actual communication rate is regarded as the state variable of the system. The electric bicycle The power consumption, represents the control gain constant that affects the communication rate; The communication reception signal-to-noise ratio is calculated as follows: in, The electric bicycle The communication receiving signal-to-noise ratio, The electric bicycle Receiving electric bicycles The signal power, represents the noise power; The signal-to-noise ratio variance is calculated as follows: in, Expressed as the expected value of all signal-to-noise ratios.
[0014] As an optional implementation manner, constructing and training a reinforcement learning model according to the actual communication rate, the control variable and the signal-to-noise ratio variance, and determining the output result of the reinforcement learning model as a communication control instruction, including: Building a reinforcement learning model ,in, state Indicates the current communication status, including the actual communication rate SNR Variance ; action Represents the control variable The choice of affects the communication rate and signal-to-noise ratio; Discount Factor Indicates the influence factor of future rewards on current decision; Reward Function Indicates based on communication quality and signal-to-noise ratio optimization function; The communication quality For electric bicycles The trade-off model between communication rate and communication quality is expressed as follows:
[0015] in: represents the communication rate vector; represents the communication quality vector; Indicated as electric bicycle exist The communication rate at the time, Expressed as learning rate; The reinforcement learning model is trained according to the state R, the action M, the discount factor γ and the reward function r, and the training is determined to be completed when the number of training times is greater than a preset number threshold, or the reward value of the reward function is greater than a preset reward threshold, to obtain a trained reinforcement learning model; The output result of the trained reinforcement learning model is determined as a communication control instruction.
[0016] In a third aspect, the present invention also provides a computer-readable storage medium, which includes a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute any one of the above-mentioned communication transmission control methods for electric bicycles.
[0017] Compared with the prior art, the present invention has the following beneficial effects: The present invention provides a communication transmission control system and method for an electric bicycle, the method comprising: acquiring electric bicycle data, the electric bicycle data comprising vehicle position data, speed data, battery status data, own historical data and historical communication rate; based on the electric bicycle vehicle network, performing data processing operations on the battery status data to obtain a data packet of the battery status, performing data updating operations on the data packet and the own historical data to obtain an updated data packet; performing calculation operations based on the updated data packet to obtain a connectivity index and a communication reception rate of the electric bicycle, and analyzing the connectivity index and the communication reception rate to obtain the connectivity of the electric bicycle with other vehicles. status and communication transmission data; performing calculation and analysis operations according to the networking status and the communication transmission data to obtain the actual communication rate of the electric bicycle; calculating the control variables, communication reception signal-to-noise ratio and signal-to-noise ratio variance corresponding to the electric bicycle according to the actual communication rate; constructing and training a reinforcement learning model according to the actual communication rate, the control variables and the signal-to-noise ratio variance, and determining the output result of the reinforcement learning model as a communication control instruction, the communication control instruction including a communication rate adjustment instruction, a signal enhancement instruction, a connection management instruction, a data packet sending instruction, a dynamic adjustment instruction and an exception handling instruction; controlling the electric bicycle according to the communication control instruction to complete vehicle-to-vehicle communication.
[0018] The method utilizes the electric bicycle vehicle network to obtain vehicle data and construct a formula algorithm model, and uses the vehicle data as input data, which is input into the formula algorithm model for analysis and data processing to form a data model; the data model is transmitted to a central processing unit to determine parameters and communication strategies, and a vehicle-to-vehicle communication model is constructed, thereby realizing efficient communication transmission between electric bicycles. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 It is a flow chart of a communication transmission control method for an electric bicycle provided by an embodiment of the present invention; Figure 2 is a schematic diagram of an actual communication process of an electric bicycle provided by an embodiment of the present invention; Figure 3 It is a structural schematic diagram of a communication transmission control system for an electric bicycle provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0020] 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.
[0021] With the popularity and development of electric bicycles, efficient communication transmission control between bicycles has become an important issue. Traditional communication transmission control methods mainly rely on hardware devices such as bicycle locks and bracelets to perform identity recognition and data transmission through near-field communication. Although these methods meet basic needs to a certain extent, they are unable to meet the growing communication needs of electric bicycles due to factors such as high hardware equipment costs, limited communication distances, and unstable data transmission.
[0022] In one prior art, a wireless charging method for electric bicycles mainly solves the reliability problem of the electric bicycle charging system and improves the communication reliability between the vehicle and the charging system. However, this method still relies on traditional short-range communication technologies, such as Bluetooth, which is prone to interference in dense traffic environments and fails to fully utilize the real-time communication and big data analysis capabilities of the Internet of Vehicles. In addition, this prior art usually relies on static communication protocols and is difficult to adapt to different communication environments.
[0023] The existing technology cannot meet the actual transportation needs of electric bicycles and has the problem of low communication data transmission efficiency.
[0024] To solve the above problems, refer to Figure 1 The first embodiment of the present invention provides a communication transmission control method for an electric bicycle, comprising the following steps: S1, acquiring electric bicycle data, wherein the electric bicycle data includes vehicle location data, speed data, battery status data, own historical data and historical communication rate; S2, based on the electric bicycle Internet of Vehicles, performing a data processing operation on the battery status data to obtain a data packet of the battery status, and performing a data update operation on the data packet and the own historical data to obtain an updated data packet; S3, performing a calculation operation according to the update data packet to obtain a connectivity index and a communication reception rate of the electric bicycle, and analyzing the connectivity index and the communication reception rate to obtain a networking status and communication transmission data between the electric bicycle and other vehicles; S4, performing calculation and analysis operations according to the networking status and the communication transmission data to obtain an actual communication rate of the electric bicycle; S5, calculating the control variable, communication reception signal-to-noise ratio and signal-to-noise ratio variance corresponding to the electric bicycle according to the actual communication rate; S6, constructing and training a reinforcement learning model according to the actual communication rate, the control variable and the signal-to-noise ratio variance, and determining an output result of the reinforcement learning model as a communication control instruction; S7, controlling the electric bicycle according to the communication control instruction to complete vehicle-to-vehicle communication.
[0025] In step S1 , electric bicycle data is acquired, wherein the electric bicycle data includes vehicle position data, speed data, battery status data, own historical data and historical communication rate.
[0026] In one implementation, a method for obtaining electric bicycle data includes: The data acquisition of the electric bicycle itself is achieved through various sensors installed on the electric bicycle. These sensors continuously collect key data such as speed, location, battery power, etc., and transmit them to the central controller of the electric bicycle, which initially integrates and processes the received data. The integrated data is further transmitted to a remote server or the user's mobile device through a communication module such as Bluetooth, Wi-Fi or cellular network, thereby realizing real-time monitoring, data analysis and control of the electric bicycle; The acquisition of other electric bicycle data is achieved by using network communication technologies such as Bluetooth, Wi-Fi or cellular networks to establish connections with other vehicles through communication modules. Through this connection, the electric bicycle can send requests to surrounding vehicles to obtain status data of other vehicles; It should be noted that data requests can be coordinated through specific communication protocols (such as V2X, vehicle-to-vehicle communication protocol) to ensure the security and stability of data exchange. After the data is acquired, the system will integrate this data with its own data to provide basic support for subsequent collaborative control and path optimization.
[0027] In step S2, based on the electric bicycle Internet of Vehicles, the battery status data is subjected to data processing operations to obtain a data packet of the battery status, and the data packet is subjected to data updating operations with the own historical data to obtain an updated data packet.
[0028] In one implementation, based on the electric bicycle Internet of Vehicles, the battery status data is processed to obtain a data packet of the battery status, and the data packet is updated with the own historical data to obtain an updated data packet, including: According to the battery status data, the battery status data is input into the electric bicycle vehicle network to construct the battery status data packet; The electric bicycle receives the battery status data packet, stores the own historical data and the historical data of the battery status data packet in two queues respectively, and calculates the data packet length by the following formula: in, Indicates the length of the data packet. Indicates the time when a data packet is received. Indicates the historical data update value of the received data packet, represents the normalized distance constant, Indicates the distance between two queues; Performing a data update operation according to the data packet length and the update time to obtain the update data packet; Furthermore, the update time includes: The data packet length is used as input to perform a time update operation. The time update method is defined as follows: in, Indicates at time Update time, Indicates the last moment historical moment, represents the reference gain factor, Indicates that the obedience parameter is A Gaussian distributed random variable; Furthermore, the constraints of the Gaussian random variable include: definition The expectation of is 0, and the expectation of its quadratic power is constrained to control the fluctuation range of the data. The constraint formula is as follows:
[0029] in, represents the noise variance, Indicates the sampling period.
[0030] In step S3, a calculation operation is performed based on the update data packet to obtain the connectivity index and communication reception rate of the electric bicycle, and the networking status and communication transmission data between the electric bicycle and other vehicles are analyzed based on the connectivity index and the communication reception rate.
[0031] In one implementation, a calculation operation is performed according to the update data packet to obtain a connectivity index and a communication reception rate of the electric bicycle, and a networking status and communication transmission data between the electric bicycle and other vehicles are analyzed according to the connectivity index and the communication reception rate, including: The calculation formula of the connectivity index is expressed as: in, represents a connectivity index of the electric bicycle, represents the number of all other electric bicycles within the communication range, represents the connection weight of the electric bicycle, represents the communication reception rate of the electric bicycle; It should be noted that the connectivity index formula calculates the electric bicycle As with all other e-bikes The sum of weighted communication reception rates, weight indicates whether there is communication between the two electric bicycles, and Indicates that in the case of successful communication, the electric bicycle Received from electric bicycle The proportion of packets; The connection weight of the electric bicycle, when the electric bicycle With electric bikes When establishing communication, The value is 1. The value is 0; The communication reception rate of the electric bicycle is calculated as follows: in, Represents an indicator variable, when the electric bicycle Successfully received electric bicycles When the data packet The value is 1. The value is 0; Indicates the number of electric bicycles in a given period of time To electric bicycle Total number of packets sent; Furthermore, the networking status and communication transmission data of the electric bicycle and other vehicles are obtained according to the connectivity index and the communication reception rate analysis, including: The determination method of the networking status is expressed as follows: like , then the electric bicycle remains connected to the Internet of Vehicles; like , then the electric bicycle is in a disconnected state; in, Indicates the preset connection threshold; According to the communication reception rate and the speed of each connection, calculate the electric bicycle The total communication transmission data is calculated as follows: in, The electric bicycle Total communication data transmitted, Each connected bicycle The communication rate, The electric bicycle The communication reception rate, Indicates the communication time.
[0032] It should be noted that for electric bicycles , by connecting it to each connected vehicle Communication rate , acceptance rate and communication time Multiplying them together, we can get the communication data volume of a single connection, and adding up the communication data volume of all connections can get the electric bicycle The total amount of data transferred within the specified communication time .
[0033] In step S4, a calculation and analysis operation is performed according to the networking status and the communication transmission data to obtain an actual communication rate of the electric bicycle.
[0034] In one implementation, the performing of calculation and analysis operations according to the networking status and the communication transmission data to obtain the actual communication rate of the electric bicycle includes: If the electric bicycle Establishing a connection with other vehicles, the actual communication rate of the electric bicycle is determined by the maximum data transmission rate; The electric bicycle The calculation formula of data transmission rate is expressed as: in, The electric bicycle The data transfer rate, Indicates electric bicycle The data transfer rate, represents the connection weight of the electric bicycle; According to the data transmission rate, the actual communication rate is obtained: ; It should be noted that among all the connections, electric bicycles The actual communication rate of the vehicle is determined by the maximum value of its communication transmission rate with other vehicles, so the connection with the highest communication rate is selected to ensure the best communication performance.
[0035] In step S5, the control variable, the communication reception signal-to-noise ratio and the signal-to-noise ratio variance corresponding to the electric bicycle are calculated according to the actual communication rate.
[0036] In one implementation, according to the actual communication rate, calculating the control variable, the communication reception signal-to-noise ratio and the signal-to-noise ratio variance corresponding to the electric bicycle includes: The control variable is calculated as follows: in, represents the control variable, The electric bicycle The actual communication rate is regarded as the state variable of the system. The electric bicycle The power consumption, represents the control gain constant that affects the communication rate; Furthermore, the control variables are normalized, and the calculation formula is as follows:
[0037] in, represents the normalized control variable, Indicates the maximum power consumption threshold, , Indicates the maximum available power of the electric bicycle. Indicates the power consumption of the controller; The communication reception signal-to-noise ratio is calculated as follows: in, The electric bicycle The communication receiving signal-to-noise ratio, The electric bicycle Receiving electric bicycles The signal power, represents the noise power; It should be noted that The signal-to-noise ratio variance is calculated as follows: in, Expressed as the expected value of all signal-to-noise ratios; It should be noted that electric bicycles exist The communication receiving signal-to-noise ratio at time is , which reflects the strength ratio of the communication signal to the noise. Comparison with other electric bikes When a connection is established (i.e. ),vehicle Received signal-to-noise ratio will be related to the received noise power At this time, electric bicycles The received noise power is the signal-to-noise ratio The average value is taken to reflect the average signal quality of multiple connections. With electric bikes Communication failure, signal-to-noise ratio ,on the contrary, ; Furthermore, the vehicle Received noise power Calculated by the following formula: in, Indicates the occupancy rate of the receiver receiving frequency band, represents the noise power spectral density, is the bandwidth of the connected vehicle signal. This formula quantifies the total noise power received by the vehicle, reflecting its relative ratio to the communication signal.
[0038] In step S6, a reinforcement learning model is constructed and trained according to the actual communication rate, the control variable and the signal-to-noise ratio variance, and an output result of the reinforcement learning model is determined as a communication control instruction.
[0039] In one implementation, a reinforcement learning model is constructed and trained according to the actual communication rate, the control variable, and the signal-to-noise ratio variance, and an output result of the reinforcement learning model is determined as a communication control instruction, including: Building a reinforcement learning model ,in, state Indicates the current communication status, including the actual communication rate SNR Variance ; action Represents the control variable The choice of affects the communication rate and signal-to-noise ratio; Discount Factor Indicates the influence factor of future rewards on current decision; Reward Function Indicates based on communication quality and signal-to-noise ratio optimization function; The communication quality For electric bicycles The trade-off model between communication rate and communication quality is expressed as follows: in: represents the communication rate vector; represents the communication quality vector; Indicated as electric bicycle exist The communication rate at the time, Expressed as learning rate; The reinforcement learning model is trained according to the state R, the action M, the discount factor γ and the reward function r, and the training is determined to be completed when the number of training times is greater than a preset number threshold, or the reward value of the reward function is greater than a preset reward threshold, to obtain a trained reinforcement learning model; Determine the output result of the trained reinforcement learning model as a communication control instruction, wherein the communication control instruction includes a communication rate adjustment instruction, a signal enhancement instruction, a connection management instruction, a data packet sending instruction, a dynamic adjustment instruction, and an exception handling instruction; Furthermore, with the maximum overall communication quality Construct an objective function for the target, which is set based on the time difference Dynamic adjustment of the communication rate and estimation of the historical communication rate are used to improve the communication quality of the system. The calculation formula of the objective function is as follows: in, Indicates the number of people riding electric bicycles at different time periods and The sum of the communication quality between represents the initial moment; By maximizing the objective function ,The system can find the best balance between the communication rate and ,quality of electric bicycles to achieve efficient and stable network ,communication.
[0040] In step S7, the electric bicycle is controlled according to the communication control instruction to complete vehicle-to-vehicle communication.
[0041] In one implementation, controlling the electric bicycle according to the communication control instruction to complete vehicle-to-vehicle communication includes: The electric bicycle control system directly applies the generated communication control instructions to the communication module of the electric bicycle to control it. Through these instructions, reliable communication between the electric bicycle and other vehicles can be achieved in a dynamic driving environment; It should be noted that the role of the communication rate adjustment instruction is to automatically adjust the rate when the signal quality fluctuates to ensure the stability and adaptability of data transmission; the role of the signal enhancement instruction is to increase the transmission power or switch to a channel with less interference when the signal weakens to ensure reliable communication; the role of the connection management instruction is to establish, maintain, switch or disconnect the communication connection to ensure the communication continuity of the vehicle during dynamic driving; the role of the data packet sending control instruction is to control the frequency and timing of data transmission to avoid congestion and improve transmission efficiency; The function of the dynamic adjustment instruction is to adjust the communication parameters in real time based on information such as vehicle speed and position to adapt to different scenarios; the function of the exception handling instruction is to respond to emergencies such as signal loss, trigger emergency measures, and ensure stable communication.
[0042] In order to facilitate the understanding of the present invention, some preferred embodiments of the present invention are further described below.
[0043] The following describes the working process of the present invention using a relatively common scenario as an example. The working process is as follows: Step 1: Obtain the vehicle's location, speed, temperature, humidity, wind speed, wind direction and other information; Step 2: Preprocess the acquired vehicle data, including data collection and data cleaning; Step 3: Construct a formula algorithm based on vehicle speed, communication signal strength and signal frequency to generate a communication transmission strategy; Step 4: Perform communication transmission between electric bicycles according to the generated communication transmission strategy; Step 5: Monitor the influencing factors in the communication process in real time and dynamically adjust the communication transmission strategy.
[0044] Preferably, in step 1, multiple sensors are used to obtain vehicle information, including a GPS module to obtain location information, a speed sensor to obtain speed information, a temperature sensor to obtain temperature information, a humidity sensor to obtain humidity information, a wind speed sensor to obtain wind speed information, and a wind direction sensor to obtain wind direction information. The data collection frequency can be adjusted according to actual needs, for example, once per second or once per minute; It should be noted that the accuracy and frequency of data acquisition directly affect the effect of subsequent data processing. Therefore, high-precision sensors should be selected and the acquisition frequency should be set reasonably.
[0045] Preferably, in step 2, data preprocessing includes data cleaning and data correction. Data cleaning removes noise and outliers by filtering, smoothing and other methods to ensure the accuracy and consistency of the data. Data correction eliminates system errors by zero point correction, linear correction and other methods. Data integration integrates data from different sensors into a unified data set to facilitate subsequent processing and analysis.
[0046] Preferably, in step 3, based on the vehicle speed, communication signal strength and signal frequency, a calculation formula for constructing a comprehensive function is as follows: in, Indicates the comprehensive signal strength. , , , and is a constant, represents the vehicle speed, Signal frequency, continuously optimize the parameters in the formula through least squares method, gradient descent method or genetic algorithm to ensure the accuracy of the model; It should be noted that the construction and optimization of formula algorithms are the key to generating effective communication transmission strategies, and they need to be verified and adjusted multiple times based on actual data.
[0047] Preferably, in step 4, communication transmission between electric bicycles is performed according to the generated communication transmission strategy. The communication strategy includes the optimization settings of signal frequency, strength, modulation mode and coding mode. For example, when the vehicle speed is high, the signal frequency is appropriately reduced to reduce the influence of the Doppler effect; when the communication distance is far, the signal strength is increased to compensate for signal attenuation.
[0048] It should be noted that the implementation of communication transmission strategies needs to take into account changes in the actual communication environment and ensure communication quality under different conditions.
[0049] Preferably, in step 5, various influencing factors in the communication process are monitored in real time, such as communication distance, obstacles, weather, electromagnetic interference, etc. According to the monitoring results, the communication transmission strategy is dynamically adjusted to ensure the communication quality. The monitoring method includes real-time data stream processing and sensor fusion.
[0050] It should be noted that real-time monitoring and dynamic adjustment are the key to improving the robustness and adaptability of communication systems. Timeliness of monitoring and effectiveness of adjustment must be ensured; Preferably, the present invention also adds a competition mechanism, such as setting a reward mechanism in the vehicle-to-vehicle communication model to encourage electric bicycle users to actively participate in communication and information sharing. Reward users through points, coupons, etc. to improve communication efficiency; It should be noted that competition mechanisms and user incentives can increase user participation and system activity, and further optimize the performance of the communication system.
[0051] Through the above specific implementation methods, the present invention can effectively optimize the communication transmission strategy between electric bicycles, improve the communication quality and transmission efficiency. At the same time, by introducing competition mechanism and user incentive measures, the practicality of the system and user experience are further improved.
[0052] Reference Figure 2 The vehicle-to-vehicle communication between the electric bicycles includes two communication modes: direct communication transmission and indirect information exchange through the Internet of Vehicles.
[0053] Furthermore, in direct communication transmission, under the premise of determining the vehicle-to-vehicle network, the electric bicycle and the electric bicycle Signals can be directly transmitted and received to share real-time information. This method is suitable for low-latency data exchange between vehicles, which helps to transmit key information such as driving status, location, speed, etc., and ensure safe distance and driving coordination between vehicles; Furthermore, the electric bicycle Internet of Vehicles serves as a hub, and each vehicle uploads its own data and shares it with other vehicles. and the electric bicycle The respective status packets (such as data packets and data packets ) is sent to the Internet of Vehicles, and other connected vehicles can obtain this information through the network.
[0054] Combining direct communication and vehicle networking, vehicles can share information at the local and global levels, improving the overall e-bike communication transmission efficiency.
[0055] In summary, the present invention provides a communication transmission control method for an electric bicycle, the method comprising: acquiring electric bicycle data, the electric bicycle data comprising vehicle location data, speed data, battery status data, its own historical data and historical communication rate; based on the electric bicycle vehicle networking, performing data processing operations on the battery status data to obtain a data packet of the battery status, performing data updating operations on the data packet and its own historical data to obtain an updated data packet; performing calculation operations based on the updated data packet to obtain a connectivity index and a communication reception rate of the electric bicycle, and analyzing the connectivity index and the communication reception rate to obtain a correlation between the electric bicycle and other vehicles. Network status and communication transmission data; perform calculation and analysis operations according to the network status and the communication transmission data to obtain the actual communication rate of the electric bicycle; calculate the control variables, communication reception signal-to-noise ratio and signal-to-noise ratio variance corresponding to the electric bicycle according to the actual communication rate; construct and train a reinforcement learning model according to the actual communication rate, the control variables and the signal-to-noise ratio variance, and determine the output result of the reinforcement learning model as a communication control instruction, the communication control instruction including a communication rate adjustment instruction, a signal enhancement instruction, a connection management instruction, a data packet sending instruction, a dynamic adjustment instruction and an exception handling instruction; control the electric bicycle according to the communication control instruction to complete vehicle-to-vehicle communication.
[0056] This method combines direct communication and vehicle networking, and vehicles can share information at the local and global levels, improving the overall communication transmission efficiency of electric bicycles.
[0057] Reference Figure 3 The second embodiment of the present invention provides a communication transmission control system for an electric bicycle, comprising: 101 an electric bicycle data acquisition module, used to acquire electric bicycle data, the electric bicycle data including vehicle location data, speed data, battery status data, own historical data and historical communication rate; 102 is an update data packet acquisition module, which is used to perform a data processing operation on the battery status data based on the electric bicycle vehicle network to obtain a data packet of the battery status, and perform a data update operation on the data packet and the own historical data to obtain an update data packet; 103 a network status acquisition module, for performing calculation operations according to the update data packet to obtain a connectivity index and a communication reception rate of the electric bicycle, and obtaining a network status and communication transmission data between the electric bicycle and other vehicles according to the connectivity index and the communication reception rate; 104 an actual communication rate acquisition module, used to perform calculation and analysis operations according to the networking state and the communication transmission data to obtain the actual communication rate of the electric bicycle; 105 parameter calculation module, used for calculating the control variable, communication reception signal-to-noise ratio and signal-to-noise ratio variance corresponding to the electric bicycle according to the actual communication rate; 106 a communication control instruction acquisition module, configured to construct and train a reinforcement learning model according to the actual communication rate, the control variable and the signal-to-noise ratio variance, and determine the output result of the reinforcement learning model as a communication control instruction; the communication control instruction includes a communication rate adjustment instruction, a signal enhancement instruction, a connection management instruction, a data packet sending instruction, a dynamic adjustment instruction and an exception handling instruction; 107 vehicle-to-vehicle communication module, used to control the electric bicycle according to the communication control instruction to complete vehicle-to-vehicle communication.
[0058] It should be noted that a communication transmission control system for an electric bicycle provided in an embodiment of the present invention is used to execute all the process steps of a communication transmission control method for an electric bicycle in the above embodiment. The working principles and beneficial effects of the two correspond one to one, and thus will not be repeated herein.
[0059] In summary, the present invention provides a communication transmission control method for an electric bicycle, the method comprising: acquiring electric bicycle data, the electric bicycle data comprising vehicle location data, speed data, battery status data, own historical data and historical communication rate; based on the electric bicycle vehicle network, performing data processing operations on the battery status data to obtain a data packet of the battery status, performing data updating operations on the data packet and the own historical data to obtain an updated data packet; performing calculation operations based on the updated data packet to obtain a connectivity index and a communication reception rate of the electric bicycle, and analyzing the connectivity index and the communication reception rate to obtain the connectivity between the electric bicycle and other vehicles. The invention relates to a method for controlling the electric bicycle by using a plurality of control variables, a plurality of control variables and a plurality of control variables, and a plurality of control variables. The method comprises: obtaining a network status and communication transmission data; performing calculation and analysis operations according to the network status and the communication transmission data to obtain an actual communication rate of the electric bicycle; calculating a control variable, a communication reception signal-to-noise ratio and a signal-to-noise ratio variance corresponding to the electric bicycle according to the actual communication rate; constructing and training a reinforcement learning model according to the actual communication rate, the control variable and the signal-to-noise ratio variance, and determining an output result of the reinforcement learning model as a communication control instruction, wherein the communication control instruction includes a communication rate adjustment instruction, a signal enhancement instruction, a connection management instruction, a data packet sending instruction, a dynamic adjustment instruction and an exception handling instruction; and controlling the electric bicycle according to the communication control instruction to complete vehicle-to-vehicle communication.
[0060] The method utilizes the electric bicycle vehicle network to obtain vehicle data and construct a formula algorithm model, and uses the vehicle data as input data, which is input into the formula algorithm model for analysis and data processing to form a data model; the data model is transmitted to a central processing unit to determine parameters and communication strategies, and a vehicle-to-vehicle communication model is constructed, thereby realizing efficient communication transmission between electric bicycles.
[0061] The embodiment of the present invention also provides an electronic device. The electronic device includes: a processor, a memory, and a computer program stored in the memory and executable on the processor, such as a communication transmission control method program for an electric bicycle. When the processor executes the computer program, the steps in the above-mentioned embodiments of the communication transmission control method for an electric bicycle are implemented, such as Figure 1 Alternatively, when the processor executes the computer program, the functions of the modules / units in the above-mentioned device embodiments are realized, for example, 101 is an electric bicycle data acquisition module.
[0062] Exemplarily, the computer program may be divided into one or more modules / units, which are stored in the memory and executed by the processor to implement the present invention. The one or more modules / units may be a series of computer program instruction segments capable of implementing specific functions, which are used to describe the execution process of the computer program in the electronic device.
[0063] The electronic device may be a computing device such as a desktop computer, a notebook, a PDA, and a smart tablet. The electronic device may include, but is not limited to, a processor and a memory. Those skilled in the art will appreciate that the above components are merely examples of electronic devices and do not constitute a limitation on the electronic device. The electronic device may include more or fewer components than the above components, or may combine certain components, or different components. For example, the electronic device may also include input and output devices, network access devices, buses, etc.
[0064] The processor may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc. The processor is the control center of the electronic device, and uses various interfaces and lines to connect various parts of the entire electronic device.
[0065] The memory can be used to store the computer program and / or module, and the processor realizes various functions of the electronic device by running or executing the computer program and / or module stored in the memory, and calling the data stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0066] Wherein, if the module / unit integrated in the electronic device is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Wherein, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.
[0067] It should be noted that the device embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. In addition, in the accompanying drawings of the device embodiments provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines. A person of ordinary skill in the art may understand and implement it without paying any creative effort.
[0068] The specific embodiments described above further illustrate the purpose, technical solutions and beneficial effects of the present invention. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. It is particularly pointed out that for those skilled in the art, any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the scope of protection of the present invention.
Claims
1. A communication transmission control system for an electric bicycle, characterized in that: Configuration at the data receiving end includes: An electric bicycle data acquisition module is used to acquire electric bicycle data, wherein the electric bicycle data includes vehicle location data, speed data, battery status data, own historical data and historical communication rate; An update data packet acquisition module is used to perform data processing operations on the battery status data based on the electric bicycle vehicle network to obtain a data packet of the battery status, and perform data update operations on the data packet and its own historical data to obtain an update data packet; A network status acquisition module, used to perform calculation operations according to the update data packet to obtain a connectivity index and a communication reception rate of the electric bicycle, and to analyze and obtain a network status and communication transmission data between the electric bicycle and other vehicles according to the connectivity index and the communication reception rate; An actual communication rate acquisition module, used to perform calculation and analysis operations according to the networking status and the communication transmission data to obtain the actual communication rate of the electric bicycle; A parameter calculation module, used for calculating the control variable, the communication reception signal-to-noise ratio and the signal-to-noise ratio variance corresponding to the electric bicycle according to the actual communication rate; A communication control instruction acquisition module, used to construct and train a reinforcement learning model according to the actual communication rate, the control variable and the signal-to-noise ratio variance, and determine the output result of the reinforcement learning model as a communication control instruction; the communication control instruction includes a communication rate adjustment instruction, a signal enhancement instruction, a connection management instruction, a data packet sending instruction, a dynamic adjustment instruction and an exception handling instruction; The vehicle-to-vehicle communication module is used to control the electric bicycle according to the communication control instruction to complete the vehicle-to-vehicle communication.
2. A communication transmission control method for an electric bicycle, characterized in that: Executed by the data receiving end, including: Acquire electric bicycle data, wherein the electric bicycle data includes vehicle location data, speed data, battery status data, own historical data and historical communication rate; Based on the electric bicycle Internet of Vehicles, the battery status data is processed to obtain a data packet of the battery status, and the data packet is updated with the own historical data to obtain an updated data packet; Performing calculation operations according to the update data packet to obtain a connectivity index and a communication reception rate of the electric bicycle, and analyzing the connectivity index and the communication reception rate to obtain a networking status and communication transmission data between the electric bicycle and other vehicles; Performing calculation and analysis operations according to the networking status and the communication transmission data to obtain an actual communication rate of the electric bicycle; According to the actual communication rate, calculating the control variable, the communication reception signal-to-noise ratio and the signal-to-noise ratio variance corresponding to the electric bicycle; According to the actual communication rate, the control variable and the signal-to-noise ratio variance, a reinforcement learning model is constructed and trained, and an output result of the reinforcement learning model is determined as a communication control instruction, wherein the communication control instruction includes a communication rate adjustment instruction, a signal enhancement instruction, a connection management instruction, a data packet sending instruction, a dynamic adjustment instruction and an exception handling instruction; The electric bicycle is controlled according to the communication control instruction to complete vehicle-to-vehicle communication.
3. A communication transmission control method for an electric bicycle according to claim 2, characterized in that: Based on the electric bicycle Internet of Vehicles, the battery status data is processed to obtain a data packet of the battery status, and the data packet is updated with the own historical data to obtain an updated data packet, including: According to the battery status data, the battery status data is input into the electric bicycle vehicle network to construct the battery status data packet; The electric bicycle receives the battery status data packet, stores the own historical data and the historical data of the battery status data packet in two queues respectively, and calculates the data packet length by the following formula: in, Indicates the length of the data packet. Indicates the time when a data packet is received. Indicates the historical data update value of the received data packet, represents the normalized distance constant, Indicates the distance between two queues; According to the data packet length and the update time, a data update operation is performed to obtain the update data packet.
4. A communication transmission control method for an electric bicycle according to claim 3, characterized in that: The update time includes: The data packet length is used as input to perform a time update operation. The time update method is defined as follows: in, Indicates at time Update time, Indicates the last moment historical moment, represents the reference gain factor, Indicates that the obedience parameter is A Gaussian distributed random variable.
5. A communication transmission control method for an electric bicycle according to claim 2, characterized in that: The step of performing a calculation operation according to the update data packet to obtain a connectivity index and a communication reception rate of the electric bicycle includes: The calculation formula of the connectivity index is expressed as: in, represents a connectivity index of the electric bicycle, represents the number of all other electric bicycles within the communication range, represents the connection weight of the electric bicycle, represents the communication reception rate of the electric bicycle; The connection weight of the electric bicycle, when the electric bicycle With electric bikes When establishing communication, The value is 1. The value is 0; The communication reception rate of the electric bicycle is calculated as follows: in, Represents an indicator variable, when the electric bicycle Successfully received electric bicycles When the data packet The value is 1. The value is 0; Indicates the number of electric bicycles in a given period of time To electric bicycle Total number of packets sent.
6. A communication transmission control method for an electric bicycle according to claim 5, characterized in that: The obtaining of the networking status and communication transmission data between the electric bicycle and other vehicles according to the connectivity index and the communication reception rate analysis includes: The determination method of the networking status is expressed as follows: like , then the electric bicycle remains connected to the Internet of Vehicles; like , then the electric bicycle is in a disconnected state; in, Indicates the preset connection threshold; According to the communication reception rate and the speed of each connection, calculate the electric bicycle The total communication transmission data is calculated as follows: in, The electric bicycle Total communication data transmitted, Each connected bicycle The communication rate, The electric bicycle The communication reception rate, Indicates the communication time.
7. A communication transmission control method for an electric bicycle according to claim 5, characterized in that: The performing of calculation and analysis operations according to the networking state and the communication transmission data to obtain the actual communication rate of the electric bicycle includes: If the electric bicycle Establishing a connection with other vehicles, the actual communication rate of the electric bicycle is determined by the maximum data transmission rate; The electric bicycle The calculation formula of data transmission rate is expressed as: in, The electric bicycle The data transfer rate, Indicates electric bicycle The data transfer rate, represents the connection weight of the electric bicycle; According to the data transmission rate, the actual communication rate is obtained: .
8. A communication transmission control method for an electric bicycle according to claim 5, characterized in that: According to the actual communication rate, the control variable, the communication reception signal-to-noise ratio and the signal-to-noise ratio variance corresponding to the electric bicycle are calculated, including: The control variable is calculated as follows: in, represents the control variable, The electric bicycle The actual communication rate is regarded as the state variable of the system. The electric bicycle The power consumption, represents the control gain constant that affects the communication rate; The communication reception signal-to-noise ratio is calculated as follows: in, The electric bicycle The communication receiving signal-to-noise ratio, The electric bicycle Receiving electric bicycles The signal power, represents the noise power; The signal-to-noise ratio variance is calculated as follows: in, Expressed as the expected value of all signal-to-noise ratios.
9. A communication transmission control method for an electric bicycle according to claim 2, characterized in that: According to the actual communication rate, the control variable and the signal-to-noise ratio variance, a reinforcement learning model is constructed and trained, and an output result of the reinforcement learning model is determined as a communication control instruction, including: Building a reinforcement learning model ,in, state Indicates the current communication status, including the actual communication rate SNR Variance ; action Represents the control variable The choice of affects the communication rate and signal-to-noise ratio; Discount Factor Indicates the influence factor of future rewards on current decision; Reward Function Indicates based on communication quality and signal-to-noise ratio optimization function; The communication quality For electric bicycles The trade-off model between communication rate and communication quality is expressed as follows: in: represents the communication rate vector; represents the communication quality vector; Indicated as electric bicycle exist The communication rate at the time, Expressed as learning rate; The reinforcement learning model is trained according to the state R, the action M, the discount factor γ and the reward function r, and the training is determined to be completed when the number of training times is greater than a preset number threshold, or the reward value of the reward function is greater than a preset reward threshold, to obtain a trained reinforcement learning model; The output result of the trained reinforcement learning model is determined as a communication control instruction.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored computer program, wherein when the computer program is executed, the device where the computer-readable storage medium is located is controlled to execute a communication transmission control method for an electric bicycle as described in any one of claims 2 to 9.
Citation Information
Patent Citations
RIS-assisted spectrum sharing method based on deep reinforcement learning
CN113259944A
Big data-based shared electric vehicle scheduling method, apparatus and device, and medium
CN114626766A
Location data transmission scheduling for a mobile computing device
US20190327580A1
Electric vehicle cluster charge and discharge management method for improving stability of energy storage system
WO2023226356A1
Cited By
Bicycle lamp group control method based on Bluetooth wireless communication
CN120358475A
