Training sample generation method, device, equipment and storage medium in elevated scene

By generating and using an elevated discrimination model and combining vehicle driving data and location information, the problem of large errors in relying on a single air pressure intensity discrimination in the existing technology is solved, and the accuracy of identifying elevated roads is improved.

CN114358196BActive Publication Date: 2024-10-01TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210021051.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-10
Publication Date
2024-10-01
Estimated Expiration
2042-01-10

AI Technical Summary

Technical Problem

When the existing technology determines whether a vehicle is located on an elevated road, it relies solely on air pressure intensity, which causes errors and lacks accuracy.

Method used

By obtaining the driving data sets of multiple roads, position marking is performed based on the driving data corresponding to the timestamp, training samples are generated for training the elevated discrimination model, and the driving data and location information at the current moment are combined to determine whether the vehicle is on the elevated road.

Benefits of technology

The accuracy of the discrimination results is improved, and it can accurately determine whether the target vehicle is located on an elevated road when similar driving data is collected at different locations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114358196B_ABST
    Figure CN114358196B_ABST
Patent Text Reader

Abstract

The present application discloses a training sample generation method, device, equipment and storage medium in an elevated scenario, belonging to the field of artificial intelligence technology. The embodiments of the present invention can be applied to maps, smart transportation, vehicle-mounted and other fields, and the method includes: obtaining driving data sets corresponding to multiple roads; based on the recording position of the driving data corresponding to the timestamp, the driving data corresponding to the timestamp is marked with a position to obtain the feature data corresponding to the timestamp; according to the feature data corresponding to the timestamp, a training sample corresponding to the timestamp is generated. The present application provides an elevated discrimination model, which determines whether the target vehicle is located on the elevated road based on the driving data collected at the current moment, combined with the recording position at the current moment, rather than determining whether the target vehicle is on the elevated road based on a single piece of information, thereby improving the accuracy of the discrimination result.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of artificial intelligence technology, and in particular to a method, device, equipment and storage medium for generating training samples in an elevated scenario. Background Art

[0002] Currently, in map application scenarios, the navigation process of vehicles requires the identification of elevated roads in the map.

[0003] In the related art, during vehicle driving, the air pressure intensity at the vehicle's current geographical location is obtained through a barometer. Furthermore, based on the law of change of air pressure with altitude, the vehicle's height information is determined according to the obtained air pressure intensity to determine whether the road the vehicle is currently on is an elevated road.

[0004] However, in the above-mentioned related technologies, the air pressure values ​​at different locations vary differently with altitude. If the air pressure intensity is simply used to determine whether the road the vehicle is currently on is an elevated road, the determination result is prone to errors. Summary of the invention

[0005] The embodiment of the present application provides a training sample generation method, device, equipment and storage medium in an elevated scenario, which can improve the accuracy of the discrimination result. The technical solution is as follows.

[0006] According to one aspect of an embodiment of the present application, a method for generating training samples in an elevated scenario is provided, the method comprising the following steps:

[0007] Acquire driving data sets corresponding to a plurality of roads; wherein the plurality of roads include elevated roads and non-elevated roads at different levels, and the driving data sets include driving data recorded at a plurality of different time stamps during the driving of a sample vehicle on the road;

[0008] Based on the recording position of the driving data corresponding to the timestamp, the driving data corresponding to the timestamp is position-marked to obtain the characteristic data corresponding to the timestamp; wherein the characteristic data corresponding to the timestamp includes the driving data corresponding to the timestamp and a position identifier for indicating the recording position of the driving data corresponding to the timestamp;

[0009] A training sample corresponding to the timestamp is generated according to the feature data corresponding to the timestamp; wherein the training sample is used to train an elevated road discrimination model, and the elevated road discrimination model is used to discriminate whether a target vehicle is located on an elevated road.

[0010] According to one aspect of an embodiment of the present application, a method for distinguishing an elevated structure is provided, the method comprising the following steps:

[0011] Obtaining a location identifier of a target vehicle at a current driving moment, and driving data acquired by the target vehicle; wherein the location identifier is used to indicate a road section where the target vehicle is currently located;

[0012] Extracting features from the location identifier and the driving data to obtain feature information of the target vehicle;

[0013] A discrimination result of the target vehicle is determined based on the feature information; wherein the discrimination result is used to indicate whether the target vehicle is located on an elevated road.

[0014] According to one aspect of an embodiment of the present application, a training sample generation device in an elevated scenario is provided, the device comprising the following modules:

[0015] A data acquisition module, used to acquire driving data sets corresponding to a plurality of roads; wherein the plurality of roads include elevated roads and non-elevated roads at different levels, and the driving data sets include driving data recorded at a plurality of different time stamps during the driving of a sample vehicle on the road;

[0016] A data generation module, configured to mark the position of the driving data corresponding to the timestamp based on the recording position of the driving data corresponding to the timestamp, so as to obtain characteristic data corresponding to the timestamp; wherein the characteristic data corresponding to the timestamp includes the driving data corresponding to the timestamp and a position identifier for indicating the recording position of the driving data corresponding to the timestamp;

[0017] A sample generation module is used to generate a training sample corresponding to the timestamp based on the feature data corresponding to the timestamp; wherein the training sample is used to train an elevated discrimination model, and the elevated discrimination model is used to determine whether the target vehicle is located on an elevated road.

[0018] According to one aspect of an embodiment of the present application, an elevated identification device is provided, the device comprising the following modules:

[0019] An information acquisition module, used to acquire a location identifier of a target vehicle at a current driving moment, and driving data acquired by the target vehicle; wherein the location identifier is used to indicate a road section where the target vehicle is currently located;

[0020] A feature extraction module, used to extract features from the location identifier and the driving data to obtain feature information of the target vehicle;

[0021] A feature processing module is used to determine a discrimination result of the target vehicle based on the feature information; wherein the discrimination result is used to indicate whether the target vehicle is located on an elevated road.

[0022] According to one aspect of an embodiment of the present application, an embodiment of the present application provides a computer device, which includes a processor and a memory, wherein the memory stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by the processor to implement the above-mentioned training sample generation method in the elevated scenario, or to implement the above-mentioned elevated discrimination method.

[0023] According to one aspect of an embodiment of the present application, an embodiment of the present application provides a computer-readable storage medium, wherein the readable storage medium stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by a processor to implement the above-mentioned training sample generation method in the elevated scenario, or to implement the above-mentioned elevated discrimination method.

[0024] According to one aspect of the embodiments of the present application, a computer program product or a computer program is provided, the computer program product or the computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the above-mentioned training sample generation method in the elevated scene, or implements the above-mentioned elevated discrimination method.

[0025] The technical solution provided in the embodiments of the present application can bring the following beneficial effects:

[0026] Training samples for an elevated discrimination model are generated through driving data sets corresponding to multiple roads and the recorded positions of driving data corresponding to each timestamp in the driving time set. That is to say, the present application provides an elevated discrimination model, which determines whether a target vehicle is located on an elevated road based on the driving data collected at the current moment in combination with the recorded position at the current moment. It does not only determine whether the target vehicle is on the elevated road based on a single piece of information, thereby improving the accuracy of the discrimination result. Moreover, in the data collection process, there is a situation where the driving data collected at a certain position on the elevated road and a certain position under the elevated road are similar. In the present application, in addition to the driving data collected at the current moment, elevated discrimination is also required based on the recorded position at the current moment, and the driving data is marked with the recorded position. When similar driving data is collected at different positions, it is also possible to accurately determine whether the target vehicle is located on the elevated road. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments 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 creative work.

[0028] Figure 1 is a schematic diagram of a training sample generation system in an elevated scenario provided by an embodiment of the present application;

[0029] Figure 2 A schematic diagram of a training sample generation system in an elevated scenario is exemplarily shown;

[0030] Figure 3 is a schematic diagram of an elevated identification system provided by an embodiment of the present application;

[0031] Figure 4 A schematic diagram of an overhead discrimination system is exemplarily shown;

[0032] Figure 5 is a flowchart of a method for generating training samples in an elevated scenario provided by an embodiment of the present application;

[0033] Figure 6 A schematic diagram of an elevated road, a road section and a sub-road section is exemplarily shown;

[0034] Figure 7 A schematic diagram exemplarily shows a method for acquiring feature data corresponding to a timestamp;

[0035] Figure 8 A schematic diagram of an elevated map is exemplified;

[0036] Fig. 9 A schematic diagram showing an exemplary training method of an elevated discriminant model;

[0037] Fig.10 A schematic diagram showing an exemplary process of obtaining a training sample;

[0038] Fig.11 is a flow chart of an elevated identification method provided by an embodiment of the present application;

[0039] Fig.12 A schematic diagram of the overall process of overhead discrimination is shown as an example;

[0040] Fig.13 is a block diagram of a training sample generation device in an elevated scenario provided by an embodiment of the present application;

[0041] Fig.14is a block diagram of a training sample generating device in an elevated scenario provided by another embodiment of the present application;

[0042] Fig.15 is a block diagram of an elevated identification device provided by an embodiment of the present application;

[0043] Fig.16 is a block diagram of an elevated identification device provided by another embodiment of the present application;

[0044] Fig.17 It is a structural block diagram of a computer device provided by an embodiment of the present application. DETAILED DESCRIPTION

[0045] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.

[0046] The training sample generation method and elevated identification method in this application involve the following technologies:

[0047] 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.

[0048] Artificial intelligence technology is a comprehensive discipline that covers a wide range of fields, including both hardware-level and software-level technologies. The basic technologies of artificial intelligence generally include sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, big data processing technology, operation / interaction systems, mechatronics and other technologies. Artificial intelligence software technology mainly includes computer vision technology, speech processing technology, natural language processing technology, and machine learning / deep learning.

[0049] Machine Learning (ML) is a multi-disciplinary subject that involves probability theory, statistics, approximation theory, convex analysis, algorithm complexity theory and other disciplines. It specializes in studying how computers simulate or implement human learning behavior to acquire new knowledge or skills and reorganize existing knowledge structures to continuously improve their performance. Machine learning is the core of artificial intelligence and the fundamental way to make computers intelligent. Its applications are spread across all areas of artificial intelligence. Machine learning and deep learning usually include artificial neural networks, belief networks, reinforcement learning, transfer learning, inductive learning, and teaching learning.

[0050] 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.

[0051] With the research and advancement of artificial intelligence technology, artificial intelligence technology has been studied and applied in many fields, such as common smart homes, smart wearable devices, virtual assistants, smart speakers, smart marketing, unmanned driving, automatic driving, drones, robots, smart medical care, smart customer service, etc. I believe that with the development of technology, artificial intelligence technology will be applied in more fields and play an increasingly important role.

[0052] The solution provided in the embodiments of the present application involves technologies such as machine learning of artificial intelligence. Below, the technical solution of the present application is introduced and explained in conjunction with several embodiments.

[0053] Please refer to Figure 1 , which shows a schematic diagram of a training sample generation system in an elevated scenario provided by an embodiment of the present application. The training sample generation system in an elevated scenario may include: a first device 10 and a second device 20.

[0054] The first device 10 is used to provide data required for model training. Optionally, the first device 10 is any mobile device with a positioning function, such as a mobile phone, a tablet computer, a game console, an e-book reader, a multimedia playback device, a wearable device, a PC (Personal Computer), an intelligent voice interaction device, a smart home appliance, a vehicle-mounted terminal and other electronic devices, which are not limited in the present embodiment of the application.

[0055] The second device 20 is used for training the model. Optionally, the second device 20 may be a server, a computer device, a PC or other electronic device, which is not limited in the present embodiment of the application. The server may be a single server, a server cluster consisting of multiple servers, or a cloud computing service center.

[0056] The first device 10 and the second device 20 perform data transmission via a network.

[0057] Optionally, in the embodiment of the present application, the above model refers to an elevated discrimination model, which is used to determine whether the target vehicle is located on an elevated road. The target vehicle can be any vehicle, which is not limited in the embodiment of the present application; the elevated road can also be called an elevated road, an elevated bridge, an overhead road, a driving bridge, etc. The elevated road is at a different level from the non-elevated road.

[0058] Take the first device 10 as an in-vehicle terminal of a sample vehicle as an example. Figure 2 As shown, during the driving process, the first device 10 collects data, generates a driving data set of the first device 10, and sends the driving data set to the second device 20. The driving data set includes driving data recorded at multiple different timestamps during the driving process. Correspondingly, after acquiring the driving data set, the second device 20 generates a "timestamp + location identifier" based on the recording position of the driving data corresponding to each timestamp, and then generates a "timestamp + location identifier + driving data", and generates a training sample of the elevated discrimination model based on the "timestamp + location identifier + driving data", and uses the training sample to train the elevated discrimination model.

[0059] One thing that needs to be explained is that the above Figure 2 The description is made from the perspective of a single first device 10 . In an exemplary embodiment, the second device 20 may process driving data sets collected by a plurality of first devices 10 to generate training samples for an elevated discriminant model.

[0060] Optionally, the first device 10 and the second device 20 may be the same device or different devices, which is not limited in the embodiment of the present application.

[0061] One thing that needs to be explained is that the above Figure 2 The introduction is only exemplary and explanatory. In an exemplary embodiment, the functions of the first device 10 and the second device 20 can be flexibly set and adjusted, and the embodiments of the present application are not limited to this.

[0062] Please refer to Figure 3 , which shows a schematic diagram of an elevated identification system provided by an embodiment of the present application. The elevated identification system may include: a terminal 30 and a server 40.

[0063] The terminal 30 includes but is not limited to electronic devices such as mobile phones, tablet computers, game consoles, e-book readers, multimedia playback devices, wearable devices, PCs, intelligent voice interaction devices, smart home appliances, vehicle-mounted terminals, aircraft, etc. The terminal 30 may include a client of an application. Optionally, the application may be any application with a positioning function, such as a navigation application, a social application, a shopping application, etc., which is not limited in the embodiments of the present application. Among them, the above-mentioned application may be an application that needs to be downloaded and installed, or it may be an application that can be used immediately, which is not limited in the embodiments of the present application.

[0064] The server 40 is used to provide background services for the terminal 30. The server 40 can be a single server, or a server cluster consisting of multiple servers, or a cloud computing service center. Optionally, the server 40 can be a background server of the client of the above application. In an exemplary embodiment, the server 40 provides background services for multiple terminals 30.

[0065] The terminal 30 and the server 40 communicate with each other via a network.

[0066] Optionally, in the embodiment of the present application, the server 40 provides an overhead identification function for the terminal 30. For example, Figure 4 As shown, when the terminal 30 detects the positioning operation of the user, it obtains the driving data and longitude and latitude information collected at the current location, and further, based on the longitude and latitude, it determines whether there is an elevated road in the surrounding area of ​​the terminal 30. If there is an elevated road in the surrounding area of ​​the terminal 30, a positioning request is generated and sent to the server 40; if there is no elevated road in the surrounding area of ​​the terminal 30, the current location of the terminal 30 is determined based on the longitude and latitude information. Correspondingly, after obtaining the above positioning request, the server 40 generates a location identifier based on the longitude and latitude information in the positioning request, and extracts features from the location identifier and driving data to obtain feature information, and then inputs the feature information into the elevated discrimination model to obtain the discrimination result output by the elevated discrimination model. Among them, the discrimination result is used to indicate whether the terminal 30 is located on the elevated road. Afterwards, the server 40 sends the discrimination result to the terminal 30, and the terminal 30 determines the current location of the terminal 30 based on the discrimination result and the longitude and latitude information.

[0067] Optionally, the server 40 and Figure 1 The second device 20 in the embodiment may be the same device, which is not limited in the embodiment of the present application.

[0068] One thing that needs to be explained is that the above Figure 4The introduction is only exemplary and explanatory. In the exemplary embodiment, the functions of the terminal 30 and the server 40 can be flexibly set and adjusted, and the embodiments of the present application are not limited to this.

[0069] Please refer to Figure 5 , which shows a flow chart of a method for generating training samples in an elevated scenario provided by an embodiment of the present application. The method can be applied to Figure 1 The second device 20 of the training sample generation system in the overhead scene shown, such as the execution subject of each step can be the second device 20 (hereinafter referred to as "computer device"). The method may include at least one of the following steps (501-503):

[0070] Step 501: Acquire driving data sets corresponding to a plurality of roads.

[0071] A road is a road for vehicles to travel on. In an embodiment of the present application, before generating a training sample for an elevated discrimination model, a computer device obtains a driving data set corresponding to a plurality of roads. The plurality of roads include elevated roads and non-elevated roads at different levels; the driving data set includes driving data recorded at a plurality of different timestamps during the driving of a sample vehicle on the road, and the timestamp is used to indicate the time when the driving data is collected.

[0072] Optionally, the driving data set is collected and obtained while the sample vehicle is driving on a certain road, or may be the full amount of data of the sample vehicle during the driving process.

[0073] In a possible implementation, in order to reduce data transmission signaling, the driving data set is collected and acquired when the sample vehicle is driving on a certain road. Optionally, before acquiring the driving data set, the computer device determines the plurality of roads and sends identification information corresponding to the plurality of roads to the sample vehicle; correspondingly, when the sample vehicle determines to drive on a certain road among the plurality of roads, it starts to collect driving data, and further, when the sample vehicle leaves the road, it stops collecting driving data, and generates the driving data set based on the collected driving data and the time when the driving data is collected, and sends the driving data set to the computer device.

[0074] One point that needs to be explained is that the start and stop of the collection of the above driving data can be automatically determined by the sample vehicle or manually determined by the driver of the sample vehicle, and the embodiments of the present application do not limit this. Exemplarily, the sample vehicle has an accurate automatic positioning function. In this case, the sample vehicle can more accurately determine the road to which the target vehicle is traveling, and then the sample vehicle can automatically determine the start and stop of data collection. Optionally, this situation can be applied to the further optimization stage after the training of the elevated discrimination model is completed; or, the sample vehicle does not have an accurate automatic positioning function. In this case, the sample vehicle cannot more accurately determine the road to which the target vehicle is traveling, and then the driver's manual assistance is required to determine the start and stop of data collection. Optionally, this situation can be applied to the stage where the elevated discrimination model has not been trained.

[0075] In another possible implementation, in order to ensure the integrity of the data, the driving data set is the full amount of data of the sample vehicle during the driving process. Optionally, the sample vehicle collects driving data of multiple passing roads during the driving process, and generates the driving data set based on the driving data and the collection time of the driving data, and sends the driving data set to the computer device. Among them, the multiple passing roads refer to the roads that the sample vehicle passes through during one or more driving processes, and one driving process corresponds to a complete driving path.

[0076] Optionally, in the embodiment of the present application, the computer device may pre-acquire and store the above-mentioned driving data set, or may acquire the above-mentioned driving data set after determining to generate the training sample, which is not limited in the embodiment of the present application. Optionally, in the case where the computer device pre-acquires and stores the driving data set, each driving data set may be classified and stored based on the sample vehicle, or may be classified and stored based on the road, which is not limited in the embodiment of the present application.

[0077] Optionally, in the embodiment of the present application, the sample vehicle may be a specific vehicle set before the driving data is collected, or may be any vehicle with data collection authority and data upload authority, wherein the data collection authority and data upload authority are both authorities enabled by the user according to actual conditions.

[0078] Step 502: Based on the recording position of the driving data corresponding to the timestamp, the driving data corresponding to the timestamp is marked with a position mark to obtain feature data corresponding to the timestamp.

[0079] In the embodiment of the present application, after acquiring the above driving data set, the computer device performs position marking on the driving data corresponding to the timestamp based on the recording position of the driving data corresponding to the timestamp, and obtains the feature data corresponding to the timestamp. The recording position of the driving data corresponding to the timestamp is used to indicate the latitude and longitude information and altitude information of the driving data when it was recorded.

[0080] Optionally, the driving data corresponding to the above timestamp includes positioning information and driving change data. The driving change data is used to indicate uphill changes and downhill changes of the sample vehicle during driving. Optionally, after obtaining the driving data corresponding to a certain timestamp, based on the positioning information in the driving data, the longitude and latitude information of the sample vehicle when the driving data is collected is determined; and, based on the driving change data in the driving data, the height information of the sample vehicle when the driving data is collected is determined; further, based on the longitude and latitude information and the height information, the recording position of the driving data corresponding to the timestamp is determined.

[0081] In one possible implementation, in order to quickly determine the height information of the sample vehicle, the above-mentioned driving change data is used to indicate the uphill changes and downhill changes of the sample vehicle in the driving process before the above-mentioned timestamp. After obtaining the driving data corresponding to the timestamp, the uphill information and downhill information of the sample vehicle before the timestamp are determined based on the driving change data, and then the height information of the sample vehicle is determined. In another possible implementation, in order to improve the accuracy of the height information, the above-mentioned driving change data is used to indicate the uphill changes and downhill changes of the sample vehicle in the overall driving process. After obtaining the driving data corresponding to the timestamp, the uphill information and downhill information of the sample vehicle in the overall driving process are determined based on the driving change data, and then the height information of the sample vehicle is determined.

[0082] In an embodiment of the present application, the feature data corresponding to the above-mentioned timestamp includes the driving data corresponding to the timestamp, and a location identifier for indicating the recording location of the driving data corresponding to the timestamp. Optionally, the location identifier is used to indicate the sub-segment to which the above-mentioned recording location belongs; or, the location identifier is used to indicate the road segment to which the above-mentioned recording location belongs; or, the location identifier is used to indicate the longitude and latitude information of the above-mentioned recording location. Among them, a road includes multiple road segments, and a road segment includes multiple sub-segments. Optionally, the above-mentioned road segment is obtained by dividing it from the road based on the road collection specification, and the above-mentioned sub-segment is a fine-grained road component unit obtained by dividing on the road segment. For example, Figure 6 As shown, the elevated road 61 includes a plurality of road sections 62 , and each road section 62 includes a plurality of sub-road sections 63 .

[0083] Step 503: Generate a training sample corresponding to the timestamp according to the feature data corresponding to the timestamp.

[0084] In the embodiment of the present application, after acquiring the feature data corresponding to the above timestamp, the computer device generates a training sample corresponding to the timestamp according to the feature data corresponding to the timestamp. The training sample is used to train the elevated discrimination model, which is used to determine whether the target vehicle is located on an elevated road.

[0085] Optionally, in an embodiment of the present application, the training sample corresponding to the above timestamp includes feature information corresponding to the timestamp and a label corresponding to the timestamp, wherein the feature information corresponding to the timestamp is the input data of the elevated discriminant model, and the label corresponding to the timestamp is used to indicate the expected output result of the elevated discriminant model.

[0086] One point that needs to be explained is that in the embodiment of the present application, the computer device generates training samples corresponding to multiple timestamps from the driving data sets corresponding to the above-mentioned multiple roads based on the feature data corresponding to multiple timestamps, and then trains the elevated discrimination model with the training samples corresponding to the multiple timestamps.

[0087] To summarize, in the technical solution provided in the embodiment of the present application, training samples for the elevated discrimination model are generated through driving data sets corresponding to multiple roads and the recorded positions of driving data corresponding to each timestamp in the driving time set. That is to say, the present application provides an elevated discrimination model, which determines whether the target vehicle is located on the elevated road based on the driving data collected at the current moment and the recorded position at the current moment. It not only determines whether the target vehicle is on the elevated road based on a single piece of information, but also improves the accuracy of the discrimination result. Moreover, in the data collection process, there is a situation where the driving data collected at a certain position on the elevated road and a certain position under the elevated road are similar. In this application, in addition to the driving data collected at the current moment, it is also necessary to perform elevated discrimination based on the recorded position at the current moment, and mark the driving data with the recorded position. When similar driving data is collected at different positions, it is also possible to accurately judge whether the target vehicle is located on the elevated road.

[0088] Next, the method of obtaining feature data is introduced.

[0089] In an exemplary embodiment, the above step 502 includes at least one of the following steps:

[0090] 1. Based on the recording position of the driving data corresponding to the timestamp, determine the sub-segment to which the recording position belongs.

[0091] The recording position is used to indicate the latitude, longitude and altitude information of the driving data corresponding to the timestamp when it is recorded. In the embodiment of the present application, after obtaining the recording position of the driving data corresponding to the timestamp, the computer device determines the sub-segment where the recording position is located based on the recording position.

[0092] Optionally, in an embodiment of the present application, after obtaining the above-mentioned recorded position, the computer device obtains the longitude and latitude ranges and altitude ranges of multiple candidate sub-segments respectively; further, based on the longitude and latitude information and altitude information indicated by the recorded position, the sub-segment to which the recorded position belongs is determined from the multiple candidate sub-segments.

[0093] Optionally, the candidate sub-segments are determined based on the longitude and latitude information indicated by the recorded position. Exemplarily, after determining the longitude and latitude information indicated by the recorded position, the computer device determines the sub-segments located in the surrounding area of ​​the longitude and latitude information as candidate sub-segments, with the position indicated by the longitude and latitude information as the center.

[0094] Optionally, the computer device obtains the latitude and longitude range and altitude range of the candidate sub-segment through the road network data. Among them, the road network data includes attribute information for recording roads. Optionally, the road network data records the attribute information of each road in units of roads; or, the road network data records the attribute information of each road section in units of road sections; or, the road network data records the attribute information of each sub-segment in units of sub-segments in sections. In an embodiment of the present application, the above-mentioned road network data includes the attribute information of each sub-segment in the road. Of course, in an exemplary embodiment, the recording method of the attribute information in the road network data can be flexibly set and adjusted according to actual conditions. Exemplarily, the road network data records the attributes of each road section and the attribute information of each sub-segment in units of road sections and sub-segments in sections.

[0095] In a possible implementation, the attribute information of the sub-segment includes the latitude and longitude range and altitude range of the sub-segment. Optionally, after determining the candidate sub-segment, the computer device directly obtains the latitude and longitude range and altitude range of the candidate sub-segment from the stored data, and then determines whether the recording position of the driving data corresponding to the timestamp is within the latitude and longitude range and altitude range.

[0096] In another possible implementation, the attribute information of the sub-segment includes the latitude and longitude information and altitude information of the starting position and the ending position of the sub-segment. Optionally, after determining the candidate sub-segment, the computer device obtains the latitude and longitude information and altitude information of the starting position and the ending position of the candidate sub-segment, and then determines the latitude and longitude range and altitude range of the candidate sub-segment to determine whether the recording position of the driving data corresponding to the timestamp is within the latitude and longitude range and altitude range.

[0097] Of course, in other possible implementations, the attribute information of the sub-segment may also indicate the latitude and longitude range and altitude range of the sub-segment in other forms of information, which is not limited in the embodiments of the present application. Exemplarily, the attribute information of the sub-segment includes the latitude and longitude information and altitude information of the starting position of the sub-segment, the angle between the sub-segment and the horizontal plane, the length of the sub-segment, etc.

[0098] It should be noted that the above introduction to the road network data is only exemplary and explanatory. In the exemplary embodiment, the road network data can be flexibly set and adjusted according to the actual situation, and the embodiment of the present application does not limit this. For example, the road network data also includes but is not limited to at least one of the following: connection information of each sub-segment, connection information of each road segment, connection information of each road, name of each road, etc.

[0099] 2. Determine the location identifier of the driving data corresponding to the timestamp based on the sub-road section to which the recorded location belongs.

[0100] In the embodiment of the present application, after determining the sub-segment to which the recorded position belongs, the computer device determines the location identifier of the driving data corresponding to the timestamp, wherein the location identifier is used to indicate the sub-segment to which the recorded position of the driving data corresponding to the timestamp belongs.

[0101] In a possible implementation, there is a one-to-one correspondence between the sub-segment and the location identifier. Optionally, after determining the sub-segment to which the recorded location belongs, the computer device uses the identification information of the sub-segment as the location identifier.

[0102] In another possible implementation, the sub-segment and the associated sub-segment share a location identifier, and the longitude and latitude range of the sub-segment is similar to the longitude and latitude range of the associated sub-segment. For example, the overlapping range between the longitude and latitude range of the sub-segment and the longitude and latitude range of the associated sub-segment is directly used as the above location identifier. The relationship between the sub-segment and the associated sub-segment is described below and will not be repeated here.

[0103] 3. Generate feature data corresponding to the timestamp based on the driving data corresponding to the timestamp and the location identifier.

[0104] In an embodiment of the present application, after obtaining the location identifier of the driving data corresponding to the above-mentioned timestamp, the computer device generates feature data corresponding to the timestamp based on the driving data corresponding to the timestamp and the location identifier of the driving data.

[0105] For example, Figure 7As shown, a method for obtaining characteristic data corresponding to a timestamp is fully introduced. After obtaining the driving data 71 corresponding to the timestamp and the recording position 72 corresponding to the timestamp, the computer device determines the sub-segment 74 to which the recording position belongs based on the recording position 72 corresponding to the timestamp and the data stored in the road network data 73, and determines the location identifier 75 corresponding to the timestamp; further, the computer device generates characteristic data 76 corresponding to the timestamp based on the driving data 71 corresponding to the timestamp and the location identifier 75 corresponding to the timestamp.

[0106] In summary, in the embodiments of the present application, feature data is generated through location identification, and subsequently training samples of the elevated discrimination model can be generated based on the feature data. That is, during the training process of the elevated discrimination model, the elevated discrimination model can be learned based on the data structure of "location identification + driving data", so that the elevated discrimination model after training can use both location identification and driving data when making elevated discrimination, thereby improving the accuracy of the elevated discrimination model. When similar driving data are collected at different locations, the elevated discrimination model can also accurately determine whether the target vehicle is located on the elevated road.

[0107] Next, the method of obtaining the driving data set is introduced.

[0108] In a possible implementation, the computer device first determines the associated sub-segment corresponding to the sub-segment based on the sub-segment on the elevated road, and then obtains the above-mentioned driving data set.

[0109] In an exemplary embodiment, the above step 501 includes at least one of the following steps:

[0110] 1. Segment the elevated road to obtain at least one sub-segment contained in the elevated road.

[0111] The elevated road refers to any elevated road among the above-mentioned multiple roads. In the embodiment of the present application, the computer device obtains at least one elevated road, and divides the elevated road to obtain at least one sub-segment included in the elevated road.

[0112] Optionally, the computer device divides and obtains sub-segments from the road segment; or, the computer device divides and obtains sub-segments from the elevated road.

[0113] In a possible implementation, the computer device divides and obtains sub-segments from the road segment. Optionally, after obtaining the elevated road, the computer device obtains multiple road segments contained in the elevated road and the set lengths of the sub-segments; further, according to the set lengths and the lengths of each road segment, the segmentation lengths corresponding to each road segment are determined; then, based on the segmentation lengths, each road segment is divided to obtain at least one sub-segment contained in the elevated road.

[0114] For example, assuming that the set length of the sub-segment is γ and the length of the segment is L, the estimated number of segmentations N of the segment is:

[0115] N = Round (L / γ);

[0116] Among them, Round is the rounding function;

[0117] The segmentation length l of this section is:

[0118] l=L / N.

[0119] In another possible implementation, the computer device divides and obtains sub-segments from the elevated road. Optionally, after obtaining the elevated road, the computer device obtains the length of the elevated road and the set length of the sub-segments; further, according to the length of the elevated road and the set length, the division length of the elevated road is determined; then, based on the division length, the elevated road is divided to obtain at least one sub-segment contained in the elevated road.

[0120] The above-mentioned set length can be flexibly set and adjusted according to actual conditions, and the embodiment of the present application does not limit this. Optionally, in the embodiment of the present application, the set lengths corresponding to different elevated roads are the same, and for elevated roads of different lengths, the same set length is used to divide them into sub-segments, and the difference between the obtained sub-segments is small.

[0121] 2. Get the associated sub-segment corresponding to the sub-segment.

[0122] In an embodiment of the present application, after obtaining the above sub-segment, the computer device obtains the associated sub-segment corresponding to the sub-segment. The associated sub-segment includes the elevated sub-segment corresponding to the sub-segment located on a non-elevated road. Optionally, the longitude and latitude information of the associated sub-segment is similar to the longitude and latitude information of the sub-segment.

[0123] Optionally, in an embodiment of the present application, after obtaining the above-mentioned sub-section, the computer device obtains a projection sub-section corresponding to the sub-section; further, it is determined whether the projection sub-section is located in a non-elevated sub-section.

[0124] Optionally, if the projected sub-section is located on a non-elevated road, the projected sub-section is determined to be the elevated sub-section corresponding to the above sub-section. In this case, the above associated sub-section only includes the elevated sub-section corresponding to the above sub-section.

[0125] Optionally, if the projected sub-segment is located on an elevated road, the projected sub-segment is determined to be a sub-segment on the lower elevated road corresponding to the above sub-segment; and the projected sub-segment is determined to be a new sub-segment, and the projected sub-segment corresponding to the new sub-segment is continuously acquired. In this case, the associated sub-segments include: a sub-segment on at least one lower elevated road corresponding to the sub-segment, and a sub-segment under the elevated road corresponding to the sub-segment. There is a one-to-one correspondence between the sub-segment, the sub-segments on each lower elevated road, and the sub-segment under the elevated road.

[0126] Optionally, the computer device obtains the above-mentioned projected sub-road segment through an elevated map. The elevated map is used to display the hierarchical positional relationship of each road. Optionally, the above-mentioned elevated map includes the sub-road segment and the hierarchical information of the sub-road segment. Exemplarily, in the elevated map, display samples are used as hierarchical information, and different display styles correspond to the hierarchical information of roads of different hierarchies; or, in the elevated map, numerical values ​​are used as hierarchical information, and different numerical values ​​correspond to the hierarchical information of roads of different hierarchies. Optionally, the above-mentioned elevated map also includes the connection relationship between each sub-road segment to display the road segments composed of sub-road segments and the roads composed of road segments.

[0127] In an embodiment of the present application, when obtaining the above-mentioned projected sub-road segment, the computer device obtains the above-mentioned elevated map, and on the elevated map, with the endpoint of the sub-road segment as a reference, draws a vertical line through the endpoint to obtain the intersection of the vertical line and at least one elevated road. The elevated road refers to the lower road of the above-mentioned elevated road. Afterwards, the computer device obtains the projected sub-road segment corresponding to the sub-road segment based on the position of the above-mentioned intersection. The above-mentioned vertical line can be a vertical line perpendicular to the sub-road segment, or a vertical line perpendicular to the horizontal plane, which is not limited in the embodiment of the present application.

[0128] Optionally, in an embodiment of the present application, after obtaining the above-mentioned intersection, the computer device obtains at least one candidate projection sub-segment intercepted by the intersection from at least one elevated underpass road; further, from at least one candidate projection sub-segment, the candidate projection sub-segment closest to the above-mentioned sub-segment is determined as the projection sub-segment corresponding to the sub-segment.

[0129] For example, Figure 8 As shown, the elevated map 80 includes a plurality of elevated roads 81 and a plurality of non-elevated roads 82. The elevated road 81 is segmented to obtain a plurality of sub-segments 83 in the elevated road 81. A vertical line passing through the endpoint of the sub-segment 83 is drawn based on the endpoint to obtain the intersection of the vertical line and at least one road under the elevated road; further, according to the position of the intersection, from a plurality of candidate projection sub-segments 84, the candidate projection sub-segment 84 closest to the sub-segment 83 is determined as the projection sub-segment 85 corresponding to the sub-segment 83.

[0130] It should be noted that the above-mentioned projection sub-segment can be a sub-segment in a road segment, or a sub-segment composed of multiple road segments. Fig. 9 As shown, if the vertical line 91 and the vertical line 92 corresponding to the sub-segment 90 intersect with the road section 93, the projection sub-segment 94 corresponding to the sub-segment 90 is obtained from the road section 93, and the endpoints of the projection sub-segment 94 are the intersection points of the vertical line 91 and the road section 93, and the intersection points of the vertical line 92 and the road section 93 respectively; if the vertical line 91 and the vertical line 92 corresponding to the sub-segment 90 intersect with the road section 95 and the road section 96 respectively, then the projection sub-segment 97 corresponding to the sub-segment 90 is obtained based on the road section 95 and the road section 96, and the endpoints of the projection sub-segment are the intersection points of the vertical line 91 and the road section 95, and the intersection points of the vertical line 92 and the road section 96 respectively.

[0131] 3. Obtain the driving data set corresponding to the sub-segment and the driving data set corresponding to the associated sub-segment.

[0132] In the embodiment of the present application, after obtaining the above-mentioned sub-segment and the associated sub-segment corresponding to the sub-segment, the computer device obtains the driving data set corresponding to the sub-segment and the driving data set corresponding to the associated sub-segment. The driving data set corresponding to the above-mentioned multiple roads includes the driving data set corresponding to each sub-segment and the driving data set corresponding to each associated sub-segment.

[0133] In another possible implementation, the computer device first determines the association relationship between the sub-segments on the elevated road and the sub-segments on the non-elevated road, and then obtains the above-mentioned driving data set.

[0134] In an exemplary embodiment, the above step 501 includes at least one of the following steps:

[0135] 1. Get the elevated road and the associated roads corresponding to the elevated road.

[0136] In the embodiment of the present application, before generating the training samples of the elevated road discrimination model, the computer device obtains the elevated road and the associated roads corresponding to the elevated road, wherein the associated roads include at least one road located at the lower layer of the elevated road.

[0137] Optionally, the above-mentioned associated road may be an elevated road or a non-elevated road, which is not limited in the embodiment of the present application.

[0138] 2. Segment the elevated road and the associated road respectively to obtain at least one first sub-segment and at least one second sub-segment.

[0139] In the embodiment of the present application, after obtaining the above-mentioned elevated road and the above-mentioned associated road, the computer device divides the elevated road and the associated road respectively to obtain at least one first sub-segment and at least one second sub-segment. The first sub-segment refers to a sub-segment located on the elevated road, and the second sub-segment refers to a sub-segment located on the associated road.

[0140] Optionally, the computer device divides the road segment into sub-segments; or, the computer device divides the road segment into sub-segments.

[0141] In a possible implementation, the computer device obtains sub-segments by segmenting the road segment. Optionally, after obtaining the elevated road and the associated roads, the computer device obtains multiple road segments included in the elevated road, multiple road segments included in the associated roads, and set lengths of the sub-segments; further, according to the set lengths and the lengths of each road segment, the segmentation lengths corresponding to each road segment are determined; then, based on the segmentation lengths, each road segment is segmented to obtain at least one first sub-segment and at least one second sub-segment.

[0142] In another possible implementation, the computer device obtains sub-segments by segmenting the road. Optionally, after obtaining the elevated road and the associated road, the computer device obtains the length of the elevated road, the length of the associated road, and the set length of the sub-segment; further, according to the length of the elevated road and the set length, the segmentation length of the elevated road is determined, and based on the segmentation length, the elevated road is segmented to obtain at least one first sub-segment; and, according to the length of the associated road and the set length, the segmentation length of the associated road is determined, and based on the segmentation length, the associated road is segmented to obtain at least one second sub-segment.

[0143] The above-mentioned set length can be flexibly set and adjusted according to actual conditions, and the embodiment of the present application does not limit this. Optionally, in the embodiment of the present application, the set lengths corresponding to different roads are the same, and for roads of different lengths, the same set length is used to divide them to obtain sub-segments, and the difference between the obtained sub-segments is small.

[0144] One point that needs to be explained is that, in the embodiment of the present application, after the computer device obtains the above-mentioned first sub-segment and the above-mentioned second sub-segment, it obtains the corresponding relationship between the first sub-segment and the second sub-segment. In this case, the location identifier corresponding to the first sub-segment has a corresponding relationship with the location identifier corresponding to the second sub-segment. When the elevated discrimination model is subsequently trained by "location identifier + driving data", since the location identifier corresponding to the driving data on a certain elevated road has a corresponding relationship with the location identifier corresponding to the driving data under the elevated road, the correlation relationship between the sub-segments will also be learned during the model training process. The accuracy of the trained elevated discrimination model is high. For example, during the elevated discrimination process, if the location identifier determined based on the latitude and longitude information uploaded by the target vehicle is incorrect (such as the sub-segment on the elevated road is mistakenly judged as the sub-segment under the elevated road), the elevated discrimination model can also determine the correct discrimination result based on the correlation between the location identifiers and the driving data.

[0145] Optionally, in an embodiment of the present application, after obtaining the above-mentioned first sub-segment and the above-mentioned second sub-segment, the computer device obtains the longitude and latitude range of each first sub-segment, and the longitude and latitude range of each second sub-segment; further, based on the longitude and latitude range, each first sub-segment and each second sub-segment are matched to determine at least one sub-segment group. Among them, a sub-segment group includes a first sub-segment and a second sub-segment whose difference in longitude and latitude ranges meets a condition. Optionally, the above-mentioned condition is that the longitude difference is less than a first threshold value, and the latitude difference is less than a second threshold value. Optionally, in an embodiment of the present application, the second sub-segment in the sub-segment group is the elevated underpass sub-segment corresponding to the first sub-segment in the sub-segment group.

[0146] 3. Obtain the driving data set corresponding to the first sub-segment and the driving data set corresponding to the second sub-segment.

[0147] In the embodiment of the present application, after acquiring the first sub-segment and the second sub-segment, the computer device acquires the driving data set corresponding to the first sub-segment and the driving data set corresponding to the second sub-segment. The driving data sets corresponding to the plurality of roads include the driving data sets corresponding to each first sub-segment and the driving data sets corresponding to each second sub-segment.

[0148] Next, the method of obtaining training samples is introduced.

[0149] In an exemplary embodiment, the above step 503 includes at least one of the following steps:

[0150] 1. Perform feature extraction on the feature data corresponding to the timestamp to generate feature information corresponding to the timestamp.

[0151] In the embodiment of the present application, after acquiring the feature data corresponding to the timestamp, the computer device extracts the feature data corresponding to the timestamp to generate feature information corresponding to the timestamp. Optionally, the feature information includes but is not limited to at least one of the following: road feature information, signal feature information, satellite feature information, etc.

[0152] Optionally, in the embodiment of the present application, the step of acquiring the road characteristic information includes at least one of the following:

[0153] 1) Based on the location identifier, the number of sub-segments contained in the surrounding area of ​​the location identifier is extracted from the road network data.

[0154] In an embodiment of the present application, after acquiring the above-mentioned feature data, the computer device extracts the number of sub-road sections contained in the surrounding area of ​​the location identifier from the above-mentioned road network data based on the location identifier in the feature data. The surrounding area of ​​the location identifier refers to the area centered on the location identifier. Exemplarily, if the location identifier is used to indicate the longitude and latitude information in the above-mentioned recorded position, the surrounding area of ​​the location identifier refers to the area centered on the longitude and latitude information; if the location identifier is used to indicate the sub-road section to which the above-mentioned recorded position belongs, the surrounding area of ​​the location identifier refers to the area centered on the sub-road section; if the location identifier is used to indicate the road section to which the above-mentioned recorded position belongs, the surrounding area of ​​the location identifier refers to the area centered on the road section.

[0155] Optionally, the road network data includes the connection relationship of each sub-road segment. After acquiring the location identifier, the computer device determines the number of sub-road segments included in the surrounding area of ​​the location identifier from the road network data based on the connection relationship of each sub-road segment.

[0156] 2) Based on the location identifier, the number of road sections contained in the surrounding area of ​​the location identifier is extracted from the road network data.

[0157] In an embodiment of the present application, after acquiring the above-mentioned feature data, the computer device extracts the number of road sections contained in the surrounding area of ​​the location identifier from the road network data based on the location identifier in the feature data.

[0158] Optionally, the road network data includes the connection relationship of each road segment. After acquiring the location identifier, the computer device determines the number of road segments included in the surrounding area of ​​the location identifier from the road network data based on the connection relationship of each road segment.

[0159] 3) Based on the location identifier, the number of elevated sub-segments and the number of elevated road segments contained in the surrounding area of ​​the location identifier are extracted from the road network data.

[0160] In the embodiment of the present application, after acquiring the above-mentioned characteristic data, the computer device extracts the number of elevated sub-segments and the number of elevated sections contained around the location identifier from the road network data based on the location identifier in the characteristic data. The high-level sub-segment refers to a sub-segment located on an elevated road, and the elevated section refers to a section located on an elevated road.

[0161] Optionally, the road network data includes road identification of sub-segments and road identification of sections. The road identification of sub-segments is used to indicate whether the sub-segment is located on an elevated road, and the road identification of sections is used to indicate whether the section is located on an elevated road. In the embodiment of the present application, after acquiring the above-mentioned location identification, the computer device determines the number of elevated sub-segments and the number of elevated sections contained in the surrounding area of ​​the location identification from the road network data based on the road identification of the sub-segment and the road identification of the section.

[0162] One point that needs to be explained is that, in the embodiment of the present application, the relevant information on the sub-road segment contained in the road network data can be collectively referred to as "attribute information of the sub-road segment".

[0163] Optionally, in the implementation of the present application, the step of acquiring the signal characteristic information includes at least one of the following:

[0164] 1) According to the signal data, the signal strength of each signal contained in the signal data is obtained; based on the signal strength, each signal is sorted and counted to obtain the sorting of each signal from strong to weak, as well as the strength statistical data of the signal data.

[0165] Optionally, in an embodiment of the present application, the above-mentioned driving data includes signal data, and the signal data includes Wi-Fi signal data and base station signal data.

[0166] In an embodiment of the present application, after obtaining the above-mentioned characteristic data, the computer device obtains the signal strength of each signal contained in the signal based on the signal data in the characteristic data, and sorts and counts each signal based on the signal strength to obtain the sorting of each signal from strong to weak, as well as the strength statistical data of the signal data.

[0167] Optionally, the above-mentioned strength statistical data includes but is not limited to at least one of the following: strength average, strength variance, etc.

[0168] 2) According to the signal data, the local area network address of each signal contained in the signal data is obtained; according to the local area network address of each signal, the signal transmission position of each signal is obtained.

[0169] In an embodiment of the present application, after obtaining the above-mentioned characteristic data, the computer device obtains the local area network address of each signal contained in the signal data based on the signal data in the characteristic data, and then obtains the signal transmission position of each signal according to each trained local area network address.

[0170] Optionally, the signal transmission position may be the actual position of the signal transmission device, or may be the relative position of the signal transmission device relative to the position identifier, which is not limited in the embodiment of the present application.

[0171] 3) Based on the signal data, determine the historical frequency of each signal contained in the signal data within the target time period.

[0172] In the embodiment of the present application, after acquiring the above-mentioned characteristic data, the computer device determines the historical frequency of each signal contained in the signal data within the target time period based on the signal data in the characteristic data, wherein the historical frequency refers to the number of times the signal is scanned.

[0173] Optionally, in an embodiment of the present application, in order to improve the reliability of characteristic information, after acquiring the above-mentioned signal data, the computer device filters the signals contained in the signal data based on the historical frequency of each signal in the signal data, removes the signals whose historical frequency is less than the target value, and obtains the above-mentioned signal characteristic information based on the signal data corresponding to the remaining signals.

[0174] Optionally, in an embodiment of the present application, the step of acquiring the satellite characteristic information includes at least one of the following:

[0175] 1) According to the satellite data, the number of satellites contained in the satellite data is obtained; according to the number of satellites and the number of visible satellites, a satellite number feature is generated.

[0176] Optionally, in an embodiment of the present application, the above-mentioned driving data includes satellite data.

[0177] In the embodiment of the present application, after obtaining the above-mentioned feature data, the computer device obtains the number of satellites contained in the satellite data based on the satellite data in the feature data; further, a satellite number feature is generated according to the number of satellites and the number of visible satellites. The number of visible satellites refers to the number of satellites that can be theoretically detected at the position indicated by the above-mentioned position identifier and at the time indicated by the above-mentioned timestamp.

[0178] 2) According to the satellite data, the attribute information of each satellite contained in the satellite data is obtained.

[0179] In the embodiment of the present application, after obtaining the above-mentioned characteristic data, the computer device obtains the attribute information of each satellite contained in the satellite data based on the satellite data in the characteristic data. The attribute information of the satellite includes but is not limited to at least one of the following: the altitude of the satellite, the speed of the satellite, the direction of the satellite, the accuracy of the satellite, etc., which is not limited in the embodiment of the present application.

[0180] Optionally, the above satellite data is data transmitted by the satellite chip to the sample vehicle.

[0181] 3) According to the satellite data, the signal-to-noise ratio of each satellite contained in the satellite data is obtained.

[0182] In an embodiment of the present application, after acquiring the above-mentioned characteristic data, the computer device acquires the signal-to-noise ratio of each satellite contained in the satellite data based on the satellite data in the characteristic data.

[0183] Optionally, the above signal-to-noise ratio is data transmitted by the satellite chip to the sample vehicle.

[0184] 2. Based on the location identifier, determine the sub-segment corresponding to the timestamp.

[0185] In the embodiment of the present application, after obtaining the above-mentioned location identifier, the computer device determines the sub-segment corresponding to the timestamp based on the location identifier, wherein the sub-segment corresponding to the timestamp refers to the sub-segment to which the recording position of the driving data corresponding to the timestamp belongs.

[0186] 3. Determine the label corresponding to the timestamp based on the attribute information of the sub-segment corresponding to the timestamp.

[0187] Optionally, the training samples correspond to labels. In an embodiment of the present application, after obtaining the sub-segment corresponding to the timestamp, the computer device determines the label corresponding to the timestamp according to the attribute information of the sub-segment corresponding to the timestamp. The attribute information is used to indicate whether the sub-segment is located on an elevated road. Optionally, the attribute information includes a road identification of the sub-segment, and the road identification of the sub-segment is used to indicate whether the sub-segment is located on an elevated road.

[0188] 4. Generate training samples corresponding to the timestamp based on the feature information corresponding to the timestamp and the label corresponding to the timestamp.

[0189] In an embodiment of the present application, after obtaining the feature information corresponding to the timestamp and the label corresponding to the timestamp, the computer device generates a training sample corresponding to the timestamp according to the feature information corresponding to the timestamp and the label corresponding to the timestamp.

[0190] Optionally, the feature information corresponding to the timestamp is the input data of the elevated discriminant model, and the label corresponding to the timestamp is the expected output result of the elevated discriminant model. In an embodiment of the present application, after obtaining the above-mentioned training sample, the feature information corresponding to the timestamp is input into the elevated discriminant model to obtain the output result of the elevated discriminant model for the feature information corresponding to the timestamp; then, based on the output result of the feature information corresponding to each timestamp and the label corresponding to each timestamp, the loss of the elevated discriminant model is obtained, and the elevated discriminant model is adjusted based on the loss until the elevated discriminant model training is completed.

[0191] For example, Fig.10 As shown, the process of obtaining training samples is fully introduced. The computer device obtains the sub-segments on the elevated road, and the associated sub-segments corresponding to each sub-segment, and further obtains the driving data set corresponding to the sub-segment, and the driving data set corresponding to the associated sub-segment. Among them, the driving data set corresponding to the sub-segment and the driving data set corresponding to the associated sub-segment are collectively referred to as driving data sets. Afterwards, the computer device determines "timestamp + recorded location", "timestamp + Wi-Fi data, base station data, satellite data" based on the driving data contained in the above driving data, and generates "timestamp + location identifier + Wi-Fi data, base station data, satellite data". Among them, the above location identifier is used to indicate the sub-segment to which the above recorded location belongs. Afterwards, feature extraction is performed on "timestamp + location identifier + Wi-Fi data, base station data, satellite data" to determine feature information, and based on the above location identifier, it is determined whether the sub-segment to which the above recorded location belongs is located on the elevated road to generate a label of feature information, and generate training samples based on the feature and label. Among them, one training sample is generated based on the data corresponding to one timestamp.

[0192] Optionally, the elevated road discrimination model provided in the embodiment of the present application can also be used to discriminate the level of the elevated road where the sub-road section is located. Exemplarily, in a single-layer elevated road scenario, the label is used to identify whether the training sample is a training sample obtained based on the driving data set corresponding to the elevated road; in a multi-layer elevated road scenario, the above label is used to identify whether the training sample is a training sample obtained based on the driving data set corresponding to the elevated road, and the level of the source road of the training sample.

[0193] Please refer to Fig.11 , which shows a flow chart of an elevated identification method provided by an embodiment of the present application. The method can be applied to Figure 3 The server 40 of the overhead identification system shown in the figure, such as the execution subject of each step can be the server 40 (hereinafter referred to as "computer device"). The method may include at least one of the following steps (1101-1103):

[0194] Step 1101, obtaining the location identifier of the target vehicle at the current driving time, and the driving data obtained by the target vehicle.

[0195] The target vehicle is any vehicle. In the embodiment of the present application, during the driving of the target vehicle, the computer device can obtain the location identification of the target vehicle at the current driving time, and the driving data obtained by the target vehicle.

[0196] Optionally, the above-mentioned position identifier is used to indicate the current position of the target vehicle.

[0197] In one possible implementation, the position identifier is used to indicate the road section where the target vehicle is currently located. Optionally, the position identifier is identification information of the road section where the target vehicle is currently located. In another possible implementation, the position identifier is used to indicate the sub-road section where the target vehicle is currently located. Optionally, the position identifier is identification information of the sub-road section where the target vehicle is currently located.

[0198] Optionally, during the driving of the target vehicle, the computer device obtains the positioning information of the target vehicle, and obtains the above-mentioned location identifier based on the positioning information.

[0199] One point that needs to be explained is that due to the existence of elevated roads, the current height of the target vehicle cannot be determined based on the positioning information, that is, the above-mentioned position identifier is an estimated value, and it is impossible to accurately locate the position identifier on the elevated road or the position identifier under the elevated road. In addition, as described in the above embodiment, during the training process of the elevated discrimination model, there is a corresponding relationship between the training samples above and below the elevated road. Therefore, when the position identifier is incorrect, the elevated discrimination model can also determine an accurate discrimination result based on the driving data. Another point that needs to be explained is that since the above-mentioned position identifier is an estimated value, the above-mentioned positioning information can be estimated inaccurate positioning information.

[0200] Of course, in another possible implementation manner, the above-mentioned location identifier is used to indicate the latitude and longitude information of the current location of the target vehicle.

[0201] The driving data acquired by the target vehicle refers to the data acquired when the target vehicle drives to the current driving position. Optionally, the driving data includes satellite data and signal data, and the signal data includes Wi-Fi signal data and / or base station signal data. It should be noted that the current driving position is based on the position indicated by the position identifier. Optionally, in an embodiment of the present application, the latitude and longitude information is acquired based on satellite data.

[0202] Optionally, in an embodiment of the present application, the computer device obtains the above-mentioned location identifier through the vehicle-mounted terminal of the target vehicle. Exemplarily, during the driving process of the target vehicle, after the vehicle-mounted terminal detects the positioning operation triggered by the user for the target vehicle, it obtains the driving data of the target vehicle and sends the driving data to the computer device; further, the computer device determines the longitude and latitude information of the target vehicle based on the satellite data in the driving data, and generates the location identifier of the target vehicle based on the longitude and latitude information. Of course, in an exemplary embodiment, after obtaining the above-mentioned driving data, the vehicle-mounted terminal can determine the location identifier based on the satellite data, and then directly send the location identifier and driving data to the computer device.

[0203] Optionally, in an embodiment of the present application, after obtaining the above-mentioned location identifier, it is possible to first determine whether there is an elevated road in the surrounding area of ​​the target vehicle based on the location identifier; if there is an elevated road in the surrounding area of ​​the target vehicle, then perform elevated identification; that is, if there is no elevated road in the surrounding area of ​​the target vehicle, the target vehicle can be located directly based on the latitude and longitude information.

[0204] Step 1102, extracting features from the location identifier and driving data to obtain feature information of the target vehicle.

[0205] In an embodiment of the present application, after acquiring the above-mentioned location identifier and driving data, the computer device performs feature extraction on the location identifier and driving data to obtain feature information of the target vehicle.

[0206] Optionally, the characteristic information includes but is not limited to at least one of the following: road characteristic information, signal characteristic information, satellite characteristic information, etc. In an exemplary embodiment, the above step 1102 includes at least one of the following steps:

[0207] 1. Based on the location identifier, extract the road feature information of the target vehicle from the road network data; the road network data includes the attribute information of each road section in the road, and the attribute information of each sub-road section in the road section; wherein, a road includes multiple road sections, and a road section includes multiple sub-road sections;

[0208] 2. Extract features from the signal data in the driving data to obtain signal feature information of the target vehicle;

[0209] 3. Extract features from the satellite data in the driving data to obtain the satellite feature information of the target vehicle.

[0210] Among them, the above-mentioned road characteristic information, the above-mentioned signal characteristic information and the above-mentioned satellite characteristic information are specifically referred to the above embodiments and will not be described in detail here.

[0211] Step 1103, determining the identification result of the target vehicle based on the feature information.

[0212] In an embodiment of the present application, after acquiring the above-mentioned characteristic information, the computer device determines the discrimination result of the target vehicle based on the characteristic information. The discrimination result is used to indicate whether the target vehicle is located on an elevated road. Optionally, the computer device determines the discrimination result of the target vehicle based on the above-mentioned elevated discrimination model and the above-mentioned characteristic information.

[0213] Optionally, in an embodiment of the present application, the elevated discrimination model includes elevated discrimination models applicable to different scenarios. Different elevated discrimination models correspond to different input data. In an exemplary embodiment, the above step 1103 includes at least one of the following steps:

[0214] 1. Obtain the information category contained in the feature information;

[0215] 2. Based on the information category, from at least one candidate elevated discriminant model, determine a candidate elevated discriminant model whose category of the input data matches the information category as the elevated discriminant model;

[0216] 3. Use the elevated discrimination model to determine the discrimination result of the target vehicle based on the feature information.

[0217] The information category is the type of information, and the information category included in the feature information is used to indicate the type of information included in the feature information. Optionally, the category includes but is not limited to at least one of the following: location identification category, satellite signal category, Wi-Fi signal category, base station signal category, etc. Of course, in an exemplary embodiment, the category can also be divided into more fine-grained categories, such as satellite signal-to-noise ratio category, signal transmission location category, etc.

[0218] In an embodiment of the present application, a computer device obtains an information category contained in the feature information, and based on the information category, determines, from at least one candidate elevated discrimination model, a candidate elevated discrimination model whose category of input data matches the information category as an elevated discrimination model, and uses the elevated discrimination model to determine a discrimination result of the target vehicle based on the feature information.

[0219] Optionally, in an embodiment of the present application, after obtaining the above-mentioned characteristic information, the computer device may determine the above-mentioned information category based on the content contained in the characteristic information; or, after obtaining the above-mentioned driving data, the computer device may determine the above-mentioned information category based on the content contained in the driving data, and the embodiment of the present application is not limited to this.

[0220] One point that needs to be explained is that since different candidate elevated road discrimination models correspond to different input data, different types of training samples can be generated based on the above driving data set during the model training process, and then different candidate elevated road discrimination models can be trained based on different types of training samples, so that in the subsequent elevated road discrimination process, the appropriate elevated road discrimination model can be flexibly selected according to the actual situation. Among them, different types of training samples contain different types of information.

[0221] For example, in conjunction with reference Fig.12 , the overall process of elevated identification is introduced. The computer device includes an elevated positioning request section 121, an elevated feature generation section 122 and an elevated online identification section 123. After the computer device obtains the positioning request from the target vehicle, the elevated positioning request section 121 obtains the driving data carried by the positioning request. Among them, the driving data includes Wi-Fi data, base station data and satellite data. Afterwards, the elevated feature generation section 122 determines the location identifier based on the latitude and longitude information in the satellite data, and extracts features from the location identifier and the above driving data to obtain road feature information, Wi-Fi feature information and signal feature information. Afterwards, the elevated online identification section 123 allocates a suitable elevated identification model from multiple candidate elevated identification models based on the location identifier, road feature information, Wi-Fi feature information and signal feature information, and then inputs the location identifier, road feature information, Wi-Fi feature information and signal feature information into the elevated identification model to obtain the identification result for the above target vehicle.

[0222] Optionally, the above-mentioned elevated discrimination model can also output the confidence of the above-mentioned discrimination result. In the embodiment of the present application, after the computer device inputs the above-mentioned feature information into the above-mentioned elevated discrimination model, it obtains the discrimination result output by the elevated discrimination model and the confidence of the discrimination result, and then determines the reliability of the discrimination result based on the confidence. If the confidence is greater than or equal to the target value, the discrimination result is determined to be reliable; if the confidence is less than the target value, the discrimination result is determined to be unreliable.

[0223] In addition, for some details about the elevated discriminant model, please refer to the above Figure 5 The contents introduced in the embodiments are not repeated here.

[0224] To sum up, in the technical solution provided in the embodiment of the present application, the elevated road discrimination model determines whether the target vehicle is located on the elevated road based on the driving data collected at the current moment and the recorded position at the current moment. It not only determines whether the target vehicle is on the elevated road based on a single piece of information, but also improves the accuracy of the discrimination result. Moreover, when similar driving data is collected at different locations, it can also accurately judge whether the target vehicle is on the elevated road.

[0225] One point that needs to be explained is that in this application, both the expressions "sub-segments on the road" and "sub-segments in the road" indicate that the sub-segments are obtained by segmenting the road. In addition, it is understandable that in the specific implementation of this application, when user information and other related data are involved, when the above embodiments of this application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of related data must comply with the relevant laws, regulations and standards of the relevant countries and maps; for example, the contents of driving data collection, positioning information acquisition, etc. involved in this application are all collected with the permission of the user and in compliance with relevant laws, regulations and standards.

[0226] It should also be noted that the introduction of the present application through the embodiments above is merely exemplary and explanatory, and new embodiments formed by arbitrarily combining the steps in the above embodiments are also within the scope of protection of the present application.

[0227] The following is an embodiment of the device of the present application, which can be used to execute the embodiment of the method of the present application. For details not disclosed in the embodiment of the device of the present application, please refer to the embodiment of the method of the present application.

[0228] Please refer to Fig.13 , which shows a block diagram of a training sample generation device in an elevated scenario provided by an embodiment of the present application. The device has the function of implementing the training sample generation method in the elevated scenario, and the function can be implemented by hardware, or by hardware executing corresponding software. The device can be a computer device, or can be set in a computer device. The device 1300 may include: a data acquisition module 1310, a data generation module 1320 and a sample generation module 1330.

[0229] The data acquisition module 1310 is used to obtain driving data sets corresponding to multiple roads; wherein the multiple roads include elevated roads and non-elevated roads at different levels, and the driving data sets include driving data recorded at multiple different time stamps during the driving of sample vehicles on the roads.

[0230] The data generation module 1320 is used to mark the position of the driving data corresponding to the timestamp based on the recording position of the driving data corresponding to the timestamp, so as to obtain the characteristic data corresponding to the timestamp; wherein the characteristic data corresponding to the timestamp includes the driving data corresponding to the timestamp, and a position identifier used to indicate the recording position of the driving data corresponding to the timestamp.

[0231] The sample generation module 1330 is used to generate a training sample corresponding to the timestamp according to the feature data corresponding to the timestamp; wherein the training sample is used to train an elevated discrimination model, and the elevated discrimination model is used to discriminate whether the target vehicle is located on an elevated road.

[0232] In an exemplary embodiment, if Fig.14 As shown, the data generating module 1320 includes: a road section determining unit 1321 , an identification generating unit 1322 and a data generating unit 1323 .

[0233] The road section determination unit 1321 is used to determine the sub-road section to which the recording position belongs based on the recording position of the driving data corresponding to the timestamp.

[0234] The identification generating unit 1322 is used to determine the location identification of the driving data corresponding to the timestamp according to the sub-section to which the recorded location belongs; wherein a road includes multiple sections, and a section includes multiple sub-sections.

[0235] The data generating unit 1323 is used to generate feature data corresponding to the timestamp according to the driving data corresponding to the timestamp and the location identifier.

[0236] In an exemplary embodiment, the road segment determination unit 1321 is used to respectively obtain the latitude and longitude ranges and altitude ranges of multiple candidate sub-segments; based on the latitude and longitude information and altitude information indicated by the recorded position, determine the sub-segment to which the recorded position belongs from the multiple candidate sub-segments.

[0237] In an exemplary embodiment, if Fig.14 As shown, the data acquisition module 1310 includes: a road segmentation unit 1311 , an association acquisition unit 1312 and a data acquisition unit 1313 .

[0238] The road segmentation unit 1311 is used to segment the elevated road to obtain at least one sub-segment included in the elevated road.

[0239] The associated acquisition unit 1312 is used to acquire the associated sub-road section corresponding to the sub-road section; wherein the associated sub-road section includes the elevated sub-road section corresponding to the sub-road section located on a non-elevated road.

[0240] The data acquisition unit 1313 is used to acquire the driving data set corresponding to the sub-road segment and the driving data set corresponding to the associated sub-road segment; wherein the driving data set corresponding to the multiple roads includes the driving data set corresponding to each of the sub-road segments and the driving data set corresponding to each of the associated sub-road segments.

[0241] In an exemplary embodiment, the associated acquisition unit 1312 is used to acquire the projection sub-segment corresponding to the sub-segment; if the projection sub-segment is located on a non-elevated road, the projection sub-segment is determined to be the elevated lower sub-segment corresponding to the sub-segment; if the projection sub-segment is located on an elevated road, the projection sub-segment is determined to be the sub-segment on the lower elevated road corresponding to the sub-segment; and, the projection sub-segment is determined as a new sub-segment, starting from the step of acquiring the projection sub-segment corresponding to the sub-segment; the associated sub-segments include: at least one lower elevated sub-segment corresponding to the sub-segment, and an elevated lower sub-segment corresponding to the sub-segment; there is a one-to-one correspondence between the sub-segment, each of the lower elevated sub-segments, and the elevated lower sub-segment.

[0242] In an exemplary embodiment, the association acquisition unit 1312 is used to obtain an elevated map, which is used to display the hierarchical positional relationship of each road; on the elevated map, with the end point of the sub-road section as a reference, a vertical line passing through the end point is drawn to obtain the intersection of the vertical line and at least one elevated road; wherein the elevated road refers to the lower-level road of the elevated road, one road includes multiple road sections, and one road section includes multiple sub-road sections; according to the position of the intersection, the projection sub-road section corresponding to the sub-road section is obtained.

[0243] In an exemplary embodiment, the road segmentation unit 1311 is used to obtain multiple road sections included in the elevated road and the set lengths of the sub-road sections; wherein a road includes multiple road sections, and a road section includes multiple sub-road sections; according to the set lengths and the lengths of each of the road sections, the segmentation lengths corresponding to each of the road sections are determined; based on the segmentation lengths, each of the road sections is segmented separately to obtain at least one sub-road section included in the elevated road.

[0244] In an exemplary embodiment, if Fig.14 As shown, the data acquisition module 1310 further includes: a road acquisition unit 1314.

[0245] The road acquisition unit 1314 is used to acquire the elevated road and the associated roads corresponding to the elevated road; wherein the associated roads include at least one road located at the lower layer of the elevated road.

[0246] The road segmentation unit 1311 is further used to segment the elevated road and the associated road respectively to obtain at least one first sub-segment and at least one second sub-segment; wherein the first sub-segment refers to a sub-segment located on the elevated road, and the second sub-segment refers to a sub-segment located on the associated road;

[0247] The data acquisition unit 1313 is also used to acquire a driving data set corresponding to the first sub-segment and a driving data set corresponding to the second sub-segment; wherein the driving data sets corresponding to the multiple roads include driving data sets corresponding to each of the first sub-segments and driving data sets corresponding to each of the second sub-segments.

[0248] In an exemplary embodiment, if Fig.14 As shown, the data acquisition module 1310 further includes: a relationship determination unit 1315 .

[0249] The relationship determination unit 1315 is used to obtain the longitude and latitude range of each of the first sub-segments, and the longitude and latitude range of each of the second sub-segments; based on the longitude and latitude ranges, each of the first sub-segments and each of the second sub-segments are matched to determine at least one sub-segment group; wherein a sub-segment group includes a first sub-segment and a second sub-segment whose difference in longitude and latitude ranges meets a condition.

[0250] In an exemplary embodiment, the sample generation module 1330 is used to perform feature extraction on the feature data corresponding to the timestamp to generate feature information corresponding to the timestamp; based on the location identifier, determine the sub-segment corresponding to the timestamp, the sub-segment corresponding to the timestamp refers to the sub-segment to which the recording position of the driving data corresponding to the timestamp belongs; determine the label corresponding to the timestamp according to the attribute information of the sub-segment corresponding to the timestamp, the attribute information is used to indicate whether the sub-segment is located on an elevated road; generate a training sample corresponding to the timestamp according to the feature information corresponding to the timestamp and the label corresponding to the timestamp.

[0251] In an exemplary embodiment, in a single-layer elevated scenario, the label is used to identify whether the training sample is a training sample obtained based on a driving data set corresponding to the elevated road; in a multi-layer elevated scenario, the label is used to identify whether the training sample is a training sample obtained based on a driving data set corresponding to the elevated road, and the level of the source road of the training sample.

[0252] To summarize, in the technical solution provided in the embodiment of the present application, training samples for the elevated discrimination model are generated through driving data sets corresponding to multiple roads and the recorded positions of driving data corresponding to each timestamp in the driving time set. That is to say, the present application provides an elevated discrimination model, which determines whether the target vehicle is located on the elevated road based on the driving data collected at the current moment and the recorded position at the current moment. It not only determines whether the target vehicle is on the elevated road based on a single piece of information, but also improves the accuracy of the discrimination result. Moreover, in the data collection process, there is a situation where the driving data collected at a certain position on the elevated road and a certain position under the elevated road are similar. In this application, in addition to the driving data collected at the current moment, it is also necessary to perform elevated discrimination based on the recorded position at the current moment, and mark the driving data with the recorded position. When similar driving data is collected at different positions, it is also possible to accurately judge whether the target vehicle is located on the elevated road.

[0253] Please refer to Fig.15 , which shows a block diagram of an elevated identification device provided by an embodiment of the present application. The device has the function of implementing the above-mentioned elevated identification method, and the function can be implemented by hardware, or by hardware executing corresponding software. The device can be a computer device, or can be set in a computer device. The device 1500 may include: an information acquisition module 1510, a feature extraction module 1520 and a feature processing module 1530.

[0254] The information acquisition module 1510 is used to obtain the location identifier of the target vehicle at the current driving time and the driving data obtained by the target vehicle; wherein the location identifier is used to indicate the road section where the target vehicle is currently located.

[0255] The feature extraction module 1520 is used to extract features from the location identifier and the driving data to obtain feature information of the target vehicle.

[0256] The feature processing module 1530 is used to determine the discrimination result of the target vehicle based on the feature information; wherein the discrimination result is used to indicate whether the target vehicle is located on an elevated road.

[0257] In an exemplary embodiment, the feature extraction module 1520 is used to extract road feature information of the target vehicle from road network data based on the location identifier; the road network data includes attribute information of each road section in the road, and attribute information of each sub-section in the road section; wherein a road includes multiple road sections, and a road section includes multiple sub-sections; feature extraction is performed on signal data in the driving data to obtain signal feature information of the target vehicle; feature extraction is performed on satellite data in the driving data to obtain satellite feature information of the target vehicle.

[0258] In an exemplary embodiment, the feature processing module 1530 is used to obtain the information category contained in the feature information; based on the information category, determine the candidate elevated discrimination model whose category of input data matches the information category from at least one candidate elevated discrimination model as the elevated discrimination model; and use the elevated discrimination model to determine the discrimination result of the target vehicle based on the feature information.

[0259] In an exemplary embodiment, if Fig.16 As shown, the device 1500 further includes: a result detection module 1540.

[0260] The model detection module 1540 is used to obtain the confidence of the discrimination result output by the elevated discrimination model; if the confidence is greater than or equal to the target value, it is determined that the discrimination result is reliable.

[0261] To sum up, in the technical solution provided in the embodiment of the present application, the elevated road discrimination model determines whether the target vehicle is located on the elevated road based on the driving data collected at the current moment and the recorded position at the current moment. It not only determines whether the target vehicle is on the elevated road based on a single piece of information, but also improves the accuracy of the discrimination result. Moreover, when similar driving data is collected at different locations, it can also accurately judge whether the target vehicle is on the elevated road.

[0262] It should be noted that the device provided in the above embodiment, when implementing its functions, is only illustrated by the division of the above functional modules. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device and method embodiments provided in the above embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.

[0263] Please refer to Fig.17 , which shows a block diagram of a computer device provided by an embodiment of the present application. The computer device can be used to implement the functions of the training sample generation method or the elevated identification method in the above-mentioned elevated scene. Specifically:

[0264] The computer device 1700 includes a central processing unit (CPU) 1701, a system memory 1704 including a random access memory (RAM) 1702 and a read only memory (ROM) 1703, and a system bus 1705 connecting the system memory 1704 and the central processing unit 1701. The computer device 1700 also includes a basic input / output system (I / O system) 1706 for facilitating information transmission between various components in the computer, and a mass storage device 1707 for storing an operating system 1713, application programs 1714, and other program modules 1715.

[0265] The basic input / output system 1706 includes a display 1708 for displaying information and an input device 1709 such as a mouse and a keyboard for user inputting information. The display 1708 and the input device 1709 are connected to the central processing unit 1701 through an input / output controller 1710 connected to the system bus 1705. The basic input / output system 1706 may also include an input / output controller 1710 for receiving and processing inputs from a plurality of other devices such as a keyboard, a mouse, or an electronic stylus. Similarly, the input / output controller 1710 also provides output to a display screen, a printer, or other types of output devices.

[0266] The mass storage device 1707 is connected to the central processing unit 1701 through a mass storage controller (not shown) connected to the system bus 1705. The mass storage device 1707 and its associated computer readable media provide non-volatile storage for the computer device 1700. That is, the mass storage device 1707 may include a computer readable medium (not shown) such as a hard disk or a CD-ROM (Compact Disc Read-Only Memory) drive.

[0267] Without loss of generality, computer-readable media may include computer storage media and communication media. Computer storage media include volatile and non-volatile, removable and non-removable media implemented by any method or technology for storing information such as computer-readable instructions, data structures, program modules or other data. Computer storage media include RAM, ROM, EPROM (Erasable Programmable Read Only Memory), EEPROM (Electrically Erasable Programmable Read Only Memory), flash memory or other solid-state storage devices, CD-ROM, DVD (Digital Video Disc) or other optical storage, cassettes, magnetic tapes, disk storage or other magnetic storage devices. Of course, those skilled in the art will appreciate that computer storage media are not limited to the above. The above-mentioned system memory 1704 and mass storage device 1707 can be collectively referred to as memory.

[0268] According to various embodiments of the present application, the computer device 1700 can also be connected to a remote computer on the network through a network such as the Internet. That is, the computer device 1700 can be connected to the network 1712 through the network interface unit 1711 connected to the system bus 1705, or the network interface unit 1711 can be used to connect to other types of networks or remote computer systems (not shown).

[0269] The memory also includes a computer program, which is stored in the memory and configured to be executed by one or more processors to implement the above-mentioned training sample generation method in the elevated scene, or to implement the above-mentioned elevated identification method.

[0270] In an exemplary embodiment, a computer-readable storage medium is also provided, in which at least one instruction, at least one program, a code set or an instruction set is stored. When the at least one instruction, the at least one program, the code set or the instruction set is executed by a processor, the training sample generation method in the above-mentioned elevated scenario is implemented, or the above-mentioned elevated discrimination method is implemented.

[0271] Optionally, the computer-readable storage medium may include: ROM (Read Only Memory), RAM (Random Access Memory), SSD (Solid State Drives) or an optical disk, etc. Among them, the random access memory may include ReRAM (Resistance Random Access Memory) and DRAM (Dynamic Random Access Memory).

[0272] In an exemplary embodiment, a computer program product or a computer program is also provided, the computer program product or the computer program includes computer instructions, the computer instructions are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the above-mentioned training sample generation method in the elevated scene, or executes the above-mentioned elevated discrimination method.

[0273] It should be understood that the "multiple" mentioned in this article refers to two or more than two. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. In addition, the step numbers described in this article only illustrate a possible execution sequence between the steps. In some other embodiments, the above steps may not be executed in the order of the numbers, such as two steps with different numbers are executed at the same time, or two steps with different numbers are executed in the opposite order to the diagram. The embodiments of the present application are not limited to this.

[0274] The above description is only an exemplary embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.

Claims

1. A method for generating training samples in an elevated scene, characterized in that: The method comprises: Acquire driving data sets corresponding to a plurality of roads; wherein the plurality of roads include elevated roads and non-elevated roads at different levels, and the driving data sets include driving data recorded at a plurality of different time stamps during the driving of a sample vehicle on the road; Based on the recording position of the driving data corresponding to the timestamp, the driving data corresponding to the timestamp is position-marked to obtain the characteristic data corresponding to the timestamp; wherein the characteristic data corresponding to the timestamp includes the driving data corresponding to the timestamp and a position identifier for indicating the recording position of the driving data corresponding to the timestamp; Generate a training sample corresponding to the timestamp according to the feature data corresponding to the timestamp; wherein the training sample is used to train an elevated road discrimination model, and the elevated road discrimination model is used to discriminate whether the target vehicle is located on an elevated road; The step of obtaining driving data sets corresponding to a plurality of roads includes: Segmenting the elevated road to obtain at least one sub-segment contained in the elevated road; Acquire an associated sub-road section corresponding to the sub-road section; wherein the associated sub-road section includes an elevated sub-road section corresponding to the sub-road section located on a non-elevated road; Acquire a driving data set corresponding to the sub-road segment and a driving data set corresponding to the associated sub-road segment; wherein the driving data sets corresponding to the plurality of roads include driving data sets corresponding to each of the sub-road segments and driving data sets corresponding to each of the associated sub-road segments; The obtaining of the associated sub-road segment corresponding to the sub-road segment includes: Obtaining a projection sub-road segment corresponding to the sub-road segment; If the projected sub-section is located on a non-elevated road, determining the projected sub-section to be the elevated sub-section corresponding to the sub-section; If the projected sub-segment is located on an elevated road, the projected sub-segment is determined to be a sub-segment on the lower elevated road corresponding to the sub-segment; and the projected sub-segment is determined to be a new sub-segment, and the step of obtaining the projected sub-segment corresponding to the sub-segment is started; the associated sub-segments include: at least one lower elevated sub-segment corresponding to the sub-segment, and an elevated lower sub-segment corresponding to the sub-segment; there is a one-to-one correspondence between the sub-segment, each of the lower elevated sub-segments, and the elevated lower sub-segment.

2. The method according to claim 1, characterized in that The step of marking the location of the driving data corresponding to the timestamp based on the recording location of the driving data corresponding to the timestamp to obtain the feature data corresponding to the timestamp includes: Based on the recording position of the driving data corresponding to the timestamp, determining the sub-segment to which the recording position belongs; Determine the location identifier of the driving data corresponding to the timestamp according to the sub-segment to which the recorded location belongs; wherein a road includes multiple sections, and a section includes multiple sub-segments; The characteristic data corresponding to the timestamp is generated according to the driving data corresponding to the timestamp and the location identifier.

3. The method according to claim 2, characterized in that The determining, based on the recording position of the driving data corresponding to the timestamp, the sub-segment to which the recording position belongs includes: Obtain the latitude and longitude ranges and altitude ranges of multiple candidate sub-segments respectively; Based on the latitude and longitude information and the altitude information indicated by the recorded position, the sub-segment to which the recorded position belongs is determined from the plurality of candidate sub-segments.

4. The method according to claim 1, characterized in that: The obtaining of the projection sub-segment corresponding to the sub-segment includes: Obtaining an elevated map, wherein the elevated map is used to display the positional relationship of each road in a hierarchy; On the elevated map, taking the endpoint of the sub-road section as a reference, a vertical line passing through the endpoint is drawn to obtain the intersection of the vertical line and at least one road under the elevated road; wherein the road under the elevated road refers to the lower road of the elevated road, one road includes multiple road sections, and one road section includes multiple sub-road sections; According to the position of the intersection, a projection sub-segment corresponding to the sub-segment is obtained.

5. The method according to claim 1, characterized in that The step of segmenting the elevated road to obtain at least one sub-segment of the elevated road includes: Acquire multiple road sections included in the elevated road, and the set lengths of the sub-road sections; wherein a road includes multiple road sections, and a road section includes multiple sub-road sections; Determine the segmentation lengths corresponding to the respective road sections according to the set length and the lengths of the respective road sections; Based on the segmentation length, each of the road sections is segmented to obtain at least one sub-road section included in the elevated road.

6. The method according to any one of claims 1 to 5, characterized in that: The step of generating a training sample corresponding to the timestamp according to the feature data corresponding to the timestamp includes: Extracting features from the feature data corresponding to the timestamp to generate feature information corresponding to the timestamp; Based on the location identifier, determining the sub-segment corresponding to the timestamp, wherein the sub-segment corresponding to the timestamp refers to the sub-segment to which the recording position of the driving data corresponding to the timestamp belongs; Determining a label corresponding to the timestamp according to attribute information of the sub-segment corresponding to the timestamp, wherein the attribute information is used to indicate whether the sub-segment is located on an elevated road; A training sample corresponding to the timestamp is generated according to the feature information corresponding to the timestamp and the label corresponding to the timestamp.

7. The method according to claim 6, characterized in that In a single-layer elevated road scenario, the label is used to identify whether the training sample is a training sample obtained based on a driving data set corresponding to the elevated road; In a multi-story elevated road scenario, the label is used to identify whether the training sample is a training sample obtained based on a driving data set corresponding to the elevated road, and the level of the source road of the training sample.

8. A method for generating training samples in an elevated scene, characterized in that: The method comprises: Acquire driving data sets corresponding to a plurality of roads; wherein the plurality of roads include elevated roads and non-elevated roads at different levels, and the driving data sets include driving data recorded at a plurality of different time stamps during the driving of a sample vehicle on the road; Based on the recording position of the driving data corresponding to the timestamp, the driving data corresponding to the timestamp is position-marked to obtain the characteristic data corresponding to the timestamp; wherein the characteristic data corresponding to the timestamp includes the driving data corresponding to the timestamp and a position identifier for indicating the recording position of the driving data corresponding to the timestamp; Generate a training sample corresponding to the timestamp according to the feature data corresponding to the timestamp; wherein the training sample is used to train an elevated road discrimination model, and the elevated road discrimination model is used to discriminate whether the target vehicle is located on an elevated road; The step of obtaining driving data sets corresponding to a plurality of roads includes: Acquire the elevated road and associated roads corresponding to the elevated road; wherein the associated roads include at least one road located at a lower level of the elevated road; The elevated road and the associated road are respectively divided to obtain at least one first sub-segment and at least one second sub-segment; wherein the first sub-segment refers to a sub-segment located on the elevated road, and the second sub-segment refers to a sub-segment located on the associated road; Acquire a driving data set corresponding to the first sub-segment and a driving data set corresponding to the second sub-segment; wherein the driving data sets corresponding to the plurality of roads include driving data sets corresponding to each of the first sub-segments and driving data sets corresponding to each of the second sub-segments.

9. The method according to claim 8, characterized in that The step of marking the location of the driving data corresponding to the timestamp based on the recording location of the driving data corresponding to the timestamp to obtain the feature data corresponding to the timestamp includes: Based on the recording position of the driving data corresponding to the timestamp, determining the sub-segment to which the recording position belongs; Determine the location identifier of the driving data corresponding to the timestamp according to the sub-segment to which the recorded location belongs; wherein a road includes multiple sections, and a section includes multiple sub-segments; The characteristic data corresponding to the timestamp is generated according to the driving data corresponding to the timestamp and the location identifier.

10. The method according to claim 9, characterized in that The determining, based on the recording position of the driving data corresponding to the timestamp, the sub-segment to which the recording position belongs includes: Obtain the latitude and longitude ranges and altitude ranges of multiple candidate sub-segments respectively; Based on the latitude and longitude information and the altitude information indicated by the recorded position, the sub-segment to which the recorded position belongs is determined from the plurality of candidate sub-segments.

11. The method according to claim 8, characterized in that After the elevated road and the associated road are segmented to obtain at least one first sub-segment and at least one second sub-segment, the method further includes: Obtaining the longitude and latitude range of each of the first sub-segments, and the longitude and latitude range of each of the second sub-segments; Based on the longitude and latitude range, each of the first sub-segments and each of the second sub-segments are matched to determine at least one sub-segment group; wherein a sub-segment group includes a first sub-segment and a second sub-segment whose difference between the longitude and latitude ranges meets a condition.

12. The method according to any one of claims 8 to 11, characterized in that The step of generating a training sample corresponding to the timestamp according to the feature data corresponding to the timestamp includes: Extracting features from the feature data corresponding to the timestamp to generate feature information corresponding to the timestamp; Based on the location identifier, determining the sub-segment corresponding to the timestamp, wherein the sub-segment corresponding to the timestamp refers to the sub-segment to which the recording position of the driving data corresponding to the timestamp belongs; Determining a label corresponding to the timestamp according to attribute information of the sub-segment corresponding to the timestamp, wherein the attribute information is used to indicate whether the sub-segment is located on an elevated road; A training sample corresponding to the timestamp is generated according to the feature information corresponding to the timestamp and the label corresponding to the timestamp.

13. The method according to claim 12, characterized in that In a single-layer elevated road scenario, the label is used to identify whether the training sample is a training sample obtained based on a driving data set corresponding to the elevated road; In a multi-story elevated road scenario, the label is used to identify whether the training sample is a training sample obtained based on a driving data set corresponding to the elevated road, and the level of the source road of the training sample.

14. A training sample generation device in an elevated scene, characterized in that: The device comprises: A data acquisition module, used to acquire driving data sets corresponding to a plurality of roads; wherein the plurality of roads include elevated roads and non-elevated roads at different levels, and the driving data sets include driving data recorded at a plurality of different time stamps during the driving of a sample vehicle on the road; A data generation module, configured to mark the position of the driving data corresponding to the timestamp based on the recording position of the driving data corresponding to the timestamp, so as to obtain characteristic data corresponding to the timestamp; wherein the characteristic data corresponding to the timestamp includes the driving data corresponding to the timestamp and a position identifier for indicating the recording position of the driving data corresponding to the timestamp; A sample generation module, used to generate a training sample corresponding to the timestamp according to the feature data corresponding to the timestamp; wherein the training sample is used to train an elevated road discrimination model, and the elevated road discrimination model is used to determine whether the target vehicle is located on an elevated road; Wherein, the data acquisition module includes: a road segmentation unit, a correlation acquisition unit and a data acquisition unit; The road segmentation unit is used to segment the elevated road to obtain at least one sub-segment included in the elevated road; The association acquisition unit is used to acquire the associated sub-road section corresponding to the sub-road section; wherein the associated sub-road section includes the elevated sub-road section corresponding to the sub-road section located on a non-elevated road; The data acquisition unit is used to acquire the driving data set corresponding to the sub-road segment and the driving data set corresponding to the associated sub-road segment; wherein the driving data set corresponding to the plurality of roads includes the driving data set corresponding to each of the sub-road segments and the driving data set corresponding to each of the associated sub-road segments; The association acquisition unit is used to: Obtaining a projection sub-road segment corresponding to the sub-road segment; If the projected sub-section is located on a non-elevated road, determining the projected sub-section to be the elevated sub-section corresponding to the sub-section; If the projected sub-segment is located on an elevated road, the projected sub-segment is determined to be a sub-segment on the lower elevated road corresponding to the sub-segment; and the projected sub-segment is determined to be a new sub-segment, and the step of obtaining the projected sub-segment corresponding to the sub-segment is started; the associated sub-segments include: at least one lower elevated sub-segment corresponding to the sub-segment, and an elevated lower sub-segment corresponding to the sub-segment; there is a one-to-one correspondence between the sub-segment, each of the lower elevated sub-segments, and the elevated lower sub-segment.

15. A training sample generation device in an elevated scene, characterized in that: The device comprises: A data acquisition module, used to acquire driving data sets corresponding to a plurality of roads; wherein the plurality of roads include elevated roads and non-elevated roads at different levels, and the driving data sets include driving data recorded at a plurality of different time stamps during the driving of a sample vehicle on the road; A data generation module, configured to mark the position of the driving data corresponding to the timestamp based on the recording position of the driving data corresponding to the timestamp, so as to obtain characteristic data corresponding to the timestamp; wherein the characteristic data corresponding to the timestamp includes the driving data corresponding to the timestamp and a position identifier for indicating the recording position of the driving data corresponding to the timestamp; A sample generation module, used to generate a training sample corresponding to the timestamp according to the feature data corresponding to the timestamp; wherein the training sample is used to train an elevated road discrimination model, and the elevated road discrimination model is used to determine whether the target vehicle is located on an elevated road; Wherein, the data acquisition module includes: a road acquisition unit, a road segmentation unit and a data acquisition unit; The road acquisition unit is used to acquire the elevated road and associated roads corresponding to the elevated road; wherein the associated roads include at least one road located at a lower level of the elevated road; The road segmentation unit is used to segment the elevated road and the associated road respectively to obtain at least one first sub-segment and at least one second sub-segment; wherein the first sub-segment refers to a sub-segment located on the elevated road, and the second sub-segment refers to a sub-segment located on the associated road; The data acquisition unit is used to acquire a driving data set corresponding to the first sub-segment and a driving data set corresponding to the second sub-segment; wherein the driving data sets corresponding to the multiple roads include driving data sets corresponding to each of the first sub-segments and driving data sets corresponding to each of the second sub-segments.

16. A computer device, characterized in that: The computer device includes a processor and a memory, wherein the memory stores at least one program, and the at least one program is loaded and executed by the processor to implement the training sample generation method in an elevated scenario as described in any one of claims 1 to 7, or to implement the training sample generation method in an elevated scenario as described in any one of claims 8 to 13.

17. A computer-readable storage medium, characterized in that: The storage medium stores at least one program, and the at least one program is loaded and executed by the processor to implement the training sample generation method in an elevated scenario as described in any one of claims 1 to 7, or to implement the training sample generation method in an elevated scenario as described in any one of claims 8 to 13.

18. A computer program product, characterized in that The computer program product includes computer instructions, which are stored in a computer-readable storage medium. The processor reads and executes the computer instructions from the computer-readable storage medium to implement the training sample generation method in an elevated scenario as described in any one of claims 1 to 7, or implements the training sample generation method in an elevated scenario as described in any one of claims 8 to 13.

Citation Information

Patent Citations

  • Road identification method and device based on elevated road, computer equipment and storage medium

    CN112381078A

  • Systems and methods for dispatching service providers

    WO2020019237A1