This application relates to the field of self-driving, and in particular, to a self-driving safety evaluation method, apparatus, and system.
A self-driving automobile is also referred to as an unmanned driving automobile, and can obtain environment information using a sensor such as a radar, and control travelling of the vehicle based on the environment information, thereby reducing a time of vehicle control performed by a driver. The self-driving automobile has an advantage such as reducing traffic violation. However, a time of vehicle control performed by a driver in a self-driving mode is less than a time of vehicle control performed by the driver in a conventional manual driving mode. Therefore, there are still many uncertainties for the self-driving automobile. To reduce a risk of using a self-driving automobile by a passenger, safety of the self-driving automobile needs to be strictly evaluated before the self-driving automobile is sold.
To evaluate safety of the self-driving automobile, a large amount of travelling data of the self-driving automobile needs to be collected, for example, data generated by the self-driving automobile travelling 5 million to 6 million kilometers (km). This causes very high costs for automobile manufacturers.
An existing self-driving safety evaluation method is to enter a manual driving route into a simulated self-driving system, separately calculate safety-related factors in the manual driving mode and the self-driving mode, and obtain quantified values in the manual driving mode and the self-driving mode. According to the foregoing method, safety of the self-driving mode can be evaluated using data in the manual driving mode, thereby reducing a cost cycle for mass production of the self-driving automobile. However, a real scenario in which vehicle control is performed by a driver cannot be restored by performing safety evaluation based on the simulated self-driving system. Consequently, there is a relatively large deviation between a safety evaluation result obtained based on the simulated self-driving system and real self-driving safety.
This application provides a self-driving safety evaluation method and apparatus, to reduce a deviation between a safety evaluation result and real self-driving safety.
According to a first aspect, a self-driving safety evaluation method is provided. The method includes obtaining rb and rc, where rb is a risk value of a vehicle in a shadow driving mode in a first measurement unit, rc is a risk value of the vehicle in a self-driving mode based on a preset route in the first measurement unit, the shadow driving mode is a self-driving mode of the vehicle that is based on a real-time route, the real-time route is a route predicted based on a location and a movement parameter of the vehicle in a manual driving mode, and the first measurement unit is a time period or a distance, determining RB based on rb, where RB is a risk value of the vehicle in the shadow driving mode in a plurality of measurement units, and the plurality of measurement units include the first measurement unit, and determining RC based on rc, where RC is a risk value of the vehicle in the self-driving mode based on the preset route in the plurality of measurement units, where RB and RC are used to determine whether safety of the vehicle in the self-driving mode meets a requirement.
rb and rc reflect a probability that a risk develops into an accident. In the self-driving safety evaluation method provided in this application, in addition to collection of risk data generated in the self-driving mode based on the preset route, risk data generated in the self-driving mode based on the real-time route is further collected. The real-time route is the route predicted based on the location and the movement parameter of the vehicle in the manual driving mode. For example, when the driver controls the vehicle and changes the preset route, the in-vehicle safety evaluation apparatus can re-plan the self-driving route based on the route of vehicle control performed by the driver, and determine safety of self-driving based on the re-planned self-driving route, thereby more truly evaluating the safety of self-driving.
In an optional implementation, the method further includes calculating a sum of RB and RC, and when the sum of RB and RC is less than or equal to a self-driving risk threshold, determining that safety of the vehicle in the self-driving mode meets a requirement.
The foregoing embodiment may be implemented by an apparatus for determining RB and RC, without a need of sending RB and RC to another device and evaluating, by the other device, safety of the vehicle in the self-driving mode, thereby improving real-time performance of safety evaluation of the self-driving mode.
In an optional implementation, the self-driving risk threshold is a(RA+R′A), where a is a risk tolerance coefficient, RA is a risk value of the vehicle in the manual driving mode in the plurality of measurement units, a road section through which the vehicle passes in the plurality of measurement units is a first road section, and R′A is a risk value of the vehicle passing through the first road section outside the plurality of measurement units based on the manual driving mode.
A risk value of self-driving may be compared with a risk value of manual driving, and a tolerance coefficient that the risk value of the self-driving can be accepted may be set, to determine whether safety of the self-driving satisfies a requirement.
In an optional implementation, determining RB based on rb and the determining RC based on rc includes determining RB or RC based on Ri=(Σeventsevent×ri)/X, where event represents a risk scenario, sevent represents a coefficient of a severity degree of an accident in the risk scenario, X represents the plurality of measurement units, when ri represents rb, Ri represents RB, and when ri represents rc, Ri represents RC.
sevent reflects severity degrees of accidents in different risk scenarios. For example, in a collision scenario, a severity degree of colliding with a person is far higher than a severity degree of colliding with another object. Therefore, the severity degree of colliding with the person may be set to 1, and the severity degree of colliding with the other object may be selected, for example, from 0.1 to 0.9 based on a property of the object. ri reflects a probability that a risk develops into an accident, Σ reflects an accumulation of risks in the plurality of measurement units, and Ri reflects an average probability that risks develop into accidents in the measurement units. The foregoing formula can objectively reflect a self-driving risk.
In an optional implementation, obtaining rb and rc includes when the risk scenario is the collision scenario, determining rb and rc based on at least one of the following parameters: a speed Δv of the vehicle relative to a collision object, a time-to-collision (TTC) between the vehicle and the collision object that is estimated based on a movement track of the collision object, a time-to-headway (THW) of the vehicle that is estimated based on a distance between the vehicle and the collision object, and the distance between the vehicle and the collision object, where Δv is positively correlated to rb or rc, the TTC is negatively correlated to rb or rc, the THW is negatively correlated to rb or rc, and the distance between the vehicle and the collision object is negatively correlated to rb or rc.
In the collision scenario, a higher relative movement speed indicates a higher probability that a risk develops into an accident, that is, Δv is positively correlated to rb or rc, a longer TTC indicates a higher possibility of adjusting a travelling route by the vehicle to avoid a collision and a lower probability of occurrence of a collision, and therefore TTC is negatively correlated to rb or rc, a longer available THW indicates a smaller probability of occurrence of a collision, and therefore THW is negatively correlated to rb or rc, and a longer distance between the vehicle and the collision object indicates a higher possibility of adjusting the travelling route by the vehicle to avoid a collision and a lower probability of occurrence of a collision, and therefore the distance between the vehicle and the collision object is negatively correlated to rb or rc.
In an optional implementation, the determining rb and rc based on at least one of the following parameters a speed Δv of the vehicle relative to a collision object, a TTC between the vehicle and the collision object that is estimated based on a movement track of the collision object, a THW of the vehicle that is estimated based on a distance between the vehicle and the collision object, and the distance between the vehicle and the collision object includes determining rb and rc based on rSG1=f(t)max, where rSG1 is rb or rc in the collision scenario, t∈{tevent,h(tevent,obj)=1} f(t)=Δv(t)*exp(−min {r0TTC(t),r1THW(t),r2s}), {tevent,h(tevent,obj)=1} represents a time period in which a collision risk occurs, TTC(t) represents a TTC at a t moment, THW(t) represents a THW at the t moment,
r0, r1, and r2 are each a normalized parameter, v is a speed of the vehicle at the t moment, Δv(t) is Δv at the t moment, exp is an exponent whose base is a natural constant, and s represents the distance between the vehicle and the collision object.
In an optional implementation, obtaining rb and rc includes when the risk scenario is a traffic signal light scenario, determining rb and rc based on a speed of the vehicle and a distance from the vehicle to a traffic signal light, where the speed of the vehicle is positively correlated to rb or rc, and the distance from the vehicle to the traffic signal light is negatively correlated to rb or rc.
In the traffic signal light scenario, a higher speed of the vehicle indicates a higher probability of violating a traffic signal light rule (for example, running a red light), and therefore the speed of the vehicle is positively correlated to rb or rc, and a longer distance from the vehicle to the traffic signal light indicates a longer time for the vehicle to change a travelling status and a lower probability of running the traffic signal light, and therefore the distance from the vehicle to the traffic signal light is negatively correlated to rb or rc.
In an optional implementation, determining rb and rc based on a speed of the vehicle and a distance from the vehicle to a traffic signal light includes determining rb and rc based on rSG2=f(t)max, where rSG2 is rb or rc in the traffic signal light scenario, t∈{tevent,h(tevent,Light)=1},
r3 is a normalized parameter, {tevent,h(tevent,Light)=1} represents a time period in which a risk of violating a traffic signal light rule occurs, v(t) represents a speed of the vehicle at a t moment, g is a gravitational acceleration constant, and s(t) represents a distance from the vehicle to the traffic signal light at the t moment.
In an optional implementation, obtaining rb and rc includes when the risk scenario is a scenario in which the vehicle rushes out of a road boundary, determining rb and rc based on an estimated time taken by the vehicle to rush out of a lane, where the estimated time taken by the vehicle to rush out of the lane is negatively correlated to rb or rc.
In the scenario in which the vehicle rushes out of a road boundary, a longer estimated time taken by the vehicle to rush out of the lane indicates a longer time for the vehicle to adjust the travelling status and a lower probability of rushing out of the road by the vehicle. Therefore, the estimated time taken by the vehicle to rush out of the lane is negatively correlated to rb or rc.
In an optional implementation, determining rb and rc based on an estimated time taken by the vehicle to rush out of a lane includes determining rb and rc based on
where rSG3 is rb or rc in the scenario in which the vehicle rushes out of a road boundary, TLCthreshold represents a critical value of a time required by the vehicle to rush out of a road,
e is a natural constant, tlc is an estimated time taken by the vehicle to rush out of the lane, y is a lateral offset of the vehicle at the road boundary, Wroad is a width of the road, vlong is a longitudinal speed of the vehicle, vlat is a lateral speed of the vehicle, ϕ-ϕd represents an angle between a heading direction of the vehicle and a road tangent direction, and r4 is a normalized parameter.
In an optional implementation, obtaining rb and rc includes when the risk scenario is a non-conventional travelling scenario, determining rb and rc based on at least one of the following parameters a longitudinal acceleration of the vehicle, a lateral acceleration of the vehicle, and a speed of the vehicle, where the longitudinal acceleration of the vehicle is positively correlated to rb or rc, the lateral acceleration of the vehicle is positively correlated to rb or rc, and the speed of the vehicle is positively correlated to rb or rc.
The non-conventional travelling scenario may be, for example, a travelling scenario in which the vehicle has a lateral acceleration. A larger longitudinal acceleration indicates a higher probability of overspeed of the vehicle or an abrupt brake of the vehicle. Therefore, the longitudinal acceleration of the vehicle is positively correlated to rb or rc. A larger lateral acceleration indicates a higher probability of abrupt turning of the vehicle. Therefore, the lateral acceleration of the vehicle is positively correlated to rb or rc. A higher speed of the vehicle indicates a higher probability of occurrence of non-conventional travelling such as overspeed. Therefore, the speed of the vehicle is positively correlated to rb or rc.
In an optional implementation, determining rb and rc based on at least one of the following parameters a longitudinal acceleration of the vehicle, a lateral acceleration of the vehicle, and a speed of the vehicle includes determining rb and rc based on rSG4=r5, where rSG4 is rb or rc in a non-conventional travelling scenario, (|along|>athreshold1)∥(|alat|>athreshold2)∥(v≥vsafe), along represents the longitudinal acceleration of the vehicle, alat represents the lateral acceleration of the vehicle, athreshold1 represents a threshold of the lateral acceleration in a safe travelling status, athreshold2 represents a threshold of the longitudinal acceleration in the safe travelling status, v represents the speed of the vehicle, vsafe represents a speed threshold in the safe travelling status, and r5 is a normalized parameter.
In an optional implementation, obtaining rb and rc includes determining a driving mode and a risk scenario of the vehicle in a time period, where a start point of the time period is a first moment, an end point of the time period is a second moment, and the driving mode includes a self-driving mode and/or a manual driving mode, and determining a risk value in the driving mode in the time period based on a risk identification manner corresponding to the risk scenario at a current moment, where the current moment is after the first moment, and the current moment is before the second moment.
The time period may be a measurement unit, and the risk value in the driving mode in the time period is, for example, rb or rc. The vehicle selects a time period from a plurality of time periods required for travelling a distance, and determines, at a moment (that is, the current moment) in the time period, a risk value in a corresponding driving mode in the time period using known travelling information and predicted travelling information. For example, the determined time period is one second, and the current moment is a moment of 0.4 seconds (s). If an overspeed travelling status occurs in the past 0.4 s, the vehicle may determine that a risk value of non-conventional driving in the driving mode in the time period is 1, to be specific, a probability of occurrence of overspeed is 100%. If no overspeed travelling status occurs in the past 0.4 s, and the vehicle determines, based on a current speed and acceleration of the vehicle, that a vehicle speed in future 0.6 s is to remain in a legal travelling speed, the vehicle may determine that a risk value of non-conventional driving in the time period is a value less than 1, to be specific, a probability of occurrence of overspeed is less than 100%. In this embodiment, a time period required for travelling a distance is divided into the plurality of time periods, and a risk value in a driving mode in each time period is determined based on a traffic context in the time period such that a risk can be more objectively identified.
In an optional implementation, before determining, at a current moment, a risk value in the driving mode in the time period based on a risk identification manner corresponding to the risk scenario, the method further includes determining a location and a movement parameter of the vehicle at the first moment, where the vehicle travels at the first moment based on the manual driving mode, predicting a location of the vehicle at a third moment based on the location and the movement parameter of the vehicle at the first moment, where the third moment is later than the first moment, and predicting a shadow driving mode of the vehicle from the location at the first moment to the location at the third moment based on the location at the first moment and the location at the third moment, where the shadow driving mode is a self-driving mode of the vehicle that is predicted based on the location and the movement parameter of the vehicle in the manual driving mode. The determining, at a current moment, a risk value in the driving mode in the time period based on a risk identification manner corresponding to the risk scenario includes determining, at the current moment, ra, rb, and rc based on the risk identification manner corresponding to the risk scenario, where ra is a risk value in the manual driving mode in the time period, rb is a risk value in the shadow driving mode in the time period, and rc is a risk value in the self-driving mode based on the preset route in the time period.
The vehicle may predict a location of the vehicle after a future time period based on the location and the movement parameter of the vehicle at the first moment, that is, predict a location of the vehicle at the third moment. The vehicle is in a manual driving status at the first moment, and subsequently, the vehicle predicts the shadow driving mode of the vehicle from the location at the first moment to the location at the third moment. In the foregoing embodiment, a route of self-driving is continuously modified based on the location and the movement parameter in the manual driving mode, to enable a route in the self-driving mode to be closer to a route in the manual driving mode. Therefore, more objective self-driving risk data can be obtained.
According to a second aspect, this application further provides a method for determining a driving risk of a vehicle. The method is applied to a vehicle that has a self-driving mode and a manual driving mode. The method includes determining a driving mode and a risk scenario of the vehicle in a time period, where a start point of the time period is a first moment, an end point of the time period is a second moment, and the driving mode includes the self-driving mode and/or the manual driving mode, and determining, at a current moment, a risk value in the driving mode in the time period based on a risk identification manner corresponding to the risk scenario, where the current moment is after the first moment, and the current moment is before the second moment.
The vehicle selects a time period from a plurality of time periods required for travelling a distance, and determines a risk value in a corresponding driving mode in the time period using known travelling information and predicted travelling information at a moment (that is, the current moment) in the time period. For example, the determined time period is one second, and the current moment is a moment of 0.4 s. If an overspeed travelling status occurs in the past 0.4 s, the vehicle may determine that the risk value of non-conventional driving in the driving mode in the time period is 1, to be specific, a probability of occurrence of overspeed is 100%. If no overspeed travelling status occurs in the past 0.4 s, and the vehicle determines, based on a current speed and acceleration of the vehicle, that a vehicle speed in future 0.6 s is to remain in a legal travelling speed, the vehicle may determine that a risk value of non-conventional driving in the time period is a value less than 1, to be specific, a probability of occurrence of overspeed is less than 100%. In this embodiment, a time period required for travelling a distance is divided into the plurality of time periods, and a risk value in a driving mode in each time period is determined based on a traffic context in the time period such that a risk can be more objectively identified.
In an optional implementation, before determining, at a current moment, a risk value in the driving mode in the time period based on a risk identification manner corresponding to the risk scenario, the method further includes determining a location and a movement parameter of the vehicle at the first moment, where the vehicle travels at the first moment based on the manual driving mode, predicting a location of the vehicle at a third moment based on the location and the movement parameter of the vehicle at the first moment, where the third moment is later than the first moment, and predicting a shadow driving mode of the vehicle from the location at the first moment to the location at the third moment based on the location at the first moment and the location at the third moment, where the shadow driving mode is a self-driving mode of the vehicle that is predicted based on the location and the movement parameter of the vehicle in the manual driving mode. The determining, at a current moment, a risk value in the driving mode in the time period based on a risk identification manner corresponding to the risk scenario includes determining, at the current moment, ra, rb, and rc based on the risk identification manner corresponding to the risk scenario, where ra is a risk value in the manual driving mode in the time period, rb is a risk value in the shadow driving mode in the time period, and rc is a risk value in a self-driving mode based on a preset route in the time period.
The vehicle may predict a location of the vehicle after a future time period based on the location and the movement parameter of the vehicle at the first moment, that is, predict a location of the vehicle at the third moment. The vehicle is in a manual driving status at the first moment, and subsequently, the vehicle predicts the shadow driving mode of the vehicle from the location at the first moment to the location at the third moment. In the foregoing embodiment, a route of self-driving is continuously modified based on the location and the movement parameter in the manual driving mode, to enable a route in the self-driving mode to be closer to a route in the manual driving mode. Therefore, more objective self-driving risk data can be obtained.
In an optional implementation, determining, at the current moment, ra, rb, and rc based on the risk identification manner corresponding to the risk scenario includes when the risk scenario is a collision scenario, determining ra, rb, and rc based on at least one of the following parameters: a speed Δv of the vehicle relative to a collision object, a TTC between the vehicle and the collision object that is estimated based on a movement track of the collision object, a THW of the vehicle that is estimated based on a distance between the vehicle and the collision object, and the distance between the vehicle and the collision object, where Δv is positively correlated to ra, rb, or rc, the TTC is negatively correlated to ra, rb, or rc, the THW is negatively correlated to ra, rb, or rc, and the distance between the vehicle and the collision object is negatively correlated to ra, rb, or rc.
In the collision scenario, a higher relative movement speed indicates a higher probability that a risk develops into an accident, that is, Δv is positively correlated to ra, rb, or rc, a longer TTC indicates a higher possibility of adjusting a travelling route by the vehicle to avoid a collision and a lower probability of occurrence of a collision, and therefore TTC is negatively correlated to ra, rb, or rc, a longer available THW indicates a smaller probability of occurrence of a collision, and therefore THW is negatively correlated to ra, rb, or rc, and a longer distance between the vehicle and the collision object indicates a higher possibility of adjusting the travelling route by the vehicle to avoid a collision and a lower probability of occurrence of a collision, and therefore the distance between the vehicle and the collision object is negatively correlated to ra, rb, or rc.
In an optional implementation, determining ra, rb, and rc based on at least one of the following parameters: a speed Δv of the vehicle relative to a collision object, a TTC between the vehicle and the collision object that is estimated based on a movement track of the collision object, a THW of the vehicle that is estimated based on a distance between the vehicle and the collision object, and the distance between the vehicle and the collision object includes determining ra, rb, and rc based on rSG1=f(t)max, where rSG1 is ra, rb, or rc in the collision scenario, t∈{tevent,h(tevent,obj)=1}, f(t)=Δv(t)*exp(−min {r0TTC(t),r1THW(t),r2s}), {tevent,h(tevent,obj)=1} represents a time period in which a collision risk occurs, TTC(t) represents a TTC at a t moment, THW(t) represents a THW at the t moment,
r0, r1, and r2 are each a normalized parameter, v is a speed of the vehicle at the t moment, Δv(t) is Δv at the t moment, exp is an exponent whose base is a natural constant, and s represents the distance between a vehicle and a collision object.
In an optional implementation, determining, at the current moment, ra, rb, and rc based on the risk identification manner corresponding to the risk scenario includes when the risk scenario is a traffic signal light scenario, determining ra, rb, and rc based on a speed of the vehicle and a distance from the vehicle to a traffic signal light, where the speed of the vehicle is positively correlated to ra, rb, or rc, and the distance from the vehicle to the traffic signal light is negatively correlated to ra, rb or rc.
In the traffic signal light scenario, a higher speed of the vehicle indicates a higher probability of violating a traffic signal light rule (for example, running a red light), and therefore the speed of the vehicle is positively correlated to ra, rb, or rc, and a longer distance from the vehicle to the traffic signal light indicates a longer time for the vehicle to change a travelling status and a lower probability of running the traffic signal light, and therefore the distance from the vehicle to the traffic signal light is negatively correlated to ra, rb, or rc.
In an optional implementation, determining ra, rb, and rc based on a speed of the vehicle and a distance from the vehicle to a traffic signal light includes determining ra, rb, and rc based on rSG2=f(t)max, where rSG2 is ra, rb, or rc in the traffic signal light scenario, t∈{tevent,h(tevent,Light)=1},
r3 is a normalized parameter, {tevent,h(tevent,Light)=1} represents a time period in which a risk of violating a traffic signal light rule occurs, v(t) represents a speed of the vehicle at a t moment, g is a gravitational acceleration constant, and s(t) represents a distance from the vehicle to the traffic signal light at the t moment.
In an optional implementation, determining, at the current moment, ra, rb, and rc based on the risk identification manner corresponding to the risk scenario includes when the risk scenario is a scenario in which the vehicle rushes out of a road boundary, determining ra, rb, and rc based on an estimated time taken by the vehicle to rush out of a lane, where the estimated time taken by the vehicle to rush out of the lane is negatively correlated to ra, rb, or rc.
In the scenario in which the vehicle rushes out of a road boundary, a longer estimated time taken by the vehicle to rush out of the lane indicates a longer time for the vehicle to adjust the travelling status, and a lower probability of rushing out of the road by the vehicle. Therefore, the estimated time taken by the vehicle to rush out of the lane is negatively correlated to rb or rc.
In an optional implementation, determining ra, rb, and rc based on an estimated time taken by the vehicle to rush out of a lane includes determining ra, rb, and rc based on
where rSG3 is ra, rb, or rc in the scenario in which the vehicle rushes out of a road boundary, TLCthreshold represents a critical value of a time required by the vehicle to rush out of a road,
e is a natural constant, tlc is an estimated time taken by the vehicle to rush out of the lane, y is a lateral offset of the vehicle at the road boundary, Wroad is a width of the road, vlong is a longitudinal speed of the vehicle, vlat is a lateral speed of the vehicle, ϕ-ϕd represents an angle between a heading direction of the vehicle and a road tangent direction, and r4 is a normalized parameter.
In an optional implementation, obtaining, at the current moment, ra, rb, and rc based on the risk identification manner corresponding to the risk scenario includes when the risk scenario is a non-conventional travelling scenario, determining ra, rb, and rc based on at least one of the following parameters a longitudinal acceleration of the vehicle, a lateral acceleration of the vehicle, and a speed of the vehicle, where the longitudinal acceleration of the vehicle is positively correlated to ra, rb, or rc, the lateral acceleration of the vehicle is positively correlated to ra, rb, or rc, and the speed of the vehicle is positively correlated to ra, rb, or rc.
A larger longitudinal acceleration indicates a higher probability of overspeed of the vehicle or an abrupt brake of the vehicle. Therefore, the longitudinal acceleration of the vehicle is positively correlated to ra, rb, or rc. A larger lateral acceleration indicates a higher probability of abrupt turning of the vehicle. Therefore, the lateral acceleration of the vehicle is positively correlated to ra, rb, or rc. A higher speed of the vehicle indicates a higher probability of occurrence of non-conventional travelling such as overspeed. Therefore, the speed of the vehicle is positively correlated to ra, rb, or rc.
In an optional implementation, determining ra, rb, and rc based on at least one of the following parameters: a longitudinal acceleration of the vehicle, a lateral acceleration of the vehicle, and a speed of the vehicle includes determining ra, rb, and rc based on rSG4=r5, where rSG4 is ra, rb or rc in a non-conventional travelling scenario, (|along|>athreshold1)∥(|alat|>athreshold2)∥(v≥vsafe), along represents the longitudinal acceleration of the vehicle, alat represents the lateral acceleration of the vehicle, athreshold1 represents a threshold of the lateral acceleration in a safe travelling status, athreshold2 represents a threshold of the longitudinal acceleration in the safe travelling status, v represents the speed of the vehicle, vsafe represents a speed threshold in the safe travelling status, and r5 is a normalized parameter.
In an optional implementation, the method further includes sending ra, rb, and rc to a safety center, and ra, rb and rc are used to evaluate safety in the manual driving mode and the shadow driving mode.
After obtaining ra, rb, or rc, the vehicle may send the risk data or original data (for example, a speed value of the vehicle that is measured by a sensor) corresponding to the risk data to the safety center such that the safety center evaluates safety in the manual driving mode and the shadow driving mode, thereby reducing an operating load of an in-vehicle processor.
In an optional implementation, the method further includes receiving safety scenario information sent by the safety center, where the safety scenario information is used to indicate a safe driving traffic scenario set in the self-driving mode, determining the safe driving traffic scenario set in the self-driving mode based on the safety scenario information, and if a current traffic scenario does not belong to the safe driving traffic scenario set, playing and/or displaying, by the vehicle, prompt information prompting a driver to perform manual driving, and/or performing, by the vehicle, safe stopping processing.
The safety center may identify a risk scenario based on risk data reported by the vehicle, and update a risk identification mechanism and a risk control policy of the vehicle by sending the safety scenario information to the vehicle. For example, if a risk is caused by a potential risk of a self-driving system, the safety scenario information may instruct the vehicle to exclude the risk scenario from the safe driving traffic scenario set. The vehicle updates the safe driving traffic scenario set after receiving the safety scenario information. If the current traffic scenario does not belong to the updated safe driving traffic scenario set, the vehicle takes safety measures, for example, plays and/or displays prompt information prompting the driver to perform manual driving, and/or performs safe stopping processing.
According to a third aspect, a self-driving safety evaluation apparatus is provided. The apparatus can implement functions in the method in the first aspect. The functions may be implemented by hardware, or may be implemented by executing corresponding software by hardware. The hardware or software includes units or modules that correspond to one or more of the functions.
In a possible design, the apparatus includes a processor and a transceiver. The processor is configured to support the apparatus in performing the functions in the method in the first aspect. The transceiver is configured to support communication between the apparatus and another apparatus. The apparatus may further include a memory. The memory is configured to couple to the processor, and the memory stores a program instruction and data that are necessary for the apparatus.
According to a fourth aspect, a computer readable storage medium is provided. The computer readable storage medium stores computer program code. When the computer program code is executed by a processing unit or a processor, a self-driving safety evaluation apparatus is enabled to perform the method in the first aspect.
According to a fifth aspect, a chip is provided. The chip stores an instruction. When the instruction is run on a self-driving safety evaluation apparatus, the chip is enabled to perform the method in the first aspect.
According to a sixth aspect, a computer program product is provided. The computer program product includes computer program code. When the computer program code is run by a communications unit or a transceiver and a processing unit or a processor of a self-driving safety evaluation apparatus, the self-driving safety evaluation apparatus is enabled to perform the method in the first aspect.
According to a seventh aspect, an apparatus for determining a driving risk of a vehicle is provided. The apparatus can implement functions in the method in the second aspect. The functions may be implemented using hardware, or may be implemented by executing corresponding software by hardware. The hardware or software includes units or modules that correspond to one or more of the functions.
In a possible design, the apparatus includes a processor and a transceiver. The processor is configured to support the apparatus in performing the functions in the method in the first aspect. The transceiver is configured to support communication between the apparatus and another apparatus. The apparatus may further include a memory. The memory is configured to couple to the processor, and the memory stores a program instruction and data that are necessary for the apparatus.
According to an eighth aspect, a computer readable storage medium is provided. The computer readable storage medium stores computer program code. When the computer program code is executed by a processing unit or a processor, an apparatus for determining a driving risk of a vehicle is enabled to perform the method in the second aspect.
According to a ninth aspect, a chip is provided. The chip stores an instruction. When the instruction is run on an apparatus for determining a driving risk of a vehicle, the chip is enabled to perform the method in the second aspect.
According to a tenth aspect, a computer program product is provided. The computer program product includes computer program code. When the computer program code is run by a communications unit or a transceiver and a processing unit or a processor of an apparatus for determining a driving risk of a vehicle, the apparatus for determining a driving risk of a vehicle is enabled to perform the method in the second aspect.
According to an eleventh aspect, a self-driving safety evaluation system is provided. The system includes a risk control module, a risk policy module, and a safety evaluation module. The risk control module is configured to perform the method in any optional implementation of the first aspect, to determine a risk in a self-driving mode. The risk policy module is configured to determine a risk control policy based on the risk in the self-driving mode that is determined by the risk control module, where the risk control policy is used to reduce or eliminate the risk in the self-driving mode. The safety evaluation policy module is used to evaluate safety in the self-driving mode based on the risk in the self-driving mode that is determined by the risk control module.
According to a twelfth aspect, a self-driving safety evaluation system is provided. The system includes a risk control module, a risk policy module, and a safety evaluation module. The risk control module is configured to perform the method in any optional implementation of the second aspect, to determine a risk in a self-driving mode. The risk policy module is configured to determine a risk control policy based on the risk that is the self-driving mode and that is determined by the risk control module, where the risk control policy is used to reduce or eliminate the risk in the self-driving mode. The safety evaluation policy module is used to evaluate safety in the self-driving mode based on the risk in the self-driving mode that is determined by the risk control module.
The following describes technical solutions of this application with reference to the accompanying drawings.
To facilitate mass production of self-driving automobiles as early as possible and development of a self-driving automobile industry, some organizations propose a self-driving automobile batch-type production route map. As shown in
Route 1: Automobiles on which a self-driving system is installed are produced in small batches. Safety of the self-driving system is evaluated using a safety evaluation method, to attempt to verify the safety of the self-driving system. When safety performance of the self-driving system can meet a requirement, it is determined that a phase in which production is performed in large batches can be entered.
Route 2: Automobiles on which an advanced auxiliary driving system is installed are produced in mass production, and safety of the advanced auxiliary driving system is evaluated using a safety evaluation method. When a function of an advanced auxiliary driving system reaches a reliable safety level, an automobile on which the advanced auxiliary driving system is installed may be upgraded to a self-driving automobile.
Route 1 and Route 2 respectively represent two routes for mass production of self-driving automobiles. In a process in which a self-driving automobile travels, the vehicle identifies, using a risk identification method, a risk caused by a self-driving system defect, updates a risk control policy in a timely manner, and takes risk control measures before the risk develops into an accident, to reduce an accident occurrence probability.
The following describes a self-driving safety evaluation method, apparatus, and system provided in this application.
The vehicle-end apparatus 410 includes a sensor 411, a real-time environment sensing module 412, a self-driving module 413, a shadow driving module 414, a risk identification module 415, and a risk control module 416.
The cloud apparatus 420 includes a risk policy module 421 and a safety evaluation module 422.
The sensor 411 is configured to collect environment information. The sensor 411 may be, for example, a camera or a radar.
The real-time environment sensing module 412 is configured to process the environment information collected by the sensor 411 for subsequent use of a module. For example, the camera detects that there is an obstacle in front of the vehicle, and the radar also detects that there is an obstacle in front of the vehicle. The obstacles detected by the camera and the radar may be a same obstacle. The real-time environment sensing module 412 needs to determine, based on information collected by the camera and the radar, how many obstacles there are in front.
The self-driving module 413 is configured to control the vehicle to travel based on data (that is, a sensing result) output by the real-time environment sensing module 412, and output a vehicle control track of self-driving.
The shadow driving module 414 is configured to when an automobile is manually driven, simulate self-driving based on the data output by the real-time environment sensing module 412, and generate a shadow track. The following describes in detail a working process of the shadow driving module 414.
The risk identification module 415 is configured to identify risk scenarios of manual driving, self-driving, and shadow driving, to generate risk data. The risk identification module 415 identifies a manual driving risk based on the sensing result output by the real-time environment sensing module 412, identifies a self-driving risk based on the vehicle control track of self-driving that is output by the self-driving module 413, and identifies a shadow driving risk based on the shadow track output by the shadow driving module 414.
The risk policy module 421 is configured to formulate a risk control policy for the already identified potential risks of a self-driving system. The risk control module 416 is configured to take measures based on the risk control policy issued by the cloud to reduce or eliminate the risks.
The safety evaluation module 422 is configured to evaluate safety of the self-driving system using accumulated risk data.
Without loss of generality,
Based on the system 400,
In the method 500, S501 may be performed by the sensor 411. The sensor 411 collects real-time information, and reconstructs static and dynamic environment data, and track data of a vehicle (which may also be referred to as an “ego vehicle”) in which the sensor 411 is located.
S502 may be performed by the risk identification module 415, to identify risks in different vehicle control modes. If the ego vehicle is in a self-driving mode, the risk identification module 415 calculates a risk feature of self-driving based on a vehicle control track of self-driving. If the vehicle is in a manual driving mode, the risk identification module 415 calculates a risk feature of manual driving based on a track of vehicle control performed by a driver, and calculates a risk feature of shadow driving based on a shadow track.
S503 may be performed by the risk control module 416. The risk control module 416 identifies a potential defect of a self-driving system based on the risk feature in the self-driving mode and the risk feature in the shadow driving mode that are obtained through calculation by the risk identification module 415, and updates the risk control policy.
S504 may be performed by the safety evaluation module 422. The safety evaluation module 422 evaluates safety in the self-driving mode based on accumulated risk features in various driving modes, where an evaluation result is used as a basis for safety verification and mass production and release.
The following further describes in detail a self-driving safety evaluation solution provided in this application based on a procedure of the method 500.
S610. Obtain rb and rc, where rb is a risk value of a vehicle in a shadow driving mode in a first measurement unit, rc is a risk value of the vehicle in a self-driving mode based on a preset route in the first measurement unit, the shadow driving mode is a self-driving mode of the vehicle that is based on a real-time route, the real-time route is a route predicted based on a location and a movement parameter of the vehicle in a manual driving mode, and the first measurement unit is a time period or a distance.
S620. Determine RB based on rb, where RB is a risk value of the vehicle in the shadow driving mode in a plurality of measurement units, and the plurality of measurement units include the first measurement unit.
S630. Determine RC based on rc, where RC is a risk value of the vehicle in the self-driving mode based on the preset route in the plurality of measurement units, and RB and RC are used to determine whether safety in the self-driving mode of the vehicle meets a requirement.
The method 600 may be performed by the cloud apparatus 420, or may be performed by a vehicle-end apparatus in which a safety evaluation module is configured.
In S610, rb and rc reflect a probability that a risk develops into an accident, and may be a value of a probability that a risk develops into an accident, or may be another type of value that can be used to quantify a self-driving risk. Measurement units of rb and rc may be time periods, or may be distances.
A risk behavior may be defined as an explicit or implicit driving behavior (including manual driving, self-driving, and shadow driving) that violates a safety goal (SG). “Explicit” indicates that a driving behavior has developed into an accident, and “implicit” indicates that a driving behavior may develop into an accident. Therefore, identification of the risk behavior includes the following.
Identification of an explicit risk, for example, a collision or violating a red and green light rule.
Identification of an implicit risk, for example, not reserving a sufficient safe distance from a front vehicle, still continuously accelerating when a maximum value of a safe travelling speed is reached, or not decelerating in a timely manner at a crossroad. The implicit risk further includes abnormal driving behaviors. These driving behaviors may cause a failure of timely reaction by another vehicle, resulting in a passive accident, for example, an abnormal acceleration or deceleration and not travelling in a road direction.
Automatic identification of a risk scenario can be achieved by defining and calculating features of these risk behaviors in corresponding scenarios.
The SG includes but is not limited to the following definitions.
SG 1: Avoid colliding with a person or another object.
SG 2: Comply with a traffic signal light rule.
SG 3: Avoid rushing out of a road boundary.
SG 4: Avoid non-conventional travelling (including overspeed, abnormal acceleration or deceleration, and turning).
For each SG, when an explicit risk occurs, a risk value may be defined as 1, when no risk occurs, a risk value may be defined as 0, and a risk value of an implicit risk is a value greater than 0 and less than 1. The following describes in detail a method for calculating a risk value in each scenario.
The first measurement unit is any measurement unit. The self-driving mode based on the preset route is the self-driving mode shown in
In S620 and S630, RB may be, for example, an average value obtained by dividing a sum of rb of the plurality of measurement units by the plurality of measurement units, or may be an average value obtained by dividing a sum of products of rb of all measurement units and a weighting coefficient by the plurality of measurement units. Similarly, RC may be, for example, an average value obtained by dividing a sum of rc of the plurality of measurement units by the plurality of measurement units, or may be an average value obtained by dividing a sum of products of rc of all measurement units and a weighting coefficient by the plurality of measurement units. RB and RC may alternatively be values obtained through calculation using another method, and a method for calculating RB and RC is not limited in this application.
In conclusion, in the self-driving safety evaluation method provided in this application, in addition to collection of risk data generated in the self-driving mode based on the preset route, the risk data generated by the self-driving mode based on the real-time route is further collected. The real-time route is the self-driving route (that is, the shadow track) predicted based on the location and the movement parameter of the vehicle in the manual driving mode. For example, when the driver controls the vehicle and changes the route, the shadow driving module 414 may re-plan the self-driving route based on the route of vehicle control performed by the driver, and determine safety of self-driving based on the re-planned self-driving route, thereby more truly evaluating the safety of self-driving.
Optionally, the method 600 further includes the following steps.
S640. Calculate a sum of RB and RC.
S641. When the sum of RB and RC is less than or equal to a self-driving risk threshold, determine that safety of the vehicle in the self-driving mode meets a requirement.
The foregoing embodiment may be implemented by an apparatus for determining RB and RC, without a need of sending RB and RC to another device and evaluating, by the other device, safety of the vehicle in the self-driving mode, thereby improving real-time performance of safety evaluation on the self-driving mode.
In S641, the self-driving risk threshold is a threshold of a risk value in the self-driving mode in each measurement unit. The self-driving risk threshold may be a value that is set based on a statistical result, for example, a maximum value of average self-driving risk values per km in a mileage of one million km travelled by the vehicle. If the value of RB+RC is less than or equal to the maximum value after the vehicle travels the one million km, a self-driving function of the vehicle meets the safety requirement, and mass production can be implemented. If the value of RB+RC is greater than the maximum value after the vehicle travels the one million km, the self-driving function of the vehicle cannot meet the safety requirement, mass production cannot be implemented, and improvement needs to be made.
Mileages respectively corresponding to RB and RC in RB+RC may be set for every million km. For example, the mileage corresponding to RC in RB+RC may be set to be no less than one hundred thousand km for every million km such that the safety of self-driving can be more objectively and truly evaluated.
In an optional implementation, the self-driving risk threshold is a(RA+R′A), where a is a risk tolerance coefficient, RA is, for example, an average value of risk values of the vehicle in the manual driving mode in the plurality of measurement units, a road section through which the vehicle passes in the plurality of measurement units is a first road section, and R′A is, for example, an average value of risk values of the vehicle passing through the first road section outside the plurality of measurement units based on the manual driving mode.
A risk value of self-driving may be compared with a risk value of manual driving, and a tolerance coefficient that the risk value of the self-driving can be accepted may be set, to determine whether safety of self-driving satisfies a requirement.
For example, RA is a risk value obtained after the vehicle travels five hundred thousand km in the manual driving mode, a road section through which the vehicle travels the five hundred thousand km is a first road section, and R′A is a risk value obtained after the vehicle passes through the first road section again in the manual driving mode. RB+RC is a risk value obtained after the vehicle travels one million km in the self-driving mode. a indicates that when travelled distances have a same length, the risk value of self-driving needs to be less than a product of the risk value of manual driving and a, and only in this case, it can be determined that the safety in the self-driving mode meets the requirement, and a is usually a constant greater than 0 and less than 1.
In an optional implementation, determining RB based on rb and determining RC based on rc include the following step.
S650. Determine RB or RC based on Ri=(Σeventsevent×ri)/X, where event represents a risk scenario, sevent represents a coefficient of a severity degree of an accident in the risk scenario, X represents the plurality of measurement units, when ri represents rb, Ri represents RB, and when ri represents rc, Ri represents RC.
sevent reflects severity degrees of accidents in different risk scenarios, ri reflects a probability that a risk develops into an accident, and Σ reflects an accumulation of risks of the plurality of measurement units.
For example, in a collision scenario, a severity degree of colliding with a person is far higher than a severity degree of colliding with another object. Therefore, sevent in a case of colliding with a person may be set to 1, and sevent in a case of colliding with another object may be selected from 0.1 to 0.9 based on a property of the object.
For another example, behaviors such as violation of a traffic rule, deviation from a road range or a direction in travelling, overspeed, and violation of a conventional driving rule are several main factors that constitute an accident. Therefore, in a solution, sevent may be defined based on accident statistics data. When any one of the foregoing behaviors occurs on a vehicle, corresponding sevent is equal to 0.01.
X may be a mileage travelled by the vehicle or a time for which the vehicle travels, where the mileage or the time corresponds to Ri, and Ri reflects an average probability that a risk develops into an accident in each measurement unit (for example, per kilometer or per hour (km/h)). The foregoing formula can objectively reflect a self-driving risk.
In an optional implementation, obtaining rb and rc includes the following steps.
S611. When the risk scenario is the collision scenario, determine rb and rc based on at least one of the following parameters: a speed Δv of the vehicle relative to a collision object, a TTC between the vehicle and the collision object that is estimated based on a movement track of the collision object, a THW of the vehicle that is estimated based on a distance between the vehicle and the collision object, and the distance between the vehicle and the collision object, where Δv is positively correlated to rb or rc, the TTC is negatively correlated to rb or rc, the THW is negatively correlated to rb or rc, and the distance between the vehicle and the collision object is negatively correlated to rb or rc.
In the collision scenario, a higher relative movement speed indicates a higher probability that a risk develops into an accident, that is, Δv is positively correlated to rb or rc, a longer TTC indicates a higher possibility of adjusting a travelling route by the vehicle to avoid a collision and a lower probability of occurrence of a collision, and therefore TTC is negatively correlated to rb or rc, a longer available THW indicates a smaller probability of occurrence of a collision, and therefore THW is negatively correlated to rb or rc, and a longer distance between the vehicle and the collision object indicates a higher possibility of adjusting the travelling route by the vehicle to avoid a collision and a lower probability of occurrence of a collision, and therefore the distance between the vehicle and the collision object is positively correlated to rb or rc.
In
Both the foregoing two tracks are tracks predicted by the ego vehicle. The ego vehicle identifies, based on a sensing result of a sensor, an object that has an intersection with the track of the ego vehicle in a future time period (for example, 5 s). A maximum value of risk values of collision between the ego vehicle and the foregoing object is used as a collision risk value in the future time period.
For example, rb and rc may be determined based on rSG1=f(t)max, where rSG1 is rb or rc in the collision scenario, t∈{tevent,h(tevent,obj)=1}, f(t)=Δv(t)*exp(−min {r0TTC(t),r1THW(t),r2s}), {tevent,h(tevent,obj)=1} represents a time period in which a collision risk occurs, TTC(t) represents a TTC at a t moment, THW(t) represents a THW at the t moment,
r0, r1, and r2 are each a normalized parameter, v is a speed of the vehicle at the t moment, Δv(t) is Δv at the t moment, exp is an exponent whose base is a natural constant, and s represents the distance between the vehicle and the collision object.
In the foregoing formula, t∈{tevent,h(tevent,obj)=1} represents an identified time period in which a collision risk occurs, h(tevent,obj) represents that a collision risk event (obj) causes a potential collision event in a time period (tevent), or it may be understood as that h(tevent,obj) represents that occurrence of a collision risk event (obj) causes an increase in a probability of occurrence of a collision in a time period (tevent), h(tevent, obj)=1 represents that the collision risk event (obj) occurs, and h(tevent,obj)=0 represents that no collision risk event occurs. A risk event usually lasts for a time period from occurrence to disappearance. Therefore, when identifying that a collision risk event (that is, h(tevent,obj)=1) occurs, the vehicle-end apparatus 410 or cloud apparatus 420 may select a time period tevent near a moment at which the risk event is identified, to calculate a risk value in the time period. The time period includes the moment at which the collision risk event is identified. Each normalized parameter is used to indicate a weight of each parameter. For example, each normalized parameter may be a value greater than or equal to 0 and less than or equal to 1.
For example, when a relative speed of the two vehicles is greater than 40 km/h, if a collision occurs, there is an extremely high probability of personal casualty. If an expected collision time (that is, TTC) of the two vehicles is less than 1 s, there is an extremely high probability that a collision between the two vehicles cannot be avoided. When THW is less than 1 s, if the other vehicle is braking, there is an extremely high probability that the ego vehicle cannot avoid a collision between the two vehicles.
The foregoing “a relative speed is greater than 40 km/h”, “TTC is less than 1 s”, and “THW is less than 1 s” are all collision risk events (obj). A collision occurrence moment may be predicted, and a time period (tevent) near the predicted collision occurrence moment may be selected to calculate a collision risk value (a collision occurrence probability) in the time period. A maximum value (that is, f(t)max) of a plurality of collision risk values in the time period is used as the collision risk value in the time period.
In an optional implementation, obtaining rb and rc includes the following steps.
S612. When the risk scenario is a traffic signal light scenario, determine rb and rc based on a speed of the vehicle and a distance from the vehicle to a traffic signal light, where the speed of the vehicle is positively correlated to rb or rc, and the distance from the vehicle to the traffic signal light is negatively correlated to rb or rc.
In the traffic signal light scenario, a higher speed of the vehicle indicates a higher probability of violating a traffic signal light rule (for example, running a red light), and therefore the speed of the vehicle is positively correlated to rb or rc, and a longer distance from the vehicle to the traffic signal light indicates a longer time used by the vehicle to change a travelling status and a lower probability of running the traffic signal light, and therefore the distance from the vehicle to the traffic signal light is negatively correlated to rb or rc.
A risk in the traffic signal light scenario is mainly violation of a rule indicated by a traffic signal light, and a corresponding risk value may be obtained based on a speed of an ego vehicle. As shown in
When it is predicted that the ego vehicle can stop before the stop line when a common acceleration is used, it is determined that the ego vehicle in the current status has no risk of running the traffic signal light. The common acceleration is an acceleration whose absolute value is less than an absolute value of a preset acceleration. For example, a value of the preset acceleration is 0.4 g, and the ego vehicle can stop before the stop line if using an acceleration of −0.3 g. In this case, rb or rc of the ego vehicle is equal to 0.
When it is predicted that the ego vehicle cannot stop before the stop line even if a maximum acceleration is used, it is determined that the ego vehicle in the current status inevitably causes an accident of running the traffic signal light, that is, a risk in this case is an explicit risk, and rb or rc is equal to 1.
When a speed-distance curve of the ego vehicle is located between curve 1 and curve 2 shown in
For example, rb and rc may be determined based on rSG2=f(t)max, where rSG2 is rb or rc in the traffic signal light scenario, t∈{tevent,h(tevent,Light)=1},
r3 is a normalized parameter, v(t) represents a speed of the vehicle at a t moment, g is a gravitational acceleration constant, and s(t) represents a distance from the vehicle to the traffic signal light at the t moment.
In the foregoing formula, t∈{tevent,h(tevent,Light)=1} represents an identified time period in which a traffic signal light scenario risk occurs, h(tevent,Light) represents that a probability of occurrence of violating a traffic signal light rule increases in a time period (tevent) due to occurrence of a traffic signal light risk event (Light), h(tevent,Light)=1 represents that a traffic signal light risk event (Light) occurs, and h(tevent,Light)=0 represents that no traffic signal light risk event occurs. A risk event usually lasts for a time period from occurrence to disappearance. Therefore, when identifying that a risk event occurs (that is, h(tevent,Light)=1) in the traffic signal light scenario, the vehicle-end apparatus 410 or the cloud apparatus 420 may select a time period tevent near a moment at which the risk event is identified, to calculate a risk value in the time period. The time period includes the moment at which the risk event is identified. The normalized parameter is used to represent a weight of a parameter. For example, each normalized parameter may be a value greater than or equal to 0 and less than or equal to 1.
For example, if the vehicle is 50 m away from the intersection, a traffic signal light at the intersection displays a no-passing signal, and a speed of the vehicle is 100 km/h, there is an extremely high probability of occurrence of a risk of running the traffic signal light (for example, running a red light). The foregoing “the vehicle is 50 m away from the intersection, a traffic signal light at the intersection displays a no-passing signal, and a speed of the vehicle is 100 km/h” are traffic signal light risk events (Light). A moment at which a red light is run may be predicted, and a time period (tevent) near the predicted moment at which the red light is run may be selected to calculate a red light running risk value (that is, a probability of occurrence of running the red light) in the time period. A maximum value (that is, f(t)max) of a plurality of red light running risk values in the time period is selected as a red light running risk value in the time period.
In an optional implementation, obtaining rb and rc includes the following steps.
S613. When the risk scenario is a scenario in which the vehicle rushes out of a road boundary, determine rb and rc based on an estimated time taken by the vehicle to rush out of a lane, where the estimated time taken by the vehicle to rush out of the lane is negatively correlated to rb or rc.
In the scenario in which the vehicle rushes out of a road boundary, a longer estimated time taken by the vehicle to rush out of the lane indicates a longer time for the vehicle to adjust the travelling status, and a lower probability of rushing out of the road by the vehicle. Therefore, the estimated time taken by the vehicle to rush out of the lane is negatively correlated to rb or rc.
For example, rb and rc may be determined based on
where rSG3 is rb or rc in the scenario in which the vehicle rushes out of a road boundary, TLCthreshold represents a critical value of the time required by the vehicle to rush out of a road,
e is a natural constant, tlc is the estimated time taken by the vehicle to rush out of the lane, y is a lateral offset of the vehicle at the road boundary, Wroad is a width of the road, vlong is a longitudinal speed of the vehicle, vlat is a lateral speed of the vehicle, ϕ-ϕd represents an angle between a heading direction of the vehicle and a road tangent direction, r4 is a normalized parameter, and the normalized parameter represents a weight of a parameter.
In an optional implementation, obtaining rb and rc includes the following steps.
S614. When the risk scenario is a non-conventional travelling scenario (for example, a travelling scenario in which the vehicle currently has a lateral acceleration), determine rb and rc based on at least one of the following parameters a longitudinal acceleration of the vehicle, a lateral acceleration of the vehicle, and a speed of the vehicle, where the longitudinal acceleration of the vehicle is positively correlated to rb or rc, the lateral acceleration of the vehicle is positively correlated to rb or rc, and the speed of the vehicle is positively correlated to rb or rc. The longitudinal acceleration is an acceleration whose acceleration direction is the same as or opposite to a speed direction (for example, an acceleration obtained by stepping on an accelerator or stepping on a brake during straight travelling). The lateral acceleration is an acceleration whose acceleration direction has a non-zero angle with a speed direction (for example, an acceleration that causes a drift of the vehicle when the vehicle is turning).
A larger longitudinal acceleration indicates a higher probability of overspeed of the vehicle or an abrupt brake of the vehicle. Therefore, the longitudinal acceleration of the vehicle is positively correlated to rb or rc. A larger lateral acceleration indicates a higher probability of abrupt turning of the vehicle. Therefore, the lateral acceleration of the vehicle is positively correlated to rb or rc. A higher speed of the vehicle indicates a higher probability of occurrence of non-conventional travelling such as overspeed. Therefore, the speed of the vehicle is positively correlated to rb or rc.
For example, rb and rc may be determined based on rSG4=r5, where rSG4 is rb or rc in a non-conventional travelling scenario, (|along|>athreshold1)∥(|alat|>athreshold2)∥(v≥vsafe), |along| represents an absolute value of the longitudinal acceleration of the vehicle, |alat| represents an absolute value of the lateral acceleration of the vehicle, athreshold1 represents a threshold of the lateral acceleration in a safe driving status, for example, may be 0.5 g, athreshold2 represents a threshold of the longitudinal acceleration in the safe driving status, for example, may be 0.7 g, v represents the speed of the vehicle, vsafe represents a speed threshold in the safe driving status, and may be determined by referring to a road speed limit, and r5 is a normalized parameter.
In the foregoing formula, (|along|>athreshold1)∥(|alat|>athreshold2)∥(v≥vsafe) represents that at least one of the lateral acceleration, the longitudinal acceleration, and the speed of the vehicle exceeds a corresponding threshold.
The foregoing describes in detail the self-driving safety evaluation method provided in this application. If information received by the cloud apparatus 420 from the vehicle-end apparatus 410 is rb or rc, the cloud apparatus 420 does not need to perform S611 to S614. If information received by the cloud apparatus 420 from the vehicle-end apparatus 410 is data sensed by the sensor, the cloud apparatus 420 further needs to perform S611 to S614 to obtain rb and rc.
It should be understood that the foregoing embodiment describes only the solution for generating rb or rc, and S611 to S614 are also applicable to calculating a risk value ra of manual driving.
It can be learned from the method 600 that an important factor affecting a technical effect of the self-driving safety evaluation method is whether a risk value can reflect an actual risk level. The following describes in detail a method for determining a driving risk of a vehicle provided in this application.
S910. Determine a driving mode and a risk scenario of the vehicle in a time period, where a start point of the time period is a first moment, an end point of the time period is a second moment, and the driving mode includes the self-driving mode and/or the manual driving mode.
S920. Determine a risk value in the driving mode in the time period based on a risk identification manner corresponding to the risk scenario at a current moment, where the current moment is after the first moment, and the current moment is before the second moment.
The method 900 may be performed, for example, by the vehicle-end apparatus 410. The vehicle-end apparatus 410 selects a time period from a plurality of time periods required for the vehicle to travel a distance, and determines, at a moment (that is, the current moment) in the time period, a risk value in a corresponding driving mode in the time period using known travelling information and predicted travelling information. For example, the determined time period is one second, and the current moment is a moment of 0.4 s. If an overspeed travelling status occurs in the past 0.4 s, the vehicle may determine that the risk value of non-conventional driving in the driving mode in the time period is 1, that is, a probability of occurrence of overspeed is 100%. If no overspeed travelling status occurs in the past 0.4 s, and the vehicle determines, based on a current speed and acceleration of the vehicle, that a vehicle speed in future 0.6 s is to remain in a legal travelling speed, the vehicle may determine that the risk value of non-conventional driving in the time period is a value less than 1, that is, the probability of occurrence of overspeed is less than 100%. In this embodiment, a time period required for travelling a distance is divided into the plurality of time periods, and a risk value in a driving mode in each time period is determined based on a traffic context (that is, information related to a traffic environment before a current moment and after the current moment) in the time period such that the risk can be more objectively identified.
The foregoing manner of determining a time period is merely an example for description. The vehicle-end apparatus 410 may alternatively determine a time period using another method, for example, determine, based on a distance and a speed, a time period required for travelling the distance. The time period is the “time period” described in S910. For another example, the first moment and the second moment are determined at the current moment such that the “time period” described in S910 is determined.
In the foregoing embodiment, the risk value in the self-driving mode and/or the manual driving mode can be determined. The self-driving mode includes the shadow driving mode, and evaluating the safety of the self-driving system based on the risk value in the shadow driving mode is an important factor that enables the self-driving safety evaluation method provided in this application to achieve a better technical effect compared with that in the other approaches.
A purpose of the shadow driving mode is to generate a simulated vehicle control track of self-driving using software and hardware that are run in a system background in the manual driving mode, to identify a potential risk of the self-driving system, and accumulate data required by safety evaluation.
To achieve the foregoing objective, a main difficulty is that when the vehicle is in the manual driving mode, a self-driving module cannot really control the vehicle, and how a shadow track approaches an actual risk level of the self-driving system.
The vehicle control track of self-driving directly generated based on sensed data of a sensor cannot represent the real risk level of the self-driving system. Consequently, distortion of a self-driving safety evaluation result is caused.
The following describes in detail how the shadow driving mode provided in this application resolves the foregoing problem of distortion of the result.
In an optional implementation, before S920, the method 900 further includes the following steps.
S901. Determine a location and a movement parameter of the vehicle at a first moment, where the vehicle travels at the first moment based on the manual driving mode.
S902. Predict a location of the vehicle at a third moment based on the location and the movement parameter of the vehicle at the first moment, where the third moment is later than the first moment.
S903. Predict the shadow driving mode of the vehicle from the location at the first moment to the location at the third moment based on the location at the first moment and the location at the third moment, where the shadow driving mode is a self-driving mode of the vehicle that is predicted based on the location and the movement parameter of the vehicle in the manual driving mode.
S920 includes the following step.
S921. Determine, at the current moment, ra, rb, and rc based on the risk identification manner corresponding to the risk scenario, where ra is a risk in the manual driving mode in the time period, rb is a risk in the shadow driving mode in the time period, and rc is a risk in a self-driving mode based on a preset route in the time period.
The vehicle may predict a location of the vehicle after a future time period based on the location and the movement parameter of the vehicle at the first moment, that is, predict a location of the vehicle at the third moment. The vehicle is in a manual driving status at the first moment, and subsequently, the vehicle predicts the shadow driving mode of the vehicle from the location at the first moment to the location at the third moment. In the foregoing embodiment, a route of self-driving is continuously modified based on the location and the movement parameter in the manual driving mode, to enable the route in the self-driving mode to be closer to a route in the manual driving mode. Therefore, more objective self-driving risk data can be obtained.
The third moment may be the current moment described in S920, or may be the second moment, or may be a moment after the second moment.
When a driver drives an automobile, the shadow driving module 414 identifies, at a first moment, a driving intention of the driver based on a movement parameter (for example, a speed and an acceleration) of the vehicle, that is, the content described in S901 to S903, and then uses the identified driving intention of the driver as input information of the shadow driving module 414, to generate a shadow track, thereby improving a degree of overlap between the shadow track and a track of vehicle control performed by the driver.
The driving intention of the driver includes but is not limited to at least one of travelling along a current lane, turning, and changing a lane.
Starting from a moment T (equivalent to a first moment) to a moment T+1 (equivalent to a third moment), if a track of an ego vehicle completely crosses a lane line, it is determined that the driving intention of the driver is to change a lane.
Starting from the moment T to the moment T+1, if the track of the ego vehicle is a track of completing turning by turning left or turning right in the lane, or if a yaw rate is continuously greater than a yaw rate threshold in a time period before the moment T and adjacent to the moment T, it is determined that the driving intention of the driver is turning.
Starting from the moment T to the moment T+1, if the track of the ego vehicle does not completely cross the current lane, it is determined that the driving intention of the driver is travelling along the current lane, where behaviors such as obstacle avoidance in the lane, enabling a front vehicle to travel first, and following a front vehicle all belong to travelling in the current lane.
In the foregoing embodiment, the information at the future moment is predicted using the current information, and the current driving intention of the driver is determined using the predicted information at the future moment, thereby eliminating a deviation caused by determining the intention of the driver based on sensed data of a sensor.
The shadow track shown in
For example, when a driving intention of the driver is a risk intention (for example, aggressive cutting in), if correctly identifying a risk in this case, the shadow driving module 414 generates no shadow track conforming to the driving intention of the driver, but generates a shadow track by selecting a safer decision (for example, keeping travelling in a right direction in a lane). The risk of the shadow track and the risk of an actual vehicle control result are identified such that a scenario of a dangerous intention of the driver can be obtained, and a safer decision (or the contrary) made for the shadow track in this case can be obtained.
In a relatively short time period, for example, in 3s, a track of driving performed by the driver is approximately the same as the shadow track, and may be approximately closed-loop control in a self-driving system. In this case, a risk scenario caused by the shadow track is similar to a risk scenario that may be caused when the driver controls a vehicle.
In
In example 1, for the track of vehicle control performed by the driver, a risk (ra is equal to 0) is not generated, and for the shadow track, a new risk (rb is greater than 0) is generated. Consequently, a risk indicator falls from a safe area (r=0) to a risk area (0<r<1). Therefore, a potential risk of a self-driving system that causes a risk may be identified, to be specific, an “unknown potential risk” (a diagonal part) shown in an F area in
In example 2, the track of vehicle control performed by the driver continuously falls into the risk area, and the shadow track returns from the risk area to the safe area. This indicates that a travelling risk is reduced through simulated controlling of the vehicle performed by the system, and the data may be used as an evidence that safety performance of the self-driving system is higher than that of vehicle control performed by the driver.
In example 3, both the track of vehicle control performed by the driver and the shadow track continuously fall into the risk area, but the risk value of the shadow track is less than that of the track of vehicle control performed by the driver. This indicates that the driving risk is reduced through simulated controlling of the vehicle performed by the self-driving system, and the data may be used as an evidence that safety performance of the self-driving system is higher than that of vehicle control performed by the driver.
All data in the foregoing three examples may be used as data used to perform self-driving safety evaluation in the method 600.
It can be learned from content shown in
When the safety of the self-driving system is evaluated, in an optional implementation, the method 900 further includes the following.
S930. Send ra, rb, and rc to a safety center, where ra, rb, and rc are used to evaluate safety in the manual driving mode and the shadow driving mode.
The vehicle may send the foregoing risk data to the safety center after obtaining ra, rb, or rc such that the safety center evaluates the safety in the manual driving mode and the shadow driving mode, thereby reducing an operating load of an in-vehicle processor. The security center is, for example, the cloud apparatus 420.
Evaluating safety of the self-driving automobile in a self-driving mode is a long-term process. Even if evaluation of the safety in the self-driving mode is passed, it does not mean that the self-driving mode is 100% safe. Therefore, it is necessary to design a solution for immediate control of a risk, that is, to reduce or eliminate the risk through the risk control module 416.
As shown in
In an optional embodiment, the method 900 further includes the following steps.
S940. Receive safety scenario information sent by the safety center, where the safety scenario information is used to indicate a safe driving traffic scenario set in a self-driving mode.
S950. Determine the safe driving traffic scenario set in the self-driving mode based on the safety scenario information.
S960. If the current traffic scenario does not belong to the safe driving traffic scenario set, the vehicle plays and/or displays prompt information prompting the driver to perform manual driving, and/or the vehicle performs safe stopping processing.
The safety center may identify a risk scenario based on the risk data reported by the vehicle, and update a risk identification mechanism and a risk control policy of the vehicle by sending the safety scenario information to the vehicle. For example, if a risk is caused by a potential risk of the self-driving system, the safety scenario information may instruct the vehicle to exclude the risk scenario from the safe driving traffic scenario set. The vehicle updates the safe driving traffic scenario set after receiving the safety scenario information. If the current traffic scenario does not belong to the updated safe driving traffic scenario set, the vehicle takes safety measures, for example, plays and/or displays prompt information prompting the driver to perform manual driving, and/or performs safe stopping processing.
The safe driving traffic scenario set may also be referred to as a safe driving scenario fence, and includes an environment, a static scenario, a dynamic scenario, and a behavior of an ego vehicle. In a technical solution, a definition of the scenario fence is shown in
In
In an example (content in square brackets) shown in
In another example (content in square brackets) shown in
In addition, a driver in-the-loop policy may alternatively be adjusted, for example, an alerting interval may be adjusted.
The foregoing describes in detail examples of the method for evaluating self-driving safety and the method for determining the driving risk of a vehicle that are provided in this application. It may be understood that, to implement the foregoing functions, the vehicle-end apparatus and the cloud apparatus include corresponding hardware structures and/or software modules for performing the functions. A person of ordinary skill in the art should be easily aware that, in combination with the examples described in the embodiments disclosed in this specification, units and algorithms steps may be implemented by hardware or a combination of hardware and computer software in this application. Whether a function is performed by hardware or hardware driven by computer software depends on particular applications and design constraints of the technical solutions. A person skilled in the art may use different methods to implement the described functions for each particular application, but it should not be considered that the implementation goes beyond the scope of this application.
In this application, function unit division may be performed on the vehicle-end apparatus and the cloud apparatus based on the foregoing method examples. For example, each function unit may be obtained through division based on a corresponding function, or two or more functions may be integrated into one processing unit. The integrated unit may be implemented in a form of hardware, or may be implemented in a form of a software function unit. It should be noted that, in this application, unit division is an example, and is merely a logical function division. In actual implementation, another division manner may be used.
If an integrated unit is used,
In an optional embodiment, the processing unit 1702 is configured to perform S610 to S630. When the processing unit 1702 performs S610, the processing unit 1702 may also be referred to as an obtaining unit 1702. The storage unit 1701 needs to store intermediate data generated in a process in which the processing unit 1702 performs the foregoing steps. For example, the intermediate data is rb and rc such that the processing unit 1702 determines, based on a risk value in a shadow driving mode in a plurality of measurement units and a risk value in a self-driving mode based on a preset route, whether safety of a vehicle in the self-driving mode meets a requirement.
In another optional embodiment, the processing unit 1702 is configured to perform S610, and control the communications unit 1703 to send rb and rc to the cloud apparatus such that the cloud apparatus performs S620 and S630.
In a third optional embodiment, the processing unit 1702 is configured to control the communications unit 1703 to send, to a cloud apparatus, original data (for example, sensor data) used for calculating rb and rc such that the cloud apparatus performs S610 to S630.
In a fourth optional embodiment, the processing unit 1702 is configured to perform S910 and S920. Optionally, the processing unit 1702 is configured to control the communications unit 1703 to perform S930.
The processing unit 1702 may be a processor or a controller, for example, may be a central processing unit (CPU), a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or another programmable logical device, a transistor logical device, a hardware component, or a combination thereof. The processor may implement or execute various example logical blocks, modules, and circuits described with reference to content disclosed in this application. Alternatively, the processor may be a combination for implementing a computing function, for example, a combination of one or more microprocessors, or a combination of the DSP and a microprocessor. The communications unit 1703 may be a transceiver or the like. The storage unit 1701 may be a memory.
When the processing unit 1702 is a processor, the communications unit 1703 is a transceiver, and the storage unit 1701 is a memory, the vehicle-end apparatus in this application may be a vehicle-end apparatus 1800 shown in
As shown in
It may be clearly understood by a person skilled in the art that, for ease and brief description, for a detailed working process of the foregoing apparatus and units, refer to a corresponding process in the foregoing method embodiments, and details are not described herein again.
In a case that an integrated unit is used,
In an optional embodiment, the processing unit 1902 is configured to control the communications unit 1903 to perform S610, that is, receive rb and rc from the vehicle-end apparatus. In this case, the communications unit 1903 may also be referred to as an obtaining unit 1903, and the processing unit 1902 is further configured to perform S620 to S641. The storage unit 1901 needs to store intermediate data generated in a process in which the processing unit 1902 performs the foregoing steps. For example, the intermediate data is rb and rc such that the processing unit 1902 determines, based on a risk value in a shadow driving mode in a plurality of measurement units and a risk value in a self-driving mode based on a preset route, whether safety of a vehicle in the self-driving mode meets a requirement.
In another optional embodiment, the processing unit 1902 is configured to control the communications unit 1903 to receive, from the vehicle-end apparatus, original data (for example, sensor data) used for calculating rb and rc. The processing unit 1902 is further configured to obtain rb and rc based on the original data received by the communications unit 1903. In this case, the processing unit 1902 may also be referred to as an obtaining unit 1902. The processing unit 1902 is further configured to perform S620 to S641. The storage unit 1901 needs to store intermediate data generated in a process in which the processing unit 1902 performs the foregoing steps. For example, the intermediate data is rb and rc such that the processing unit 1902 determines, based on a risk value in a shadow driving mode in a plurality of measurement units and a risk value in a self-driving mode based on a preset route, whether safety of a vehicle in the self-driving mode meets a requirement.
In the third optional embodiment, the processing unit 1902 is configured to perform S910 and S920. Optionally, the processing unit 1902 is configured to control the communications unit 1903 to perform S930.
The processing unit 1902 may be a processor or a controller, for example, may be a CPU, a general-purpose processor, a DSP, an ASIC, an FPGA, or another programmable logic device, a transistor logic device, a hardware component, or any combination thereof. The processor may implement or execute various example logical blocks, modules, and circuits described with reference to content disclosed in this application. Alternatively, the processor may be a combination for implementing a computing function, for example, a combination of one or more microprocessors, or a combination of the DSP and a microprocessor. The communications unit 1903 may be a transceiver or the like. The storage unit 1901 may be a memory.
When the processing unit 1902 is a processor, the communications unit 1903 is a transceiver, and the storage unit 1901 is a memory, the cloud apparatus in this application may be a cloud apparatus 2000 shown in
As shown in
It may be clearly understood by a person skilled in the art that, for ease and brief description, for a detailed working process of the foregoing apparatus and units, refer to a corresponding process in the foregoing method embodiments, and details are not described herein again.
This application further provides a self-driving safety evaluation system, including the foregoing one or more vehicle-end apparatuses and one or more cloud apparatuses.
It should be understood that the processor in this embodiment of this application may be an integrated circuit chip, and has a signal processing capability. In an implementation process, steps in the foregoing method embodiments can be implemented using a hardware integrated logical circuit in the processor, or using instructions in a form of software. The foregoing processor may be a general-purpose processor, a DSP, an ASIC, an FPGA or another programmable logical device, a discrete gate or transistor logic device, or a discrete hardware component. The processor may implement or perform the methods, the steps, and logical block diagrams that are disclosed in the embodiments of this application. The general-purpose processor may be a microprocessor, or the processor may be any conventional processor or the like. Steps in the methods disclosed with reference to the embodiments of this application may be directly executed and accomplished using a hardware decoding processor, or may be executed and accomplished using a combination of hardware and software modules in the decoding processor. The software module may be located in a mature storage medium in the art, such as a random-access memory (RAM), a flash memory, a read-only memory (ROM), a programmable ROM (PROM), an electrically erasable PROM (EEPROM), or a register. The storage medium is located in the memory, and the processor reads information in the memory and completes the steps in the foregoing methods in combination with hardware of the processor.
It may be understood that the memory in this embodiment of this application may be a volatile memory or a nonvolatile memory, or may include a volatile memory and a nonvolatile memory. The nonvolatile memory may be a ROM, a PROM, an erasable PROM (EPROM), an EEPROM, or a flash memory. The volatile memory may be a RAM, used as an external cache. Through example but not limitative description, many forms of RAMs may be used, for example, a static RAM (SRAM), a dynamic RAM (DRAM), a synchronous DRAM (SDRAM), a double data rate (DDR) SDRAM, an enhanced SDRAM (ESDRAM), a synchronous link DRAM (SLDRAM), and a direct rambus (DR) RAM. It should be noted that the memory of the systems and methods described in this specification is intended to include but is not limited to these and any memory of another appropriate type.
This application further provides a computer readable medium. The computer readable medium stores a computer program. When being executed by a computer, the computer program implements the function of any one of the foregoing method embodiments.
This application further provides a computer program product. When being executed by a computer, the computer program product implements the function of any one of the foregoing method embodiments.
All or some of the foregoing embodiments may be implemented using software, hardware, firmware, or any combination thereof. When software is used to implement the embodiments, the embodiments may be implemented completely or partially in a form of a computer program product. The computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on the computer, the procedure or functions according to the embodiments of this application are all or partially generated. The computer may be a general-purpose computer, a dedicated computer, a computer network, or other programmable apparatuses. The computer instructions may be stored in a computer-readable storage medium or may be transmitted from a computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website, computer, server, or data center to another website, computer, server, or data center in a wired (for example, a coaxial cable, an optical fiber, or a digital subscriber line (DSL)) or wireless (for example, infrared, radio, or microwave) manner. The computer-readable storage medium may be any usable medium accessible by the computer, or a data storage device, such as a server or a data center, integrating one or more usable media. The usable medium may be a magnetic medium (for example, a FLOPPY DISK, a hard disk, or a magnetic tape), an optical medium (for example, a high density digital versatile disc (DVD), a semiconductor medium (for example, a solid-state drive (SSD)), or the like.
This application further provides a processing apparatus, including a processor and an interface. The processor is configured to perform the steps described in any one of the foregoing method embodiments.
It should be understood that the processing apparatus may be a chip, and the processor may be implemented by hardware, or may be implemented by software. When implemented by hardware, the processor may be a logic circuit, an integrated circuit, or the like. When implemented by software, the processor may be a general-purpose processor, and is implemented by reading software code stored in a memory. The memory may be integrated in the processor, or may exist independently outside the processor.
It should be understood that “embodiment” mentioned in the entire specification means that particular characteristics, structures, or features related to the embodiments are included in at least one embodiment of this application. Therefore, the embodiments in the entire specification do not necessarily refer to a same embodiment. In addition, these particular characteristics, structures, or features may be combined in one or more embodiments using any appropriate manner. It should be understood that sequence numbers of the foregoing processes do not mean execution sequences in various embodiments of this application. The execution sequences of the processes should be determined based on functions and internal logic of the processes, and should not be construed as any limitation on the implementation processes of the embodiments of this application.
In addition, the terms “system” and “network” may be used interchangeably in this specification. The term “and/or” in this specification describes only an association relationship for describing associated objects and represents that three relationships may exist. For example, A and/or B may represent the following three cases: only A exists, both A and B exist, and only B exists. In addition, the character “/” in this specification generally indicates an “or” relationship between the associated objects.
It should be understood that in the embodiments of this application, “B corresponding to A” indicates that B is associated with A, and B may be determined according to A. However, it should further be understood that determining B according to A does not mean that B is determined only according to A, that is, B may also be determined according to A and/or other information.
A person of ordinary skill in the art may be aware that, in combination with the examples described in the embodiments disclosed in this specification, units and algorithm steps may be implemented by electronic hardware, computer software, or a combination thereof. To clearly describe the interchangeability between the hardware and the software, the foregoing has generally described compositions and steps of each example according to functions. Whether the functions are performed by hardware or software depends on particular applications and design constraints of the technical solutions. A person skilled in the art may use different methods to implement the described functions for each particular application, but it should not be considered that the implementation goes beyond the scope of this application.
It may be clearly understood by a person skilled in the art that, for convenient and brief description, for a detailed working process of the foregoing system, apparatus, and unit, refer to a corresponding process in the foregoing method embodiments, and details are not described herein again.
In the several embodiments provided in this application, it should be understood that the disclosed system, apparatus, and method may be implemented in other manners. For example, the described apparatus embodiment is merely an example. For example, the unit division is merely logical function division and may be other division in actual implementation. For example, a plurality of units or components may be combined or integrated into another system, or some features may be ignored or not performed. In addition, the displayed or discussed mutual couplings or direct couplings or communication connections may be implemented through some interfaces, indirect couplings or communication connections between the apparatuses or units, or electrical connections, mechanical connections, or connections in other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual requirements to achieve the objectives of the solutions of the embodiments in this application.
In addition, function units in the embodiments of this application may be integrated into one processing unit, or each of the units may exist alone physically, or two or more units are integrated into one unit. The integrated unit may be implemented in a form of hardware, or may be implemented in a form of a software function unit.
With descriptions of the foregoing implementations, a person skilled in the art may clearly understand that this application may be implemented by hardware, firmware, or a combination thereof. When this application is implemented by software, the foregoing functions may be stored in a computer-readable medium or transmitted as one or more instructions or code in the computer-readable medium. The computer-readable medium includes a computer storage medium and a communications medium, where the communications medium includes any medium that enables a computer program to be transmitted from one place to another. The storage medium may be any available medium accessible to a computer. The following provides an example but does not impose a limitation. The computer-readable medium may include a RAM, a ROM, an EEPROM, a compact disc ROM (CD-ROM) or another optical disc storage, a disk storage medium or another magnetic storage device, or any other medium that can carry or store expected program code in a form of an instruction or a data structure and can be accessed by a computer. In addition, any connection may be appropriately defined as a computer-readable medium. For example, if software is transmitted from a website, a server or another remote source using a coaxial cable, an optical fiber/cable, a twisted pair, a DSL, or wireless technologies such as infrared ray, radio, and microwave, the coaxial cable, optical fiber/cable, twisted pair, DSL, or wireless technologies such as infrared ray, radio, and microwave are included in fixation of a medium to which they belong. A disk and disc used by this application include a compact disc (CD), a laser disc, an optical disc, a DVD, a FLOPPY DISK, and a BLU-RAY DISC, where the disk generally copies data magnetically, and the disc copies data optically using laser. The foregoing combination should also be included in the protection scope of the computer-readable medium.
In conclusion, what is described above is merely embodiments of the technical solutions of this application, but is not intended to limit the protection scope of this application. Any modification, equivalent replacement, or improvement made without departing from the spirit and principle of this application shall fall within the protection scope of this application.
Number | Date | Country | Kind |
---|---|---|---|
201810220891.X | Mar 2018 | CN | national |
This application is a continuation of International Patent Application No. PCT/CN2019/072074 filed on Jan. 17, 2019, which claims priority to Chinese Patent Application No. 201810220891.X filed on Mar. 16, 2018. The disclosures of the aforementioned applications are hereby incorporated by reference in their entireties.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/CN2019/072074 | Jan 2019 | US |
Child | 17018505 | US |