Data processing method, device and equipment and computer readable storage medium
By acquiring and processing the cached information of transportation vehicles, the turning radius and steering median value are generated, which solves the problem of difficulty in determining the steering angle deviation of autonomous vehicles, and achieves efficient and accurate steering angle adjustment, which is suitable for various driving paths.
Patent Information
- Application Number
- CN202310393700.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-07
- Publication Date
- 2024-10-15
AI Technical Summary
When determining the steering angle deviation of an autonomous vehicle, the existing technology requires the road to be straight and the driver to keep driving in a straight line, which results in high difficulty in determining the steering angle deviation and low efficiency and accuracy.
By obtaining the cache information of the vehicle, including driving status information and the steering angle of the steering component, the turning radius of the driving path is generated, the steering median value is calculated to represent the angle difference between the steering component and the wheel, and is indicated in the autonomous driving mode The steering assembly rotates.
The efficiency and accuracy of determining the steering angle deviation are improved, and it is suitable for driving paths of different shapes without requiring special requirements for the road environment and drivers. It is low cost and highly reliable.
Smart Images

Figure CN118778622A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of Internet technology, and in particular to a data processing method, apparatus, device, and computer-readable storage medium. Background Art
[0002] An autonomous vehicle is an intelligent vehicle based on autonomous driving technology. As a high-tech intelligent technology product, it must undergo a lot of learning before it is officially put into practical application to ensure that the autonomous vehicle has excellent safety.
[0003] The vehicle (i.e., transportation tool) includes a steering assembly (e.g., a steering wheel), and a steering wheel (i.e., a wheel) whose steering angle is controlled by the steering assembly. There is a steering coefficient between the steering angle of the steering assembly (referred to as the assembly steering angle) and the steering angle of the wheel (referred to as the wheel steering angle). For example, if the steering coefficient is 15, then when the steering wheel rotates 16°, the wheel should rotate (16 / 15)°, and then in the actual scene, the wheel only rotates 1°. Obviously, there is a steering angle deviation (referred to as the steering median in this application) between the steering assembly and the wheel. In order to determine the above-mentioned steering angle deviation, the prior art puts the vehicle in a straight-ahead state, i.e., driving in a straight line, and then determines the steering angle of the steering wheel in the straight-ahead state as the steering angle deviation. Obviously, the prior art requires that the road is in a straight line shape, and requires the driver to keep driving in a straight line, so the requirements for the road environment and the driver are relatively high, so the difficulty of determining the steering angle deviation is increased, that is, the efficiency and accuracy of determining the steering angle deviation are reduced. Summary of the invention
[0004] The embodiments of the present application provide a data processing method, apparatus, device, and computer-readable storage medium, which can improve the efficiency and accuracy of determining the steering median.
[0005] On the one hand, an embodiment of the present application provides a data processing method, including:
[0006] Acquire cache information of a vehicle; the vehicle includes a steering component and a wheel controlled by the steering component; the cache information of the vehicle includes driving state information of the vehicle and a component steering angle of the steering component;
[0007] If the cached information of the vehicle meets the turning median generation condition, a driving path indicated by the driving state information of the vehicle is generated, and a turning radius of the driving path is determined; the turning radius is used to determine the wheel steering angle of the wheel;
[0008] A steering median value is determined based on the component steering angle of the steering component and the wheel steering angle; the steering median value is used to characterize the steering angle difference between the steering component and the wheel; the steering median value is used to indicate the angle of rotation of the steering component when the vehicle is in autonomous driving mode.
[0009] An embodiment of the present application provides a data processing device, including:
[0010] The first acquisition module is used to acquire cache information of a vehicle; the vehicle includes a steering assembly and a wheel controlled by the steering assembly; the cache information of the vehicle includes driving state information of the vehicle and a component steering angle of the steering assembly;
[0011] A first determination module is used to generate a driving path indicated by the driving state information of the vehicle if the cache information of the vehicle meets the turning median generation condition, and determine the turning radius of the driving path; the turning radius is used to determine the wheel steering angle of the wheel;
[0012] The second determination module is used to determine the steering median value based on the component steering angle of the steering component and the wheel steering angle; the steering median value is used to characterize the steering angle difference between the steering component and the wheel; the steering median value is used to indicate the angle of rotation of the steering component when the vehicle is in automatic driving mode.
[0013] The data processing device further includes:
[0014] The information deletion module is used to delete the cached information of the vehicle if the cached information of the vehicle does not meet the turning median generation condition.
[0015] Wherein, the first determination module includes:
[0016] A first acquisition unit, configured to acquire a first driving position of a vehicle from the driving state information of the vehicle;
[0017] A first determining unit, used to determine two-dimensional position information of a first driving position in a two-dimensional coordinate system, and generate a driving path of a vehicle through the two-dimensional position information;
[0018] a second determination unit, configured to perform a second-order derivative process on the driving path to obtain a trajectory curvature, and determine the inverse of the trajectory curvature as a turning radius of the driving path;
[0019] The second acquisition unit is used to acquire the wheelbase of the vehicle, and determine the steering angle of the wheel according to the wheelbase and the turning radius.
[0020] wherein the total number of component steering angles of the steering assembly is at least two;
[0021] The second determination module includes:
[0022] A first processing unit, configured to perform mean processing on at least two component steering angles to obtain a first mean component steering angle;
[0023] The second processing unit is used to obtain a steering coefficient of the wheel, and perform weighted processing on the wheel steering angle according to the steering coefficient to obtain a weighted wheel steering angle;
[0024] The third determining unit is used to determine the steering angle difference between the first mean component steering angle and the weighted wheel steering angle as the steering median.
[0025] Wherein, the first acquisition module includes:
[0026] An information collection unit, configured to collect first information of the vehicle at the current moment if the current moment satisfies the information collection cycle;
[0027] a quantity comparison unit, for comparing the total quantity of the second information with the first total quantity threshold value if the second information exists; the second information is information on the means of transport collected in a first historical time period; the first historical time period is earlier than the current moment, and the duration from the latest information collection moment in the first historical time period to the current moment is the same as the information collection cycle;
[0028] a fourth determination unit, for filtering the earliest information in the second information if the total amount of the second information is equal to the first total amount threshold, and determining the first information and the filtered second information as the cache information of the vehicle; the second information satisfies the turning median generation condition; the earliest information in the second information refers to the information corresponding to the earliest information collection time in the first historical time period; the earliest information collection time is earlier than or equal to the latest information collection time;
[0029] The fourth determination unit is further configured to determine the second information and the first information as cache information of the vehicle if the total amount of the second information is less than the first total amount threshold.
[0030] The total number of cached information of the vehicle is M, each cached information includes a driving state information and a component steering angle, and M is a positive integer;
[0031] The data processing device further comprises:
[0032] The second acquisition module is used to acquire cache information A from the cache information of the vehicle if M is equal to the second total number threshold. b ; b is a positive integer, and b is less than or equal to M;
[0033] The second acquisition module is also used to cache information A b, obtain driving status information D b ; Driving status information D b including a first travel speed;
[0034] a third determination module, configured to determine that the cached information of the vehicle does not meet the turning median generation condition if the first driving speed is greater than the driving speed threshold;
[0035] The third acquisition module is used to cache information A if the first driving speed is equal to or less than the driving speed threshold. b , obtaining a first component steering angle of the steering component;
[0036] The fourth determination module is used to determine the satisfaction relationship between the cache information of the vehicle and the turning median generation condition according to the turning angle of the first component.
[0037] Among them, the turning median generation condition includes the initial generation condition;
[0038] The fourth determination module includes:
[0039] A third processing unit is used to perform mean processing on the component steering angle of the steering component to obtain a second mean component steering angle;
[0040] A fifth determining unit, configured to determine a first component steering angle difference between the first component steering angle and a second mean component steering angle;
[0041] a sixth determination unit, configured to determine that the cached information of the vehicle does not meet the steering median generation condition if the first component steering angle difference is greater than the first component steering angle difference threshold;
[0042] The sixth determining unit is further configured to determine the cache information A if the first component steering angle difference is equal to or less than the first component steering angle difference threshold. b Satisfy the initial generation conditions;
[0043] a third acquisition unit, configured to acquire a second driving position of the vehicle from the driving state information of the vehicle if the M cache information all meet the initial generation condition;
[0044] The seventh determination unit is used to determine, according to the second driving position, a satisfying relationship between the cache information of the vehicle and the turning median generation condition.
[0045] Among them, the seventh determination unit includes:
[0046] a first determining subunit, configured to determine a travel distance of the vehicle according to the second travel position, and compare the travel distance with a distance threshold;
[0047] a second determination subunit, configured to determine that the cache information of the vehicle does not satisfy the turning median generation condition if the travel distance is less than the distance threshold;
[0048] The third determination subunit is configured to determine whether the cached information of the vehicle satisfies a turning median generation condition if the driving distance is equal to or greater than a distance threshold.
[0049] The data processing device further includes:
[0050] A fourth acquisition module is used to acquire first information of the vehicle at the current moment from the cache information of the vehicle; the first information includes a second driving speed of the vehicle at the current moment; the second driving speed belongs to the driving state information of the vehicle;
[0051] a fifth determination module, configured to determine that the cache information of the vehicle does not meet the turning median generation condition if the second driving speed is greater than the driving speed threshold;
[0052] a fifth acquisition module, configured to acquire, from the first information, a second component steering angle of the steering component at the current moment if the second driving speed is equal to or less than the driving speed threshold; the second component steering angle belongs to a component steering angle of the steering component;
[0053] The sixth determination module is used to determine the satisfaction relationship between the cache information of the vehicle and the turning median generation condition according to the turning angle of the second component.
[0054] Among them, the sixth determination module includes:
[0055] a fourth acquisition unit, configured to acquire third information of the vehicle in the second historical time period from the cache information of the vehicle; the third information satisfies the steering median generation condition; the third information includes a third component steering angle of the steering component in the second historical time period; the third component steering angle belongs to a component steering angle of the steering component;
[0056] a fourth processing unit, configured to perform mean processing on the third component steering angle and the second component steering angle to obtain a third mean component steering angle;
[0057] An eighth determination unit, configured to determine a second component steering angle difference between the second component steering angle and a third mean component steering angle;
[0058] The ninth determination unit is used to determine the satisfaction relationship between the cache information of the vehicle and the steering median generation condition according to the steering angle difference of the second component.
[0059] Among them, the ninth determination unit includes:
[0060] a fourth determination subunit, configured to determine that the cached information of the vehicle does not meet the steering median generation condition if the second component steering angle difference is greater than the second component steering angle difference threshold;
[0061] a fifth determining subunit, configured to determine a total amount of cached information of the vehicle if the second component steering angle difference is equal to or less than a second component steering angle difference threshold;
[0062] a sixth determining subunit, configured to obtain a third driving position of the vehicle from the driving state information of the vehicle if the total amount of the cached information of the vehicle is equal to a third total amount threshold;
[0063] The sixth determination subunit is further used to determine, based on the third driving position, whether the cache information of the vehicle satisfies the turning median generation condition.
[0064] On one hand, the present application provides a computer device, including: a processor, a memory, and a network interface;
[0065] The above-mentioned processor is connected to the above-mentioned memory and the above-mentioned network interface, wherein the above-mentioned network interface is used to provide a data communication function, the above-mentioned memory is used to store a computer program, and the above-mentioned processor is used to call the above-mentioned computer program so that the computer device executes the method in the embodiment of the present application.
[0066] On one hand, an embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored. The computer program is suitable for being loaded by a processor and executing the method in the embodiment of the present application.
[0067] On the one hand, an embodiment of the present application provides a computer program product, which includes a computer program stored in a computer-readable storage medium; a processor of a computer device reads the computer program from the computer-readable storage medium, and the processor executes the computer program, so that the computer device executes the method in the embodiment of the present application.
[0068] In an embodiment of the present application, a computer device obtains cache information of a vehicle, wherein the vehicle includes a steering assembly and a wheel controlled by the steering assembly, and the cache information of the vehicle includes driving state information of the vehicle and a component steering angle of the steering assembly; if the cache information of the vehicle satisfies the steering median generation condition, the computer device can generate a driving path indicated by the driving state information of the vehicle, and then determine the turning radius of the driving path, wherein the turning radius is used to determine the wheel steering angle of the wheel; according to the component steering angle of the steering assembly and the wheel steering angle, the computer device can determine the steering median, wherein the steering median is used to characterize the steering angle difference between the steering assembly and the wheel (also known as the steering angle deviation), so the steering median can indicate the angle at which the steering assembly rotates when the vehicle is in the automatic driving mode. As can be seen from the above, the embodiment of the present application can generate the path traveled by the vehicle by using the cache information of the vehicle, that is, the embodiment of the present application does not limit the shape of the driving path, that is, the embodiment of the present application can be applied to driving paths of different shapes; in addition, through the turning radius of the driving path, the embodiment of the present application can realize automatic learning of the steering median, so the determination efficiency and accuracy of the steering median can be improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0069] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0070] Figure 1 It is a schematic diagram of a system architecture provided by an embodiment of the present application;
[0071] Figure 2 This is a flow diagram of a data processing method provided in an embodiment of the present application. Figure 1 ;
[0072] Figure 3 This is a data processing scenario provided by an embodiment of the present application. Figure 1 ;
[0073] Figure 4 This is a data processing scenario provided by an embodiment of the present application. Figure 2 ;
[0074] Figure 5 This is a data processing scenario provided by an embodiment of the present application. Figure 3 ;
[0075] Figure 6is a schematic diagram of a steering median self-learning system provided in an embodiment of the present application;
[0076] Figure 7 This is a flow diagram of a data processing method provided in an embodiment of the present application. Figure 2 ;
[0077] Figure 8 This is a data processing scenario provided by an embodiment of the present application. Figure 4 ;
[0078] Fig. 9 This is a flow diagram of a data processing method provided in an embodiment of the present application. Figure 3 ;
[0079] Fig.10 This is a schematic diagram of the structure of a data processing device provided in an embodiment of the present application. Figure 1 ;
[0080] Fig.11 It is a structural diagram of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0081] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0082] To facilitate understanding, the relevant concepts are first explained.
[0083] Intelligent Traffic System (ITS), also known as Intelligent Transportation System, effectively and comprehensively applies advanced science and technology (information technology, computer technology, data communication technology, sensor technology, electronic control technology, automatic control theory, operations research, artificial intelligence, etc.) to transportation, service control and vehicle manufacturing, strengthens the connection between vehicles, roads and users, and thus forms a comprehensive transportation system that ensures safety, improves efficiency, improves the environment and saves energy.
[0084] Global Navigation Satellite System (GNSS): The Global Navigation Satellite System, also known as the Global Navigation Satellite System, is an air-based radio navigation and positioning system that can provide users with all-weather 3D coordinates, speed and time information at any location on the Earth's surface or near-Earth space. Common global satellite navigation systems include the Global Positioning System (GPS), BeiDou Navigation Satellite System (BDS), GLONASS and Galileo Satellite Navigation System (GSNS). The first to appear was GPS (Global Positioning System), and the most technologically advanced system at this stage is also the GPS system. With the full service launch of BDS and GLONASS systems in recent years, the BDS system has developed faster and faster in the civilian field. Satellite navigation systems have been widely used in navigation, communications, personnel detection, consumer entertainment, mapping, timing, vehicle management, and automotive navigation and information services, and the general development trend is to provide high-precision services for real-time applications. In an embodiment of the present application, a global satellite navigation system may be used to determine the precise positioning of a vehicle.
[0085] Real-time kinematic carrier phase difference technology (RTK) requires two receivers for positioning, where the base station and the mobile station (i.e., rover) are both receivers that can receive satellite signals. There is also data transmission between the base station and the rover. The base station sends its own observation data to the rover, and the rover calculates the coordinates by difference between the base station's observation data, its own observation data, and satellite ephemeris data to achieve precise positioning. In the embodiment of the present application, RTK can be used to determine the precise positioning of a vehicle.
[0086] Artificial Intelligence (AI) is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results. In other words, artificial intelligence is a comprehensive technology in computer science that attempts to understand the essence of intelligence and produce a new intelligent machine that can respond in a similar way to human intelligence. Artificial intelligence is to study the design principles and implementation methods of various intelligent machines so that machines have the functions of perception, reasoning and decision-making. Artificial intelligence technology is a comprehensive discipline that covers a wide range of fields, including both hardware-level technology and software-level technology. The basic technologies of artificial intelligence generally include technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, big data processing technology, operation / interaction systems, and mechatronics. Artificial intelligence software technology mainly includes computer vision technology, speech processing technology, natural language processing technology, as well as machine learning / deep learning, autonomous driving, and smart transportation.
[0087] Computer vision technology (Computer Vision, CV) is a science that studies how to make machines "see". To put it more specifically, it refers to machine vision such as using cameras and computers to replace human eyes to identify and measure targets, and further perform graphic processing to make computer processing into images that are more suitable for human eye observation or transmission to instrument detection. As a scientific discipline, computer vision studies related theories and technologies, and attempts to establish an artificial intelligence system that can obtain information from images or multidimensional data. Computer vision technology generally includes image processing, image recognition, image semantic understanding, image retrieval, optical character recognition (Optical Character Recognition, OCR), video processing, video semantic understanding, video content / behavior recognition, three-dimensional object reconstruction, 3D technology, virtual reality, augmented reality, simultaneous positioning and mapping, automatic driving, smart transportation and other technologies, as well as common biometric recognition technologies such as face recognition and fingerprint recognition. In an embodiment of the present application, computer vision technology can be used to generate a driving path indicated by the driving status information of a vehicle.
[0088] The solution provided in the embodiments of the present application can be applied to the map field, traffic field and autonomous driving field. Please refer to the following embodiments for the specific implementation process.
[0089] See also Figure 1 , Figure 1 Schematic diagram of a system architecture provided by an embodiment of the present application. Figure 1As shown, the system may include a service server 100 and a terminal device cluster. The terminal device cluster may include: terminal device 200a, terminal device 200b, terminal device 200c, ..., terminal device 200n. It is understandable that the above system may include one or more terminal devices, and the present application does not limit the number of terminal devices.
[0090] There may be communication connections between the terminal device clusters, for example, there is a communication connection between the terminal device 200a and the terminal device 200b, and there is a communication connection between the terminal device 200a and the terminal device 200c. At the same time, any terminal device in the terminal device cluster may have a communication connection with the business server 100, for example, there is a communication connection between the terminal device 200a and the business server 100, wherein the above communication connection does not limit the connection method, and may be directly or indirectly connected by wired communication, directly or indirectly connected by wireless communication, or by other methods, and this application does not limit it here.
[0091] It should be understood that Figure 1 Each terminal device in the terminal device cluster shown in FIG. 1 may be installed with an application client. When the application client runs in each terminal device, it may be respectively connected to the above-mentioned Figure 1 The business server 100 shown performs data interaction, that is, the above-mentioned communication connection. Among them, the application client can be an application client with the function of loading the cache information of the vehicle, such as a video application, a social application, an instant messaging application, a navigation application, an electronic map application, a browser, etc. Among them, the application client can be an independent client, or it can be an embedded sub-client integrated in a certain client (for example, a social client and a travel client, etc.), which is not limited here. Taking the electronic map application as an example, the business server 100 can be a collection of multiple servers including a background server and a data processing server corresponding to the electronic map application. Therefore, each terminal device can transmit data with the business server 100 through the application client corresponding to the electronic map application. For example, each terminal device can upload the cache information of the vehicle to the business server 100 through the application client of the electronic map application, and then the business server 100 can determine the driving path of the vehicle based on the cache information of the vehicle, and return the driving section to the terminal device or upload it to the cloud server.
[0092] It is understandable that in the specific implementation of this application, related data such as user information (such as cache information of a vehicle) is involved. When the embodiments in this application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.
[0093] To facilitate subsequent understanding and description, the embodiments of the present application can be Figure 1 A terminal device is selected from the terminal device cluster shown as a mobile terminal, that is, a computer device that can be used on the move. For example, the terminal device 200a is used as a mobile terminal, which has a binding relationship with a vehicle. For example, the terminal device 200a is set in the vehicle and has the function of generating cache information of the vehicle. The terminal device 200a can be understood as a comprehensive information processing platform with a very rich communication method. For example, it can communicate through wireless operating networks such as the Global System for Mobile Communication (GSM) and 4G (fourth generation communication technology), and can also communicate through wireless local area networks (Wireless-Fidelity, WiFi), Bluetooth and infrared; in addition, the terminal device 200a can be integrated with a global satellite navigation system positioning chip, which can be used to process satellite signals and accurately locate the terminal device 200a.
[0094] When the cached information of the vehicle is obtained and the instruction to determine the steering median is obtained, the terminal device 200a can send the cached information of the vehicle to the business server 100. Among them, the vehicle includes a steering component and a wheel controlled by the steering component; the embodiment of the present application does not limit the form of the vehicle, and may include bicycles, buses, private cars and taxis, etc., as long as they have a steering component and a wheel. The steering component refers to a device with a steering execution function in the vehicle, which can also be called a steering machine. In a vehicle such as an automobile, the appearance device of the steering component can be a steering wheel. The wheel is the steering wheel of the vehicle, and the steering angle is controlled by the steering component. In addition, the vehicle in the embodiment of the present application has an automatic driving mode, that is, automatic driving can be realized. The cached information of the vehicle includes the driving state information of the vehicle and the component steering angle of the steering component. The driving state information of the vehicle includes the state information collected by the vehicle during driving, which may specifically include the driving speed and driving position; the component steering angle of the steering component is the abbreviation of the angle rotated by the steering component.
[0095] Further, the service server 100 receives the cache information of the vehicle sent by the terminal device 200a, processes and determines the cache information of the vehicle, and determines the satisfied relationship between the cache information of the vehicle and the steering median generation condition. The steering median generation condition refers to the condition for generating the steering median, and the steering median refers to the steering angle difference between the steering component and the wheel, that is, the steering angle deviation. The determination of the satisfied relationship between the cache information of the vehicle and the steering median generation condition is not described here, please refer to the following Figure 7 as well as Fig. 9 Descriptions in the corresponding embodiments respectively. If the cached information of the vehicle meets the steering median generation condition, the business server 100 can generate the driving path indicated by the driving status information of the vehicle, so the turning radius of the driving path can be determined, wherein the turning radius is used to determine the wheel steering angle of the wheel; further, according to the component steering angle of the steering component and the wheel steering angle, the business server 100 can determine the steering median. The above process is the process of the vehicle learning the steering median. During this learning process, the vehicle can be in manual driving mode or in automatic driving mode, and the cached information of the vehicle can be obtained. Furthermore, when the vehicle is in automatic driving mode, the business server 100 can determine the angle used to instruct the steering component to rotate based on the steering median. In order to distinguish, the angle at which the steering component rotates in the automatic driving mode is called the component predicted steering angle.
[0096] Subsequently, the business server 100 may send the component predicted steering angle to the terminal device 200a. After receiving the component predicted steering angle sent by the business server 100, the terminal device 200a may display the component predicted steering angle on its corresponding screen. Furthermore, the terminal device 200a may instruct the steering component to rotate through the component predicted steering angle. The rotation of the steering component may drive the wheels of the vehicle to rotate. For the purpose of distinction, the angle of rotation of the wheels in the automatic driving mode is referred to as the wheel predicted steering angle.
[0097] Optionally, the business server 100 may send the steering median value to the terminal device 200a. After receiving the steering median value sent by the business server 100, the terminal device 200a may display the steering median value on its corresponding screen. Further, the terminal device 200a may use the steering median value to instruct the steering component to rotate when the vehicle is in the automatic driving mode. The subsequent process is the same as the above process, so it will not be repeated.
[0098] Optionally, if the terminal device 200a stores the turning median generation condition locally, then after obtaining the cache information of the vehicle, the satisfaction relationship between the cache information of the vehicle and the turning median generation condition can be determined locally. When the cache information of the vehicle satisfies the turning median generation condition, the terminal device 200a can generate the driving path indicated by the driving status information of the vehicle, and then determine the turning radius of the driving path. It can be understood that the subsequent processing process is the same as the process processed by the business server 100, so it will not be repeated.
[0099] The embodiment of the present application proposes a method for self-learning the steering median for an autonomous driving vehicle. The method utilizes the high-precision positioning function of the autonomous driving vehicle to determine the driving status information of the vehicle without adding other equipment. It can automatically identify the working conditions that meet the steering median self-learning requirements and has no special requirements for the environment and the driver. It effectively solves the problem that the steering median is difficult to determine, and the solution has low cost and high reliability.
[0100] It should be noted that the above-mentioned business server 100, terminal device 200a, terminal device 200b, terminal device 200c..., terminal device 200n can all be blockchain nodes in the blockchain network, and the data described in the full text (such as the cache information of the vehicle and the median turning value) can be stored. The storage method can be that the blockchain node generates blocks according to the data and adds the blocks to the blockchain for storage.
[0101] Blockchain is a new application mode of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanism and encryption algorithm. It is mainly used to organize data in chronological order and encrypt it into a ledger to make it impossible to be tampered with or forged. At the same time, it can verify, store and update data. Blockchain is essentially a decentralized database. Each node in the database stores the same blockchain. The blockchain network can divide nodes into core nodes, data nodes and light nodes. Core nodes, data nodes and light nodes together constitute blockchain nodes. Among them, the core node is responsible for the consensus of the entire blockchain network, that is, the core node is the consensus node in the blockchain network. The process of writing transaction data in the blockchain network into the ledger can be that the data node or light node in the blockchain network obtains the transaction data, and transmits the transaction data in the blockchain network (that is, the node transmits it in the form of a baton) until the consensus node receives the transaction data, and the consensus node then packs the transaction data into a block, executes consensus on the block, and writes the transaction data into the ledger after the consensus is completed. Here, the transaction data of the cache information and the median turning value of the vehicle are taken as examples. After reaching a consensus on the transaction data, the business server 100 (blockchain node) generates a block based on the transaction data and stores the block in the blockchain network; and for reading the transaction data (i.e., the cache information and the median turning value of the vehicle), the blockchain node can obtain the block containing the transaction data in the blockchain network, and further obtain the transaction data in the block.
[0102] It is understandable that the method provided in the embodiments of the present application can be executed by a computer device, which includes but is not limited to a terminal device or a business server. Among them, the business server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud databases, cloud services, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. Terminal devices include but are not limited to mobile phones, computers, intelligent voice interaction devices, smart home appliances, vehicle-mounted terminals, aircraft, etc. Among them, the terminal device and the business server can be directly or indirectly connected by wire or wireless means, and the embodiments of the present application are not limited here.
[0103] The above system architecture can be applied to scenarios such as autonomous driving, operational vehicle management, and driving trajectory tracing. Specific business scenarios will not be listed one by one here.
[0104] For further information, see Figure 2 , Figure 2 This is a flow diagram of a data processing method provided in an embodiment of the present application. Figure 1 The embodiments of the present application can be applied to various scenarios, including but not limited to cloud technology, artificial intelligence, smart transportation, assisted driving, automatic driving, etc. The data processing method can be performed by a business server (for example, the above Figure 1 The service server 100 shown in the figure may also be executed by a terminal device (for example, the above Figure 1 The terminal device 200a) shown in the figure can also be executed by the service server and the terminal device interactively. For ease of understanding, the embodiment of the present application takes the method executed by the terminal device as an example for explanation. Figure 2 As shown, the data processing method may at least include the following steps S101 to S103.
[0105] Step S101, obtaining cache information of a vehicle; the vehicle includes a steering assembly and wheels controlled by the steering assembly; the cache information of the vehicle includes driving state information of the vehicle and a steering angle of the steering assembly.
[0106] Specifically, if the current moment meets the information collection cycle, the first information of the vehicle at the current moment is collected; if there is second information, the total amount of the second information is compared with the first total amount threshold; the second information is the information collected for the vehicle in the first historical time period; the first historical time period is earlier than the current moment, and the duration from the latest information collection moment in the first historical time period to the current moment is the same as the information collection cycle; if the total amount of the second information is equal to the first total amount threshold, the earliest information in the second information is filtered, and the first information and the filtered second information are determined as the cached information of the vehicle; the second information meets the turning median generation condition; the earliest information in the second information refers to the information corresponding to the earliest information collection moment in the first historical time period; the earliest information collection moment is earlier than or equal to the latest information collection moment; if the total amount of the second information is less than the first total amount threshold, the second information and the first information are determined as the cached information of the vehicle.
[0107] The vehicles in the embodiments of the present application can realize automatic driving, that is, have an automatic driving mode, so the vehicles can also be called automatic driving vehicles, such as automatic driving cars, automatic driving electric vehicles, etc. It is understandable that if the vehicle wants to realize automatic driving, the vehicle has a high-precision positioning function. For example, the terminal device is a device with a high-precision positioning function when moving, which is placed in the vehicle. In addition, the vehicle in the examples of the present application can also be a simulated vehicle in a driving simulation system.
[0108] The process of the terminal device learning the median turning value of the vehicle can be when the vehicle is in manual driving mode or when the vehicle is in automatic driving mode, which is not limited in the embodiments of the present application.
[0109] As can be seen from the above, the data processing process in this application is the process of learning the steering median of the vehicle, so it is necessary to collect the driving state information of the vehicle and the steering angle of the steering component. Figure 3 , Figure 3 This is a data processing scenario provided by an embodiment of the present application. Figure 1 .like Figure 3 As shown, the vehicle 30a has a binding relationship with the terminal device 301a. The terminal device 301a is a device that can collect and process data when the vehicle 30a is driving. The vehicle 30a has a steering component 302a and a wheel 303a, wherein: Figure 3The steering component 302a is exemplified as a steering wheel. For ease of understanding and description, the information collection cycle is exemplified as 1 second in the embodiment of the present application, that is, the driving state information of the vehicle 30a and the component steering angle of the steering component 302a are collected every 1 second. It is understandable that the information collection cycle can be adjusted according to the needs of the actual application scenario, for example, adjusted to 0.5 seconds, 2 seconds, 5 seconds, etc., and the embodiment of the present application does not limit the value of the information collection cycle.
[0110] Assume that the current time is 9:10:06 and the current time meets the information collection cycle, such as Figure 3 As shown, the terminal device 301a can collect the first information of the vehicle 30a at 9:10:06, that is, Figure 3 The information 306b shown in the example may include the driving status information of the vehicle 30a at 9:10:06, such as Figure 3 The driving speed 6 and the driving position 6 shown in the example, and the component steering angle of the steering component 302a at 9:10:06, as shown in FIG. Figure 3 The components shown in the example are turned at an angle of 6.
[0111] If the second information (which can be understood as historical information) does not exist, the terminal device 301a will send the first information (for example Figure 3 The information in 306a) is determined as cache information, that is, the cached information only has the first information. If there is second information, such as Figure 4 In the example, the terminal device collects information 305b for the vehicle 30a at 9:10:05. The information 305b belongs to the second information 30c, which includes the driving position 5 and the driving speed 5 of the vehicle 30a at 9:10:05, and the component steering angle 5 of the steering component 302a at 9:10:05. It can be understood that 9:10:05 is different from the current time (i.e. Figure 3 9:10:06 in the above figure) and the information collection period (i.e. Figure 3 The same as 1 second in the example shown in .
[0112] Figure 3 The example second information 30c includes information 301b of the vehicle 30a at 9:10:01, information 302b of the vehicle 30a at 9:10:02, information 303b of the vehicle 30a at 9:10:03, information 304b of the vehicle 30a at 9:10:04, and information 305b of the vehicle 30a at 9:10:05. It can be understood that the specific meanings of information 301b, information 302b, information 303b and information 304b are the same as the meaning of information 305b, so they are not repeated here. As can be seen from the above, Figure 3The total number of the second information 30c is 5, and the first historical time period is 9:10:01-9:10:05.
[0113] Further, the terminal device 301a compares the total quantity of the second information 30c with the first total quantity threshold. Among them, the first total quantity threshold is an adjustable value, which can be adjusted according to the needs of the actual application scenario, such as 2 / 5 / 8, etc. The embodiment of the present application does not limit the value of the first total quantity threshold. If the total quantity of the second information 30c is equal to the first total quantity threshold, for example, the first total quantity threshold is 5, then since the earliest information collection time in the first historical time period is 9:10:01, the terminal device 301a can determine the information 301b in the second information 30c as the earliest information. At this time, the terminal device 301a filters the earliest information (i.e., information 301b), that is, deletes information 301b, and the first information (i.e., Figure 3 The information 306b in the figure and the filtered second information are determined as the cache information of the vehicle 30a, such as Figure 3 When the total amount of the second information is equal to the first total amount threshold, the second information meets the condition for turning to the median generation. The specific content of the condition for turning to the median generation is not explained here. Please refer to the following Figure 7 as well as Fig. 9 The descriptions in the corresponding embodiments respectively.
[0114] Please see again Figure 3 , if the total number of the second information 30c is less than the first total number threshold, for example, the first total number threshold is 8, the terminal device 301a sends the second information 30c and the first information (i.e. Figure 3 The information 306b in the figure is determined to be the cache information of the vehicle 30a, such as Figure 3 Cache information 30e in.
[0115] This step describes collecting information on the vehicle according to the information collection cycle to obtain cached information. Obviously, the embodiment of the present application does not limit the shape of the path taken by the vehicle, and it can be any path shape, such as a straight line, a curve, or a combination of a straight line and a curve. Since the path shape is not limited, the requirements for the path environment can be reduced, and when the vehicle is in manual driving mode, the driving requirements of the driver can be reduced. Since the vehicle has an automatic driving mode, that is, it has the function of high-precision positioning, the cached information is highly reliable, and since the vehicle does not need to add other equipment, the data collection cost can be low.
[0116] Step S102, if the cached information of the vehicle meets the turning median generation condition, then generate a driving path indicated by the driving state information of the vehicle, and determine the turning radius of the driving path; the turning radius is used to determine the wheel steering angle of the wheel.
[0117] Specifically, from the driving status information of the vehicle, a first driving position of the vehicle is obtained; the two-dimensional position information of the first driving position in the two-dimensional coordinate system is determined, and the driving path of the vehicle is generated through the two-dimensional position information; the driving path is subjected to second-order derivative processing to obtain the trajectory curvature, and the inverse of the trajectory curvature is determined as the turning radius of the driving path; the wheelbase of the vehicle is obtained, and the steering angle of the wheel is determined according to the wheelbase and the turning radius.
[0118] The present embodiment of the application does not describe the determination of the satisfied relationship between the cache information of the vehicle and the turning median generation condition. This step sets the cache relationship of the vehicle to satisfy the turning median generation condition. Figure 3 as well as Figure 4 , Figure 4 This is a data processing scenario provided by an embodiment of the present application. Figure 2 .like Figure 4 As shown, the terminal device determines that the cached information 30d satisfies the turning median generation condition, so the first driving position of the vehicle can be obtained from the cached information 30d, specifically, the driving position 2 is obtained from the information 302b of the vehicle at 9:10:02, the driving position 3 is obtained from the information 303b of the vehicle at 9:10:03, the driving position 4 is obtained from the information 304b of the vehicle at 9:10:04, the driving position 5 is obtained from the information 305b of the vehicle at 9:10:05, and the driving position 6 is obtained from the information 306b of the vehicle at 9:10:06, so it can be obtained Figure 4 The first driving position 30f includes 5 driving positions.
[0119] Furthermore, the terminal device obtains the two-dimensional position information of the above five driving positions in the two-dimensional coordinate system respectively. Figure 4 Taking the XY coordinate system as an example of a two-dimensional coordinate system, the terminal device can generate two-dimensional position information (x2, y2) for driving position 2, two-dimensional position information (x3, y3) for driving position 3, two-dimensional position information (x4, y4) for driving position 4, two-dimensional position information (x5, y5) for driving position 5, and two-dimensional position information (x6, y6) for driving position 6, so we can get Figure 4 Further, the terminal device may obtain a quadratic polynomial, as shown in the following formula (1).
[0120] y = a*x 2 + b*x + c (1)
[0121] In formula (1), a, b, and c are parameters to be determined, and x and y both represent two-dimensional position information. Figure 4 Substituting the two-dimensional position information 30g into formula (1), the parameters a, b, and c can be determined. The above process can be understood as fitting a smooth driving path through two-dimensional position information and a quadratic polynomial. Since the position information output by positioning may have errors, smoothing processing is required to remove the errors.
[0122] Please see again Figure 4 , the two-dimensional position information (x2, y2) can be converted into a position point 302h on the XY coordinate system, the two-dimensional position information (x3, y3) can be converted into a position point 303h on the XY coordinate system, the two-dimensional position information (x4, y4) can be converted into a position point 304h on the XY coordinate system, the two-dimensional position information (x5, y5) can be converted into a position point 305h on the XY coordinate system, and the two-dimensional position information (x6, y6) can be converted into a position point 306h on the XY coordinate system, and a driving path 30h (i.e., a dotted line in the XY coordinate system) including five position points is generated. Among them, Figure 4 Taking a car as an example of a vehicle, the wheel 301i and the wheel 302i represent the two front wheels of the vehicle, and the wheel 303i and the wheel 304i represent the two rear wheels of the vehicle.
[0123] Furthermore, after obtaining the parameters a, b, and c, the terminal device can perform a second-order derivative process on formula (1), so the trajectory curvature of the vehicle's driving path can be obtained, that is, 2*a. The terminal device performs a reciprocal process on the trajectory curvature to obtain the turning radius of the driving path. When the vehicle is traveling at a low speed, the lateral Ackerman steering model of the vehicle can be simplified to a two-degree-of-freedom bicycle steering kinematic model, as shown in formula (2).
[0124] R = L / tan(Φ) (2)
[0125] Wherein, R in formula (2) represents the turning radius, L represents the wheelbase of the vehicle, which is a fixed value, and Φ is the steering angle of the wheel (referred to as the wheel steering angle).
[0126] From the above, it can be seen that when the cached information of the vehicle meets the turning median generation condition, the terminal device can generate the driving path of the vehicle according to the driving position of the vehicle, and determine the wheel steering angle by determining the turning radius of the driving path.
[0127] Step S103, determining a steering median value based on the steering angle of the steering assembly and the steering angle of the wheel; the steering median value is used to characterize the steering angle difference between the steering assembly and the wheel; the steering median value is used to indicate the angle of rotation of the steering assembly when the vehicle is in the automatic driving mode.
[0128] Specifically, the total number of component steering angles of the steering component is at least two; the at least two component steering angles are averaged to obtain a first average component steering angle; the steering coefficient of the wheel is obtained, and the wheel steering angle is weighted according to the steering coefficient to obtain a weighted wheel steering angle; the steering angle difference between the first average component steering angle and the weighted wheel steering angle is determined as the steering median.
[0129] Please combine Figure 3-Figure 5 understand, Figure 5 This is a data processing scenario provided by an embodiment of the present application. Figure 3 .like Figure 5 As shown, the cache information 30d of the vehicle meets the steering median generation condition, so the terminal device can obtain the component steering angle of the steering component in the cache information 30d, such as Figure 5 The component steering angle 30j in the example is specifically obtained from the information 302b of the vehicle at 9:10:02 ( Figure 5 Taking 25° as an example), the component steering angle is obtained from the information 303b of the vehicle at 9:10:03 ( Figure 5 Taking 28° as an example), the component steering angle is obtained from the information 304b of the vehicle at 9:10:04 ( Figure 5 Taking 29° as an example), the component steering angle is obtained from the information 305b of the vehicle at 9:10:05 ( Figure 5 Taking 35° as an example), the component steering angle is obtained from the information 306b of the vehicle at 9:10:06 ( Figure 5 Take 36° as an example).
[0130] Furthermore, the terminal device performs mean processing on the steering angles of the above five components, such as Figure 5 As shown, the first mean component steering angle 30k can be obtained, that is, Figure 5 The terminal device obtains the steering coefficient between the steering component and the wheel, and performs weighted processing on the wheel steering angle generated in step S102 by the steering coefficient to obtain the weighted wheel steering angle; further, the terminal device determines the steering angle difference between the first mean component steering angle and the weighted wheel steering angle as the steering median. The above process can be expressed by the following formula (3).
[0131] θ0 = θ - γ* Φ (3)
[0132] Wherein, Φ in formula (3) represents the wheel steering angle, γ represents the steering coefficient, θ represents the first mean component steering angle, and θ0 represents the steering median.
[0133] In order to achieve the above process, the embodiment of the present application proposes a steering median self-learning system, which is used to automatically complete the steering median self-learning function during the driving process of the autonomous driving vehicle, and is used for the autonomous driving domain controller to more accurately control the driving of the vehicle. Please refer to Figure 6 , Figure 6 Schematic diagram of the steering median self-learning system provided in the embodiment of the present application. Figure 6 As shown, the steering median self-learning system may include: an Electric Power Steering (EPS) module 60a, and an autonomous driving domain controller 60b. Among them, the electric power steering module 60a is equivalent to the above-mentioned steering component, and the autonomous driving domain controller 60b can be equivalent to the above-mentioned terminal device. The electric power steering module 60a can be connected to the autonomous driving domain controller 60b through the controller area network (CAN), and send the component steering angle, such as steering wheel angle information, to the autonomous driving domain controller 60b; the autonomous driving domain controller 60b carries the autonomous driving perception module, positioning module 601b, decision planning module, control module, steering median self-learning module 602b and other functional modules, among which the perception module, decision planning module, control module and other modules are not within the scope of this application, so Figure 6 The positioning module 601b has a high-precision positioning function and provides high-precision driving status information to other modules, mainly information such as driving position and driving speed. The steering median self-learning module 602b receives the component steering angle provided by the electric power steering module 60a and the position speed information provided by the positioning module 601b, realizes the steering median self-learning function, and outputs the steering median.
[0134] After learning the steering median value, if the vehicle is in the automatic driving mode, the automatic driving domain controller 60b can determine the predicted driving path of the vehicle based on the decision-making planning module, and then determine the predicted steering angle of the wheel. Combined with the predicted steering angle and the learned steering median value, the predicted steering angle of the steering component can be determined, so the steering component can be controlled to rotate, thereby controlling the rotation of the wheel.
[0135] In summary, the embodiments of the present application can use the positioning information output by the positioning module of the autonomous driving vehicle to fit a smooth driving path, and then estimate the turning radius of the driving path and the steering wheel angle (i.e., the component steering angle); in addition, the embodiments of the present application can automatically identify the working conditions that meet the steering median self-learning, have no special requirements for the road environment and the driver, and have low system cost and high reliability.
[0136] The scenario described above is that the cached information of the vehicle meets the turning median generation condition. If the cached information of the vehicle does not meet the turning median generation condition, the terminal device can delete the cached information of the vehicle. Figure 3 , assuming that the cached information 30d does not meet the conditions for turning to the median generation, the terminal device can delete the cached information 30d, and then, according to the information collection cycle (such as Figure 3 1 second as shown in the example), re-collect information for the vehicle, for example, collect the fourth information of the vehicle at 9:10:07. It can be understood that the meaning of the fourth information is the same as the meaning of the first information, that is, it includes the driving state information of the vehicle at 9:10:07 and the wheel steering angle of the wheel at 9:10:07. The subsequent process is the same as the embodiment of the present application and the following Figure 7 as well as Fig. 9 The descriptions in the corresponding embodiments are the same and will not be repeated here.
[0137] In an embodiment of the present application, a computer device obtains cache information of a vehicle, wherein the vehicle includes a steering assembly and a wheel controlled by the steering assembly, and the cache information of the vehicle includes driving state information of the vehicle and a component steering angle of the steering assembly; if the cache information of the vehicle satisfies the steering median generation condition, the computer device can generate a driving path indicated by the driving state information of the vehicle, and then determine the turning radius of the driving path, wherein the turning radius is used to determine the wheel steering angle of the wheel; according to the component steering angle of the steering assembly and the wheel steering angle, the computer device can determine the steering median, wherein the steering median is used to characterize the steering angle difference between the steering assembly and the wheel (also known as the steering angle deviation), so the steering median can indicate the angle at which the steering assembly rotates when the vehicle is in the automatic driving mode. As can be seen from the above, the embodiment of the present application can generate the path traveled by the vehicle by using the cache information of the vehicle, that is, the embodiment of the present application does not limit the shape of the driving path, that is, the embodiment of the present application can be applied to driving paths of different shapes; in addition, through the turning radius of the driving path, the embodiment of the present application can realize automatic learning of the steering median, so the determination efficiency and accuracy of the steering median can be improved.
[0138] See also Figure 7 , Figure 7This is a flow diagram of a data processing method provided in an embodiment of the present application. Figure 2 The method may be performed by a business server (eg, Figure 1 The service server 100 shown in the figure may also be executed by a terminal device (for example, the above Figure 1 The terminal device 200a) shown in the figure can also be executed by the service server and the terminal device interactively. For ease of understanding, the embodiment of the present application takes the method executed by the terminal device as an example for explanation. Figure 7 As shown, the method may include at least the following steps.
[0139] Step S201, obtaining cache information of a vehicle; the vehicle includes a steering component and a wheel controlled by the steering component; the cache information of the vehicle includes driving state information of the vehicle and a component steering angle of the steering component; the total amount of cache information of the vehicle is M, each cache information includes a driving state information and a component steering angle, and M is a positive integer.
[0140] Specifically, the terminal device can receive the component steering angle and the driving status information of the vehicle in real time, and can cache the component steering angle and the driving status information of the vehicle within a certain time threshold range in the past, and the combination of the two can generate cache information. The embodiment of the present application does not limit the amount of cache information stored in the terminal device. It can be understood that each cache information includes a driving status information and a component steering angle, as described above. Figure 4 As shown Figure 5 shown.
[0141] Step S202: if M is equal to the second total number threshold, then obtain cache information A from the cache information of the vehicle. b ; b is a positive integer, and b is less than or equal to M.
[0142] Specifically, the embodiment of the present application first determines the total amount M of cached information. If M is less than the second total amount threshold, the terminal device does not execute the subsequent process. At this time, it continues to collect real-time information of the vehicle according to the information collection cycle until the total amount of cached information is equal to the second total amount threshold. The second total amount threshold is equal to or greater than 2, and the second total amount threshold is greater than the above Figure 2 The first total quantity threshold in step S101 in the corresponding embodiment, and the difference between the second total quantity threshold and the first total quantity threshold is 1.
[0143] Please see again Figure 3, since the cache information 30d is generated in the scenario of deleting the information 301b (at this time, the second information 30c is equal to the first total number threshold), the total number of cache information 30d is equal to the second total number threshold. Looking at the cache information 30e, since the second information 30c (which can be understood as historical information) is less than the first total number threshold, it means that the cache information 30e (including the second information 30c and the first information (i.e. Figure 3 The total number M of the information 306b) in the cache may be less than the second total number threshold. If M is less than the second total number threshold, the terminal device does not judge and process the cache information 30e, and continues to collect real-time information of the transportation tool according to the information collection cycle. The total number M of the cache information 30e may also be equal to the second total number threshold. If M is equal to the second total number threshold, the terminal device obtains the cache information A in the cache information 30e according to the order of information collection time. b .
[0144] Step S203, in the cache information A b , obtain driving status information D b ; Driving status information D b Includes the first travel speed.
[0145] For details, please refer to Figure 3 ,by Figure 3 The cache information 30d in is described as an example, that is, M is equal to 5. The terminal device obtains 5 cache information in order according to the information collection time in the cache information 30d, that is, Figure 3 The information 302b, information 303b, information 304b, information 305b and information 306b shown in the example are understood to be cache information A. b It can be any information in the cache information 30d, such as information 302b or information 304b. Further, the terminal device obtains the driving state information of the vehicle in the information 302b, obtains the driving speed in the driving state information in the information 302b, and names the obtained driving speed as the first driving speed. It can be understood that the driving state information D b The first driving speed may be any driving state information in the cached information 30d, such as the driving state information in the information 302b or the driving state information in the information 305b. The first driving speed may be any driving speed in the cached information 30d, such as the driving speed in the information 303b or the driving speed in the information 306b.
[0146] It can be understood that the processing of the information 303b, information 304b, information 305b and information 306b by the terminal device is the same as the processing of information 302b, that is, the driving speed of the vehicle at 9:10:03 is obtained in information 303b, the driving speed of the vehicle at 9:10:04 is obtained in information 304b, the driving speed of the vehicle at 9:10:05 is obtained in information 305b, and the driving speed of the vehicle at 9:10:06 is obtained in information 306b. In summary, the terminal device can obtain five first driving speeds.
[0147] Step S204: If the first driving speed is greater than the driving speed threshold, it is determined that the cache information of the vehicle does not meet the turning median generation condition.
[0148] Step S205: If the first driving speed is equal to or less than the driving speed threshold, then in the cache information A b , obtaining a first component steering angle of the steering component.
[0149] Specifically, the description is combined with step S204 and step S205. Figure 3 , taking cached information 30d as an example, through step S203, the terminal device can obtain 5 first driving speeds, and compare the first driving speed in information 302b with the driving speed threshold in the order of information collection time to obtain comparison result 1. If comparison result 1 indicates that the first driving speed in information 302b is greater than the driving speed threshold, the terminal device can determine that cached information 30d does not meet the turning median generation condition; if comparison result 1 indicates that the first driving speed in 302b is equal to or greater than the driving speed threshold, the first driving speed in information 303b is compared with the driving speed threshold to obtain comparison result 2. Similarly, if comparison result 2 indicates that the first driving speed in information 303b is greater than the driving speed threshold, the terminal device can determine that cached information 30d does not meet the turning median generation condition; if comparison result 2 indicates that the first driving speed in information 303b is equal to or greater than the driving speed threshold, the terminal device compares the first driving speed in information 304b with the driving speed threshold to obtain comparison result 3. The subsequent process is similar to the above process, that is, when the five first driving speeds are all less than or equal to the driving speed threshold, the terminal device executes the cache information A b In the step of obtaining the steering angle of the first component of the steering component, if there is a first driving speed (the first driving speed is obtained in sequence and compared with the driving speed threshold in sequence) greater than the driving speed threshold, the terminal device determines that the cached information 30d does not meet the steering median generation condition.
[0150] Among them, the driving speed threshold is an adjustable parameter, and the specific value should be determined according to the actual application scenario. However, the driving speed threshold should not be too large, because when the driving speed is too high, the wheel is prone to produce a sideslip angle, which will increase the error with the two-degree-of-freedom bicycle steering kinematic model, and then increase the learning deviation of the steering median.
[0151] Please combine Figure 3 as well as Figure 8 Understand, among them, Figure 8 This is a data processing scenario provided by an embodiment of the present application. Figure 4 Still taking cache information 30d as an example, when the five first driving speeds are all less than or equal to the driving speed threshold, the terminal device sequentially obtains the first component steering angle of the steering component in the cache information 30d according to the order of information collection time, such as Figure 8 As shown, the component steering angle of the steering component is obtained in the information 302b, and the obtained component steering angle is named as the first component steering angle, such as Figure 8 Similarly, the terminal device obtains the component steering angle of the steering component in information 303b, such as Figure 8 28° as shown in the example; obtaining the component steering angle of the steering component in the information 304b, such as Figure 8 29° as shown in the example; obtaining the component steering angle of the steering component in the information 305b, such as Figure 8 35° as shown in the example; obtaining the component steering angle of the steering component in information 306b, such as Figure 8 In summary, the terminal device can obtain 5 first component steering angles in the cache information 30d.
[0152] Step S206, determining the satisfying relationship between the buffer information of the vehicle and the turning median generation condition according to the turning angle of the first component.
[0153] Specifically, the steering median generation condition includes an initial generation condition; performing mean processing on the component steering angles of the steering component to obtain a second mean component steering angle; determining a first component steering angle difference between the first component steering angle and the second mean component steering angle; if the first component steering angle difference is greater than the first component steering angle difference threshold, determining that the cached information of the vehicle does not meet the steering median generation condition; if the first component steering angle difference is equal to or less than the first component steering angle difference threshold, determining that the cached information A b The initial generation condition is met; if the M cache information all meet the initial generation condition, a second driving position of the vehicle is obtained from the driving state information of the vehicle; and according to the second driving position, a satisfying relationship between the cache information of the vehicle and the turning median generation condition is determined.
[0154] Among them, the specific process of determining the satisfaction relationship between the vehicle's cache information and the turning median generation condition based on the second driving position may include: determining the vehicle's driving distance based on the second driving position, and comparing the driving distance with the distance threshold; if the driving distance is less than the distance threshold, determining that the vehicle's cache information does not satisfy the turning median generation condition; if the driving distance is equal to or greater than the distance threshold, determining that the vehicle's cache information satisfies the turning median generation condition.
[0155] Please see again Figure 8 , taking cache information 30d as an example, through step S205, the terminal device can obtain 5 first component steering angles, such as Figure 8 The first component steering angle 80a is shown in the example. Further, the terminal device averages the above five first component steering angles to obtain a second average component steering angle 80b, such as Figure 8 According to the order of information collection time, the terminal device determines the first component steering angle in information 302b (i.e. Figure 8 25° in the figure), and the first component steering angle difference between the second mean component steering angle 80b. It should be noted that the first component steering angle difference described here does not have a positive or negative sign, that is, it does not distinguish between the subtrahend and the minuend, so it can be obtained Figure 8 The terminal device turns the first component corresponding to information 302b to the angle difference (ie Figure 8 5.6° in the information 302b) is compared with the first component steering angle difference threshold to obtain comparison result 11. If comparison result 11 indicates that the first component steering angle difference corresponding to information 302b is greater than the first component steering angle difference threshold, it is determined that cached information 30d does not meet the steering median generation condition. If comparison result 11 indicates that the first component steering angle difference corresponding to 302b is less than or equal to the first component steering angle difference threshold, the terminal device determines the first component steering angle in information 303b (i.e. Figure 8 28° in the figure), and the first component steering angle difference between the second mean component steering angle 80b. Similarly, the first component steering angle difference described here does not have a positive or negative sign, so it can be obtained Figure 8 Further, the first component steering angle difference corresponding to information 303b (ie Figure 82.6° in the information 304b) is compared with the first component steering angle difference threshold to obtain comparison result 12. If comparison result 12 indicates that the first component steering angle difference corresponding to information 303b is greater than the first component steering angle difference threshold, it is determined that cached information 30d does not meet the steering median generation condition. If comparison result 12 indicates that the first component steering angle difference corresponding to 303b is less than or equal to the first component steering angle difference threshold, the terminal device determines the first component steering angle in information 304b (i.e. Figure 8 29° in the figure, and the first component steering angle difference between the second mean component steering angle 80b. Similarly, the first component steering angle difference described here does not have a positive or negative sign, so it can be obtained Figure 8 Further, the first component steering angle difference corresponding to information 304b (ie Figure 8 1.6° in the figure) is compared with the first component steering angle difference threshold to obtain comparison result 13. The subsequent process is similar to the above process, that is, when 5 first component steering angle differences (including the first component steering angle difference corresponding to information 305b, i.e. 4.4°, and the first component steering angle difference corresponding to own information 306b, i.e. 5.4°) are all less than or equal to the first component steering angle difference threshold, the step of obtaining the second driving position of the vehicle in the driving state information of the vehicle is performed, and if there is a first component steering angle difference (the first component steering angle difference is obtained in sequence and compared with the first component steering angle difference threshold in sequence) that is greater than the first component steering angle difference threshold, the terminal device determines that the cached information 30d does not meet the steering median generation condition.
[0156] Among them, the steering angle difference threshold of the first component is an adjustable parameter, and the specific value should be determined according to the actual application scenario. However, the steering angle difference threshold of the first component should not be too large. Because when the component steering angle is too large, the wheel is prone to produce a sideslip angle, which will increase the error with the two-degree-of-freedom bicycle steering kinematic model, and then increase the learning deviation of the steering median.
[0157] The initial generation condition means that the first driving speed in the cache information is less than or equal to the driving speed threshold, and the first component steering angle difference in the cache information is less than or equal to the first component steering angle difference threshold.
[0158] If all M cache information meets the initial generation conditions, such as Figure 8As shown, at this time, M=5, the terminal device obtains the second driving position of the vehicle in the cache information 30d, specifically, the second driving position of the vehicle at 9:10:02 is obtained in the information 302b, the second driving position of the vehicle at 9:10:03 is obtained in the information 303b, the second driving position of the vehicle at 9:10:04 is obtained in the information 304b, and the second driving position of the vehicle at 9:10:05 is obtained in the information 305b, so 5 second driving positions can be obtained. According to the 5 second driving positions, the terminal device can determine the driving distance of the vehicle, and compare the driving distance with the distance threshold; if the driving distance is less than the distance threshold, it is determined that the cache information 30d does not meet the turning median generation condition; if the driving distance is equal to or greater than the distance threshold, it is determined that the cache information 30d meets the turning median generation condition.
[0159] Among them, the distance threshold is an adjustable parameter, and the specific value should be determined according to the actual application scenario. However, the distance threshold should not be too small. If the distance threshold is too small, the driving path obtained by curve fitting will be greatly affected by noise, which will lead to inaccurate steering median learning.
[0160] Step S207, if the cached information of the vehicle meets the turning median generation condition, then generate the driving path indicated by the driving state information of the vehicle, and determine the turning radius of the driving path; the turning radius is used to determine the wheel steering angle of the wheel.
[0161] Step S208, determining a steering median value based on the steering angle of the steering component and the steering angle of the wheel; the steering median value is used to characterize the steering angle difference between the steering component and the wheel; the steering median value is used to indicate the angle of rotation of the steering component when the vehicle is in automatic driving mode.
[0162] For the specific implementation process of steps S207 to S208, please refer to the above Figure 2 Steps S102 to S103 in the corresponding embodiment are not described in detail here.
[0163] In an embodiment of the present application, a computer device obtains cache information of a vehicle, wherein the vehicle includes a steering assembly and a wheel controlled by the steering assembly, and the cache information of the vehicle includes driving state information of the vehicle and a component steering angle of the steering assembly; if the cache information of the vehicle satisfies the steering median generation condition, the computer device can generate a driving path indicated by the driving state information of the vehicle, and then determine the turning radius of the driving path, wherein the turning radius is used to determine the wheel steering angle of the wheel; according to the component steering angle of the steering assembly and the wheel steering angle, the computer device can determine the steering median, wherein the steering median is used to characterize the steering angle difference between the steering assembly and the wheel (also known as the steering angle deviation), so the steering median can indicate the angle at which the steering assembly rotates when the vehicle is in the automatic driving mode. As can be seen from the above, the embodiment of the present application can generate the path traveled by the vehicle by using the cache information of the vehicle, that is, the embodiment of the present application does not limit the shape of the driving path, that is, the embodiment of the present application can be applied to driving paths of different shapes; in addition, through the turning radius of the driving path, the embodiment of the present application can realize automatic learning of the steering median, so the determination efficiency and accuracy of the steering median can be improved.
[0164] For further information, see Fig. 9 , Fig. 9 This is a flow diagram of a data processing method provided in an embodiment of the present application. Figure 3 The data processing method may be implemented by a business server (for example, Figure 1 The service server 100 shown in the figure may also be executed by a terminal device (for example, the above Figure 1 The terminal device 200a) shown in the figure can also be executed by the service server and the terminal device interactively. For ease of understanding, the embodiment of the present application takes the method executed by the service server as an example for explanation. Fig. 9 As shown, the data processing method may at least include the following steps S301 to S307.
[0165] Step S301, obtaining cache information of a vehicle; the vehicle includes a steering assembly and wheels controlled by the steering assembly; the cache information of the vehicle includes driving state information of the vehicle and a steering angle of the steering assembly.
[0166] For the specific implementation process of step S301, please refer to the above Figure 2 The corresponding step S101 in the embodiment is not described in detail here.
[0167] Step S302, obtaining first information of the vehicle at the current moment from the cache information of the vehicle; the first information includes the second driving speed of the vehicle at the current moment; the second driving speed belongs to the driving state information of the vehicle.
[0168] Specifically, above Figure 7 Steps S202 to S206 in the corresponding embodiment describe the process of determining the satisfying relationship between the cache information and the transition median generation condition when the total amount M of the cache information meets the second total amount threshold, that is, determining and processing the cache information when there is enough cache information. Figure 7 Different from the above, the embodiment of the present application determines and processes the information of the vehicle in real time after acquiring the information of the vehicle, that is, if the current moment meets the information collection cycle, the terminal device collects the first information of the vehicle at the current moment, and then processes and determines the first information, instead of determining the total amount of cached information. Figure 3 , set the current time to 9:10:06, the first information collected by the terminal device, that is, Figure 3 The information 306b shown in the example may include the second driving speed of the vehicle 30a at 9:10:06 (i.e. Figure 3 The driving speed 6 shown in the example, and the steering angle of the second component (i.e. Figure 3 The components shown in the example are turned at an angle of 6).
[0169] Step S303: If the second driving speed is greater than the driving speed threshold, it is determined that the cache information of the vehicle does not meet the turning median generation condition.
[0170] Specifically, the terminal device compares the second driving speed with the driving speed threshold, and if the second driving speed is greater than the driving speed threshold, it is determined that the cached information of the vehicle does not meet the turning median generation condition.
[0171] Step S304, if the second driving speed is equal to or less than the driving speed threshold, then in the first information, obtain the second component steering angle of the steering component at the current moment; the second component steering angle belongs to the component steering angle of the steering component.
[0172] Step S305, determining the satisfying relationship between the buffer information of the vehicle and the turning median generation condition according to the turning angle of the second component.
[0173] Specifically, third information of the vehicle in the second historical time period is obtained from the cached information of the vehicle; the third information satisfies the steering median generation condition; the third information includes the third component steering angle of the steering component in the second historical time period; the third component steering angle belongs to the component steering angle of the steering component; the third component steering angle and the second component steering angle are averaged to obtain a third mean component steering angle; the second component steering angle difference between the second component steering angle and the third mean component steering angle is determined; based on the second component steering angle difference, the satisfaction relationship between the cached information of the vehicle and the steering median generation condition is determined.
[0174] Among them, the specific process of determining the satisfaction relationship between the vehicle's cached information and the steering median generation condition based on the second component steering angle difference can include: if the second component steering angle difference is greater than the second component steering angle difference threshold, determining that the vehicle's cached information does not meet the steering median generation condition; if the second component steering angle difference is equal to or less than the second component steering angle difference threshold, determining the total amount of the vehicle's cached information; if the total amount of the vehicle's cached information is equal to the third total amount threshold, obtaining the vehicle's third driving position in the vehicle's driving status information; based on the third driving position, determining that the vehicle's cached information meets the steering median generation condition.
[0175] If the third information does not exist in the cache information of the vehicle, that is, the cache information of the vehicle only includes the first information at the current moment, the terminal device continues to collect information of the vehicle according to the information collection cycle and does not execute the following steps.
[0176] If there is third information in the vehicle's cache information, please refer to Figure 3 For example, cache information 30d includes information 302b of the vehicle at 9:10:02, information 303b of the vehicle at 9:10:03, information 304b of the vehicle at 9:10:04, information 305b of the vehicle at 9:10:05, and information 306b of the vehicle at 9:10:06, that is, information 306b is the first information, and the third information includes information 302b, information 303b, information 304b and 305b, that is, the third information refers to the information in the cache information of the vehicle except the first information, and the second historical time period refers to the time period composed of the time when the third information is collected. It needs to be determined that the embodiment of the present application processes and determines the collected information in real time, so if there is third information, then the third information at this time meets the turning median generation condition, if the third information does not meet the turning median generation condition, then when the first information is collected, there is no historical information in the vehicle.
[0177] For the determination of the component steering angle, please refer to the above Figure 7 The description of step S206 in the corresponding embodiment is different in that this step is to determine the steering angle of a component in real time after collecting one information, while the above step S206 is to determine the steering angles of multiple components separately after the cached information of the vehicle meets the quantity requirement.
[0178] Among them, the value of the steering angle difference threshold of the second component can be the same as the value of the steering angle difference threshold of the first component, or it can be different, and should be set according to the actual application scenario.
[0179] When the second component steering angle difference is equal to or less than the second component steering angle difference threshold, the terminal device determines the total amount of cached information of the vehicle; if the total amount of cached information of the vehicle is equal to the third total amount threshold, the third driving position of the vehicle is obtained from the driving state information of the vehicle; wherein the third total amount threshold is equal to or greater than; according to the third driving position, the terminal device determines that the cached information of the vehicle meets the steering median generation condition. For the subsequent process, please refer to the above Figure 7 The description of step S206 in the corresponding embodiment is not repeated here.
[0180] Step S306, if the cached information of the vehicle meets the turning median generation condition, then generate the driving path indicated by the driving state information of the vehicle, and determine the turning radius of the driving path; the turning radius is used to determine the wheel steering angle of the wheel.
[0181] Step S307, determining a steering median value based on the steering angle of the steering component and the steering angle of the wheel; the steering median value is used to characterize the steering angle difference between the steering component and the wheel; the steering median value is used to indicate the angle of rotation of the steering component when the vehicle is in the automatic driving mode.
[0182] For the specific implementation process of steps S306 to S307, please refer to the above Figure 2 Steps S102 to S103 in the corresponding embodiment are not described in detail here.
[0183] In an embodiment of the present application, a computer device obtains cache information of a vehicle, wherein the vehicle includes a steering assembly and a wheel controlled by the steering assembly, and the cache information of the vehicle includes driving state information of the vehicle and a component steering angle of the steering assembly; if the cache information of the vehicle satisfies the steering median generation condition, the computer device can generate a driving path indicated by the driving state information of the vehicle, and then determine the turning radius of the driving path, wherein the turning radius is used to determine the wheel steering angle of the wheel; according to the component steering angle of the steering assembly and the wheel steering angle, the computer device can determine the steering median, wherein the steering median is used to characterize the steering angle difference between the steering assembly and the wheel (also known as the steering angle deviation), so the steering median can indicate the angle at which the steering assembly rotates when the vehicle is in the automatic driving mode. As can be seen from the above, the embodiment of the present application can generate the path traveled by the vehicle by using the cache information of the vehicle, that is, the embodiment of the present application does not limit the shape of the driving path, that is, the embodiment of the present application can be applied to driving paths of different shapes; in addition, through the turning radius of the driving path, the embodiment of the present application can realize automatic learning of the steering median, so the determination efficiency and accuracy of the steering median can be improved.
[0184] For further information, see Fig.10 , Fig.10 This is a schematic diagram of the structure of a data processing device provided in an embodiment of the present application. Figure 1 The data processing device 1 may be a computer program (including program code) running in a computer device, for example, the data processing device 1 is an application software; the data processing device 1 may be used to execute the corresponding steps of the method provided in the embodiment of the present application. Fig.10 As shown, the data processing device 1 may include: a first acquisition module 11 , a first determination module 12 and a second determination module 13 .
[0185] The first acquisition module 11 is used to acquire cache information of a vehicle; the vehicle includes a steering assembly and wheels controlled by the steering assembly; the cache information of the vehicle includes driving state information of the vehicle and a component steering angle of the steering assembly;
[0186] The first determination module 12 is used to generate a driving path indicated by the driving state information of the vehicle if the cache information of the vehicle meets the turning median generation condition, and determine the turning radius of the driving path; the turning radius is used to determine the wheel steering angle of the wheel;
[0187] The second determination module 13 is used to determine the steering median value based on the component steering angle of the steering component and the wheel steering angle; the steering median value is used to characterize the steering angle difference between the steering component and the wheel; the steering median value is used to indicate the angle of rotation of the steering component when the vehicle is in the automatic driving mode.
[0188] The specific functional implementation of the first acquisition module 11, the first determination module 12 and the second determination module 13 can be found in the above Figure 2 Steps S101 to S103 in the corresponding embodiment will not be described in detail here.
[0189] See also Fig.10 The data processing device 1 may further include: an information deletion module 14.
[0190] The information deleting module 14 is used to delete the cached information of the vehicle if the cached information of the vehicle does not meet the turning median generation condition.
[0191] The specific functional implementation of the information deletion module 14 can be found in the above Figure 2 The step S103 in the corresponding embodiment will not be described in detail here.
[0192] See also Fig.10 The first determining module 12 may include: a first acquiring unit 121 , a first determining unit 122 , a second determining unit 123 and a second acquiring unit 124 .
[0193] A first acquisition unit 121 is used to acquire a first driving position of a vehicle from the driving state information of the vehicle;
[0194] A first determining unit 122, configured to determine two-dimensional position information of a first driving position in a two-dimensional coordinate system, and generate a driving path of a vehicle through the two-dimensional position information;
[0195] The second determining unit 123 is used to perform a second-order derivative process on the driving path to obtain a trajectory curvature, and determine the inverse of the trajectory curvature as the turning radius of the driving path;
[0196] The second acquisition unit 124 is used to acquire the wheelbase of the vehicle, and determine the steering angle of the wheel according to the wheelbase and the turning radius.
[0197] The specific functional implementation of the first acquisition unit 121, the first determination unit 122, the second determination unit 123 and the second acquisition unit 124 can be found in the above Figure 2 The step S102 in the corresponding embodiment will not be described in detail here.
[0198] See also Fig.10 , the total number of component steering angles of the steering assembly is at least two;
[0199] The second determining module 13 may include: a first processing unit 131 , a second processing unit 132 , and a third determining unit 133 .
[0200] A first processing unit 131 is used to perform mean processing on at least two component steering angles to obtain a first mean component steering angle;
[0201] The second processing unit 132 is used to obtain a steering coefficient of the wheel, and perform weighted processing on the wheel steering angle according to the steering coefficient to obtain a weighted wheel steering angle;
[0202] The third determining unit 133 is used to determine the steering angle difference between the first mean component steering angle and the weighted wheel steering angle as the steering median.
[0203] The specific functional implementation of the first processing unit 131, the second processing unit 132 and the third determining unit 133 can be found in the above Figure 2 The step S103 in the corresponding embodiment will not be described in detail here.
[0204] See also Fig.10 The first acquisition module 11 may include: an information acquisition unit 111 , a quantity comparison unit 112 , and a fourth determination unit 113 .
[0205] The information collection unit 111 is used to collect the first information of the vehicle at the current moment if the current moment meets the information collection cycle;
[0206] The quantity comparison unit 112 is used to compare the total quantity of the second information with the first total quantity threshold if there is second information; the second information is information about a vehicle collected in a first historical time period; the first historical time period is earlier than the current moment, and the duration from the latest information collection moment in the first historical time period to the current moment is the same as the information collection cycle;
[0207] The fourth determining unit 113 is used to filter the earliest information in the second information if the total amount of the second information is equal to the first total amount threshold, and determine the first information and the filtered second information as the cache information of the vehicle; the second information satisfies the turning median generation condition; the earliest information in the second information refers to the information corresponding to the earliest information collection time in the first historical time period; the earliest information collection time is earlier than or equal to the latest information collection time;
[0208] The fourth determining unit 113 is further configured to determine the second information and the first information as cache information of the vehicle if the total amount of the second information is less than the first total amount threshold.
[0209] The specific functional implementation of the information collection unit 111, the quantity comparison unit 112 and the fourth determination unit 113 can be found in the above Figure 2 The step S101 in the corresponding embodiment will not be described in detail here.
[0210] See also Fig.10 , the total number of cached information of the vehicle is M, each cached information includes a driving state information and a component steering angle, and M is a positive integer;
[0211] The data processing device 1 may further include: a second obtaining module 15 , a third determining module 16 , a third obtaining module 17 and a fourth determining module 18 .
[0212] The second acquisition module 15 is used to acquire cache information A from the cache information of the vehicle if M is equal to the second total number threshold. b ; b is a positive integer, and b is less than or equal to M;
[0213] The second acquisition module 15 is also used to cache information A b , obtain driving status information D b ; Driving status information D b including a first travel speed;
[0214] a third determination module 16, configured to determine that the cached information of the vehicle does not meet the turning median generation condition if the first driving speed is greater than the driving speed threshold;
[0215] The third acquisition module 17 is used to cache information A if the first driving speed is equal to or less than the driving speed threshold. b , obtaining a first component steering angle of the steering component;
[0216] The fourth determination module 18 is used to determine the satisfaction relationship between the buffer information of the vehicle and the turning median generation condition according to the turning angle of the first component.
[0217] The specific functional implementation of the second acquisition module 15, the third determination module 16, the third acquisition module 17 and the fourth determination module 18 can be found in the above Figure 7 Steps S202 to S206 in the corresponding embodiment are not described in detail here.
[0218] See also Fig.10 , the transition to median generation conditions includes initial generation conditions;
[0219] The fourth determining module 18 may include: a third processing unit 181 , a fifth determining unit 182 , a sixth determining unit 183 , a third acquiring unit 184 and a seventh determining unit 185 .
[0220] The third processing unit 181 is used to perform mean processing on the component steering angle of the steering component to obtain a second mean component steering angle;
[0221] A fifth determining unit 182, configured to determine a first component steering angle difference between the first component steering angle and the second mean component steering angle;
[0222] A sixth determination unit 183, configured to determine that the cached information of the vehicle does not meet the steering median generation condition if the first component steering angle difference is greater than the first component steering angle difference threshold;
[0223] The sixth determining unit 183 is further configured to determine the cache information A if the first component steering angle difference is equal to or less than the first component steering angle difference threshold. b Satisfy the initial generation conditions;
[0224] A third acquisition unit 184 is configured to acquire a second driving position of the vehicle from the driving state information of the vehicle if the M cache information all meet the initial generation condition;
[0225] The seventh determining unit 185 is used to determine the satisfying relationship between the buffer information of the vehicle and the turning median generation condition according to the second driving position.
[0226] The specific functional implementation of the third processing unit 181, the fifth determining unit 182, the sixth determining unit 183, the third obtaining unit 184 and the seventh determining unit 185 can be found in the above Figure 7 The step S206 in the corresponding embodiment will not be described in detail here.
[0227] See also Fig.10 , the seventh determining unit 185 may include: a first determining subunit 1851 , a second determining subunit 1852 , and a third determining subunit 1853 .
[0228] The first determining subunit 1851 is used to determine the travel distance of the vehicle according to the second travel position, and compare the travel distance with a distance threshold;
[0229] The second determining subunit 1852 is configured to determine that the cached information of the vehicle does not meet the turning median generation condition if the travel distance is less than the distance threshold;
[0230] The third determining subunit 1853 is configured to determine whether the cached information of the vehicle satisfies a turning median generation condition if the driving distance is equal to or greater than a distance threshold.
[0231] The specific functional implementation of the first determining subunit 1851, the second determining subunit 1852 and the third determining subunit 1853 can be found in the above Figure 7 The step S206 in the corresponding embodiment will not be described in detail here.
[0232] See also Fig.10 The data processing device 1 may further include: a fourth acquisition module 19 , a fifth determination module 20 , a fifth acquisition module 21 and a sixth determination module 22 .
[0233] The fourth acquisition module 19 is used to acquire first information of the vehicle at the current moment from the cache information of the vehicle; the first information includes the second driving speed of the vehicle at the current moment; the second driving speed belongs to the driving state information of the vehicle;
[0234] a fifth determination module 20, configured to determine that the cache information of the vehicle does not meet the turning median generation condition if the second driving speed is greater than the driving speed threshold;
[0235] The fifth acquisition module 21 is used to acquire the second component steering angle of the steering component at the current moment in the first information if the second driving speed is equal to or less than the driving speed threshold; the second component steering angle belongs to the component steering angle of the steering component;
[0236] The sixth determination module 22 is used to determine the satisfaction relationship between the buffer information of the vehicle and the turning median generation condition according to the turning angle of the second component.
[0237] The specific functional implementation of the fourth acquisition module 19, the fifth determination module 20, the fifth acquisition module 21 and the sixth determination module 22 can be referred to above. Fig. 9 Steps S302 to S305 in the corresponding embodiment are not described in detail here.
[0238] See also Fig.10 The sixth determination module 22 may include: a fourth acquisition unit 221, a fourth processing unit 222, an eighth determination unit 223 and a ninth determination unit 224.
[0239] The fourth acquisition unit 221 is used to acquire the third information of the vehicle in the second historical time period from the cache information of the vehicle; the third information satisfies the steering median generation condition; the third information includes the third component steering angle of the steering component in the second historical time period; the third component steering angle belongs to the component steering angle of the steering component;
[0240] The fourth processing unit 222 is used to perform mean processing on the third component steering angle and the second component steering angle to obtain a third mean component steering angle;
[0241] An eighth determining unit 223, configured to determine a second component steering angle difference between the second component steering angle and the third mean component steering angle;
[0242] The ninth determination unit 224 is used to determine the satisfaction relationship between the cache information of the vehicle and the steering median generation condition according to the steering angle difference of the second component.
[0243] The specific functional implementation of the fourth acquisition unit 221, the fourth processing unit 222, the eighth determination unit 223 and the ninth determination unit 224 can be found in the above Fig. 9 The step S305 in the corresponding embodiment will not be described in detail here.
[0244] See also Fig.10 , the ninth determining unit 224 may include: a fourth determining subunit 2241 , a fifth determining subunit 2242 , and a sixth determining subunit 2243 .
[0245] The fourth determining subunit 2241 is configured to determine that the cached information of the vehicle does not meet the turning median generation condition if the second component turning angle difference is greater than the second component turning angle difference threshold;
[0246] a fifth determining subunit 2242, configured to determine a total amount of cached information of a vehicle if the second component steering angle difference is equal to or less than a second component steering angle difference threshold;
[0247] a sixth determining subunit 2243, configured to obtain a third driving position of the vehicle from the driving state information of the vehicle if the total amount of the buffered information of the vehicle is equal to a third total amount threshold;
[0248] The sixth determining subunit 2243 is further used to determine, based on the third driving position, whether the cached information of the vehicle satisfies the turning median generation condition.
[0249] The specific functional implementation of the fourth determining subunit 2241, the fifth determining subunit 2242 and the sixth determining subunit 2243 can be found in the above Fig. 9 The step S305 in the corresponding embodiment will not be described in detail here.
[0250] In an embodiment of the present application, a computer device obtains cache information of a vehicle, wherein the vehicle includes a steering assembly and a wheel controlled by the steering assembly, and the cache information of the vehicle includes driving state information of the vehicle and a component steering angle of the steering assembly; if the cache information of the vehicle satisfies the steering median generation condition, the computer device can generate a driving path indicated by the driving state information of the vehicle, and then determine the turning radius of the driving path, wherein the turning radius is used to determine the wheel steering angle of the wheel; according to the component steering angle of the steering assembly and the wheel steering angle, the computer device can determine the steering median, wherein the steering median is used to characterize the steering angle difference between the steering assembly and the wheel (also known as the steering angle deviation), so the steering median can indicate the angle at which the steering assembly rotates when the vehicle is in the automatic driving mode. As can be seen from the above, the embodiment of the present application can generate the path traveled by the vehicle by using the cache information of the vehicle, that is, the embodiment of the present application does not limit the shape of the driving path, that is, the embodiment of the present application can be applied to driving paths of different shapes; in addition, through the turning radius of the driving path, the embodiment of the present application can realize automatic learning of the steering median, so the determination efficiency and accuracy of the steering median can be improved.
[0251] For further information, see Fig.11 , Fig.11 Schematic diagram of the structure of a computer device provided in an embodiment of the present application. Fig.11 As shown, the computer device 1000 may include: at least one processor 1001, such as a CPU, at least one network interface 1004, a user interface 1003, a memory 1005, and at least one communication bus 1002. The communication bus 1002 is used to realize the connection and communication between these components. In some embodiments, the user interface 1003 may include a display screen (Display) and a keyboard (Keyboard), and the network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 may be a high-speed RAM memory, or a non-volatile memory (non-volatile memory), such as at least one disk storage. The memory 1005 may optionally also be at least one storage device located away from the aforementioned processor 1001. As shown in FIG. Fig.11 As shown, the memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and a device control application.
[0252] exist Fig.11In the computer device 1000 shown, the network interface 1004 can provide a network communication function; the user interface 1003 is mainly used to provide an input interface for the user; and the processor 1001 can be used to call the device control application stored in the memory 1005 to achieve:
[0253] Acquire cache information of a vehicle; the vehicle includes a steering component and a wheel controlled by the steering component; the cache information of the vehicle includes driving state information of the vehicle and a component steering angle of the steering component;
[0254] If the cached information of the vehicle meets the turning median generation condition, a driving path indicated by the driving state information of the vehicle is generated, and a turning radius of the driving path is determined; the turning radius is used to determine the wheel steering angle of the wheel;
[0255] A steering median value is determined based on the component steering angle of the steering component and the wheel steering angle; the steering median value is used to characterize the steering angle difference between the steering component and the wheel; the steering median value is used to indicate the angle of rotation of the steering component when the vehicle is in autonomous driving mode.
[0256] It should be understood that the computer device 1000 described in the embodiment of the present application can execute the description of the data processing method or device in the above embodiments, which will not be repeated here. In addition, the description of the beneficial effects of adopting the same method will not be repeated.
[0257] The present application also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the description of the data processing method or device in the above embodiments is implemented, which will not be repeated here. In addition, the description of the beneficial effects of the same method will not be repeated.
[0258] The computer-readable storage medium may be the data processing device provided in any of the aforementioned embodiments or the internal storage unit of the computer device, such as the hard disk or memory of the computer device. The computer-readable storage medium may also be an external storage device of the computer device, such as 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), etc. equipped on the computer device. Further, the computer-readable storage medium may also include both the internal storage unit of the computer device and an external storage device. The computer-readable storage medium is used to store the computer program and other programs and data required by the computer device. The computer-readable storage medium may also be used to temporarily store data that has been output or is to be output.
[0259] The present application also provides a computer program product, which includes a computer program stored in a computer-readable storage medium. The processor of the computer device reads the computer program from the computer-readable storage medium, and the processor executes the computer program, so that the computer device can execute the description of the data processing method or device in the above embodiments, which will not be repeated here. In addition, the description of the beneficial effects of the same method will not be repeated.
[0260] The terms "first", "second", etc. in the description, claims, and drawings of the embodiments of the present application are used to distinguish different objects, rather than to describe a specific order. In addition, the term "comprising" and any of their variations are intended to cover non-exclusive inclusions. For example, a process, method, device, product, or equipment that includes a series of steps or units is not limited to the listed steps or modules, but optionally includes steps or modules that are not listed, or optionally includes other step units inherent to these processes, methods, devices, products, or equipment.
[0261] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0262] The above disclosure is only the preferred embodiment of the present application, which certainly cannot be used to limit the scope of rights of the present application. Therefore, equivalent changes made according to the claims of the present application are still within the scope covered by the present application.
Claims
1. A data processing method, characterized in that: include: Acquire cache information of a vehicle; the vehicle includes a steering assembly and wheels controlled by the steering assembly; The cache information of the vehicle includes the driving state information of the vehicle and the component steering angle of the steering component; If the cache information of the vehicle meets the turning median generation condition, a driving path indicated by the driving state information of the vehicle is generated, and a turning radius of the driving path is determined; the turning radius is used to determine the wheel steering angle of the wheel; Determining a steering median value according to a steering angle of the steering assembly and a steering angle of the wheel; the steering median value is used to characterize a steering angle difference between the steering assembly and the wheel; The steering median value is used to indicate the angle at which the steering component rotates when the vehicle is in an autonomous driving mode.
2. The method according to claim 1, characterized in that The method further comprises: If the cached information of the vehicle does not meet the turning median generation condition, the cached information of the vehicle is deleted.
3. The method according to claim 1, characterized in that The step of generating a driving path indicated by the driving state information of the vehicle and determining a turning radius of the driving path includes: Acquire a first driving position of the vehicle from the driving state information of the vehicle; Determine two-dimensional position information of the first driving position in a two-dimensional coordinate system, and generate a driving path of the vehicle based on the two-dimensional position information; Performing a second-order derivative process on the driving path to obtain a track curvature, and determining the inverse of the track curvature as the turning radius of the driving path; The wheelbase of the vehicle is obtained, and the steering angle of the wheel is determined according to the wheelbase and the turning radius.
4. The method according to claim 1, characterized in that The total number of component steering angles of the steering assembly is at least two; The determining of the steering median value according to the component steering angle of the steering component and the wheel steering angle comprises: Performing mean processing on at least two component steering angles to obtain a first mean component steering angle; Obtaining a steering coefficient of the wheel, and performing weighted processing on the wheel steering angle according to the steering coefficient to obtain a weighted wheel steering angle; A steering angle difference between the first mean component steering angle and the weighted wheel steering angle is determined as a steering median.
5. The method according to claim 1, characterized in that The obtaining of the cache information of the vehicle includes: If the current moment satisfies the information collection period, collecting the first information of the vehicle at the current moment; If there is second information, the total amount of the second information is compared with the first total amount threshold; the second information is information about the vehicle collected in a first historical time period; the first historical time period is earlier than the current moment, and the duration from the latest information collection moment in the first historical time period to the current moment is the same as the information collection cycle; If the total amount of the second information is equal to the first total amount threshold, the earliest information in the second information is filtered, and the first information and the filtered second information are determined as the cache information of the vehicle; the second information satisfies the turning median generation condition; the earliest information in the second information refers to the information corresponding to the earliest information collection time in the first historical time period; the earliest information collection time is earlier than or equal to the latest information collection time; If the total amount of the second information is less than the first total amount threshold, the second information and the first information are determined as cache information of the vehicle.
6. The method according to claim 1, characterized in that The total number of cached information of the vehicle is M, each cached information includes a driving state information and a component steering angle, and M is a positive integer; The method further comprises: If M is equal to the second total number threshold, then obtain cache information A from the cache information of the vehicle b ; b is a positive integer, and b is less than or equal to M; In the cache information A b , obtain driving status information D b The driving status information D b including a first travel speed; If the first driving speed is greater than a driving speed threshold, determining that the cached information of the vehicle does not satisfy the turning median generation condition; If the first driving speed is equal to or less than the driving speed threshold, then in the cache information A b , obtaining a first component steering angle of the steering component; According to the steering angle of the first component, a satisfying relationship between the cache information of the vehicle and the steering median generation condition is determined.
7. The method according to claim 6, characterized in that The turning median generation condition includes an initial generation condition; The determining, according to the steering angle of the first component, a satisfying relationship between the buffered information of the vehicle and the steering median generation condition includes: Performing mean processing on the component steering angle of the steering component to obtain a second mean component steering angle; determining a first component steering angle difference between the first component steering angle and the second mean component steering angle; If the first component steering angle difference is greater than the first component steering angle difference threshold, determining that the cached information of the vehicle does not meet the steering median generation condition; If the first component steering angle difference is equal to or less than the first component steering angle difference threshold, then determine the cache information A b satisfying the initial generation condition; If the M cache information all meet the initial generation condition, obtaining the second driving position of the vehicle from the driving state information of the vehicle; According to the second driving position, a satisfying relationship between the buffer information of the vehicle and the turning median generation condition is determined.
8. The method according to claim 7, characterized in that The determining, according to the second driving position, a satisfying relationship between the buffer information of the vehicle and the turning median generation condition includes: determining a travel distance of the vehicle according to the second travel position, and comparing the travel distance with a distance threshold; If the driving distance is less than the distance threshold, determining that the cache information of the vehicle does not meet the turning median generation condition; If the driving distance is equal to or greater than the distance threshold, it is determined that the cache information of the vehicle meets the turning median generation condition.
9. The method according to claim 1, characterized in that: The method further comprises: Acquire first information of the vehicle at the current moment from the cache information of the vehicle; the first information includes a second driving speed of the vehicle at the current moment; the second driving speed belongs to driving state information of the vehicle; If the second driving speed is greater than the driving speed threshold, determining that the cache information of the vehicle does not meet the turning median generation condition; If the second driving speed is equal to or less than the driving speed threshold, then in the first information, a second component steering angle of the steering component at the current moment is obtained; the second component steering angle belongs to the component steering angle of the steering component; According to the steering angle of the second component, a satisfying relationship between the cache information of the vehicle and the steering median generation condition is determined.
10. The method according to claim 9, characterized in that The determining, according to the steering angle of the second component, a satisfying relationship between the cache information of the vehicle and the steering median generation condition comprises: Acquire third information of the vehicle in a second historical time period from cache information of the vehicle; the third information satisfies the steering median generation condition; the third information includes a third component steering angle of the steering component in the second historical time period; the third component steering angle belongs to a component steering angle of the steering component; Performing mean processing on the third component steering angle and the second component steering angle to obtain a third mean component steering angle; determining a second component steering angle difference between the second component steering angle and the third mean component steering angle; According to the steering angle difference of the second component, a satisfying relationship between the cache information of the vehicle and the steering median generation condition is determined.
11. The method according to claim 10, characterized in that The determining, according to the second component steering angle difference, a satisfying relationship between the cache information of the vehicle and the steering median generation condition comprises: If the second component steering angle difference is greater than the second component steering angle difference threshold, determining that the cache information of the vehicle does not meet the steering median generation condition; If the second component steering angle difference is equal to or less than the second component steering angle difference threshold, determining the total amount of cached information of the vehicle; If the total amount of cached information of the vehicle is equal to a third total amount threshold, obtaining a third driving position of the vehicle from the driving state information of the vehicle; According to the third driving position, it is determined that the cache information of the vehicle meets the turning median generation condition.
12. A data processing device, characterized in that: include: A first acquisition module, used to acquire cache information of a vehicle; The vehicle includes a steering assembly and wheels controlled by the steering assembly; The cache information of the vehicle includes the driving state information of the vehicle and the component steering angle of the steering component; A first determination module is used to generate a driving path indicated by the driving state information of the vehicle if the cache information of the vehicle meets the turning median generation condition, and determine the turning radius of the driving path; the turning radius is used to determine the wheel steering angle of the wheel; A second determination module is used to determine a steering median value according to a component steering angle of the steering component and a wheel steering angle; The steering median value is used to characterize the steering angle difference between the steering assembly and the wheels; The steering median value is used to indicate the angle at which the steering component rotates when the vehicle is in an autonomous driving mode.
13. A computer device, characterized in that: include: Processor, memory, and network interface; The processor is connected to the memory and the network interface, wherein the network interface is used to provide a data communication function, the memory is used to store a computer program, and the processor is used to call the computer program so that the computer device executes the method described in any one of claims 1 to 11.
14. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the computer program is suitable for being loaded and executed by a processor, so that a computer device having the processor executes the method according to any one of claims 1 to 11.
15. A computer program product, characterized in that The computer program product comprises a computer program, which is stored in a computer-readable storage medium. The computer program is suitable for being read and executed by a processor, so that a computer device having the processor executes the method according to any one of claims 1 to 11.
Citation Information
Patent Citations
Continuous correction for steering wheel angle offset
CN102530070A
Transverse control method and system of automatic driving vehicle
CN111717204A
EPS angle sensor angle median correction self-learning method and system and vehicle
CN113386858A
Zero deviation dynamic calibration method and device, electronic equipment and storage medium
CN113581289A
Automatic driving steering angle detection method and electronic equipment
CN114312987A
