Driving instruction data generation method, device and storage medium
By using three-dimensional parking space maps and collision line labels in the driving school teaching system, editors can drag and edit collision line attribute information and generate teaching templates, which solves the problem of complex calculations in driving school teaching and improves data generation efficiency.
Patent Information
- Application Number
- CN202111294966.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-03
- Publication Date
- 2025-09-16
- Estimated Expiration
- 2041-11-03
AI Technical Summary
In the driving school teaching system, editors need to manually calculate complex mathematical formulas to generate driving teaching data, which is complicated and computationally burdensome.
A driving teaching data generation method and device are provided. By displaying a three-dimensional parking map and collision line labels, editors are allowed to drag collision lines and edit their attribute information, thereby simplifying the calculation process and generating a teaching template.
It reduces the operational burden on editors, improves the efficiency of generating driving teaching data and simplifies the calculation process.
Smart Images

Figure CN115438131B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of driving school training technology, and in particular to a method, device and storage medium for generating driving teaching data. Background Art
[0002] In the driving school teaching system, a teaching data editing module is provided. Editors can edit the relevant content required for driving teaching in the editing page provided by the editing module. Taking the teaching of Subject 2 as an example: editors can calculate fixed-point position information with teaching guidance significance based on the specifications of the parking space or the specifications of the parking space and the vehicle, and generate relevant teaching content such as various parts of the vehicle body corresponding to the fixed-point position information, as well as driving operations, driving parameters and prompt information corresponding to the fixed-point position.
[0003] However, in the existing process of editing teaching content, editors are required to calculate fixed-point location information based on the actual information of parking spaces and teaching rules. These calculation processes often involve complex mathematical formulas, which are complicated to operate and have a heavy computational burden for editors. Summary of the Invention
[0004] Various aspects of the present application provide a driving instruction data generation method, device, and storage medium to reduce the operational burden of driving instruction data editors and improve the efficiency of driving instruction data generation.
[0005] The embodiment of the present application provides a method for generating driving teaching data, comprising: displaying a driving teaching data editing interface, the driving teaching data editing interface comprising a label display area and a teaching editing area, the label display area being used to display a plurality of teaching labels, the teaching labels being triggerable; in response to a trigger operation on a target teaching label, displaying a three-dimensional parking space map in the teaching editing area, the three-dimensional parking space map comprising at least one collision line corresponding to the target teaching label, and displaying a collision line label corresponding to each collision line in the label display area, the target teaching label being any teaching label; in response to a trigger operation on the target collision line label, The target collision line corresponding to the target collision line label is highlighted in the figure, and the attribute information editing interface corresponding to the target collision line is displayed, and the target collision line label is any collision line label; when a drag event corresponding to the target collision line is monitored, according to the target position to which the target collision line is dragged, the attribute information editing item adapted to the target collision line at the target position is displayed on the attribute information editing interface; and in response to the editing input operation acting on the attribute information editing item, the attribute information of the target collision line is obtained, and according to the attribute information of the target collision line and the target position, a teaching template corresponding to the target collision line is generated.
[0006] The embodiment of the present application also provides a driving teaching data generating device, comprising: a processor and a memory storing a computer program; the processor is used to execute the computer program to: display a driving teaching data editing interface, the driving teaching data editing interface comprising a label display area and a teaching editing area, the label display area is used to display a plurality of teaching labels, and the teaching labels can be triggered; in response to a triggering operation on a target teaching label, a three-dimensional parking map is displayed in the teaching editing area, the three-dimensional parking map includes at least one collision line corresponding to the target teaching label, and a collision line label corresponding to each collision line is displayed in the label display area, the target teaching label being any teaching label; in response to a triggering operation on the target teaching label, A trigger operation on a target collision line label is performed, a target collision line corresponding to the target collision line label is highlighted on the three-dimensional parking map, and an attribute information editing interface corresponding to the target collision line is displayed, wherein the target collision line label is any collision line label; when a drag event corresponding to the target collision line is monitored, an attribute information editing item adapted to the target collision line at the target position is displayed on the attribute information editing interface according to the target position to which the target collision line is dragged; and in response to an editing input operation on the attribute information editing item, the attribute information of the target collision line is obtained, and a teaching template corresponding to the target collision line is generated according to the attribute information of the target collision line and the target position.
[0007] An embodiment of the present application further provides a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, the processor is caused to implement the steps in the driving teaching data generating method in the embodiment of the present application.
[0008] In an embodiment of the present application, triggering any teaching tag can display the corresponding three-dimensional parking map, and display multiple collision lines corresponding to the triggered teaching tag on the three-dimensional parking map, as well as multiple collision line tags corresponding to the multiple collision lines. Through the multiple collision lines displayed on the three-dimensional parking map, multiple collision positions in the parking space can be intuitively seen. When any collision line tag is triggered, the collision line corresponding to the triggered collision line tag can be highlighted on the three-dimensional parking map for the editor to drag and edit the attribute information of the collision line. In this process, the editor does not need to calculate the specific coordinate relationship from the initial position to the target position, which simplifies the calculation process. It is only necessary to edit the attribute information of the collision line at the target position, which is simple to operate. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0010] Figure 1a A schematic diagram of the structure of the driving teaching system provided in an embodiment of the present application;
[0011] Figure 1b This is a regional diagram of a driving teaching data editing interface provided in an embodiment of the present application;
[0012] Figure 1c This is a regional diagram of another driving teaching data editing interface provided in an embodiment of the present application;
[0013] Figure 2 A flowchart of a method for generating driving teaching data provided in an embodiment of the present application;
[0014] Figure 3 A schematic diagram of the structure of a driving teaching data generating device provided in an embodiment of the present application; DETAILED DESCRIPTION
[0015] To make the purpose, technical solutions, and advantages of this application more clear, the technical solutions of this application will be clearly and completely described below in conjunction with the specific embodiments of this application and the corresponding drawings. Obviously, the embodiments described are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0016] With the development of artificial intelligence technology, teaching machines with guidance functions are widely used in various fields. For example, in driving school training, driving teaching devices are used, which are equivalent to driving instructors. These driving teaching devices are installed in vehicles and can guide students during their driving training. Typically, driving teaching devices may include intelligent sensing systems, positioning systems, and intelligent teaching systems based on teaching databases. The teaching database stores teaching data corresponding to driving training subjects, and the intelligent teaching system can guide students in driving training based on this teaching data. The positioning system is used to obtain the vehicle's location, and the intelligent sensing system is used to obtain various vehicle parameters to determine whether the vehicle's location and various parameters meet the teaching standards. If they do not meet the teaching standards, the intelligent teaching system will output teaching guidance and error messages to the students.
[0017] Typically, before using a driving instruction device, the corresponding driving instruction data must be imported into the device's corresponding teaching database. This data then guides the student according to the instructional data. During the student's driving training, the device automatically provides driving guidance and error notifications based on information such as the vehicle's position and various driving parameters. This not only reduces the resource costs associated with manual instructors but also allows students to selectively practice according to their specific needs, making driving training more flexible and efficient.
[0018] Figure 1a This is a schematic diagram of the structure of the driving teaching management system provided in the embodiment of the present application, as shown in FIG. Figure 1a As shown, the driving instruction management system 100 includes a management system 10, a remote server 20, and driving instruction devices 30. The management system 10 typically includes an editing module 11 and other modules for editing driving instruction data. Editors can use the editing module 11 to edit the instructional templates corresponding to each instructional item within a course and generate driving instructional data corresponding to each instructional item based on the corresponding instructional templates. Furthermore, the management system 10 can upload the generated driving instructional data to the remote server 20. The remote server 20 provides data sharing functionality with the various driving instruction devices 30, allowing the devices 30 to download and use the driving instructional data.
[0019] In the embodiments of the present application, the user of the management system 10 is not limited. It can be a smart terminal device such as a mobile phone or tablet computer, or a computer device such as a desktop or laptop computer. Accordingly, the implementation form of the management system 10 is not limited. It can be an application program applied to a smart terminal device, such as an APP, or a website platform applied to a computer device. Furthermore, the embodiments of the present application do not limit the deployment method of the remote server 20. It can be a server other than the server corresponding to the management system 10, or it can be a server deployed in the cloud. The specific deployment method can be determined according to actual needs.
[0020] In the management system 10, the specific functions of the editing module 11 are not limited. In addition to providing the driving instruction data editing function, the editor can also edit other information in the driving school training institution through the editing module 11. For example, the editing of faculty and staff information, instructor class schedule information, or driving school promotional information, etc. The editing function of other information is not discussed in the embodiments of this application.
[0021] In an optional embodiment, the editing module 11 provides a driving teaching data editing interface. Figure 1b This is the area diagram of the driving teaching data editing interface, such as Figure 1bAs shown, the driving teaching data editing interface includes a label display area and a teaching editing area, wherein the label display area contains a variety of teaching labels that can be triggered, and each teaching label corresponds to a teaching item in the driving teaching subject. For example, taking the teaching of subject two as an example, it includes teaching items such as reversing into a garage, parking and starting at a fixed point on a slope, driving on a curve, turning at right angles, and side parking. When any teaching label is triggered, a three-dimensional parking space map corresponding to the parking space used for driving teaching is displayed in the teaching editing area, and at least one collision line corresponding to the triggered target teaching label is displayed on the three-dimensional parking space map, and a collision line label corresponding to each collision line is displayed in the label display area; as shown Figure 1b As shown, assuming that teaching tag 1 is triggered, in response to the triggering of teaching tag 1, a three-dimensional parking map 1 corresponding to teaching tag 1 is displayed in the teaching editing area, and multiple collision lines are displayed on the three-dimensional parking map 1, and collision line labels corresponding to the multiple collision lines are displayed below the teaching tag display area. The collision line is used to determine the collision position of the vehicle in the parking space. That is, in the actual parking space corresponding to the three-dimensional parking map, if the position of the vehicle driving to the collision line on the three-dimensional parking map corresponds to the position of the collision line, the vehicle will collide or cross the line.
[0022] In the embodiment of the present application, the parking space used for driving instruction refers to the parking space used by the teaching item corresponding to the triggered teaching tag, wherein one teaching subject may correspond to multiple teaching items, and the parking spaces used by different teaching subjects or different teaching items in the same teaching subject may be different; accordingly, when the teaching tags corresponding to different teaching items are triggered, the three-dimensional parking space map displayed in the teaching editing area will also be different. In the embodiment of the present application, the method of displaying the three-dimensional parking space map is not limited. Optionally, when responding to any teaching tag being triggered, the three-dimensional parking space map displayed in the teaching editing area can be a partial three-dimensional parking space map, which corresponds to the parking space used by the teaching item corresponding to the triggered teaching tag; or it can be the entire three-dimensional parking space map used by the teaching subject. In this case, the parking space used by the teaching item corresponding to the triggered teaching tag can be located in the teaching editing area. When you want to view the three-dimensional parking space maps corresponding to other parking spaces, you can locate the target location by sliding the entire three-dimensional parking space map in the teaching editing area.
[0023] In the embodiment of the present application, the driving teaching data editing interface also includes an attribute information editing interface corresponding to the collision line. When the target teaching tag is triggered, the target collision line corresponding to the target collision line tag can be highlighted on the three-dimensional parking map, and the attribute information editing interface corresponding to the target collision line can be displayed. Figure 1bAs shown, when the teaching tag 1 is triggered, the collision line 1 is highlighted on the 3D parking map, and the attribute information editing interface corresponding to the collision line 1 is displayed on the left side of the 3D parking map. In this embodiment of the present application, the specific form of highlighting the collision line is not limited. Optionally, the target collision line can be displayed in bold, highlighted, or in a different color.
[0024] In an embodiment of the present application, the attribute information editing interface includes several attribute information editing items. When the target collision line label is triggered, the content of the attribute information editing items in the attribute information editing interface can be the initial attribute information of the target collision line, that is, the attribute information of the current position of the target collision line. In an embodiment of the present application, the content of the several attribute information editing items is not limited, and includes but is not limited to editing items for editing the collision part of the vehicle, editing items for editing driving parameters, and editing items for editing driving prompt information. Among them, there are multiple vehicle collision parts corresponding to the position of the target collision line, and the corresponding multiple collision parts may be different depending on the location; the driving parameters include but are not limited to the throttle size, the brake gear, and the steering of the steering wheel; the driving prompt information includes the voice broadcast content and / or the correspondence between the signal warning lights on the vehicle and the collision part of the vehicle.
[0025] In an embodiment of the present application, the positions of the multiple collision lines displayed on the three-dimensional parking map are initial positions, and the editor can adjust the positions of the collision lines according to actual teaching needs. Among them, when the target teaching tag is triggered, the highlighted target collision line can be dragged, and the editor can drag the target collision line to the target position according to actual teaching needs. Further, when a drag event corresponding to the target collision line is monitored, the attribute information editing items adapted to the target collision line at the target position can be displayed on the attribute information editing interface according to the target position to which the target collision line is dragged. For example, the multiple vehicle collision parts corresponding to the target collision line at the target position are displayed in the editing item of the vehicle collision part.
[0026] In the embodiments of the present application, the implementation format of each attribute information editing item is not limited. Optionally, the vehicle collision location editing item can be implemented as a drop-down selection list containing multiple selectable vehicle locations, from which the editor can select a vehicle location as the collision location corresponding to the target collision line at the target location. Each driving parameter editing item can be implemented as a drop-down selection list containing multiple selectable driving parameters, from which the editor can select a driving parameter as the driving parameter corresponding to a vehicle collision at the target location. Alternatively, it can be implemented as a text edit box, in which the editor can manually enter the driving parameter. For the driving prompt information editing item, if the prompt mode is voice announcement, it can be implemented as a text input box, in which the editor can manually enter the corresponding voice announcement content. If the prompt mode is vehicle warning light alarm, it can be implemented as a two-level drop-down list of vehicle locations and warning lights, allowing the editor to set the corresponding relationship between vehicle locations and warning lights. Of course, the above implementation is merely illustrative and not limiting. Different teaching tags may correspond to different attribute information, and the implementation format of the attribute information editing items on the attribute information editing interface will also vary. For example, taking the reversing into a parking space teaching item in Subject 2 as an example, there are forward reversing and reverse reversing. The reversing into a parking space editing item can also be included in the attribute information editing interface. The corresponding implementation form can be two radio buttons, corresponding to forward reversing and reverse reversing respectively. The editor can select one of them according to actual teaching needs.
[0027] Furthermore, in response to an edit input operation on an attribute information edit item, the attribute information of the target collision line can be obtained, and based on the attribute information and the target position, a teaching template corresponding to the target collision line can be generated. The attribute information of the target collision line determines the collision location of the vehicle at the target position, driving prompt information, and corresponding driving parameters. These contents are the driving rules of the vehicle in the real parking space. The teaching template generated based on this can be applied as teaching data to the driving teaching scene of the corresponding parking space, guiding students to practice driving according to the rules of the teaching template.
[0028] In an optional embodiment of the present application, before editing the teaching data, the implementation personnel may measure and mark the parking spaces of the driving school, and record the dotted data set corresponding to the parking spaces. Optionally, the recorded dotted data set may be stored in a cloud server. Further optionally, in response to a trigger operation acting on a target teaching tag, the dotted data set corresponding to the parking space to be edited may be obtained from the cloud server, wherein each dotted data in the dotted data set includes the type of parking space boundary line and the vehicle point coordinates corresponding to the parking space boundary line of this type. Optionally, the vehicle point coordinates are determined with the reference position in the driving school site as the origin. For example, the reference position may be the location of the base station of the driving school.
[0029] In the embodiment of the present application, the parking space boundary line refers to the boundary line in the parking space corresponding to any teaching item, and accordingly, the type of the parking space boundary line is the type of the teaching item. For example, taking the teaching of subject two as an example, including teaching items such as reversing into a parking space, parking and starting at a fixed point on a slope, curve driving, right-angle turning, and side parking, the corresponding parking space boundary line types include reversing into a parking space boundary line, slope parking and starting boundary line, curve driving boundary line, right-angle turning boundary line, and side parking boundary line. Among them, the parking spaces corresponding to different teaching items may be different, or the parking spaces corresponding to some teaching items are the same, and the parking spaces corresponding to some teaching items are different. Then, the above-mentioned various boundary lines may belong to different parking spaces respectively, or some may belong to the same parking space and some may belong to different parking spaces. For each type of parking space boundary line, the corresponding vehicle point coordinates are the position coordinates of the vehicle relative to the origin when it drives to the parking space boundary line of that type. It should be noted that there may be multiple boundary lines corresponding to any teaching item. Accordingly, there may be multiple boundary lines belonging to the same boundary line type, and there may also be multiple corresponding vehicle point coordinates under the parking space boundary line of this type.
[0030] In an optional embodiment of the present application, the type of dot data contained in the dot data set is not limited. Optionally, in addition to the dot data corresponding to the parking space boundary line, the dot data set may also include the dot data of the garage where the parking space is located; wherein the dot data of the garage includes the coordinates of different positions of the garage relative to the reference position. Further, when the dot data set is obtained, the dot data in the dot data set can be mapped to the world coordinate system based on the scene generation algorithm and the type of parking space boundary line to obtain a three-dimensional parking space map corresponding to the parking space to be edited, and the three-dimensional parking space map is rendered into the teaching editing area. Further optionally, if the dot data set does not include the dot data of the garage where the parking space is located, the dot data of the garage where the parking space is located that is pre-stored can be obtained separately from a cloud server or other device, and based on the obtained dot data and the parking space boundary line dot data, a three-dimensional parking space map corresponding to the parking space is generated.
[0031] Further optionally, when mapping the dot data in the dot data set to the world coordinate system, the coordinates of the parking space boundary line relative to the reference position can be determined for each type of parking space boundary line, and based on the three-dimensional coordinates of the reference position in the world coordinate system, the coordinates corresponding to the parking space boundary line are converted into the corresponding three-dimensional coordinates in the world coordinate system. In the embodiment of the present application, the specific method of determining the coordinates of the parking space boundary line relative to the reference position is not limited. Optionally, the coordinates of the parking space boundary line relative to the reference position can be determined based on the coordinates of each point corresponding to the position of the parking space boundary line, or the coordinates of the parking space boundary line relative to the reference position can be determined based on the coordinates of each vehicle point corresponding to the parking space boundary line. For example, in the actual teaching process, when a vehicle travels to a preset distance from the boundary line, it is considered to have crossed the line or collided. Assuming the preset distance is 10 cm, the position 10 cm away from the parking space boundary line is the vehicle point coordinate corresponding to the parking space boundary line. Accordingly, the coordinates of the parking space boundary line can be determined based on the vehicle point coordinates corresponding to the parking space boundary line.
[0032] Further optionally, in order to simplify the process of generating a three-dimensional parking map, a corresponding reading order can be set for each dot data. In the process of converting the dot data into three-dimensional coordinates, based on the type of parking boundary line, the dot data corresponding to the parking boundary line are read in sequence according to the specified reading order, and combined with the three-dimensional coordinates of the reference position in the world coordinate system, the vehicle point coordinates in each dot data read in sequence are converted into the corresponding three-dimensional coordinates in the world coordinate system, and the three-dimensional coordinates converted from each type of parking boundary line and its corresponding vehicle point coordinates in the parking space to be edited are used to generate a three-dimensional parking map corresponding to the parking space to be edited.
[0033] In the embodiment of the present application, the specific method of generating a three-dimensional parking space map is not limited. Taking the generation of a three-dimensional parking space map corresponding to a rectangular plane parking space as an example, since every two points can be connected to form a line, and a rectangular plane parking space is composed of four boundary lines, as long as the point coordinates of the intersection of every two adjacent boundary lines are known, a rectangular parking space can be obtained by connecting them in sequence. Optionally, when setting the reading order of the dot data corresponding to the four intersection positions of the rectangular parking space, the reading order of the corresponding dot data can be set in a clockwise or counterclockwise order according to the four intersection positions. Further optionally, when reading the dot data according to the specified reading order, two dot data can be read each time, and the vehicle point coordinates in the two dot data can be converted into corresponding three-dimensional coordinates in the world coordinate system, and the two three-dimensional coordinates can be connected into a line, and connected in sequence according to the obtained straight line order, the three-dimensional parking space map corresponding to the rectangular parking space can be obtained.
[0034] In an optional embodiment, before reading the dot data corresponding to the parking space boundary lines in sequence according to a specified reading order, the dot data corresponding to each type of parking space boundary line can be stored in a dot configuration table, and a reading order for each dot data can be established in the dot configuration table so that the dot data can be read in sequence according to the reading order. In another optional embodiment, in the absence of a dot configuration table, when dotting the parking space boundary lines and the corresponding vehicle point coordinates, the implementation personnel can dot the parking space boundary lines in a clockwise or counterclockwise order when dotting, and record the dot data in the dot order. Based on this, when reading the dot data, each dot data can be read in sequence according to the recording order of the dot data.
[0035] In a real environment, different driving schools have their own exclusive parking spaces, and the types of parking spaces between different driving schools may be different or the same. The driving teaching data editing function provided in the embodiment of the present application is to edit driving teaching data for a specified type of parking space. Based on this, in an optional embodiment, before displaying the driving teaching data editing interface, multiple driving school tags corresponding to different driving schools can also be displayed, wherein the driving school tags can be triggered. In response to any driving school tag being triggered, multiple parking spaces corresponding to the triggered driving school tag and driving teaching basic data corresponding to each parking space are obtained. Optionally, the driving teaching basic data includes multiple teaching tag fields and a collision line corresponding to each teaching tag and an attribute field corresponding to the collision line. Further, in the case of obtaining the driving teaching basic data, the multiple teaching tag fields can be displayed in the tag display area as multiple teaching tags that can be triggered, and the attribute field corresponding to the collision line corresponding to each teaching tag is saved locally and set as the response information corresponding to the collision line drag event, so that in response to the drag event corresponding to the target collision line, the attribute field corresponding to the target collision line is displayed as an attribute information editing item in the attribute information editing interface.
[0036] In an optional embodiment of the present application, a mapping relationship between driving schools and parking spaces within the driving schools, as well as basic driving instruction data corresponding to the parking spaces, may be pre-stored. The multiple teaching tag fields included in the basic driving instruction data are identifiers of multiple teaching items included in the teaching subject for driving instruction in the corresponding parking space; the collision line corresponding to each teaching tag is used to identify the position where the vehicle will collide and then press the line, that is, the collision line can be used to measure whether the vehicle's driving is compliant; the attribute field corresponding to each collision line includes the coordinates of the collision line's location, as well as the vehicle's collision site, driving parameters, and driving prompt information corresponding to each collision line's location; the three-dimensional coordinates corresponding to the coordinates of the collision line's location correspond to the collision line's contact position on the three-dimensional parking space map.
[0037] In an optional embodiment of the present application, each collision line corresponds to a touch position on the three-dimensional parking map. In order to ensure targeted editing of the attribute information of each collision line, the drag attribute of at least one collision line corresponding to the target teaching label displayed on the three-dimensional parking map can be set to be non-draggable. In response to a trigger operation acting on the target collision line label, the target touch position corresponding to the target collision line label is determined according to the correspondence between the collision line label and the touch position, and the collision line displayed at the target touch position is used as the target collision line, and the drag attribute of the target collision line is modified from non-draggable to draggable, and the target collision line is highlighted in a highlighted form. Based on the highlighted target collision line, the editor can determine that the collision line can be dragged, and the attribute information editing item in the attribute information editing interface is the attribute information editing item corresponding to the collision line. Then, the editor can edit the attributes of the target collision line.
[0038] Further optionally, in response to the target collision line being dragged to the target position, the collision line corresponding to the target teaching label and the attribute field corresponding to the collision line can be obtained from the driving teaching basic data, and the attribute field corresponding to the collision line corresponding to the target teaching label can be generated. The attribute information editing interface includes attribute information editing items corresponding to the attribute fields. In an optional embodiment of the present application, the attribute information editing items include at least editing items for editing the collision parts of the vehicle and editing items for editing driving parameters, as well as editing items for editing driving prompt information. For the content and specific implementation form of each attribute information editing item, please refer to the aforementioned embodiment and will not be repeated here. In the embodiment of the present application, the display method of the attribute information editing interface is not limited. Optionally, the attribute information editing interface can be displayed in the form of a floating layer or pop-up window on the teaching editing area; or, as Figure 1b As shown, the attribute information editing interface is displayed in a separate area on the left side of the driving teaching data editing interface, and this area does not cover the teaching editing area.
[0039] In an optional embodiment of the present application, the driving teaching data editing interface also includes a function operation area, which is a part of the label display area and contains a number of function labels for operating the generated collision line attribute information. In the embodiment of the present application, the display method of the function operation area is not limited. Optionally, the function operation area can be displayed in the form of a floating layer or pop-up window on the teaching editing area or the attribute information editing interface; or, as shown in FIG. Figure 1c As shown, the function operation area is displayed in a separate area below the three-dimensional parking map, and the area does not cover the three-dimensional parking map. Further, the embodiment of the present application does not limit the functions of the function labels contained in the function operation area. Optionally, Figure 1c As shown, including but not limited to template save label and template upload label.
[0040] In an optional embodiment of the present application, after editing the attribute information of the target collision line, the editor can trigger the template save tag to save the attribute information of the target collision line. Furthermore, in response to a trigger operation on the template save tag, a correspondence between the attribute information of the target collision line and the target position can be established, and a teaching template corresponding to the target collision line can be generated based on the correspondence. The teaching template includes at least the location of the collision line, the collision site of the vehicle, driving parameters, and driving prompts. Furthermore, after generating corresponding teaching templates for the multiple collision lines under each teaching tag, a driving teaching data package can be generated by triggering the template upload tag and uploaded to a cloud server. Optionally, in response to a trigger operation on the template upload tag, the multiple teaching templates corresponding to each teaching tag can be mapped into a teaching template set, and a driving teaching data package can be generated based on the multiple teaching template sets generated by the multiple teaching tags. The driving teaching data package can then be uploaded to the cloud server for download and use by the driving teaching device 30.
[0041] In an optional embodiment of the present application, the multiple parking spaces corresponding to the triggered driving school tag obtained by triggering any driving school tag may be parking spaces of the same type or different types. Taking the same teaching subject as an example, the car models include small cars and large cars. The parking spaces used by small cars and large cars may be different, but the corresponding teaching items are the same; for example, for small cars or large cars, the parking spaces used for driving practice are the same, but small cars or large cars include different vehicle models, and different models of vehicles may be used for driving teaching in different parking spaces of the same type. Based on this, there are multiple teaching tags of the same type displayed in the tag display area, and multiple teaching tags of the same type correspond to different parking spaces respectively; among them, the target teaching tag is a teaching tag corresponding to the first parking space, and the three-dimensional parking space map displayed in the teaching editing area is the three-dimensional parking space map corresponding to the first parking space, and the first parking space is one of the parking spaces corresponding to multiple teaching tags of the same type.
[0042] In this embodiment of the present application, the teaching template corresponding to each collision line and the driving instructional data corresponding to multiple collision lines are generated based on a specific parking space type. Based on this, this embodiment of the present application also provides a template copying function for parking spaces of the same type. Optionally, when a teaching template corresponding to a target collision line is generated, the teaching template corresponding to the target collision line can also be applied to another collision line; wherein, the teaching label type corresponding to the target collision line and the other collision line are the same, and the corresponding parking spaces are of the same type.
[0043] Alternatively, as Figure 1cAs shown, the function operation area also includes a template copy tag and a template application tag. After generating a teaching template corresponding to the target collision line and saving the teaching template, the template copy tag can be triggered, and in response to a trigger operation on the template copy tag, the attribute information of the target collision line is copied. Further, optionally, the first teaching tag is triggered as the teaching tag of the teaching template to be applied, and in response to a trigger operation on the first teaching tag, the three-dimensional parking map corresponding to the first parking space is switched to the three-dimensional parking map corresponding to the second parking space; wherein the first teaching tag and the target teaching tag are teaching tags of the same type and correspond to the second parking space. Further, the copied teaching template can be applied by triggering the template application tag. Optionally, in response to a trigger operation on the template application tag, the attribute information of the target collision line is applied to a collision line of the same type as the target collision line in the three-dimensional parking map corresponding to the second parking space, and a template save operation is performed on the collision line to which the teaching template is applied.
[0044] It should be noted that in the embodiment of the present application, it is not limited whether the generator and user of the driving teaching data belong to the same driving school. Optionally, after the first driving school uploads the driving teaching data to the cloud server, if there are parking spaces of the same type in the second driving school, it can also download and use the driving teaching data uploaded by the first driving school from the cloud server.
[0045] In an embodiment of the present application, triggering any teaching tag can display the corresponding three-dimensional parking map in the teaching editing area, and display multiple collision lines corresponding to the triggered target teaching tag on the three-dimensional parking map, as well as multiple collision line tags corresponding to the multiple collision lines. Through the multiple collision lines displayed on the three-dimensional parking map, you can intuitively see the multiple collision positions corresponding to the target teaching tag in the parking space. When any collision line tag is triggered in response, the collision line corresponding to the triggered target collision line tag can be highlighted on the three-dimensional parking map for the editor to drag and edit the attribute information of the collision line. In this process, the editor drags the target collision line to the target position by dragging, without calculating the specific coordinate relationship from the initial position to the target position, which simplifies the calculation process. The editor only needs to edit the attribute information of the target collision line at the target position, which is simple to operate.
[0046] Based on the above, the embodiment of the present application provides a method for generating driving teaching data. Figure 2 A flowchart of the method for generating driving teaching data, such as Figure 2 As shown, the method includes:
[0047] S1. Displaying the driving teaching data editing interface. The driving teaching data editing interface includes a label display area and a teaching editing area. The label display area is used to display a variety of teaching labels, and the teaching labels can be triggered.
[0048] S2. In response to a trigger operation on a target teaching tag, displaying a three-dimensional parking map in the teaching editing area, the three-dimensional parking map including at least one collision line corresponding to the target teaching tag, and displaying a collision line label corresponding to each collision line in the label display area;
[0049] S3, in response to a trigger operation on the target collision line label, highlighting the target collision line corresponding to the target collision line label on the three-dimensional parking space map, and displaying an attribute information editing interface corresponding to the target collision line;
[0050] S4. When a drag event corresponding to the target collision line is monitored, displaying attribute information editing items adapted to the target collision line at the target position on the attribute information editing interface according to the target position to which the target collision line is dragged;
[0051] S5. In response to an edit input operation on the attribute information edit item, acquiring attribute information of the target collision line, and generating a teaching template corresponding to the target collision line according to the attribute information of the target collision line and the target position;
[0052] The target teaching label is any teaching label, and the target collision line label is any collision line label.
[0053] In an optional embodiment, in response to a trigger operation acting on a target teaching tag, a dot data set corresponding to the parking space to be edited is obtained, wherein each dot data in the dot data set includes the type of parking space boundary line and the vehicle point coordinates corresponding to the type of parking space boundary line, and the vehicle point coordinates are determined with the reference position in the driving school site as the origin; further, based on the type of parking space boundary line, the dot data in the dot data set is mapped to the world coordinate system to obtain a three-dimensional parking space map corresponding to the parking space to be edited, and the three-dimensional parking space map is rendered into the teaching editing area.
[0054] In an optional embodiment, when mapping the dot data in the dot data set to the world coordinate system to obtain a three-dimensional parking map corresponding to the parking space to be edited, for each type of parking space boundary line, the coordinates of the parking space boundary line relative to the reference position are determined, and based on the three-dimensional coordinates of the reference position in the world coordinate system, the coordinates corresponding to the parking space boundary line are converted into corresponding three-dimensional coordinates in the world coordinate system; and based on the type of the parking space boundary line, the dot data corresponding to the parking space boundary line are read in sequence according to a specified reading order, and combined with the three-dimensional coordinates of the reference position in the world coordinate system, the vehicle point coordinates in each dot data read in sequence are converted into corresponding three-dimensional coordinates in the world coordinate system; further, based on the three-dimensional coordinates converted from each type of parking space boundary line in the parking space to be edited and its corresponding vehicle point coordinates, a three-dimensional parking map corresponding to the parking space to be edited is generated.
[0055] In an optional embodiment, before reading the dot data corresponding to the parking space boundary line in sequence according to a specified reading order, for each type of parking space boundary line, the dot data corresponding to the parking space boundary line is stored in a dot configuration table, and a reading order for each dot data is established in the dot configuration table.
[0056] In an optional embodiment, before displaying the driving teaching data editing interface, multiple driving school tags corresponding to different driving schools are displayed, wherein the driving school tags can be triggered; in response to any driving school tag being triggered, multiple parking spaces corresponding to the triggered driving school tag and driving teaching basic data corresponding to each parking space are obtained, wherein the driving teaching basic data includes multiple teaching tag fields and a collision line corresponding to each teaching tag and an attribute field corresponding to the collision line; further, the multiple teaching tag fields are displayed in the tag display area as multiple teaching tags that can be triggered, and the attribute field corresponding to the collision line corresponding to each teaching tag is saved locally and set as response information corresponding to the collision line drag event.
[0057] In an optional embodiment, at least one collision line corresponding to the target teaching label displayed on the three-dimensional parking map cannot be dragged, and one collision line corresponds to one touch position; accordingly, when the target collision line corresponding to the target collision line label is highlighted on the three-dimensional parking map, in response to the trigger operation acting on the target collision line label, the target touch position corresponding to the target collision line label is determined according to the correspondence between the collision line label and the touch position; the collision line displayed on the target touch position is used as the target collision line, and the drag attribute of the target collision line is modified from non-draggable to draggable, and the target collision line is highlighted in a highlighted form.
[0058] In an optional embodiment, according to the target position to which the target collision line is dragged, when the attribute information editing items adapted to the target collision line at the target position are displayed on the attribute information editing interface, the collision line corresponding to the target teaching label and the attribute field corresponding to the collision line are obtained from the driving teaching basic data; further, according to the attribute field corresponding to the collision line corresponding to the target teaching label, an attribute information editing interface is generated, wherein the attribute information editing interface includes attribute information editing items corresponding to the attribute field; optionally, the attribute information editing interface is displayed in the teaching editing area in the form of a floating layer or pop-up window, wherein the attribute information editing items include at least editing items for editing vehicle collision parts and editing items for editing driving parameters.
[0059] In an optional embodiment, when generating a teaching template corresponding to the target collision line based on the attribute information and target position of the target collision line, a correspondence between the attribute information of the target collision line and the target position is established, and a teaching template corresponding to the target collision line is generated based on the correspondence; wherein the attribute information of the target collision line includes at least the collision part and driving parameters of the vehicle.
[0060] In an optional embodiment, the attribute information editing item also includes an editing item for editing driving prompt information, and the attribute information of the target collision line also includes driving prompt information, which is voice broadcast content and / or information used to display the correspondence between the signal warning lights on the vehicle and the collision part of the vehicle; accordingly, the teaching template also includes driving prompt information.
[0061] In an optional embodiment, the label display area also includes a template upload label. After generating corresponding teaching templates for the multiple collision lines under each teaching label, the multiple teaching templates corresponding to each teaching label are mapped into a teaching template set; and a driving teaching data package is generated based on the multiple teaching template sets generated by the multiple teaching labels, and the driving teaching data package is uploaded to the cloud server for download and use by the driving teaching equipment.
[0062] In an optional embodiment, there are multiple teaching tags of the same type displayed in the tag display area, and the multiple teaching tags of the same type correspond to different parking spaces respectively. The target teaching tag is a teaching tag corresponding to the first parking space, and the three-dimensional parking space map displayed in the teaching editing area is the three-dimensional parking space map corresponding to the first parking space. Accordingly, the tag display area also includes a template copy tag and a template application tag. After generating the teaching template corresponding to the target collision line, the teaching template is saved, and in response to the trigger operation on the template copy tag, the attribute information of the target collision line is copied; further, in response to the trigger operation on the first teaching tag, the three-dimensional parking space map corresponding to the first parking space is switched to the three-dimensional parking space map corresponding to the second parking space, wherein the first teaching tag and the target teaching tag are teaching tags of the same type and correspond to the second parking space; further, in response to the trigger operation on the template application tag, the attribute information of the target collision line is applied to the collision line of the same type as the target collision line in the three-dimensional parking space map corresponding to the second parking space.
[0063] It should be noted that the execution entity of each step of the method provided in the above embodiment can be the same device, or the method can be executed by different devices. For example, the execution entity of steps S1 to S5 can be device A; for another example, the execution entity of steps S1 to S4 can be device A, and the execution entity of step S5 can be device B; and so on.
[0064] In addition, some of the processes described in the above embodiments and the accompanying drawings include multiple operations that appear in a specific order, but it should be clearly understood that these operations may not be executed in the order in which they appear in this article or may be executed in parallel. The sequence numbers of the operations, such as S1, S2, etc., are only used to distinguish between different operations, and the sequence numbers themselves do not represent any execution order. In addition, these processes may include more or fewer operations, and these operations may be executed in sequence or in parallel. It should be noted that the descriptions of "first", "second", etc. in this article are used to distinguish different messages, devices, modules, etc., and do not represent the order of precedence, nor do they limit "first" and "second" to be different types.
[0065] The embodiment of the present application also provides a driving teaching data generating device, Figure 3 A schematic diagram of the structure of the device for generating driving teaching data, such as Figure 3 As shown, the driving teaching data generating device includes: a processor 31 and a memory 32 storing a computer program; wherein, the processor 31 and the memory 32 can be one or more.
[0066] The memory 32 is primarily used to store computer programs that are executable by the processor 31, causing the processor 31 to control the driving instruction data generation device to implement corresponding functions, actions, or tasks. In addition to storing computer programs, the memory 32 can also be configured to store various other data to support operations on the driving instruction data generation device. Examples of such data include instructions for any application or method operating on the driving instruction data generation device.
[0067] The memory 32 may be implemented by any type of volatile or non-volatile memory device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk, or optical disk.
[0068] In the embodiment of the present application, the implementation form of the processor 31 is not limited, for example, it can be but not limited to a CPU, GPU or MCU. The processor 31 can be regarded as a control system of the driving teaching data generating device, which can be used to execute the computer program stored in the memory 32 to control the driving teaching data generating device to achieve corresponding functions and complete corresponding actions or tasks. It is worth noting that depending on the implementation form of the driving teaching data generating device and the different scenarios it is in, the functions it needs to achieve, the actions or tasks it needs to complete will be different; accordingly, the computer programs stored in the memory 32 will also be different, and the processor 31 executing different computer programs can control the driving teaching data generating device to achieve different functions and complete different actions or tasks.
[0069] In some optional embodiments, such as Figure 3 As shown, the driving teaching data generating device may further include: a display 33 , a power supply component 34 , a communication component 35 and other components. Figure 3 Only some components are shown schematically, which does not mean that the driving teaching data generating device only includes Figure 3 As shown in the components, the driving teaching data generating device may further include other components according to different application requirements. For example, in the case of voice interaction requirements, Figure 3 As shown, the driving instruction data generating device may further include an audio component 36. The components that the driving instruction data generating device may include may depend on the product form of the driving instruction data generating device and are not limited here.
[0070] In an embodiment of the present application, when the processor 31 executes the computer program in the memory 32, it is used to: display a driving teaching data editing interface, the driving teaching data editing interface includes a label display area and a teaching editing area, the label display area is used to display a variety of teaching labels, and the teaching labels can be triggered; in response to a trigger operation on a target teaching label, a three-dimensional parking map is displayed in the teaching editing area, the three-dimensional parking map includes at least one collision line corresponding to the target teaching label, and a collision line label corresponding to each collision line is displayed in the label display area; in response to a trigger operation on a target collision line label, the collision line label corresponding to the target collision line is highlighted on the three-dimensional parking map. A target collision line corresponding to a target collision line label, and an attribute information editing interface corresponding to the target collision line; when a drag event corresponding to the target collision line is monitored, an attribute information editing item adapted to the target collision line at the target position is displayed on the attribute information editing interface according to the target position to which the target collision line is dragged; and in response to an editing input operation acting on the attribute information editing item, the attribute information of the target collision line is obtained, and a teaching template corresponding to the target collision line is generated according to the attribute information and target position of the target collision line; wherein the target teaching label is any teaching label, and the target collision line label is any collision line label.
[0071] In an optional embodiment, the processor 31 responds to a trigger operation on a target teaching tag, and when displaying a three-dimensional parking space map in the teaching editing area, it is used to: respond to the trigger operation on the target teaching tag, obtain a dot data set corresponding to the parking space to be edited, wherein each dot data in the dot data set includes the type of parking space boundary line and the vehicle point coordinates corresponding to the type of parking space boundary line, and optionally, the vehicle point coordinates are determined with the reference position in the driving school site as the origin; further, based on the type of parking space boundary line, map the dot data in the dot data set to the world coordinate system to obtain a three-dimensional parking space map corresponding to the parking space to be edited, and render the three-dimensional parking space map into the teaching editing area.
[0072] In an optional embodiment, when the processor 31 maps the dot data in the dot data set to the world coordinate system to obtain a three-dimensional parking map corresponding to the parking space to be edited, it is used to: determine the coordinates of the parking space boundary line relative to the reference position for each type of parking space boundary line, and convert the coordinates corresponding to the parking space boundary line into the corresponding three-dimensional coordinates in the world coordinate system based on the three-dimensional coordinates of the reference position in the world coordinate system; and based on the type of the parking space boundary line, read the dot data corresponding to the parking space boundary line in sequence according to a specified reading order, and convert the vehicle point coordinates in each dot data read in sequence into the corresponding three-dimensional coordinates in the world coordinate system in combination with the three-dimensional coordinates of the reference position in the world coordinate system; further, generate a three-dimensional parking map corresponding to the parking space to be edited based on the three-dimensional coordinates converted from each type of parking space boundary line and its corresponding vehicle point coordinates.
[0073] In an optional embodiment, before the processor 31 reads the dot data corresponding to the parking space boundary line in sequence according to the specified reading order, it is used to: for each type of parking space boundary line, store the dot data corresponding to the parking space boundary line in the dot configuration table, and establish the reading order of each dot data in the dot configuration table.
[0074] In an optional embodiment, before displaying the driving teaching data editing interface, the processor 31 is also used to: display multiple driving school labels corresponding to different driving schools, wherein the driving school labels can be triggered; in response to any driving school label being triggered, obtain multiple parking spaces corresponding to the triggered driving school label and driving teaching basic data corresponding to each parking space, wherein the driving teaching basic data includes multiple teaching label fields and a collision line corresponding to each teaching label and an attribute field corresponding to the collision line; display the multiple teaching label fields as multiple teaching labels that can be triggered in the label display area, and save the attribute field corresponding to the collision line corresponding to each teaching label locally, and set it as response information corresponding to the collision line drag event.
[0075] In an optional embodiment, at least one collision line corresponding to the target teaching label displayed on the three-dimensional parking map cannot be dragged, and one collision line corresponds to a touch position; accordingly, the processor 31 responds to the trigger operation acting on the target collision line label, and when the target collision line corresponding to the target collision line label is highlighted on the three-dimensional parking map, it is used to: respond to the trigger operation acting on the target collision line label, and determine the target touch position corresponding to the target collision line label according to the correspondence between the collision line label and the touch position; use the collision line displayed on the target touch position as the target collision line, and modify the drag attribute of the target collision line from non-draggable to draggable, and highlight the target collision line in a highlighted form.
[0076] In an optional embodiment, when the processor 31 displays the attribute information editing items adapted to the target collision line at the target position on the attribute information editing interface according to the target position to which the target collision line is dragged, it is used to: obtain the collision line corresponding to the target teaching label and the attribute field corresponding to the collision line from the driving teaching basic data; generate an attribute information editing interface according to the attribute field corresponding to the collision line corresponding to the target teaching label, wherein the attribute information editing interface includes attribute information editing items corresponding to the attribute field; optionally, display the attribute information editing interface in the teaching editing area in the form of a floating layer or pop-up window, wherein the attribute information editing items include at least editing items for editing vehicle collision parts and editing items for editing driving parameters.
[0077] In an optional embodiment, when the processor 31 generates a teaching template corresponding to the target collision line based on the attribute information and target position of the target collision line, it is used to: establish a correspondence between the attribute information of the target collision line and the target position, and generate a teaching template corresponding to the target collision line based on the correspondence; wherein the attribute information of the target collision line includes at least the collision part and driving parameters of the vehicle.
[0078] In an optional embodiment, the attribute information editing item also includes an editing item for editing driving prompt information, and the attribute information of the target collision line also includes driving prompt information, which is voice broadcast content and / or information used to display the correspondence between the signal warning lights on the vehicle and the collision part of the vehicle; accordingly, the teaching template also includes driving prompt information.
[0079] In an optional embodiment, the label display area also includes a template upload label. After the processor 31 generates corresponding teaching templates for the multiple collision lines under each teaching label, it is also used to: map the multiple teaching templates corresponding to each teaching label into a teaching template set; generate a driving teaching data packet based on the multiple teaching template sets generated by the multiple teaching labels, and upload the driving teaching data packet to the cloud server for download and use by the driving teaching device.
[0080] In an optional embodiment, there are multiple teaching tags of the same type displayed in the tag display area, and the multiple teaching tags of the same type correspond to different parking spaces respectively, wherein the target teaching tag is a teaching tag corresponding to the first parking space, and the three-dimensional parking space map displayed in the teaching editing area is the three-dimensional parking space map corresponding to the first parking space. Accordingly, the tag display area also includes a template copy tag and a template application tag. Then, after generating the teaching template corresponding to the target collision line, the processor 31 is also used to: save the teaching template, and copy the attribute information of the target collision line in response to the trigger operation on the template copy tag; in response to the trigger operation on the first teaching tag, switch the three-dimensional parking space map corresponding to the first parking space to the three-dimensional parking space map corresponding to the second parking space, the first teaching tag and the target teaching tag are teaching tags of the same type and correspond to the second parking space; in response to the trigger operation on the template application tag, apply the attribute information of the target collision line to the collision line of the same type as the target collision line in the three-dimensional parking space map corresponding to the second parking space.
[0081] Accordingly, an embodiment of the present application further provides a computer-readable storage medium storing a computer program, which, when executed, can implement the steps that can be performed by the driving teaching data generating device in the above method embodiment.
[0082] The communication component in the above-mentioned embodiment is configured to facilitate wired or wireless communication between the device where the communication component is located and other devices. The device where the communication component is located can access a wireless network based on a communication standard, such as WiFi, 2G, 3G, 4G / LTE, 5G and other mobile communication networks, or a combination thereof. In an exemplary embodiment, the communication component receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0083] The display in the above-described embodiments includes a screen, which may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, slides, and gestures on the touch panel. The touch sensors may not only sense the boundaries of a touch or slide action, but also the duration and pressure associated with the touch or slide action.
[0084] The power supply assembly in the above embodiments provides power to various components of the device in which the power supply assembly is located. The power supply assembly may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the device in which the power supply assembly is located.
[0085] The audio component of the above embodiment can be configured to output and / or input audio signals. For example, the audio component includes a microphone (MIC), and when the device where the audio component is located is in an operating mode, such as call mode, recording mode, and voice recognition mode, the microphone is configured to receive external audio signals. The received audio signal can be further stored in a memory or sent via a communication component. In some embodiments, the audio component also includes a speaker for outputting audio signals.
[0086] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Thus, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0087] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowcharts and / or block diagrams, as well as combinations of processes and / or blocks in the flowcharts and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, such that execution of the instructions by the processor of the computer or other programmable data processing device produces means for implementing the functions specified in one or more processes in the flowcharts and / or one or more blocks in the block diagrams.
[0088] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a product including an instruction device that implements the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.
[0089] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.
[0090] In a typical configuration, a computing device includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory.
[0091] Memory may include non-permanent storage in a computer-readable medium, in the form of random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.
[0092] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can be implemented using any method or technology to store information. Information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase-change RAM (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include transitory computer-readable media such as modulated data signals and carrier waves.
[0093] It should also be noted that the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, commodity, or apparatus that includes a series of elements includes not only those elements but also other elements not explicitly listed, or includes elements inherent to such process, method, commodity, or apparatus. In the absence of further limitations, an element defined by the phrase "comprises a ..." does not exclude the presence of other identical elements in the process, method, commodity, or apparatus that includes the element.
[0094] The foregoing is merely an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application should all be included within the scope of the claims of the present application.
Claims
1. A method for generating driving teaching data, characterized in that: include: Displaying a driving teaching data editing interface, the driving teaching data editing interface including a label display area and a teaching editing area, the label display area is used to display a variety of teaching labels, and the teaching labels can be triggered; In response to a trigger operation on a target teaching tag, displaying a three-dimensional parking map in the teaching editing area, the three-dimensional parking map including at least one collision line corresponding to the target teaching tag, and displaying a collision line label corresponding to each collision line in the label display area, the target teaching tag being any teaching tag; In response to a trigger operation on a target collision line label, highlighting a target collision line corresponding to the target collision line label on the three-dimensional parking map, and displaying an attribute information editing interface corresponding to the target collision line, wherein the target collision line label is any collision line label; When a drag event corresponding to the target collision line is monitored, displaying, on the attribute information editing interface, attribute information editing items adapted to the target collision line at the target position according to the target position to which the target collision line is dragged; as well as In response to an editing input operation on the attribute information editing item, attribute information of the target collision line is obtained, the attribute information of the target collision line including the collision part of the vehicle at the target position, driving prompt information and corresponding driving parameters; based on the attribute information of the target collision line and the target position, a teaching template corresponding to the target collision line is generated.
2. The method according to claim 1, characterized in that In response to a trigger operation on a target teaching tag, a three-dimensional parking map is displayed in the teaching editing area, including: In response to a trigger operation on a target teaching tag, a dotted data set corresponding to a parking space to be edited is obtained, where each dotted data set includes a parking space boundary line type and a vehicle point coordinate corresponding to the parking space boundary line of that type, where the vehicle point coordinates are determined with a reference position in the driving school as an origin; Based on the type of the parking space boundary line, the dot data in the dot data set is mapped to the world coordinate system to obtain a three-dimensional parking space map corresponding to the parking space to be edited, and the three-dimensional parking space map is rendered into the teaching editing area.
3. The method according to claim 2, characterized in that Mapping the dot data in the dot data set to a world coordinate system to obtain a three-dimensional parking space map corresponding to the parking space to be edited, including: For each type of parking space boundary line, determine the coordinates of the parking space boundary line relative to the reference position, and based on the three-dimensional coordinates of the reference position in the world coordinate system, convert the coordinates corresponding to the parking space boundary line into corresponding three-dimensional coordinates in the world coordinate system; and Based on the type of the parking space boundary line, the dot data corresponding to the parking space boundary line is sequentially read in a specified reading order, and the vehicle point coordinates in each dot data read sequentially are converted into corresponding three-dimensional coordinates in the world coordinate system in combination with the three-dimensional coordinates of the reference position in the world coordinate system; A three-dimensional parking space map corresponding to the parking space to be edited is generated based on the three-dimensional coordinates converted from the boundary lines of each type of parking space in the parking space to be edited and the corresponding vehicle point coordinates.
4. The method according to claim 3, characterized in that Before sequentially reading the dot data corresponding to the parking space boundary lines in a specified reading order, the method includes: For each type of parking space boundary line, the dot data corresponding to the parking space boundary line is stored in a dot configuration table, and a reading order of each dot data is established in the dot configuration table.
5. The method according to claim 1, wherein Before displaying the driving instruction data editing interface, the method further includes: displaying a plurality of driving school tags corresponding to different driving schools, wherein the driving school tags can be triggered; and in response to any driving school tag being triggered, the method further includes: Acquire multiple parking spaces corresponding to the triggered driving school tag and basic driving teaching data corresponding to each parking space, wherein the basic driving teaching data includes multiple teaching tag fields, a collision line corresponding to each teaching tag, and an attribute field corresponding to the collision line; The multiple teaching tag fields are displayed in the tag display area as multiple teaching tags that can be triggered, and the attribute fields corresponding to the collision line corresponding to each teaching tag are saved locally and set as response information corresponding to the collision line drag event.
6. The method according to claim 1, characterized in that At least one collision line corresponding to the target teaching label displayed on the three-dimensional parking map cannot be dragged, and one collision line corresponds to one touch position; Accordingly, in response to a trigger operation on the target collision line label, highlighting the target collision line corresponding to the target collision line label on the three-dimensional parking space map includes: In response to a trigger operation acting on the target collision line tag, determining a target touch position corresponding to the target collision line tag according to a correspondence between the collision line tag and the touch position; The collision line displayed at the target touch position is used as the target collision line, the drag attribute of the target collision line is modified from non-draggable to draggable, and the target collision line is highlighted.
7. The method according to claim 5, characterized in that According to the target position to which the target collision line is dragged, the attribute information editing items adapted to the target collision line at the target position are displayed on the attribute information editing interface, including: Acquire the collision line corresponding to the target teaching label and the attribute field corresponding to the collision line from the driving teaching basic data; generating an attribute information editing interface according to the attribute field corresponding to the collision line corresponding to the target teaching tag, wherein the attribute information editing interface includes attribute information editing items corresponding to the attribute field; The attribute information editing interface is displayed in the teaching editing area in a floating layer or pop-up window manner, and the attribute information editing items include at least an editing item for editing vehicle collision parts, an editing item for editing driving parameters, and an editing item for editing driving prompt information.
8. The method according to claim 7, characterized in that Generating a teaching template corresponding to the target collision line according to the attribute information of the target collision line and the target position, including: A correspondence between the attribute information of the target collision line and the target position is established, and a teaching template corresponding to the target collision line is generated according to the correspondence.
9. The method according to claim 8, characterized in that The driving prompt information is voice broadcast content and / or information used to display the corresponding relationship between the signal warning lights on the vehicle and the collision position of the vehicle.
10. The method according to any one of claims 1 to 9, characterized in that The label display area also includes a template upload label. After generating corresponding teaching templates for the multiple collision lines under each teaching label, it also includes: Mapping multiple teaching templates corresponding to each teaching label into a teaching template set; A driving teaching data packet is generated based on a plurality of teaching template sets generated from a plurality of teaching tags, and the driving teaching data packet is uploaded to a cloud server for downloading and use by a driving teaching device.
11. The method according to any one of claims 1 to 9, characterized in that There are multiple teaching tags of the same type displayed in the tag display area, and the multiple teaching tags of the same type correspond to different parking spaces respectively. The target teaching tag is a teaching tag corresponding to the first parking space, and the three-dimensional parking space map displayed in the teaching editing area is the three-dimensional parking space map corresponding to the first parking space. Accordingly, the tag display area also includes a template copy tag and a template application tag. After generating the teaching template corresponding to the target collision line, it also includes: saving the teaching template, and in response to a trigger operation acting on the template copy tag, copying the attribute information of the target collision line; In response to a trigger operation on a first teaching tag, switching the three-dimensional parking map corresponding to the first parking space to a three-dimensional parking map corresponding to a second parking space, the first teaching tag and the target teaching tag being of the same type and corresponding to the second parking space; In response to a trigger operation on the template application tag, the attribute information of the target collision line is applied to a collision line of the same type as the target collision line in the three-dimensional parking space map corresponding to the second parking space.
12. A driving teaching data generating device, characterized in that: include: a processor and a memory storing a computer program; The processor is configured to execute the computer program to: Displaying a driving teaching data editing interface, the driving teaching data editing interface including a label display area and a teaching editing area, the label display area is used to display a variety of teaching labels, and the teaching labels can be triggered; In response to a trigger operation on a target teaching tag, displaying a three-dimensional parking map in the teaching editing area, the three-dimensional parking map including at least one collision line corresponding to the target teaching tag, and displaying a collision line label corresponding to each collision line in the label display area, the target teaching tag being any teaching tag; In response to a trigger operation on a target collision line label, highlighting a target collision line corresponding to the target collision line label on the three-dimensional parking map, and displaying an attribute information editing interface corresponding to the target collision line, wherein the target collision line label is any collision line label; When a drag event corresponding to the target collision line is monitored, displaying, on the attribute information editing interface, attribute information editing items adapted to the target collision line at the target position according to the target position to which the target collision line is dragged; as well as In response to an editing input operation on the attribute information editing item, attribute information of the target collision line is obtained, the attribute information of the target collision line including the collision part of the vehicle at the target position, driving prompt information and corresponding driving parameters; based on the attribute information of the target collision line and the target position, a teaching template corresponding to the target collision line is generated.
13. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the processor is caused to implement the steps of the method according to any one of claims 1 to 11.
Citation Information
Patent Citations
Operating instruction prompting method and system
CN105869638A
Training and testing automated driving models
US20200225668A1