Database construction method
The database construction method addresses the challenge of managing large and changing data relationships in automatic driving systems by using registered data groups, branches, and confidence levels to compactly store and manage data, ensuring reliability and preventing excessive accumulation.
Patent Information
- Application Number
- JP2023060078
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-04-03
- Publication Date
- 2024-10-16
AI Technical Summary
Existing automatic driving systems face challenges in efficiently storing and managing large amounts of detailed data related to obstacle recognition, as the relationships between data are constantly changing and it is difficult to determine which data are related and how, leading to an enormous data volume that is hard to compactly store and manage.
A database construction method that includes first and second registered data groups, branches linking these data, and confidence levels, allowing for sequential and compact storage by adding new data, updating confidence levels, and pruning branches based on evaluation functions to maintain reliability.
Enables the compact storage and management of related data in a database, preventing data accumulation and maintaining reliability by updating confidence levels and pruning branches, thus reducing the overall data volume.
Smart Images

Figure 2024147209000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a database construction method. [Background technology]
[0002] In recent years, safe driving and autonomous driving assistance for vehicles have been put into practical use, and the development of autonomous driving is also progressing. In autonomous driving, a camera captures the view in front of the vehicle, and based on the captured images, the vehicle recognizes obstacles such as pedestrians and parked vehicles, predicts their future positions, and controls the vehicle to avoid these obstacles.
[0003] If the obstacle is a pedestrian, it is highly likely to move from moment to moment, and if the obstacle is a parked vehicle, it is highly likely to remain in place even as time passes. The obstacle recognized in this way may affect the prediction of the future position. In addition, if something that is not an obstacle (such as unevenness or dirt on the road surface) is recognized as an obstacle, the vehicle will be controlled to take unnecessary avoidance actions.
[0004] Furthermore, for example, a pedestrian usually moves in a straight line, but if there is a parked vehicle, he or she will take evasive action to avoid it. In this way, when an obstacle is a moving object, its movement will be affected by other obstacles.
[0005] If there is a misrecognition of an obstacle and its movement, it often has a large impact on the prediction of its future position. An autonomous driving system capable of suppressing such misrecognition has been proposed (see JP 2022-130209 A). This autonomous driving system is equipped with a determination unit that compares a feature distribution representing the distribution of features related to obstacles recognized in the past with the feature of an obstacle recognized as an evaluation target, and determines whether the obstacle is misrecognized. The feature distribution is a residence time distribution representing the distribution of the time the obstacle stayed, a movement speed distribution representing the distribution of the speed at which the obstacle moved, a movement distance distribution representing the distribution of the distance the obstacle moved, etc. By using such features, for example, if an obstacle is determined to be a pedestrian but is moving at a high speed that cannot be expected for a pedestrian, it can be determined that it is a misrecognition.
[0006] In the above-mentioned autonomous driving system, if the judgment unit determines that the recognition is incorrect, it collects the detailed data, presents the image data at the time when the recognition is determined to be incorrect to the operator, and accepts input of the judgment result, including the presence or absence of an abnormality and the cause, from the operator. [Prior art documents] [Patent documents]
[0007] [Patent Document 1] Patent Publication No. 2022-130209 Summary of the Invention [Problem to be solved by the invention]
[0008] In the above-mentioned autonomous driving system, the collected detailed data is stored in a database and is used, for example, to re-learn an obstacle recognition model. This detailed data shows a tree structure in which obstacles are related to each other, and this structure may constantly change. In this case, it is difficult to determine in advance what kind of relationship multiple pieces of data are related to each other, and not all combinations may always appear in an actual situation. For this reason, in order to represent various relationships that may occur, it is necessary to record all of the multiple pieces of data, and it is not easy to degenerate and store multiple pieces of data into one piece of data. For this reason, the detailed data is stored individually, and the amount of data in the database tends to become enormous.
[0009] In order to reduce the huge amount of data, a method of extracting and consolidating similar or frequently occurring data may be adopted, but even in this case, a huge amount of data must be accumulated before extraction, and this cannot be done each time detailed data is collected.
[0010] The present disclosure has been made in light of the above circumstances, and has an object to provide a database construction method that can accumulate multiple pieces of related data in a database sequentially and compactly. [Means for solving the problem]
[0011] A database construction method according to one embodiment of the present disclosure is a database construction method for constructing a database in which a first registration data group to which a plurality of first registration data belongs, a second registration data group to which a plurality of second registration data generated based on the plurality of first registration data belongs, branches linking the second registration data to the first registration data that contributed to its generation, and certainty of the first registration data and the second registration data are stored, the method comprising: a data addition step of adding to the database one or more new first registration data and one or more new second registration data, and a new branch linking the first registration data that contributed to the generation of the new second registration data, the data addition step including a matching step of matching the new first registration data, the new second registration data, and the new branch with existing first registration data, existing second registration data, and existing branches that are already registered in the database, and a certainty update step of updating the certainty of the existing first registration data and the existing second registration data matched in the matching step using the certainty of the corresponding new first registration data and new second registration data. Effect of the Invention
[0012] The database construction method of the present disclosure makes it possible to accumulate multiple pieces of related data sequentially and compactly in a database. [Brief description of the drawings]
[0013] [Figure 1] FIG. 1 is a configuration diagram of a communication system including a database constructed by a database construction method according to an embodiment of the present disclosure. [Diagram 2] FIG. 2 is a diagram showing the configuration of a database in the communication system of FIG. [Diagram 3] FIG. 3 is an explanatory diagram of the operation of the second registration data generating unit. [Figure 4] FIG. 4 is a schematic diagram showing the relationship between registered data and branches. [Diagram 5]FIG. 5 is a schematic diagram showing data stored in the database before the data of FIG. 4 is added. [Figure 6] FIG. 6 is a flow diagram showing a processing procedure of a database construction method according to an embodiment of the present disclosure. [Figure 7] FIG. 7 is a schematic diagram showing the new data and new branches shown in FIG. 4 that are associated in the association step. [Figure 8] FIG. 8 is a schematic diagram showing the existing data and existing edges shown in FIG. 5 that are associated in the association step. [Figure 9] FIG. 9 is a schematic diagram showing a state in which new data shown in FIG. 4 that is not associated in the confidence factor updating step is added to the database. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0014] [Description of the embodiments of the present disclosure] First, the embodiments of the present disclosure will be listed and described.
[0015] A database construction method according to one embodiment of the present disclosure is a database construction method for constructing a database in which a first registration data group to which a plurality of first registration data belongs, a second registration data group to which a plurality of second registration data generated based on the plurality of first registration data belongs, branches linking the second registration data to the first registration data that contributed to its generation, and certainty of the first registration data and the second registration data are stored, the method comprising: a data addition step of adding to the database one or more new first registration data and one or more new second registration data, and a new branch linking the first registration data that contributed to the generation of the new second registration data, the data addition step including a matching step of matching the new first registration data, the new second registration data, and the new branch with existing first registration data, existing second registration data, and existing branches that are already registered in the database, and a certainty update step of updating the certainty of the existing first registration data and the existing second registration data matched in the matching step using the certainty of the corresponding new first registration data and new second registration data.
[0016] In this database construction method, newly generated registered data that corresponds to existing registered data is shared, so that the amount of data in the database can be prevented from becoming huge. In addition, in this database construction method, the certainty of the corresponding existing registered data is updated using the certainty of the new registered data. This certainty means the reliability of the registered data, and by updating the certainty, the reliability of the registered data itself and its importance on the time axis can be determined. Therefore, according to this database construction method, data can be updated sequentially without accumulating a huge amount of data at once.
[0017] In the confidence updating step, the confidence to be updated may be any one of the average value, maximum value, and minimum value of the existing confidence and the new confidence. The average value provides a plausible confidence with a relatively simple calculation. The maximum value is suitable for constructing a database with high confidence, i.e., high reliability. Conversely, the minimum value is suitable for constructing a database with high specificity.
[0018] The data addition step may include a pruning step of deleting the existing branch based on an evaluation function including the certainty of the first registered data that is the starting point of the existing branch associated in the association step and the certainty of the second registered data that is the end point of the existing branch after the certainty updating step. After the certainty is updated, for example, registered data with a low certainty can be interpreted as being low in reliability. In the database construction method, the second registered data is generated based on the first registered data, but when the certainty of the associated first registered data and second registered data is both low, the association is low in reliability and may cause a disturbance when using the constructed database, for example. The association of such registered data can be deleted by pruning the branch that links the two. In other words, the reliability of the constructed database can be increased by deleting the branch based on an evaluation function including the certainty.
[0019] The evaluation function may include the product, arithmetic mean, geometric mean, maximum, or minimum value of the certainty of the first registered data serving as the starting point and the certainty of the second registered data serving as the end point. By including the product, arithmetic mean, geometric mean, maximum, or minimum value of the certainty as the evaluation function, it is possible to increase the reliability of a database constructed with a relatively simple evaluation function.
[0020] In the branch pruning step, the evaluation function may be a function that increases monotonically with respect to the certainty of the first registered data serving as the starting point and the certainty of the second registered data serving as the end point, and a branch may be deleted when the value of the evaluation function is equal to or less than a predetermined value. In this manner, when the evaluation function is a function that increases monotonically with respect to the certainty of the first registered data and the certainty of the second registered data, the reliability of the constructed database can be increased by deleting a branch when the value of the evaluation function is equal to or less than a predetermined value.
[0021] In the branch pruning step, the evaluation function is a function that monotonically decreases with respect to the certainty of the first registered data serving as the starting point and the certainty of the second registered data serving as the end point, and a branch is deleted when the value of the evaluation function is equal to or greater than a predetermined value. In this way, when the evaluation function is a function that monotonically decreases with respect to the certainty of the first registered data and the certainty of the second registered data, the reliability of the constructed database can be increased by deleting a branch when the value of the evaluation function is equal to or greater than a predetermined value.
[0022] In the branch pruning step, the evaluation function is a function that monotonically increases with respect to the certainty of the first registered data as the starting point and the certainty of the second registered data as the end point, and the branch is deleted when the value of the evaluation function is equal to or exceeds a predetermined value. In this case, the branch that links registered data with low certainty remains, and the branch that links registered data with high certainty is pruned. It is also possible to interpret that registered data with low certainty occurs rarely. Based on this interpretation, it is possible to construct a database that mainly extracts unusual cases by actively leaving the branch that links registered data with low certainty.
[0023] In the branch pruning step, the evaluation function is a function that monotonically decreases with respect to the certainty of the first registered data serving as the starting point and the certainty of the second registered data serving as the end point, and a branch is deleted when the value of the evaluation function is equal to or less than a predetermined value. In this way, when the evaluation function is a function that monotonically decreases with respect to the certainty of the first registered data serving as the starting point and the certainty of the second registered data serving as the end point, a database in which mainly peculiar cases are extracted can be constructed by deleting a branch when the value of the evaluation function is equal to or less than a predetermined value.
[0024] The data addition step may include a data deletion step, after the branch pruning step, of deleting the first registered data having no branch as a starting point from among the first registered data, and the second registered data having no branch as an ending point from among the second registered data. As a result of the branch pruning, the first registered data having no branch as a starting point and the second registered data having no branch as an ending point do not contribute to the configuration of the database and are unnecessary, so that the database can be further compacted by deleting them.
[0025] The branches have update time data whose initial value is the time of registration, and in the confidence update step, the update time data of the existing branches associated in the association step is updated to the time when the confidence was updated, and in the branch pruning step, branches whose update time data has not been updated for a predetermined period of time or more are also deleted. Branches whose update time data has not been updated for a predetermined period of time or more can be considered to be old data whose occurrence frequency has decreased. By deleting such data, the database can be made more compact while maintaining its reliability.
[0026] Here, "certainty" refers to the reliability of extracted or estimated data, and can be expressed as a decimal ranging from -1 to 1. A confidence level of -1 means that the data is definitely incorrect, a confidence level of 1 means that the data is definitely correct, and a confidence level of 0 means that it is unclear whether the data is correct or incorrect. In this specification, the range of confidence levels is 0 to 1, inclusive, since the purpose is to infer correct data.
[0027] [Details of the embodiment of the present disclosure] Hereinafter, a database management system according to an embodiment of the present disclosure will be described with reference to the drawings as appropriate.
[0028] A database management system according to an embodiment of the present disclosure can be used in a processing system in which processing is performed stepwise such that second registration data is generated based on first registration data, for example, for information required for a safe driving support system or automated driving. Hereinafter, a case where information required for a safe driving support system or automated driving is collected will be described as an example, but this does not mean that the scope of use of the database management system is limited to this.
[0029] Information required for safe driving support systems and autonomous driving includes, for example, the vehicle's surroundings, driving conditions, and the driver's conditions, and the database management system processes these conditions and records the process. The resulting database can be used, for example, for accident analysis, comfort analysis, and correction of AI models that extract data. In addition, personalization and localization are performed according to each situation, and for example, driving situation scenes can be categorized and patterned. The database management system can build a database that meets such purposes.
[0030] [Communication Systems] A communication system 100 shown in Fig. 1 is an example of a configuration of a communication system equipped with the database management system. The communication system 100 is a communication system having a network 130 including a plurality of mobile base stations 110 and a plurality of moving objects 120. The communication system 100 is provided with a hierarchical database 140 having one main database 141 and a plurality of end databases 143 connected to the main database 141 directly or indirectly via one or a plurality of intermediate databases 142.
[0031] <Network> Network 130 includes a number of mobile base stations 110 and a number of mobile units 120 connected to each other via a common wireless interface.
[0032] The wireless interface may be 5G, local 5G, 4G, DSRC (Dedicated Short Range Communications), LPWA (Low Power Wide Area), WiFi, IEEE802.11 series, ITS (Intelligent Transport System) communication interfaces, etc.
[0033] It is preferable that the mobile base station 110 and the multiple moving objects 120 are configured to enable direct communication between any two of them. Furthermore, it is also preferable that communication can be performed using one or more moving objects 120 as a repeater, for example, from a moving object 120 to the mobile base station 110 via another moving object 120. Note that in FIG. 1, in order to avoid cluttering the drawing, only a part of the communication between the above two objects is shown, and not all of the communication is shown.
[0034] <Mobile base station> The mobile base station 110 is a base station that manages and controls the geographical area in which wireless communication is possible in the communication system 100. Specifically, the mobile base station 110 performs data management processing and distribution control processing for multiple moving objects 120, for example.
[0035] The mobile base stations 110 include a main base station 111 and a local base station 112, and can communicate with mobile base stations of other networks or with a cloud data center, forming a communications backbone network.
[0036] (Main base station) The main base station 111 supervises and controls the entire geographical area, and includes a communication function, a main database 141, and a processor.
[0037] (Local base station) The local base station 112 belongs to a lower layer than the main base station 111, and subdivides and controls the geographical area controlled by the main base station 111. For this reason, a plurality of local base stations 112 are usually provided. Conversely, if there is no need to subdivide the above geographical area, the local base station 112 can be omitted, and the mobile base station 110 is composed only of the main base station 111, and directly controls the entire above geographical area.
[0038] The local base station 112 has a communication function, an intermediate database 142 and a processor. The local base station 112 may be, for example, a local 5G base station.
[0039] <Mobile object> The multiple mobile objects 120 are devices that move in a data sharing area (a geographical range in which wireless communication can be performed) managed by the network 130 of the communication system 100. The multiple mobile objects 120 have a communication function, a terminal database 143, and a processor. In the communication system 100 shown in FIG. 1, the mobile objects 120 are vehicles.
[0040] The end databases 143 of the multiple mobile entities 120 are configured to be able to refer to each other. Furthermore, the mobile entities 120 have a database management device 1, which will be described later (see FIG. 2).
[0041] [Database Management Device] 2 includes a database 10, a sensor 20, a first registration data generation unit 30, a second registration data generation unit 40, and a third registration data generation unit 50. The database 10 of the database management device 1 constitutes a terminal database 143.
[0042] <Database> The database 10 stores a first registration data group 11 to which a plurality of first registration data belong, a second registration data group 12 to which a plurality of second registration data belong, a third registration data group 13 to which a plurality of third registration data belong, detailed sensor data 14, and branch data 15.
[0043] The first registered data group 11, the second registered data group 12 and the third registered data group 13 include a first confidence level 11a, a second confidence level 12a and a third confidence level 13a which represent the reliability of data corresponding to the first registered data, the second registered data and the third registered data, respectively.
[0044] The detailed sensor data 14 is information detected by the sensor 20. The detailed sensor data 14 tends to be large in volume and heavy, so it is processed such that, for example, the data is stored for a certain period of time and then deleted in order from oldest to newest.
[0045] The detailed sensor data 14 is mainly data detected by the mobile unit's own sensor 20. On the other hand, the first registered data group 11, the second registered data group 12, and the third registered data group 13 are light data with a relatively small amount of data, and can easily store information on other mobile units 120 via the wireless interface, so that information in the network 130 required by the mobile unit 120 is appropriately collected.
[0046] <Sensor> Examples of information detected by the sensor 20 include any natural phenomenon such as weather and temperature, phenomena caused by man-made objects such as traffic congestion, human vital signs such as heart rate, respiratory rate, and blood pressure, people approaching the vehicle, information on objects fallen on the road, time, moving speed, and position, and any other information that can be detected by a sensor. In particular, when the moving body 120 is a vehicle, it is preferable that the sensor 20 is a camera that captures the road conditions. Images of the road can obtain a lot of information at once, but the processing is complicated. The database management device 1 can perform such complicated processing with high accuracy, and is therefore easily applicable to, for example, automatic driving.
[0047] Each mobile unit 120 processes the information collected by the sensor 20 using the processor and stores the information in the terminal database 143 .
[0048] <Data Generation Division> The database management device 1 is equipped with a first registration data generation unit 30, a second registration data generation unit 40 and a third registration data generation unit 50, and is therefore able to generate the first registration data, the second registration data, the third registration data, the first confidence level 11a, the second confidence level 12a and the third confidence level 13a based on sensor information detected by the sensor 20.
[0049] (First registration data generation unit) The first registration data generating unit 30 generates the first registration data based on the sensor information detected by the sensor 20. In addition, the first registration data generating unit 30 generates the first confidence factor 11a.
[0050] It is preferable that the first registration data generation unit 30 generates the first registration data from the sensor information using a first prediction model 31 that has been machine-learned using known sensor information and the first registration data corresponding to the sensor information as training data.
[0051] In this case, first confidence level 11a can be determined from parameters included in first prediction model 31. When so-called AI is used in first prediction model 31 in this way, first confidence level 11a can be easily calculated from parameters included in the prediction model.
[0052] (Second registration data generation unit) The second registration data generating unit 40 generates the second registration data based on the first registration data. The second confidence factor 12a is generated by the second registration data generating unit 40.
[0053] It is preferable that the second registration data generation unit 40 generates the second registration data from the sensor information and the first registration data using a second prediction model 41 that has been machine-trained using known sensor information and known first registration data, and second registration data corresponding to the sensor information and the first registration data, as teacher data.
[0054] In this case, second confidence level 12a may be determined from parameters included in second prediction model 41. When AI is used in second prediction model 41 in this way, second confidence level 12a can be easily calculated from parameters included in the prediction model.
[0055] (Third registration data generation unit) The third registration data generating unit 50 generates the third registration data based on the second registration data. The third confidence factor 13a is generated by the third registration data generating unit 50.
[0056] It is preferable that the third registration data generating unit 50 generates the third registration data from the sensor information and the second registration data by using a third prediction model 51 that is machine-learned using known sensor information, known second registration data, and third registration data corresponding to the sensor information and the second registration data as teacher data. Note that the third registration data generating unit 50 may use the first registration data instead of or in addition to the second registration data.
[0057] In this case, third confidence level 13a may be determined from parameters included in third prediction model 51. When AI is used in third prediction model 51 in this way, third confidence level 13a can be easily calculated from parameters included in the prediction model.
[0058] <Specific examples> As a specific example, the operation of the database management device 1 will be explained in detail using a case in which the moving object 120 is a vehicle, the sensor 20 is a camera that captures road conditions, and the autonomous vehicle identifies obstacles on the road and determines the need for evasive action, but this does not mean that the scope of application of the database management device 1 is limited to this example.
[0059] FIG. 2 shows an example of a road condition in which a triangular cone X1, a bicycle X2, and a pedestrian X3 are present ahead of a moving object 120.
[0060] (First registration data generation unit) In such a system, the role of the first registration data generation unit 30 is to extract features of physical information, which in this case is the step of classifying the obstacle recognized from the sensor information detected by the sensor 20 as either a traffic cone, a bicycle, a pedestrian, etc.
[0061] At this time, the first confidence level 11a generated by the first registration data generating unit 30 indicates the confidence level of the classification result. This confidence level is expressed as a decimal value between 0 and 1, with the confidence level being higher as the confidence level approaches 1.
[0062] The meaning of the first confidence level 11a is as follows. The cone X1 is classified as a cone by the first registration data generating unit 30. If the cone X1 has the typical characteristics of a cone, the first confidence level 11a will be close to 1. However, if the cone X1 is an inconspicuous color such as gray, it is suggested that the cone is not a cone, and the first confidence level 11a will be low (e.g., 0.5). Alternatively, if the cone X1 is floating in the air, it is fully expected that the judgment is incorrect, and the value of the first confidence level 11a will be even lower (e.g., 0.1). In this way, even if an obstacle is classified as a cone, its reliability varies, and the quantity indicating this is the first confidence level 11a.
[0063] (Second registration data generation unit) The role of the second registration data generation unit 40 is to extract semantic information based on the physical information extracted by the first registration data generation unit 30, which in this example is to predict the future position of an obstacle.
[0064] For example, let us focus on bicycle X2. Let us assume that the relative positions of cone X1, bicycle X2, and pedestrian X3 based on the sensor information detected by sensor 20 are as shown in Fig. 3. Furthermore, the speed of bicycle X2 can also be obtained from the sensor information, and the future position of bicycle X2 can be predicted.
[0065] There is a triangular cone X1 in front of bicycle X2. Since triangular cone X1 does not move in principle, it is easily predicted that bicycle X2 will take action to avoid triangular cone X1, and since a moving object 120 moving faster than bicycle X2 is approaching from behind (right side of FIG. 3) in the center of the road (upper side of FIG. 3), it is highly likely that bicycle X2 will avoid it by moving to the edge of the road (lower side of FIG. 3). For example, it is possible to determine the possibility of moving as shown in FIG. 3.
[0066] Here, similarly to first confidence level 11a, the confidence level of the direction of movement of bicycle X2 and the probability calculation itself can be defined, and this can be set as second confidence level 12a. In this case, since there are three possible movement directions (Y1 to Y3 in FIG. 3), second confidence level 12a can have three values for each movement direction.
[0067] (Third registration data generation unit) The role of the third registration data generation unit 50 is to extract value information based on the semantic information extracted by the second registration data generation unit 40, which in this example is to predict the danger of obstacles or predict danger avoidance actions.
[0068] The third registration data generating unit 50 receives as input the position and speed of the moving object 120 obtained from sensor information in addition to the second registration data. The first registration data may be referred to as necessary.
[0069] Regarding the third confidence level 13a, the confidence level of the calculation of the third registered data itself can be defined. For example, when bicycle X2 moves to Y1, it is judged that the risk is high because it will jump out in front of moving body 120. On the other hand, when bicycle X2 moves to Y3, the risk is low. These are considered to be foreseeable with a relatively high confidence level. However, when bicycle X2 moves to Y2, it cannot be denied that the rider of bicycle X2 may not have noticed triangular cone X1, and the risk cannot be definitively foreseen, so the confidence level is considered to be relatively low.
[0070] Except for the above-mentioned points, the third registration data generating unit 50 can be configured similarly to the second registration data generating unit 40.
[0071] (Branch data) As described above, there is a cone X1 in front of the bicycle X2. Since the cone X1 does not move in principle, it is expected that the bicycle X2 will take action to avoid the cone X1. In other words, the cone X1 contributes to the prediction of the future position of the bicycle X2. In this case, the second registered data Y1 to Y3 are linked to the first registered data X1 that contributed to the generation of the second registered data. This linking information is stored in the edge data 15 as edge information.
[0072] The relationship between the registered data and the branches shown in the above specific example can be shown in Fig. 4. In Fig. 4, the first registered data is represented by X1 to X3, the second registered data by Y1 to Y3, and the third registered data by Z1 to Z3, and the confidence level of each is expressed as f * ,The branch that links the registered data is E ** Here, * indicates the code of the registered data.
[0073] [Database construction method] A method for registering the specific example shown in Fig. 4 above in the database 10 shown in Fig. 5 and constructing the database 10, i.e., a database construction method according to an embodiment of the present disclosure, will be described. The database construction method includes a first registration data group 11 to which a plurality of first registration data X1 to X3 belongs, a second registration data group 12 to which a plurality of second registration data Y1 to Y3 generated based on the plurality of first registration data X1 to X3 belongs, and an edge E that links the second registration data Y1 to Y3 with the first registration data X1 to X3 that contributed to the generation of the second registration data. XiYj a third registration data group 13 to which a plurality of third registration data Z1 to Z3 that are generated based on a plurality of second registration data Y1 to Y3 belong; and a branch E that links the third registration data Z1 to Z3 to the second registration data Y1 to Y3 that contributed to the generation of the third registration data Z1 to Z3. YjZk and the confidence f of the first registered data X1 to X3, the second registered data Y1 to Y3, and the third registered data Z1 to Z3. * This is a database construction method for constructing a database 10 in which (*: X1 to X3, Y1 to Y3, Z1 to Z3) are stored.
[0074] As shown in FIG. 6, the database construction method is to create a new branch E that links a plurality of new first registration data X1 to X3, a plurality of new second registration data Y1 to Y3, and a plurality of new third registration data Z1 to Z3 with the first registration data X1 to X3 that contributed to the generation of the new second registration data Y1 to Y3. XiYj and a new branch E that links the second registered data Y1 to Y3 that contributed to the generation of the new third registered data Z1 to Z3. YjZk The method includes a data addition step S1 of adding the above to the database 10.
[0075] The data addition step S1 includes an association step S11, a confidence factor update step S12, a pruning step S13, and a data deletion step S14.
[0076] <Mapping step> In the matching step S11, new first registered data X1 to X3, new second registered data Y1 to Y3, new third registered data Z1 to Z3, and a new branch E ** (*: X1 to X3, Y1 to Y3, Z1 to Z3) are the existing first registered data Xi, the existing second registered data Yj, the existing third registered data Zk, and the existing branch E ** Corresponds to (*: Xi, Yj, Zk).
[0077] Specifically, the corresponding registered data (first registered data Xi, second registered data Yj, third registered data Zk, and branch E ** It is preferable to map the above. The correspondence relationship after the correspondence step S11 is shown in Fig. 7 and Fig. 8. In Fig. 7 and Fig. 8, the registered data and edges that are associated are shown with solid lines, and the registered data and edges that are not associated are shown with dashed lines.
[0078] For example, for pedestrian X3, a method of matching the same pedestrian (not matching different pedestrians) and a method of matching different pedestrians as long as they are in the pedestrian category can be considered. Which method is adopted can vary depending on the purpose of the database 10. For example, if the purpose of the database 10 is to analyze a certain scene that is continuous in time, the former method can be adopted. On the other hand, if the purpose of the database 10 is to generalize the relationship between pedestrian X3 and bicycle X2 or moving object 120, the latter method can be adopted.
[0079] Here, for example, the first registration data X1 to X3 may be data simply indicating the type of obstacle, or may be a data set including the position and moving speed of the obstacle. The contents of this data set are appropriately determined according to the necessity when generating the second registration data Y1 to Y3. For example, when the first registration data X1 to X3 include the position of the obstacle in addition to the type, if the position is precisely defined, the new first registration data X1 to X3 may not be associated with the existing first registration data Xi due to differences in position information. For this reason, for example, it is preferable to divide an image captured by a camera into predetermined sections (for example, 5×5 sections in FIG. 3) and associate the first registration data Xi with the section to which it belongs.
[0080] <Confidence update step> In the confidence update step S12, the confidence F of the existing first registered data Xi, the existing second registered data Yj, and the existing third registered data Zk associated in the association step S11 is updated. * (*: Xi, Yj, Zk) are the confidence f of the corresponding new first registered data X1 to X3, the new second registered data Y1 to Y3, and the new third registered data Z1 to Z3. * Update using
[0081] The confidence levels to be updated are the confidence levels (first confidence level 11a, second confidence level 12a, and third confidence level 13a) shown by solid lines in FIG. 8. Among these, the branch E associated with the second registered data Y3 is ** Confidence level F for unconnected dataY3 may be excluded from the update target, because the data that contributed to the generation of such data is completely different from the newly registered data.
[0082] In the confidence update step S12, the confidence F * As for the existing confidence F * and the new confidence level f * The average value, maximum value, minimum value, mode, median, integral filter value, Kalman filter value, etc. of can be selected. Among them, the average value, maximum value, or minimum value is preferable. The average value gives a plausible confidence level with a relatively simple calculation. The maximum value is suitable for constructing a database 10 with a high confidence level, i.e., a high reliability. Conversely, the minimum value is suitable for constructing a database 10 with high specificity. Note that the confidence level F to be updated is * If the mean, mode, or median is used as the confidence level F * In addition, it is a good idea to keep the sum and frequency.
[0083] In addition, new registration data Xi, Yj, Zk and new branch E ** In the existing registration data Xi, Yj, Zk and branch E ** For example, in the example of FIG. 7, the first registered data X3, the third registered data Z3, and the branch E X1Y3 , Branch E X2Y2 , Branch E X2Y3 , Branch E X3Y3 , Branch E Y3Z3 This corresponds to the above. Such new registration data Xi, Yj, Zk and new branch E ** are added to the database 10 as is, and the new registered data Xi, Yj, and Zk are assigned new confidence values f * is given (see Figure 9).
[0084] <Pruning step> In the pruning step S13, after the confidence updating step S12, the existing branches E XiYj The confidence level f of the first registered data Xi, which is the starting point of Xi and existing branch EXiYj The confidence level f of the second registered data Yj, which is the end point of Yj or an existing edge E associated in the association step S11. YjZk The confidence level f of the second registered data Yj, which is the starting point of Yj and existing branch E YjZk The confidence level f of the third registered data Zk, which is the end point of Zk Based on the evaluation function including XiYj or branch E YjZk Delete.
[0085] Confidence F * After updating, for example, the confidence F * In the database construction method, the second registration data Yj is generated based on the first registration data Xi, and the reliability F of the associated first registration data Xi and second registration data Yj is * If both are low, the association is unreliable and may cause disturbance when utilizing the constructed database 10. Such associations between registered data can be deleted by pruning the branches linking the two. In other words, by deleting the branches based on an evaluation function including the confidence factor, the reliability of the constructed database 10 can be increased.
[0086] The above evaluation function is for each branch E ** For example, the two branches E that make up the path X1 → Y1 → Z1 in Figure 7 X1Y1 and branch E Y1Z1 When the definition is made on a path-by-path basis, it may happen that only a part of the path (Y2 → Z2), such as X2 → Y2 → Z2 in Fig. 7, matches with the existing database 10. In this case, Y2 → Z2 is not evaluated, and the pruning step S13 is not executed for this path.
[0087] Here, the above evaluation function is applied to each branch E ** We will continue the explanation by taking the case where it is defined in units as an example. ** As, branch E XiYj and branch EYjZk There exists a branch E XiYj There is no loss of generality even if we use the existing branch E XiYj The confidence level F of the first registered data Xi, which is the starting point of Xi and existing branch E XiYj The confidence level F of the second registered data Yj, which is the end point of Yj Based on the evaluation function including XiYj The case where the above is deleted will be described.
[0088] The evaluation function is the confidence level F Xi and confidence level F Yj The sum, product, maximum value, minimum value, arithmetic mean value, geometric mean value, etc. of the above evaluation function can be adopted. Xi And the confidence level F of the second registered data Yj, which is the end point Yj It is preferable that the evaluation function includes a product, an arithmetic mean value, a geometric mean value, a maximum value, or a minimum value of the confidence. By including a product, an arithmetic mean value, a geometric mean value, a maximum value, or a minimum value of the confidence as the evaluation function, it is possible to increase the reliability of the database 10 constructed with a relatively simple evaluation function.
[0089] The above evaluation function is the confidence level F of the first registered data Xi that is the starting point. Xi And the confidence level F of the second registered data Yj, which is the end point Yj When the value of the evaluation function is equal to or less than a predetermined value, branch E XiYj In this way, the evaluation function is the confidence F of the first registered data Xi. Xi and the confidence level F of the second registered data Yj Yj In the case where the function is a monotonically increasing function with respect to , a small value of the evaluation function means that the confidence that the first registered data Xi and the second registered data Yj occur simultaneously is low. XiYj can be interpreted as having low reliability. Therefore, by deleting a branch when the value of the evaluation function is equal to or less than a predetermined value, it is possible to increase the reliability of the database 10 to be constructed.
[0090] The above evaluation function is the confidence level F of the first registered data Xi that is the starting point. Xi And the confidence level F of the second registered data Yj, which is the end point Yj When the value of the evaluation function is equal to or exceeds a predetermined value, branch E XiYj In this way, the evaluation function is the confidence F of the first registered data Xi. Xi and the confidence level F of the second registered data Yj Yj When the function is a monotonically decreasing function with respect to , a large value of the evaluation function means a low confidence that the first registered data Xi and the second registered data Yj occur simultaneously. Therefore, by deleting a branch when the value of the evaluation function is equal to or exceeds a predetermined value, the reliability of the database 10 to be constructed can be increased.
[0091] Conversely, the evaluation function is the confidence F of the first registered data Xi, which is the starting point. Xi And the confidence level F of the second registered data Yj, which is the end point Yj When the value of the evaluation function is equal to or exceeds a predetermined value, branch E XiYj In this case, the branch E that links the registered data with low confidence level can be deleted. XiYj The remaining branch E is the branch that links the registered data with high confidence. XiYj It is possible to interpret that low-confidence registered data occurs rarely. Based on this interpretation, the branch E XiYj By actively leaving these, it is possible to build a database 10 that mainly extracts idiosyncratic cases.
[0092] The above evaluation function is the confidence level F of the first registered data Xi that is the starting point. Xi And the confidence level F of the second registered data Yj, which is the end point Yj When the value of the evaluation function is equal to or less than a predetermined value, branch E XiYj In this way, the evaluation function is the confidence F of the first registered data Xi that is the starting point.Xi In the case where the function is a monotonically decreasing function with respect to the confidence of the second registered data Yj which is the end point, when the value of the evaluation function is equal to or less than a predetermined value, branch E XiYj By deleting the above, it is possible to construct a database 10 that mainly extracts idiosyncratic cases.
[0093] In constructing the evaluation function, the confidence level that the first registered data Xi and the second registered data Yj occur simultaneously is defined as P(Xi, Yj), and the absence of the first registered data Xi is expressed as "!Xi". In other words, P(!Xi, Yj) means the confidence level that the first registered data Xi does not occur and the second registered data Yj occurs. In this case, it is preferable to determine P(Xi, Yj) so as to satisfy P(Xi, Yj)+P(!Xi, Yj)+P(Xi, !Yj)+P(!Xi, !Yj)=1, and use P(Xi, Yj) as the evaluation function. By using such an evaluation function, the reliability of the database 10 to be constructed can be further increased.
[0094] Branch E XiYj The above-mentioned predetermined value for determining whether or not to delete is appropriately determined depending on the reliability of the database 10 to be constructed, the required compactness, etc., but if the above-mentioned P(Xi, Yj) is used as the evaluation function, for example, the above-mentioned predetermined value is preferably 0.4, and more preferably 0.3. By deleting when P(Xi, Yj) is equal to or less than the above-mentioned predetermined value, it is possible to effectively compact the database.
[0095] Branch E XiYj has update time data with the initial value set to the time of registration, and in the confidence update step S12, the existing branch E associated in the association step S11 XiYj The update time data of the branch E is updated to the time when the confidence level is updated, and in the branch cut step S13, the branch E whose update time data has not been updated for a predetermined period of time or more is selected. XiYj The branch E whose update time data has not been updated for a predetermined period of time may also be deleted. XiYjcan be considered to be old data whose occurrence frequency has decreased recently. By deleting such data, the database 10 can be made more compact while maintaining its reliability.
[0096] <Data deletion steps> In the data deleting step S14, after the branch pruning step S13, the branch E starting from the first registered data Xi is deleted. XiYj The branch E having the first registered data Xi and the second registered data Yj as its end point, which does not exist XiYj The second registration data Yj that does not exist is deleted.
[0097] For example, in the database 10 of FIG. 9, branch E X1Y1 and branch E X2Y1 is deleted, and if it does not exist, a branch E with the second registered data Y1 as the end point is XiYj no longer exists, this second registration data Y1 is deleted.
[0098] Then, when the second registered data Y1 is deleted, branch E Y2Z3 becomes unnecessary and can be deleted. Furthermore, this branch E Y2Z3 By deleting the third registered data Y1, a branch E XiYj does not exist, so the branch E with the third registered data Z1 as the end point is YiZj Since the third registered data Z1 no longer exists, the third registered data Z1 can also be deleted. ** Alternatively, the registered data Xi, Yj, and Zk may be deleted.
[0099] Also, for example, in the branch cutting step S13, Y2Z2 If the second registration data Y2 is deleted, the branch E YiZj does not exist, the second registration data Y2 is deleted.
[0100] On the other hand, branch E X1Y1 Even if is deleted, this branch E X1Y1 The first registered data X1, which is the starting point of the first registered data X1, is not deleted. X1Y2 Or branch EX1Y3 This is because there exists
[0101] As a result of pruning, the starting branch E XiYj The first registered data Xi that does not exist and the branch E that is the end point XiYj Since the second registered data Yj that does not exist does not contribute to the configuration of the database 10 and is unnecessary, the database 10 can be made even more compact by deleting it.
[0102] <Advantages> In this database construction method, among newly generated registered data Xi, Yj, Zk, those corresponding to existing registered data Xi, Yj, Zk are made common, so that it is possible to prevent the amount of data in the database 10 from becoming enormous. Also, in this database construction method, the confidence factor F of the corresponding existing registered data Xi, Yj, Zk is * The confidence level f of the new registration data Xi, Yj, and Zk * This confidence F * means the reliability of the registered data Xi, Yj, and Zk, and the confidence F * By updating, the reliability of the registered data Xi, Yj, Zk itself and its importance on the time axis can be determined. Therefore, according to this database construction method, data can be updated sequentially without storing a huge amount of data at once.
[0103] [Other embodiments] The above-mentioned embodiment does not limit the configuration of the present invention. Therefore, the above-mentioned embodiment may omit, replace or add components of each part of the above-mentioned embodiment based on the description in this specification and common technical knowledge, and it should be construed that all of these are within the scope of the present invention.
[0104] In the above embodiment, the case where three registered data groups from the first registered data group to the third registered data group are provided has been described, but the present invention also covers a database having a fourth registered data group or more data groups and a fourth or more certainty factor. Conversely, the present invention also covers a two-stage database that does not have the third registered data group.
[0105] Furthermore, it is not necessary for all of the first to third registered data to include a certainty factor. For example, the present invention also covers a database in which the second registered data and the third registered data include a certainty factor.
[0106] In the above embodiment, a case was described in which the third registration data is generated based on the second registration data, but the present invention also covers a case in which the third registration data is generated based on the first registration data, or a case in which the third registration data is generated based on the first registration data and the second registration data.
[0107] In the above embodiment, a case was described in which the data addition process includes a branch pruning step and a deletion step, but the present invention also intends a configuration in which the data addition process does not include a deletion step, or a configuration in which the data addition process does not include either a branch pruning step or a deletion step. [Industrial Applicability]
[0108] As described above, the database construction method of the present disclosure makes it possible to accumulate multiple pieces of related data sequentially and compactly in a database. [Explanation of symbols]
[0109] 1. Database management device 10 Database 11 First registered data set 11a 1st confidence level 12 Second registered data set 12a Second confidence level 13. Third registered data set 13a Third confidence level 14 Detailed Sensor Data 15 Branch data 20 Sensors 30 First registration data generation unit 31 First prediction model 40 Second registration data generation unit 41 Second Prediction Model 50 Third registration data generation unit 51 Third Prediction Model 100 Communication Systems 110 Mobile base station 111 Main base station 112 Local base station 120 Mobile 130 Network 140 Hierarchical Database 141 Main Database 142 Intermediate Database 143 End Database X1 Triangle cone X2 Bicycle X3 Pedestrian
Claims
1. a first registration data group to which a plurality of first registration data belong; a second registration data group to which a plurality of second registration data generated based on the plurality of first registration data belongs; a branch linking the second registered data to the first registered data that contributed to the generation of the second registered data; The certainty of the first registered data and the second registered data; A database construction method for constructing a database in which a data addition step of adding to the database one or more new first registration data and one or more new second registration data, and a new branch linking the first registration data that contributed to the generation of the new second registration data; The data addition process is a matching step of matching the new first registration data, the new second registration data, and the new branch with the existing first registration data, the existing second registration data, and the existing branch that are already registered in the database; a certainty updating step of updating certainty of the existing first registration data and the existing second registration data associated in the association step using certainty of the corresponding new first registration data and the new second registration data; A database construction method comprising the steps of:
2. 2. A database construction method according to claim 1, wherein the confidence level updated in said confidence level updating step is any one of an average value, a maximum value and a minimum value of the existing confidence levels and the new confidence levels.
3. The data addition process is a branch pruning step for deleting the existing branch based on an evaluation function including a certainty of the first registered data serving as a starting point of the existing branch associated in the association step and a certainty of the second registered data serving as an end point of the existing branch, after the certainty updating step; The method for constructing a database according to claim 1, further comprising:
4. 4. The database construction method according to claim 3, wherein the evaluation function includes a product, arithmetic mean, geometric mean, maximum value or minimum value of the certainty of the first registered data serving as the starting point and the certainty of the second registered data serving as the end point.
5. 4. A database construction method as described in claim 3, wherein in the branch pruning step, the evaluation function is a function that monotonically increases with respect to the certainty of the first registered data that is the starting point and the certainty of the second registered data that is the end point, and a branch is deleted when the value of the evaluation function is equal to or less than a predetermined value.
6. 4. A database construction method as described in claim 3, wherein in the branch pruning step, the evaluation function is a function that monotonically decreases with respect to the certainty of the first registered data that is the starting point and the certainty of the second registered data that is the end point, and a branch is deleted when the value of the evaluation function is equal to or greater than a predetermined value.
7. 4. A database construction method as described in claim 3, wherein in the branch pruning step, the evaluation function is a function that monotonically increases with respect to the certainty of the first registered data that is the starting point and the certainty of the second registered data that is the end point, and a branch is deleted when the value of the evaluation function is equal to or exceeds a predetermined value.
8. 4. A database construction method as described in claim 3, wherein in the branch pruning step, the evaluation function is a function that monotonically decreases with respect to the certainty of the first registered data that is the starting point and the certainty of the second registered data that is the end point, and a branch is deleted when the value of the evaluation function is equal to or less than a predetermined value.
9. The data addition process is a data deleting step for deleting, after the branch pruning step, the first registered data having no branch originating therefrom among the first registered data, and the second registered data having no branch originating therefrom among the second registered data. The method for constructing a database according to claim 3, further comprising the steps of:
10. The branch has update time data whose initial value is the time of registration, In the confidence updating step, the update time data of the existing edge associated in the association step is updated to a time when the confidence is updated; In the above-mentioned branch pruning step, branches whose update time data has not been updated for a predetermined period of time are also deleted. The database construction method according to claim 3 or 9.
Citation Information
Patent Citations
Automatic driving system, automatic driving method, and automatic driving program
JP2022130209A
