Generation method and device of vehicle door control instruction, in-vehicle infotainment system and vehicle
By obtaining environmental characteristic data and multiple condition judgments, door control instructions are generated, which solves the problem of accidentally triggering the touch switch during rain and snow or car washing, and achieves high reliability and high availability door control.
Patent Information
- Application Number
- CN202410173086.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-06
- Publication Date
- 2025-08-08
AI Technical Summary
Touch switches are easily triggered by mistake during rainy and snowy weather or during car washing. The existing methods that combine capacitance change and temperature change detection are not reliable and usable.
By obtaining environmental characteristic data, including camera image data or lidar point cloud data, it is determined whether there are personnel in the target area associated with the door touch switch, and the door control command is generated based on preset time, capacitance approximation, personnel posture and distance.
Improve the accuracy and availability of door control instructions, avoid mistriggering, and are not affected by factors such as ambient temperature.
Smart Images

Figure CN120443937A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of vehicle technology, and in particular to a method and device for generating a door control instruction, a vehicle-mounted system, and a vehicle. Background Art
[0002] Touch switches have replaced conventional mechanical switches as door lock control switches in vehicles due to their smaller footprint, refined design, and simpler installation. To unlock a vehicle door, the user touches the touch switch. Once the capacitance detected by the touch switch reaches a set value, the touch switch generates an unlock command to unlock the door.
[0003] While touch switches offer the advantages mentioned above, they can also be easily misactivated due to limitations in their detection principles. For example, if the touch switch is a capacitive touch switch, rainwater may splash onto the capacitive touch surface in rainy or snowy weather or during a car wash, causing the detected capacitance change to reach the set value, resulting in misactivation of the touch switch.
[0004] To address the aforementioned issues, related technologies have proposed combining capacitance change detection with temperature sensor detection to determine whether to generate an on command. However, due to the hysteresis of temperature sensor detection and the significant impact of ambient temperature on temperature change detection, the reliability and usability of this combined capacitance change and temperature change detection approach are limited. Summary of the Invention
[0005] In order to solve the above technical problems, the embodiments of the present disclosure provide a method and device for generating door control instructions, a vehicle system and a vehicle.
[0006] In a first aspect, an embodiment of the present disclosure provides a method for generating a door control instruction, comprising:
[0007] In response to receiving a first trigger signal generated by the door touch switch, acquiring environmental feature data, the environmental feature data including data generated by an environmental feature sensor collecting layout features of objects in an environment surrounding the vehicle;
[0008] determining whether there is a person in a target area associated with the vehicle door touch switch based on the environmental characteristic data;
[0009] A door control instruction is generated when it is determined that there is a person in the target area.
[0010] Optionally, the method for generating a door control instruction further includes: after receiving the first trigger signal, determining whether a second trigger signal is received after a preset time period;
[0011] The generating of the door control instruction when it is determined that there is a person in the target area includes:
[0012] When it is determined that there is a person in the target area and the second trigger signal is received, the door control instruction is generated.
[0013] Optionally, the door touch switch includes a capacitive touch switch;
[0014] The acquiring of environmental characteristic data in response to receiving a first trigger signal generated by the door touch switch includes: acquiring the environmental characteristic data in response to receiving a first capacitance value generated by the capacitive touch switch;
[0015] The determining whether the second trigger signal is received after the preset time period includes determining whether the second capacitance value generated by the capacitive touch switch is received after the preset time period.
[0016] Optionally, when the second capacitance value is received after a preset time, the method further includes:
[0017] Calculating the approximation between the first capacitance value and the second capacitance value, and determining whether the approximation satisfies a set condition;
[0018] The step of generating the door control instruction when it is determined that there is a person in the target area and the second capacitance value is received includes:
[0019] When it is determined that there is a person in the target area and the proximity meets the set condition, the door control instruction is generated.
[0020] Optionally, calculating the approximation between the first capacitance value and the second capacitance value includes:
[0021] use The approximation between the first capacitance value and the second capacitance value is calculated, where s is the approximation, a is the first capacitance value, and b is the second capacitance value. is the absolute value of the difference between the first capacitance value and the second capacitance value, and (a+b) / 2 is the average value of the first capacitance value and the second capacitance value.
[0022] Optionally, when it is determined that there is a person in the target area associated with the vehicle door touch switch, the method further includes:
[0023] determining whether the person's posture is a target posture based on the environmental feature data;
[0024] The generating of the door control instruction when it is determined that there is a person in the target area includes:
[0025] When it is determined that there is a person in the target area and the posture of the person is the target posture, the door control instruction is generated.
[0026] Optionally, when it is determined that there is a person in the target area associated with the vehicle door touch switch, the method further includes:
[0027] determining, based on the environmental characteristic data, whether the detection distance from the person to the door touch switch is less than a set distance;
[0028] When it is determined that there is a person in the target area and the person's posture is the target posture, generating the door control instruction includes:
[0029] When it is determined that there is a person in the target area, the posture of the person is the target posture, and the distance between the person and the door touch switch is less than the set distance, the door control instruction is generated.
[0030] Optionally, obtaining environmental characteristic data includes:
[0031] Acquire environmental image data captured by an on-board exterior camera, and / or obtain environmental point cloud data obtained by laser radar scanning.
[0032] In a second aspect, an embodiment of the present disclosure provides a device for generating a door control instruction, comprising:
[0033] a data acquisition unit, configured to acquire environmental feature data in response to receiving a first trigger signal generated by the door touch switch, the environmental feature data including data generated by an environmental feature sensor collecting layout features of objects in an environment surrounding the vehicle;
[0034] a data processing unit, configured to determine whether there is a person in a target area associated with the vehicle door touch switch based on the environmental characteristic data;
[0035] The control unit is used to generate a door control instruction when it is determined that there is a person in the target area.
[0036] In a third aspect, an embodiment of the present disclosure provides a vehicle system, comprising a processor and a memory, wherein the memory is used to store a computer program; when the computer program is loaded by the processor, the processor executes the method for generating door control instructions as described above.
[0037] In a fourth aspect, an embodiment of the present disclosure provides a vehicle, comprising a door touch switch, an environmental feature sensor, and the vehicle-mounted system as described above.
[0038] The solution provided by the embodiments of the present disclosure, upon receiving a first trigger signal generated by a door touch switch, then determines whether a person is present in a target area associated with the door touch control based on acquired environmental feature data. Only when a person is determined to be present in the target area will a door control instruction be generated. The process of acquiring and processing the environmental feature data to determine whether a person is present in the target area is not time-consuming due to limitations in the physical principles of the detection method, nor is it affected by factors such as ambient temperature, resulting in a high degree of usability of the disclosed solution. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0040] In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the following briefly introduces the drawings required for the embodiments or the description of the prior art. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without inventive work, including:
[0041] Figure 1 is a flow chart of a method for generating a door control instruction provided by an embodiment of the present disclosure;
[0042] Figure 2 is a flow chart of a method for generating door control instructions provided in some other embodiments of the present disclosure;
[0043] Figure 3 is a flow chart of a method for generating a door control instruction provided in some further embodiments of the present disclosure;
[0044] Figure 4 is a schematic diagram of a device for generating a door control instruction provided by an embodiment of the present disclosure;
[0045] Figure 5 It is a structural diagram of the vehicle system provided by an embodiment of the present disclosure. DETAILED DESCRIPTION
[0046] The following describes embodiments of the present disclosure in more detail with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as limited to the embodiments described herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of protection of the present disclosure.
[0047] The term "including" and its variations used in this document are open inclusions, that is, "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one other embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the description below. It should be noted that the concepts of "first", "second", etc. mentioned in this disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0048] It should be noted that the modifications of "one" and "multiple" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, they should be understood as "one or more".
[0049] The method for generating a door control instruction provided by the embodiment of the present disclosure, in addition to collecting the first trigger signal generated by the door touch switch, also performs feature detection on the layout of objects in the vehicle's surrounding environment to obtain environmental feature data, and then determines whether to generate a door control instruction based on the first trigger signal and the environmental feature data.
[0050] Figure 1 This is a flow chart of the method for generating a door control command provided by an embodiment of the present disclosure. Figure 1 As shown, the method for generating a door control instruction provided by the embodiment of the present disclosure includes S110-S130.
[0051] The method for generating a vehicle door control instruction provided by an embodiment of the present disclosure is executed by a controller installed in a vehicle and controlling a door lock switch.
[0052] S110: Acquiring environmental feature data in response to receiving a first trigger signal generated by a vehicle door touch switch.
[0053] The door touch switch is a switch installed on the door for detecting the user's touch action. In a specific implementation, the door touch switch can be a switch that detects touch actions based on various touch detection principles.
[0054] In some embodiments, the door touch switch is a capacitive switch, which determines whether a touch operation is received by way of capacitance detection.
[0055] In some other embodiments, the door touch switch is a resistance switch, which determines whether a touch operation is received by means of resistance detection.
[0056] In some further embodiments, the door touch switch is an infrared light reflection touch switch, which determines whether a touch operation is received by detecting reflected light.
[0057] The door touch switch may generate a first trigger signal upon detecting a touch operation. Furthermore, in other situations, such as when rainwater or insects adhere to the surface of the door touch switch, the door touch switch may be mistakenly triggered and generate the first trigger signal. Regardless of the reason for the touch switch to generate the first trigger signal, the door touch switch will transmit the first trigger signal to the controller, so that the controller receives the first trigger signal.
[0058] After receiving the first trigger signal generated by the door touch switch, the controller will obtain environmental feature data. The environmental feature data includes feature data generated by the environmental feature sensor collecting the layout features of objects in the vehicle's surrounding environment.
[0059] In some embodiments, the environmental feature sensor is a camera, and the corresponding environmental feature data is image data captured by the camera.
[0060] In some other embodiments, the environmental feature sensor is a lidar, and the corresponding environmental feature data is point cloud data collected by the lidar.
[0061] It should be noted that, in the embodiment of the present disclosure, the acquired environmental characteristic data should be environmental characteristic data acquired in a time period close to the moment of receiving the first trigger signal, so that the environmental characteristic data and the first trigger signal are correlated.
[0062] In some embodiments, when the first trigger signal is received, the environmental feature sensor has not yet been started, and the controller needs to trigger the initialization of the environmental feature sensor, and collect data to obtain environmental feature data after the initialization of the environmental feature sensor is completed.
[0063] In some other embodiments, the environmental feature sensor continuously collects environmental feature data. After receiving the first trigger signal generated by the door touch switch, the environmental feature sensor uses the environmental feature data collected at the corresponding moment as subsequent processing data.
[0064] S120: Determine whether there is a person in the target area associated with the door touch switch based on the environmental feature data.
[0065] The target area associated with the door touch switch is the area around the vehicle's perimeter that is adjacent to the door touch switch. In practice, the target area is determined based on the height and arm length of a typical user and the vehicle's door dimensions.
[0066] To determine whether there are people in the target area based on environmental feature data, the environmental feature data is processed using a data processing method corresponding to the environmental feature data, and the position information of the objects relative to the vehicle in the environmental feature data is extracted. Then, whether there are people in the target area is determined through the position information of the target area and the position information of the objects, as well as the type information of the objects.
[0067] In some embodiments, the environmental feature data is image data captured by a camera. In this case, determining whether a person is present in a target area based on the environmental feature data can involve processing the environmental feature data using a pre-trained neural network model, extracting attribute information and location information of objects in the environmental feature data, and determining whether a person is present in the target area based on the attribute information and location information.
[0068] In other embodiments, the environmental feature data is point cloud data collected by a laser radar. In this case, to determine whether a person is present in the target area based on the environmental feature data, a point cloud aggregation algorithm can be used to aggregate the point cloud located in the target area. The overall characteristics of the aggregated point cloud can then be used to determine whether the object characteristics conform to the anatomy of the human body. If the overall characteristics of the power source conform to the anatomy of the human body, the presence of a person in the target area is determined.
[0069] S130: Generate a door control instruction when it is determined that there is a person in the target area.
[0070] In the embodiment of the present disclosure, the door control instruction may be a door unlock instruction or a door lock instruction, and needs to be determined according to the current locking state of the door.
[0071] When the first trigger signal generated by the door touch switch is received and it is determined based on the environmental feature data that there is a person in the target area, the controller determines that the first trigger signal is generated by the person in the target area touching the touch switch, that is, the person has the intention to trigger the door to unlock or lock, and therefore generates a door control instruction.
[0072] The method for generating a door control command provided in an embodiment of the present disclosure, upon receiving a first trigger signal generated by a door touch switch, determines whether a person is present in the target area associated with the door touch switch based on environmental feature data acquired during a nearby time period. If a person is present in the target area, a door control command is generated. In other words, the method provided in an embodiment of the present disclosure generates a door control command only when the method receives a first trigger signal generated by the door touch switch and when a person is present in the target area associated with the door touch switch.
[0073] The method for generating door control instructions provided by the embodiment of the present disclosure is based on the situation that in the door opening and closing scenario, there must be a person in the target area associated with the door touch switch to trigger the door touch switch to generate a first trigger signal. After receiving the first trigger signal, the door control instruction will be generated only when it is determined that there is a person in the target area. In actual applications, the hardware resources equipped with the vehicle equipment can obtain environmental feature data in a very short time, and process the environmental feature data to determine whether there is a person in the target area, and thus quickly determine whether to generate a door control instruction. That is, the solution provided by the embodiment of the present disclosure will not take a long time due to the limitations of the physical principles of the detection method. In addition, the solution of the embodiment of the present disclosure will not be affected by factors such as ambient temperature. In other words, the method for generating door control instructions provided by the embodiment of the present disclosure has high usability.
[0074] Figure 2 This is a flow chart of a method for generating a door control command provided by some other embodiments of the present disclosure. Figure 2 As shown, in some other embodiments, the method for generating a door control instruction includes S210-S240.
[0075] In an embodiment of the present disclosure, the door touch switch in the vehicle includes a capacitive touch switch, and the corresponding trigger signal is a capacitance value.
[0076] S210: Acquire environmental feature data in response to receiving a first trigger signal generated by a door touch switch.
[0077] As in the previous embodiment, the environmental feature data is data generated by the environmental feature sensor collecting layout features of objects in the vehicle's surrounding environment.
[0078] S220: Determine whether there is a person in the target area associated with the capacitive touch switch based on the environmental feature data; if so, execute S230; if not, execute S210.
[0079] The execution process of the aforementioned S210-S220 is the same as that of the previous embodiment S110-S120, and will not be repeated here. Please refer to the previous description for details.
[0080] S230: Determine whether a second capacitance value generated by the capacitive touch switch is received after a preset time period; if so, execute S240; if not, execute S210.
[0081] S240: Generate door control instructions.
[0082] In the embodiment of the present disclosure, when it is determined that there is a person in the target area associated with the capacitive touch switch, the door control instruction is not directly generated. Instead, an additional determination condition is added, and the door control instruction is generated only when the additional determination condition is met.
[0083] Specifically, the controller also determines whether a second capacitance value generated by the capacitive touch switch has been received after a preset time period. This preset time period is determined based on extensive empirical data and is the duration of a user's contact with the capacitive touch switch when touching it. The preset time period is longer than the duration of a random scan across the capacitive touch switch. In one specific application, the preset time period is set to 0.3 seconds.
[0084] In actual scenarios, the user may perform some operations around the vehicle and quickly scan the capacitive touch switch, but at this time the user has no intention of opening or closing the door, that is, there is no intention to trigger the generation of the door control command.
[0085] For example, during a car wash, a car washer might be wiping the car body within the target area and their body or a wet towel might touch the capacitive touch switch. Another example is when someone passes through the target area and accidentally touches the capacitive touch switch. Using the methods provided in the previous embodiments can lead to the problem of false triggering of door control commands in these scenarios.
[0086] To avoid the aforementioned issues, the disclosed embodiment determines whether a second capacitance value generated by the capacitive touch switch has been received after a preset time period. If the second capacitance value is received, it is determined that the person in the target area did not touch the capacitive touch switch accidentally, but rather continuously. In this case, it is determined that the person has a strong intention to operate the vehicle door, and therefore a door control command is generated.
[0087] By adopting the above-mentioned method S210-S240, in addition to achieving the effects of the above-mentioned S110-S130, by adding additional judgment conditions, the probability of accurately generating the door control command can be further improved compared with the above-mentioned embodiment.
[0088] It should be noted that, in actual applications, the aforementioned S220 and S230 may be executed in a reversed order or simultaneously, and only needs to confirm that both judgment conditions are true to execute S240 to generate the door control instruction.
[0089] The door touch switch used in this embodiment is a capacitive touch switch. In other embodiments, the door touch switch may also be other types of switches, such as a resistance detection switch or a light reflection switch.
[0090] In some application scenarios, such as a car wash, a car washer might accidentally touch a capacitive touch switch while wiping the car body and then leave, but this could leave water droplets on the capacitive touch switch. These water droplets could still trigger the capacitive touch switch to generate a second capacitance value. Thus, even with the aforementioned S210-S240, there is a certain probability of falsely triggering the generation of a door control command. To further reduce the probability of falsely triggering the generation of a door control command, the controller can also execute the following S250-S260 before executing S240.
[0091] S250: Calculate the approximation between the first capacitance value and the second capacitance value.
[0092] In a specific implementation, the controller may use various methods to calculate the approximation between the first capacitance value and the second capacitance value.
[0093] In some embodiments, the controller may directly calculate the capacitance difference between the first capacitance value and the second capacitance value, and use the capacitance difference to represent the absolute similarity between the two.
[0094] In some other embodiments, the controller may calculate the relative ratio of the capacitance difference between the first capacitance value and the second capacitance value, and use the relative ratio to represent the relative similarity between the first capacitance value and the second capacitance value. The approximation s is calculated, where a is the first capacitance value and b is the second capacitance value. That is, in some embodiments, the controller calculates the absolute value and average value of the difference between the first capacitance value a and the second capacitance value b, and then calculates the ratio of the absolute value of the difference to the average value, and uses the above ratio as the approximation s. For example, in one application, the first capacitance value is 0.09pF and the second capacitance value is 0.11pF, then the calculated approximation is 0.2. In another application, the first capacitance value is 0.09pF and the second capacitance value is 0.095PF, then the calculated approximation is 0.054.
[0095] Of course, in actual applications, other methods may be used to calculate the approximation between the first capacitance value and the second capacitance value, which will not be given as examples here.
[0096] S260: Determine whether the approximation meets the set conditions; if so, execute S240.
[0097] In a specific implementation, determining whether the approximation satisfies a set condition may be performed by determining whether the approximation is less than a threshold value of approximation. For example, when the calculated approximation is a relative approximation, the relative approximation may be compared with a set relative approximation threshold to determine whether it is less than the relative approximation threshold. If the relative approximation is less than the set relative approximation threshold, S240 may be executed to generate a door control instruction. In a specific application, the approximation threshold is set to 0.1. Based on this approximation threshold, when the approximation between the first capacitance value and the second capacitance value is 0.2, S240 is not executed to generate a door control instruction. However, when the approximation between the first capacitance value and the second capacitance value is 0.054, S240 is executed to generate a door control instruction.
[0098] In actual applications, when a user touches a capacitive touch switch, the contact area during the touch process will not change significantly, and the corresponding first and second capacitance values should be relatively close. However, the capacitance values formed by the user touching the capacitive touch switch and the water droplet falling on the capacitive touch switch will be quite different. In other words, using S250-S260 can eliminate the possibility that factors such as water droplets may cause the second capacitance value to be received later, thereby causing the door control command to be falsely triggered.
[0099] In actual applications, in addition to executing the aforementioned S250-S260 when the car door touch switch is a capacitive touch switch, the aforementioned S250-S260 can also be executed when the car door touch switch is a touch switch such as a resistive touch switch that can output corresponding detection values.
[0100] Figure 3 This is a flow chart of a method for generating a door control command according to some other embodiments of the present disclosure. Figure 3 As shown, in the embodiment of the present disclosure, the method for generating a door control instruction includes S310-S340.
[0101] S310: Acquire environmental feature data in response to receiving a first trigger signal generated by a vehicle door touch switch.
[0102] S320: Determine whether there is a person in the target area associated with the door touch switch based on the environmental feature data; if so, execute S330; if not, execute S310.
[0103] The execution process of the aforementioned S310-S320 is the same as that of the previous embodiment S110-S120, and will not be repeated here. Please refer to the previous description for details.
[0104] S330: Determine whether the person's posture is the target posture based on the environmental feature data; if so, execute S340; if not, execute S310.
[0105] S340: Generate door control instructions.
[0106] Different from the previous embodiments, in the embodiment of the present disclosure, when it is determined that there is a person in the target area, the controller does not directly generate a door control instruction, but further processes the environmental feature data to extract the posture of the person in the target area.
[0107] In a specific implementation, if the environmental feature data is image data, the controller can use a pre-trained neural network model to process the environmental feature data and determine the person's posture. If the environmental feature data is point cloud data, the controller can use a point cloud aggregation algorithm to aggregate the point cloud located in the target area to determine the person's posture. In a specific implementation, the person's posture can be represented by the angle of the person's torso, the angle of the upper limbs, and the angle between the torso and upper limbs.
[0108] In the disclosed embodiment, the target posture is a typical posture of a user when operating a door touch switch. In a specific implementation, the target posture includes the typical postures of the user's upper limbs and torso. The typical posture can be represented by the angle range of the user's upper limbs, the angle range of the torso, and the angle range between the torso and the upper limbs. The angle range of the user's upper limbs can be 30 to 60 degrees, the angle range of the torso is 80 to 100 degrees (it should be noted that the aforementioned angle range of the user's upper limbs and the angle range of the torso are both relative to the horizontal plane), and the angle range between the torso and the upper limbs is 20-70 degrees.
[0109] Determining whether the person's posture is the target posture based on the environmental feature data can involve determining whether the angles corresponding to the person's posture are within the angle range corresponding to a typical posture. If the person's posture is the target posture, it is determined that the user intended to operate the door touch switch. At the same time, if it is determined that the first trigger signal generated by the door touch switch has been received, it is determined that the user is likely to have operated the door touch switch, and therefore a door control instruction is generated.
[0110] In some embodiments, when it is determined that there is a person in the target area associated with the door touch switch, the following S350 may also be executed.
[0111] S350: Determine whether the detection distance from the person to the door touch switch is less than a set distance based on the environmental characteristic data.
[0112] Determining the detection distance between a person and the door touch switch based on environmental feature data involves processing the environmental feature data using a corresponding method based on the type of environmental feature data to determine the detection distance. Once the detection distance is determined, it can be determined whether the detection distance is less than the set distance.
[0113] The set distance is a pre-set, smaller distance that represents the typical distance between the center of a user's hand or wrist and the vehicle door when touching a door touch switch. In practice, the typical distance can be set slightly larger than the actual distance. If the detection distance is less than the set distance, it is determined that the user has approximately touched the door touch switch.
[0114] When it is determined that the detection distance is less than the set distance during S350 , S340 may be executed to generate a door control instruction.
[0115] Here is an additional explanation: S330 and S350 in the disclosed embodiment do not conflict with S230 and S250-S260 mentioned above. In actual application, S330, S230 and S250-S260 can be executed simultaneously, and the door control command is generated only when all conditions are met.
[0116] As previously mentioned, environmental feature data is acquired in response to receiving a first trigger signal generated by a door touch switch. In practice, after the vehicle is unlocked, the controller wakes up the door touch switch, causing it to begin testing to determine whether the first trigger signal has been generated.
[0117] In addition to providing the aforementioned method for generating a vehicle door control instruction, an embodiment of the present disclosure also provides a device for generating a vehicle door control instruction. Figure 4 Schematic diagram of a device for generating a door control command according to an embodiment of the present disclosure. Figure 4 As shown, the door control instruction generating device 400 includes a data acquisition unit 401 , a data processing unit 402 and a control unit 403 .
[0118] The data acquisition unit 401 is used to acquire environmental feature data in response to receiving a first trigger signal generated by the door touch switch. The environmental feature data includes data generated by the environmental feature sensor collecting layout features of objects in the vehicle's surrounding environment.
[0119] The data processing unit 402 is configured to determine whether there is a person in the target area associated with the vehicle door touch switch based on the environmental feature data.
[0120] The control unit 403 is configured to generate a door control instruction when it is determined that there is a person in the target area.
[0121] In some embodiments, after receiving the first trigger signal, the data acquisition unit 401 determines whether a second trigger signal is received after a preset time period; the control unit 403 generates a door control instruction when it determines that there is a person in the target area and receives the second trigger signal.
[0122] In some embodiments, the door touch switch includes a capacitive touch switch; the data acquisition unit 401 acquires environmental characteristic data in response to receiving a first capacitance value generated by the capacitive touch switch; the data processing unit 402 determines whether a second capacitance value generated by the capacitive touch switch is received after a preset time period.
[0123] In some embodiments, when the second capacitance value is received after a preset time period, the data processing unit 402 calculates the approximation between the first capacitance value and the second capacitance value, and determines whether the approximation satisfies a set condition;
[0124] The control unit 403 generates a door control instruction when it is determined that there is a person in the target area, the second capacitance value is received, and the approximation meets the set conditions.
[0125] In some embodiments, when it is determined that there is a person in the target area associated with the door touch switch, the data processing unit 402 determines whether the person's posture is the target posture based on the environmental feature data; the control unit 403 generates a door control instruction when it is determined that there is a person in the target area and the person's posture is the target posture.
[0126] In some embodiments, when it is determined that there is a person in the target area associated with the door touch switch, the control unit 403 determines whether the detection distance from the person to the door touch switch is less than the set distance based on the environmental feature data; the control unit 403 generates a door control instruction when it is determined that there is a person in the target area, the person's posture is the target posture, and the distance from the person to the door touch switch is less than the set distance.
[0127] In some embodiments, the data acquisition unit 401 acquires environmental image data captured by a vehicle-mounted exterior camera, and / or acquires environmental point cloud data obtained by laser radar scanning.
[0128] In addition to providing the aforementioned method for generating door control instructions and a prompting device, the embodiment of the present disclosure also provides a vehicle system. Figure 5 This is a structural diagram of the vehicle system provided by the embodiment of the present disclosure. Figure 5 , which shows a structural diagram of a vehicle system 500 suitable for implementing the embodiment of the present disclosure. Figure 5 The vehicle system shown is merely an example and should not limit the functions and scope of use of the embodiments of the present disclosure.
[0129] like Figure 5As shown, the vehicle system 500 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 501, which can perform various appropriate actions and processes based on programs stored in a read-only memory (ROM) 502 or programs loaded from a storage device 508 into a random access memory (RAM) 503. RAM 503 also stores various programs and data required for the operation of the vehicle system 500. The processing device 501, ROM 502, and RAM 503 are interconnected via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.
[0130] Typically, the following devices may be connected to the I / O interface 505: an input device 505 including, for example, a touch screen, a touchpad, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 507 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 508 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 509. The communication device 509 may allow the vehicle system 500 to communicate with other devices wirelessly or by wire to exchange data. Figure 4 The vehicle system 500 is shown as having various devices, but it should be understood that it is not required to implement or possess all of the devices shown, and more or fewer devices may be implemented or possessed instead.
[0131] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 509, or installed from the storage device 508, or installed from the ROM 502. When the computer program is executed by the processing device 501, the above-mentioned functions defined in the method of the embodiment of the present disclosure are performed.
[0132] It should be noted that the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. A computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or component, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, device, or component. In the present disclosure, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries computer-readable program code. Such a propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to wires, optical cables, RF (radio frequency), etc., or any suitable combination thereof.
[0133] In some embodiments, the client and server can communicate using any currently known or future developed network protocol, such as HTTP (HyperText Transfer Protocol), and can be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.
[0134] The computer-readable medium may be included in the vehicle system; or it may exist independently without being assembled into the vehicle system.
[0135] The above-mentioned computer-readable medium carries one or more programs. When the above-mentioned one or more programs are executed by the vehicle system, the vehicle system: obtains environmental feature data in response to receiving a first trigger signal generated by the door touch switch, where the environmental feature data is data generated by the environmental feature sensor collecting the layout features of objects in the vehicle's surrounding environment; determines whether there is a person in the target area associated with the door touch switch based on the environmental feature data; and generates a door control instruction when it is determined that there is a person in the target area.
[0136] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages, or a combination thereof, including, but not limited to, object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the tester computer, partially on the tester computer, as a stand-alone software package, partially on the tester computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the tester computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0137] The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, program segment, or a part of code, and the module, program segment, or a part of code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of the boxes in the block diagram and / or flowchart, can be implemented by a dedicated hardware-based system that performs the specified function or operation, or can be implemented by a combination of dedicated hardware and computer instructions.
[0138] The units involved in the embodiments described in this disclosure may be implemented in software or hardware, wherein the name of a unit does not necessarily limit the unit itself.
[0139] The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, and without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chip (SOCs), complex programmable logic devices (CPLDs), and the like.
[0140] In the context of the present disclosure, a machine-readable medium can be a tangible medium that can contain or store a program for use by or in conjunction with an instruction execution system, device or equipment. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium can include an electrical connection according to one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0141] The embodiment of the present disclosure also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it can implement the method of any of the above method embodiments. Its execution method and beneficial effects are similar and will not be repeated here.
[0142] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article, or device that includes a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or device that includes the element.
[0143] The foregoing are merely specific embodiments of the present disclosure, intended to enable those skilled in the art to understand and implement the present disclosure. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure is not to be limited to the embodiments described herein, but is to be construed in the broadest manner consistent with the principles and novel features disclosed herein.
Claims
1. A method for generating a door control instruction, characterized in that: include: In response to receiving a first trigger signal generated by the door touch switch, acquiring environmental feature data, the environmental feature data including data generated by an environmental feature sensor collecting layout features of objects in an environment surrounding the vehicle; determining whether there is a person in a target area associated with the vehicle door touch switch based on the environmental characteristic data; A door control instruction is generated when it is determined that there is a person in the target area.
2. The method according to claim 1, characterized in that Also includes: After receiving the first trigger signal, determining whether a second trigger signal is received after a preset time period; The generating of the door control instruction when it is determined that there is a person in the target area includes: When it is determined that there is a person in the target area and the second trigger signal is received, the door control instruction is generated.
3. The method according to claim 2, characterized in that The door touch switch includes a capacitive touch switch; The acquiring of environmental characteristic data in response to receiving a first trigger signal generated by the door touch switch includes: acquiring the environmental characteristic data in response to receiving a first capacitance value generated by the capacitive touch switch; The determining whether the second trigger signal is received after the preset time period includes determining whether the second capacitance value generated by the capacitive touch switch is received after the preset time period.
4. The method according to claim 3, characterized in that When the second capacitance value is received after a preset time, the method further includes: Calculating the approximation between the first capacitance value and the second capacitance value, and determining whether the approximation satisfies a set condition; The step of generating the door control instruction when it is determined that there is a person in the target area and the second capacitance value is received includes: When it is determined that there is a person in the target area and the proximity meets the set condition, the door control instruction is generated.
5. The method according to claim 4, characterized in that The calculating the approximation between the first capacitance value and the second capacitance value includes: use The approximation between the first capacitance value and the second capacitance value is calculated, where s is the approximation, a is the first capacitance value, and b is the second capacitance value. is the absolute value of the difference between the first capacitance value and the second capacitance value, and (a+b) / 2 is the average value of the first capacitance value and the second capacitance value.
6. The method according to any one of claims 1 to 5, characterized in that When it is determined that there is a person in the target area associated with the vehicle door touch switch, the method further includes: determining whether the person's posture is a target posture based on the environmental feature data; The generating of the door control instruction when it is determined that there is a person in the target area includes: When it is determined that there is a person in the target area and the posture of the person is the target posture, the door control instruction is generated.
7. The method according to claim 6, characterized in that When it is determined that there is a person in the target area associated with the vehicle door touch switch, the method further includes: determining, based on the environmental characteristic data, whether the detection distance from the person to the door touch switch is less than a set distance; When it is determined that there is a person in the target area and the person's posture is the target posture, generating the door control instruction includes: When it is determined that there is a person in the target area, the posture of the person is the target posture, and the distance between the person and the door touch switch is less than the set distance, the door control instruction is generated.
8. A device for generating a door control command, characterized in that: include: a data acquisition unit, configured to acquire environmental feature data in response to receiving a first trigger signal generated by the door touch switch, the environmental feature data including data generated by an environmental feature sensor collecting layout features of objects in an environment surrounding the vehicle; a data processing unit, configured to determine whether there is a person in a target area associated with the vehicle door touch switch based on the environmental characteristic data; The control unit is used to generate a door control instruction when it is determined that there is a person in the target area.
9. A vehicle computer system, characterized in that: comprising a processor and a memory, said memory being configured to store a computer program; When the computer program is loaded by the processor, the processor executes the method for generating a vehicle door control instruction according to any one of claims 1 to 7.
10. A vehicle, characterized in that: It comprises a door touch switch, an environmental characteristic sensor and the vehicle system as claimed in claim 9.