Back door control method and device, electronic equipment and storage medium
By setting a pressure sensing switch at the handle position of the electric back door, collecting user touch information to generate control instructions, the problem of inconvenient operation of the electric back door is solved, and convenient and flexible control is achieved.
Patent Information
- Application Number
- CN202410145401.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-01
- Publication Date
- 2025-08-01
AI Technical Summary
The switch keys of the existing electric back door are not convenient enough and have a single function, so users need to find the key position for control.
Set a pressure sensing switch at the handle position of the electric back door, collect user touch information through the pressure sensor, analyze user operation intentions to generate control instructions, and directly control by pulling the handle.
It improves the convenience and flexibility of users to control the electric back door, conforms to the operating habits of opening and closing doors, omits the steps of finding buttons, and generates multiple control instructions through different pressures.
Smart Images

Figure CN120401923A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of automobiles, and particularly to a method and device for controlling a rear door, an electronic device, and a storage medium. Background Art
[0002] With the rapid development of the economy, people's requirements for the quality of life have increased, and vehicles have become an essential means of transportation for contemporary people to travel. In the process of vehicle design and manufacturing, more and more emphasis is placed on the comfort, convenient operation, and intelligent control of vehicles. Electric rear doors are loved by more and more users for their simple and convenient operation. Currently, most electric rear doors are controlled by a switch button, which is set on the rear door and the instrument panel. And every time the rear door needs to be opened or closed, the user needs to find the position where the switch button is set and then click the switch button to control the electric rear door, the operation is not convenient enough, and the switch button usually controls the opening and closing of the electric rear door, and the function is relatively single. Summary of the Invention
[0003] Embodiments of this application provide a method and device for controlling a rear door, an electronic device, and a storage medium to solve the problem that the operation of the rear door switch button in the prior art is not convenient enough.
[0004] In a first aspect, an embodiment of this application provides a method for controlling a rear door, which is applied to a rear door control system. The rear door control system includes an electric rear door and a pressure sensing switch. The pressure sensing switch is set at the handle position of the electric rear door. The pressure sensing switch includes a switch skeleton, a first pressure sensor and a second pressure sensor respectively arranged at both ends of the switch skeleton. The method includes:
[0005] When the electric rear door is in an unlocked state, obtain touch information generated when a user manipulates the pressure sensing switch. The touch information includes a first pressure value collected by the first pressure sensor, a second pressure value collected by the second pressure sensor, a first duration corresponding to the first pressure value, and a second duration corresponding to the second pressure value.
[0006] Generate a rear door control instruction according to the touch information.
[0007] Control the electric rear door based on the rear door control instruction.
[0008] Second aspect, an embodiment of the present application further provides a rear door control device, which is applied to a rear door control system. The rear door control system includes an electric rear door and a pressure sensing switch. The pressure sensing switch is arranged at the handle position of the electric rear door. The pressure sensing switch includes a switch skeleton, and a first pressure sensor and a second pressure sensor respectively arranged at both ends of the switch skeleton; including:
[0009] An acquisition module, configured to acquire touch information generated when a user manipulates the pressure sensing switch when the electric rear door is in an unlocked state. The touch information includes a first pressure value collected by the first pressure sensor, a second pressure value collected by the second pressure sensor, a first duration corresponding to the first pressure value, and a second duration corresponding to the second pressure value;
[0010] An instruction generation module, configured to generate a rear door control instruction according to the touch information;
[0011] A first control module, configured to control the electric rear door based on the rear door control instruction.
[0012] Third aspect, an embodiment of the present application further provides an electronic device, which includes a processor, a memory, and a computer program stored on the memory and executable on the processor. When the computer program is executed by the processor, the above-mentioned rear door control method is implemented.
[0013] Fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the above-mentioned rear door control method is implemented.
[0014] The embodiments of the present application at least include the following technical effects:
[0015] The technical solution of the embodiment of the present application obtains touch information generated when a user manipulates a pressure sensing switch arranged at the handle position of the electric rear door, analyzes the touch information that can represent the user's manipulation intention, and obtains a rear door control instruction to control the electric rear door. Compared with the traditional method of controlling the rear door through a button, the embodiment of the present application allows the user to omit the step of finding the button when controlling the electric rear door, directly pull the handle of the electric rear door, apply pressure to the pressure sensing switch, which is more in line with the operation habit of opening and closing the door, improves the convenience of the user's control of the electric rear door, and different rear door control instructions can be generated by changing the pressure applied to the pressure sensing switch, so that the control of the electric rear door can be more flexible. Description of the Drawings
[0016] To more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the accompanying drawings required for the description of the embodiments or the prior art.
[0017] Figure 1 is one of the schematic flowcharts of the rear door control method provided by the embodiments of the present application;
[0018] Figure 2 is the schematic structural diagram of the pressure sensing switch provided by the embodiments of the present application;
[0019] Figure 3 is the second schematic flowchart of the rear door control method provided by the embodiments of the present application;
[0020] Figure 4 is the schematic structural diagram of the rear door control device provided by the embodiments of the present application;
[0021] Figure 5 is the block diagram of the electronic device provided by the embodiments of the present application. Detailed implementation manners
[0022] The following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are some but not all of the embodiments of the present application. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present application without creative efforts shall fall within the protection scope of the present application.
[0023] It should be understood that the "one embodiment" or "an embodiment" mentioned throughout the specification means that a specific feature, structure, or characteristic related to the embodiment is included in at least one embodiment of the present application. Therefore, the appearances of "in one embodiment" or "in an embodiment" throughout the specification do not necessarily refer to the same embodiment. In addition, these specific features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
[0024] In various embodiments of the present application, it should be understood that the sequence numbers of the following processes do not mean the order of execution. The execution order of each process should be determined according to its function and internal logic, and shall not constitute any limitation to the implementation process of the embodiments of the present application.
[0025] The embodiments of the present application provide a rear door control method, as Figure 1 shown, the method includes:
[0026] Step 101: When the electric rear door is in the unlocked state, obtain the touch information generated when the user manipulates the pressure sensing switch. The touch information includes the first pressure value collected by the first pressure sensor, the second pressure value collected by the second pressure sensor, the first duration corresponding to the first pressure value, and the second duration corresponding to the second pressure value.
[0027] The rear door control method provided by the embodiment of the present application is applied to a rear door control system. The rear door control system includes an electric rear door and a pressure sensing switch. The pressure sensing switch is disposed at the handle position of the electric rear door. As Figure 2 shown, the pressure sensing switch 200 includes a switch skeleton 201, and a first pressure sensor 202 and a second pressure sensor 203 respectively disposed at both ends of the switch skeleton 201. Specifically, the pressure sensing switch may be disposed on the handle or inside the handle box. When the electric rear door is unlocked, the rear door control system automatically activates the rear door pressure sensing switch function. At this time, the user can control the opening and closing of the rear door through the pressure sensing switch. When the electric rear door is in the locked state, the rear door pressure sensing switch function is in the closed state. At this time, the user cannot control the opening and closing of the rear door through the pressure sensing switch.
[0028] Specifically, after the rear door pressure sensing switch function is activated, since the pressure sensor can collect the pressure applied by the user to the pressure sensing switch, and the first pressure sensor and the second pressure sensor are respectively disposed at the upper and lower ends of the switch skeleton, when the user pulls the handle of the rear door upward or downward with the hand, a force will be applied to the switch skeleton at the handle position. Therefore, the rear door control system can detect whether the user manipulates the pressure sensing switch through the first pressure sensor and the second pressure sensor. When the first pressure sensor and / or the second pressure sensor detects a pressure value, it is determined that the user manipulates the pressure sensing switch. At this time, the rear door control system starts to obtain the touch information generated when the user operates the pressure sensing switch. The touch information includes the first pressure value collected by the first pressure sensor, the second pressure value collected by the second pressure sensor, the first duration corresponding to the first pressure value, and the second duration corresponding to the second pressure value. The first pressure value is the pressure value received at the first end of the switch skeleton, and the second pressure value is the pressure value received at the second end of the switch skeleton.
[0029] Through the pressure sensing switch, when the user needs to open the rear door, the user can directly pull the handle of the electric rear door upward with the hand. When the user needs to close the rear door, the user can directly pull the handle of the electric rear door downward with the hand. Compared with the traditional method of controlling the rear door through a button, it is more in line with the habit of opening and closing the door, and omits the step of finding the button, which is more convenient.
[0030] Step 102: Generate a rear door control instruction according to the touch information.
[0031] After the rear door control system obtains the touch information including the first pressure value collected by the first pressure sensor, the second pressure value collected by the second pressure sensor, the first duration corresponding to the first pressure value, and the second duration corresponding to the second pressure value, since this touch information reflects the user's operation intention on the rear door, the user's operation intention can be determined by analyzing the content corresponding to the touch information, and then the corresponding rear door control instruction can be generated. For example, the user's operation intention can be to close the rear door, open the rear door, adjust the rear door, etc. The adjustment speed of the rear door can also be determined by the magnitude of the pressure value. The greater the pressure value, the faster the adjustment speed of the rear door. Specifically, it needs to be determined by analyzing the touch information.
[0032] Step 103: Control the electric rear door based on the rear door control instruction.
[0033] After determining the rear door control instruction, the rear door control system can control the electric rear door based on this rear door control instruction.
[0034] In the embodiment of the present application, by obtaining the touch information generated when the user manipulates the pressure sensor switch set at the handle position of the electric rear door and analyzing the touch information that can represent the user's manipulation intention, a rear door control instruction is obtained to control the electric rear door. Compared with the traditional method of controlling the rear door through buttons, in the embodiment of the present application, when the user needs to control the electric rear door, the step of finding the button can be omitted. The user can directly pull the handle of the electric rear door and apply pressure to the pressure sensor switch, which is more in line with the operating habit of opening and closing the door, improves the convenience of the user's manipulation of the electric rear door, and different rear door control instructions can be generated by changing the pressure applied to the pressure sensor switch, so that the control of the electric rear door can be made more flexible.
[0035] The following introduces how to generate a rear door control instruction according to the touch information. Generating a rear door control instruction according to the touch information in step 102 includes:
[0036] Determine the touch type according to the touch information, where the touch type includes: closing the rear door, opening the rear door, setting the opening position of the rear door, adjusting the rear door upward, and adjusting the rear door downward;
[0037] Generate the rear door control instruction according to the touch information and the touch type.
[0038] In this embodiment, the rear door control system can determine the touch type by analyzing the obtained touch information. The touch types here at least include: closing the rear door, opening the rear door, setting the opening position of the rear door, adjusting the rear door upward, and adjusting the rear door downward. Among them, closing the rear door means closing the rear door in the open state; opening the rear door means opening the rear door in the closed state to a preset opening position, where the preset opening position is the default opening position of the rear door; setting the opening position of the rear door means modifying the default opening position of the rear door to customize the opening position of the rear door; adjusting the rear door upward means adjusting the rear door upward by a certain distance; and adjusting the rear door downward means adjusting the rear door downward by a certain distance.
[0039] After determining the touch type, for different touch types, the types of corresponding control parameters are different. For the same touch type, the content corresponding to its control parameters can be different. Therefore, it is necessary to further determine the corresponding rear door control command based on the touch type and touch information.
[0040] The above implementation scheme of this application can determine the corresponding touch type based on the touch information, providing a guarantee for subsequent determination of the rear door control command based on the touch type and touch information.
[0041] In an optional embodiment of this application, determining the touch type according to the touch information includes:
[0042] When the second pressure value is less than the preset pressure threshold, the first pressure value is greater than or equal to the preset pressure threshold, and the first duration corresponding to the first pressure value is greater than the first preset duration and less than the second preset duration, it is determined that the touch type is closing the rear door;
[0043] When the first pressure value is less than the preset pressure threshold, the second pressure value is greater than or equal to the preset pressure threshold, and the second duration corresponding to the second pressure value is greater than the first preset duration and less than the second preset duration, it is determined that the touch type is opening the rear door;
[0044] When both the first pressure value and the second pressure value are greater than or equal to the preset pressure threshold, and the first duration corresponding to the first pressure value and the second duration corresponding to the second pressure value are both greater than the third preset duration, it is determined that the touch type is setting the opening position of the rear door;
[0045] When the second pressure value is less than the preset pressure threshold, the first pressure value is greater than or equal to the preset pressure threshold, and the first duration corresponding to the first pressure value is greater than the second preset duration, it is determined that the touch type is adjusting the rear door downward;
[0046] When the first pressure value is less than a preset pressure threshold, the second pressure value is greater than or equal to the preset pressure threshold, and the second duration corresponding to the second pressure value is greater than a second preset duration, it is determined that the touch type is the upward adjustment of the rear door.
[0047] In the embodiment of the present application, the pressure sensing switch is arranged at the position of the handle of the electric rear door. The first pressure sensor and the second pressure sensor are respectively arranged at both ends of the switch skeleton. The first pressure sensor is arranged at the first end of the switch skeleton, and the second pressure sensor is arranged at the second end of the switch skeleton. When the user pulls down the rear door handle, pressure is applied to the first end of the switch skeleton, and the first pressure sensor can collect the pressure value. When the user pulls up the rear door handle, pressure is applied to the second end of the switch skeleton, and the second pressure sensor can collect the pressure value. To avoid accidental touch, a preset pressure threshold can be set. When the pressure value detected by the pressure sensor is less than the preset pressure threshold, it is determined that the end surface corresponding to the pressure sensor is not pressed. When the pressure value detected by the pressure sensor is greater than or equal to the preset pressure threshold, it is determined that the end surface corresponding to the pressure sensor is pressed.
[0048] In the embodiment of the present application, by identifying the touch information, the corresponding touch type can be determined. Next, how to determine the touch type will be introduced in combination with specific usage scenarios.
[0049] When the rear door is in the open state, the user can close the rear door by pulling down the rear door handle with the hand and then quickly releasing it. When the rear door is in the closed state, the user can open the rear door by pulling up the rear door handle with the hand and then quickly releasing it. The user can also adjust the rear door downward by continuously pulling down the rear door handle with the hand, and can also adjust the rear door upward by continuously pulling up the rear door handle with the hand. In addition, when opening the rear door, the rear door will open upward and stop at the default rear door opening position. The user can modify the default rear door opening position to customize a rear door opening position. When the user adjusts the rear door to the customized rear door opening position, the two ends of the switch skeleton at the rear door handle position can be pressed simultaneously for a certain duration to set the rear door opening position.
[0050] In summary, when the second pressure value is less than the preset pressure threshold, the first pressure value is greater than or equal to the preset pressure threshold, and the first duration corresponding to the first pressure value is greater than the first preset duration and less than the second preset duration, it can be determined that the touch type is closing the rear door; when the first pressure value is less than the preset pressure threshold, the second pressure value is greater than or equal to the preset pressure threshold, and the second duration corresponding to the second pressure value is greater than the first preset duration and less than the second preset duration, it is determined that the touch type is opening the rear door; when both the first pressure value and the second pressure value are greater than or equal to the preset pressure threshold, and the first duration corresponding to the first pressure value and the second duration corresponding to the second pressure value are both greater than the third preset duration, it is determined that the touch type is setting the rear door opening position; when the second pressure value is less than the preset pressure threshold, the first pressure value is greater than or equal to the preset pressure threshold, and the first duration corresponding to the first pressure value is greater than the second preset duration, it is determined that the touch type is lowering the rear door; when the first pressure value is less than the preset pressure threshold, the second pressure value is greater than or equal to the preset pressure threshold, and the second duration corresponding to the second pressure value is greater than the second preset duration, it is determined that the touch type is raising the rear door.
[0051] In the above implementation of the present application, by analyzing the first pressure value, the second pressure value, the first duration, and the second duration, the control intention of the pressure sensing switch at the position of the handle manipulated by the user can be recognized, so as to determine the touch type, and further realize the control of the electric rear door, improving the convenience of operating the electric rear door.
[0052] In an optional embodiment of the present application, generating the rear door control instruction according to the touch information and the touch type includes:
[0053] When the touch type is closing the rear door, generating a rear door closing control instruction, and the rear door closing control instruction is used to control the electric rear door to close at a first preset speed;
[0054] When the touch type is opening the rear door, generating a rear door opening control instruction, and the rear door opening control instruction is used to control the electric rear door to open to a preset opening position at a first preset speed;
[0055] When the touch type is setting the rear door opening position, obtaining the current position of the rear door, and generating a rear door opening position setting instruction, and the rear door opening position setting instruction is used to replace the preset opening position with the current position of the rear door;
[0056] When the touch type is to adjust the rear door downward, determine a first moving speed corresponding to the first pressure value, and generate a rear door downward adjustment control instruction, where the rear door downward adjustment control instruction is used to control the electric rear door to run in the rear door closing direction at the first moving speed;
[0057] When the touch type is to adjust the rear door upward, determine a second moving speed corresponding to the second pressure value, and generate a rear door upward adjustment control instruction, where the rear door upward adjustment control instruction is used to control the electric rear door to run in the rear door opening direction at the second moving speed.
[0058] Among them, determining the first moving speed corresponding to the first pressure value includes: determining the first moving speed corresponding to the first pressure value according to the pre-determined correspondence between the pressure value and the rear door moving speed; determining the second moving speed corresponding to the second pressure value includes: determining the first moving speed corresponding to the first pressure value according to the pre-determined correspondence between the pressure value and the rear door moving speed.
[0059] Specifically, after determining the touch type, a corresponding rear door control instruction can be further generated according to the touch type and touch information, and the rear door control instruction is different according to different touch types.
[0060] When the touch type is to close the rear door, the rear door control instruction is a rear door closing control instruction for controlling the electric rear door to close at a first preset speed, where the first preset speed is the default moving speed of the pre-set rear door. When the rear door control system determines that the touch type is to close the rear door based on the acquired touch information, a rear door closing control instruction is generated, and the electric rear door is controlled to close at the first preset speed. It should be noted that if the rear door control system detects that the rear door is already in the closed position, the rear door closing control instruction is ignored.
[0061] When the touch type is to open the rear door, the rear door control instruction is a rear door opening control instruction for controlling the electric rear door to open to a preset opening position at a first preset speed, where the first preset speed is the default moving speed of the pre-set rear door. When the rear door control system determines that the touch type is to open the rear door based on the acquired touch information, a rear door opening control instruction is generated, and the electric rear door is controlled to open at the first preset speed, and stops running when the rear door reaches the preset opening position. It should be noted that if the rear door control system detects that the rear door is higher than the preset rear door opening position, the rear door opening control instruction is ignored.
[0062] When the touch type is to set the opening position of the rear door, it is necessary to obtain the current position of the rear door and generate a rear door opening position setting instruction for replacing the preset opening position with the current position of the rear door. When the rear door control system determines that the touch type is to set the opening position of the rear door based on the obtained touch information, it obtains the current position of the rear door, generates a rear door opening position setting instruction, and replaces the preset opening position with the current position of the rear door based on this rear door opening position setting instruction, realizing the re - setting of the rear door opening position and making the opening height of the rear door not limited to the default fixed height.
[0063] When the touch type is to adjust the rear door downward, the first moving speed corresponding to the first pressure value can be determined according to the pre - determined correspondence between the pressure value and the rear door moving speed, and a rear door downward adjustment control instruction for controlling the electric rear door to run in the rear door closing direction at the first moving speed is generated. When the touch type is to adjust the rear door upward, the second moving speed corresponding to the second pressure value can be determined according to the pre - determined correspondence between the pressure value and the rear door moving speed, and a rear door upward adjustment control instruction for controlling the electric rear door to run in the rear door opening direction at the second moving speed is generated. Among them, in the pre - determined correspondence between the pressure value and the rear door moving speed, multiple levels can be set. For example, 3 levels can be set. When the pressure value is greater than the preset pressure threshold and less than the first value, it corresponds to the first level. When the pressure value is between the first value and the second value, it corresponds to the second level. When the pressure value is greater than the second value, it corresponds to the third level. The rear door moving speed of the first level is the first speed, the rear door moving speed of the second level is the second speed, and the rear door moving speed of the third level is the third speed. The third speed is greater than the second speed, and the second speed is greater than the first speed. Based on this, the user can adjust the moving speed of the rear door by changing the magnitude of the force applied to the pressure sensor, and when the forces applied to the pressure sensor are all less than the preset pressure threshold, the rear door will stop moving. Thus, the rear door moves with the direction and magnitude of the force applied by the user on the rear door handle, enabling the user to directly adjust the position of the rear door through the pressure - sensitive switch set at the rear door handle position according to the needs, and enabling the user to independently control the unfolding position of the rear door.
[0064] In the above - mentioned implementation scheme of the present application, corresponding rear door control instructions can be generated according to the touch type and touch information, enabling the user to directly pull the electric rear door handle and apply pressure to the pressure - sensitive switch when controlling the electric rear door, and different rear door control instructions can also be generated by changing the pressure applied to the pressure - sensitive switch, thus making the control of the electric rear door more flexible.
[0065] In an alternative embodiment of the present application, the power back door includes a back door, a power strut, and a strut motor. The strut motor is drivingly connected to the power strut. The first end of the power strut is connected to the back door, and the second end is connected to the vehicle body. A Hall sensor is provided at the power strut.
[0066] Controlling the power back door based on the back door control instruction includes:
[0067] Determining a drive current according to the back door control instruction and outputting the drive current to the strut motor, so that the strut motor operates to drive the power back door to move;
[0068] Monitoring the stroke change of the strut motor based on the Hall signal collected by the Hall sensor;
[0069] When it is monitored that the stroke change corresponding to the strut motor does not match the back door control instruction, adjusting the drive current according to the Hall signal.
[0070] Specifically, the power back door includes a back door, a power strut, and a strut motor. Among them, the first end of the power strut is connected to the back door, the second end is connected to the vehicle body, the power strut and the strut motor are drivingly connected. The back door control system can drive the power strut connected to it to expand and contract by outputting a drive current to the strut motor, thereby driving the lifting of the back door connected to the power strut to realize the opening and closing of the back door. A Hall sensor is provided at the power strut, and the Hall sensor is used to feedback the collected Hall signal to the back door control system. When controlling the power back door, the drive current output to the strut motor can be determined according to the back door control instruction. The stroke change corresponding to the strut motor can be monitored based on the Hall signal collected by the Hall sensor. When it is monitored that the stroke change corresponding to the strut motor does not match the back door control instruction, it indicates that the deviation between the actual moving speed of the current back door and the moving speed carried in the back door control instruction is greater than the preset threshold. At this time, the drive current can be adjusted according to the Hall signal, so that the deviation between the actual moving speed of the back door and the moving speed carried in the back door control instruction is less than the preset threshold.
[0071] In the above implementation of the present application, by monitoring the actual moving speed of the back door based on the Hall sensor when controlling the movement of the power back door, the drive current output to the strut motor can be adjusted when the deviation is large, so that the back door operates at the moving speed carried in the back door control instruction.
[0072] In an alternative embodiment of the present application, the back door control system includes a speaker, and the speaker can be arranged on the back door. The method further includes:
[0073] Determine a target prompt sound that matches the rear door control instruction;
[0074] When controlling the electric rear door based on the rear door control instruction, control the speaker to play the target prompt sound.
[0075] In this embodiment, at least one rear door operation prompt sound can be preset. Specifically, a corresponding prompt sound can be set for each touch type. After the rear door control system generates a rear door control instruction, it can obtain the target prompt sound that matches the touch type corresponding to the rear door control instruction, so that when the rear door control system executes the rear door control instruction, the target prompt sound can be played.
[0076] In addition, for the cases where the touch types are to adjust the rear door upward and downward, different prompt sounds can also be set based on the adjustment speed of the rear door. The faster the speed, the more rapid the prompt sound.
[0077] In the above implementation solution of the present application, by determining the target prompt sound that matches the rear door control instruction and controlling the speaker to play the target prompt sound when executing the rear door control instruction, enabling the user to determine that the operation they made is being executed based on the prompt sound, the user experience can be improved.
[0078] Next, the overall implementation process of the embodiment of the present application will be introduced. As Figure 3 shown, it includes:
[0079] S301, the user applies pressure to the pressure sensing switch according to the need.
[0080] S302, the pressure sensing switch outputs touch information to the rear door controller.
[0081] S303, the rear door controller generates a rear door control instruction according to the touch information
[0082] S304, the rear door controller outputs a driving current to the electric rear door based on the rear door control instruction.
[0083] S305, the electric rear door feeds back a Hall signal to the rear door controller
[0084] S306, the rear door controller adjusts the output driving current according to the Hall signal.
[0085] In summary, in the above embodiments of the present application, by obtaining the touch information generated when the user manipulates the pressure sensing switch set at the handle position of the electric rear door, and analyzing the touch information that can represent the user's manipulation intention, a rear door control instruction is obtained to control the electric rear door. Compared with the traditional method of controlling the rear door through a button, in the embodiments of the present application, when the user needs to control the electric rear door, the step of finding the button can be omitted, and the user can directly pull the handle of the electric rear door and apply pressure to the pressure sensing switch, which is more in line with the operation habit of opening and closing the door, improves the convenience of the user's manipulation of the electric rear door, and different rear door control instructions can be generated by changing the pressure applied to the pressure sensing switch, so that the control of the electric rear door can be made more flexible.
[0086] The above introduces the rear door control method provided by the embodiments of the present application. Next, the rear door control device provided by the embodiments of the present application will be introduced in conjunction with the accompanying drawings.
[0087] As Figure 4 shown, an embodiment of the present invention further provides a rear door control device, which is applied to a rear door control system. The rear door control system includes an electric rear door and a pressure sensing switch. The pressure sensing switch is set at the handle position of the electric rear door. The pressure sensing switch includes a switch skeleton, a first pressure sensor and a second pressure sensor respectively arranged at both ends of the switch skeleton. The device includes:
[0088] An acquisition module 401, configured to obtain touch information generated when the user manipulates the pressure sensing switch when the electric rear door is in an unlocked state. The touch information includes a first pressure value collected by the first pressure sensor, a second pressure value collected by the second pressure sensor, a first duration corresponding to the first pressure value, and a second duration corresponding to the second pressure value.
[0089] An instruction generation module 402, configured to generate a rear door control instruction according to the touch information.
[0090] A first control module 403, configured to control the electric rear door based on the rear door control instruction.
[0091] Optionally, the instruction generation module includes:
[0092] A first determination sub-module, configured to determine a touch type according to the touch information. The touch type includes: closing the rear door, opening the rear door, setting the opening position of the rear door, adjusting the rear door upward, and adjusting the rear door downward.
[0093] A generation sub-module, configured to generate the rear door control instruction according to the touch information and the touch type.
[0094] Optionally, the first determination sub-module includes:
[0095] A first determination unit, configured to determine that the touch type is closing the rear door when the second pressure value is less than a preset pressure threshold, the first pressure value is greater than or equal to the preset pressure threshold, and the first duration corresponding to the first pressure value is greater than a first preset duration and less than a second preset duration;
[0096] A second determination unit, configured to determine that the touch type is opening the rear door when the first pressure value is less than the preset pressure threshold, the second pressure value is greater than or equal to the preset pressure threshold, and the second duration corresponding to the second pressure value is greater than the first preset duration and less than the second preset duration;
[0097] A third determination unit, configured to determine that the touch type is setting the rear door opening position when both the first pressure value and the second pressure value are greater than or equal to the preset pressure threshold, and both the first duration corresponding to the first pressure value and the second duration corresponding to the second pressure value are greater than a third preset duration;
[0098] A fourth determination unit, configured to determine that the touch type is lowering the rear door when the second pressure value is less than the preset pressure threshold, the first pressure value is greater than or equal to the preset pressure threshold, and the first duration corresponding to the first pressure value is greater than the second preset duration;
[0099] A fifth determination unit, configured to determine that the touch type is raising the rear door when the first pressure value is less than the preset pressure threshold, the second pressure value is greater than or equal to the preset pressure threshold, and the second duration corresponding to the second pressure value is greater than the second preset duration.
[0100] Optionally, the generation sub-module includes:
[0101] A first generation unit, configured to generate a rear door closing control instruction for controlling the electric rear door to close at a first preset speed when the touch type is closing the rear door;
[0102] A second generation unit, configured to generate a rear door opening control instruction for controlling the electric rear door to open to a preset opening position at a first preset speed when the touch type is opening the rear door;
[0103] A third generation unit, configured to obtain the current position of the rear door and generate a rear door opening position setting instruction for replacing the preset opening position with the current position of the rear door when the touch type is setting the rear door opening position;
[0104] A fourth generation unit, configured to determine a first moving speed corresponding to the first pressure value when the touch type is to adjust the rear door downward, and generate a rear door downward adjustment control instruction for controlling the electric rear door to run in the rear door closing direction at the first moving speed;
[0105] A fifth generation unit, configured to determine a second moving speed corresponding to the second pressure value when the touch type is to adjust the rear door upward, and generate a rear door upward adjustment control instruction for controlling the electric rear door to run in the rear door opening direction at the second moving speed.
[0106] Optionally, the fourth generation unit is further configured to: determine the first moving speed corresponding to the first pressure value according to a pre-determined correspondence between the pressure value and the rear door moving speed;
[0107] The fifth generation unit is further configured to: determine the first moving speed corresponding to the first pressure value according to a pre-determined correspondence between the pressure value and the rear door moving speed.
[0108] Optionally, the electric rear door includes a rear door, an electric strut, and a strut motor. The strut motor is drivingly connected to the electric strut. The first end of the electric strut is connected to the rear door, and the second end is connected to the vehicle body. A Hall sensor is provided at the electric strut;
[0109] The first control module includes:
[0110] A second determination sub-module, configured to determine a drive current according to the rear door control instruction and output the drive current to the strut motor to cause the strut motor to operate and drive the electric rear door to run;
[0111] A monitoring sub-module, configured to monitor the stroke change of the strut motor based on the Hall signal collected by the Hall sensor;
[0112] An adjustment sub-module, configured to adjust the drive current according to the Hall signal when it is detected that the stroke change corresponding to the strut motor does not match the rear door control instruction.
[0113] Optionally, the rear door control system includes a speaker, and the device further includes:
[0114] A determination module, configured to determine a target prompt sound matching the rear door control instruction;
[0115] The second control module is configured to control the speaker to play the target prompt sound when controlling the electric rear door based on the rear door control instruction.
[0116] The rear door control device provided by this application obtains the touch information generated when the user manipulates the pressure sensor switch set at the handle position of the electric rear door, analyzes the touch information that can represent the user's manipulation intention, and obtains a rear door control instruction to control the electric rear door. Compared with the traditional method of controlling the rear door through buttons, in the embodiments of this application, when the user needs to control the electric rear door, the step of searching for the button can be omitted, and the user can directly pull the handle of the electric rear door and apply pressure to the pressure sensor switch, which is more in line with the operation habit of opening and closing the door, improves the convenience of the user's manipulation of the electric rear door, and different rear door control instructions can be generated by changing the pressure applied to the pressure sensor switch, so that the control of the electric rear door can be more flexible.
[0117] The embodiments of this application also provide an electronic device, including: a processor, a memory, and a computer program stored on the memory and executable on the processor. When the computer program is executed by the processor, it implements each process of the above-mentioned embodiment of the rear door control method and can achieve the same technical effect. To avoid repetition, it will not be elaborated here.
[0118] For example, Figure 5 The schematic physical structure diagram of an electronic device is shown.
[0119] As Figure 5 shown, the electronic device may include: a processor 510, a communication interface 520, a memory 530, and a communication bus 540. Among them, the processor 510, the communication interface 520, and the memory 530 complete mutual communication through the communication bus 540. The processor 510 can call the logical instructions in the memory 530. The processor 510 is configured to perform the following steps: when the electric rear door is in an unlocked state, obtain the touch information generated when the user manipulates the pressure sensor switch, where the touch information includes the first pressure value collected by the first pressure sensor, the second pressure value collected by the second pressure sensor, the first duration corresponding to the first pressure value, and the second duration corresponding to the second pressure value; generate a rear door control instruction according to the touch information; and control the electric rear door based on the rear door control instruction.
[0120] In addition, when the logical instructions in the aforementioned memory 530 are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of this application. The aforementioned storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), magnetic disks, or optical discs that can store program codes.
[0121] The embodiments of this application also provide a computer-readable storage medium. A computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, it implements each process of the above-described rear door control method embodiment and can achieve the same technical effects. To avoid repetition, it will not be elaborated here.
[0122] It should be noted that in this article, the term "including", "comprising", or any other variant thereof is intended to cover non-exclusive inclusion, such that a process, method, article, or device including a series of elements not only includes those elements but also includes other elements not explicitly listed, or further includes elements inherent to such a process, method, article, or device. Without more limitations, an element defined by the statement "including one..." does not exclude the existence of additional identical elements in the process, method, article, or device including that element.
[0123] Through the description of the above embodiments, those skilled in the art can clearly understand that the above-described embodiment methods can be implemented by means of software plus a necessary general hardware platform. Of course, they can also be implemented by hardware, but in many cases, the former is a better implementation method. Based on such an understanding, the technical solution of this invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disc) and includes several instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in various embodiments of this invention.
[0124] The embodiments of the present invention have been described above in conjunction with the accompanying drawings. However, the present invention is not limited to the above specific embodiments. The above specific embodiments are merely illustrative and not restrictive. Under the inspiration of the present invention, those of ordinary skill in the art can also make many forms without departing from the spirit of the present invention and the scope protected by the claims, and all of them fall within the protection scope of the present invention.
[0125] Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed in the embodiments of the present invention can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present invention.
[0126] Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, devices, and units described above can refer to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
[0127] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the units is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed couplings or direct couplings or communication connections to each other can be through some interfaces. The indirect couplings or communication connections of the devices or units can be in electrical, mechanical, or other forms.
[0128] The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they can be located in one place, or distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0129] In addition, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit.
[0130] When the above-mentioned functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on such understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, ROM, RAM, magnetic disks, or optical discs.
[0131] As described above, the above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art within the technical scope disclosed by the present invention can easily think of changes or substitutions, which should all be covered by the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims
1. A rear door control method, characterized in that, Applied to a rear door control system, the rear door control system includes an electric rear door and a pressure sensing switch. The pressure sensing switch is arranged at the handle position of the electric rear door. The pressure sensing switch includes a switch skeleton, and a first pressure sensor and a second pressure sensor respectively arranged at both ends of the switch skeleton; The method includes: When the electric rear door is in the unlocked state, obtain the touch information generated when the user manipulates the pressure sensing switch. The touch information includes the first pressure value collected by the first pressure sensor, the second pressure value collected by the second pressure sensor, the first duration corresponding to the first pressure value, and the second duration corresponding to the second pressure value; Generate a rear door control command according to the touch information; Based on the rear door control command, control the electric rear door.
2. The back door control method according to claim 1, wherein, The generating a rear door control command according to the touch information includes: Determine the touch type according to the touch information. The touch type includes: closing the rear door, opening the rear door, setting the opening position of the rear door, adjusting the rear door upward, and adjusting the rear door downward; Generate the rear door control command according to the touch information and the touch type.
3. The rear door control method according to claim 2, wherein The determining the touch type according to the touch information includes: When the second pressure value is less than a preset pressure threshold, the first pressure value is greater than or equal to the preset pressure threshold, and the first duration corresponding to the first pressure value is greater than a first preset duration and less than a second preset duration, determine that the touch type is closing the rear door; When the first pressure value is less than a preset pressure threshold, the second pressure value is greater than or equal to the preset pressure threshold, and the second duration corresponding to the second pressure value is greater than a first preset duration and less than a second preset duration, determine that the touch type is opening the rear door; When both the first pressure value and the second pressure value are greater than or equal to the preset pressure threshold, and the first duration corresponding to the first pressure value and the second duration corresponding to the second pressure value are both greater than a third preset duration, determine that the touch type is setting the opening position of the rear door; When the second pressure value is less than a preset pressure threshold, the first pressure value is greater than or equal to the preset pressure threshold, and the first duration corresponding to the first pressure value is greater than the second preset duration, determine that the touch type is adjusting the rear door downward; When the first pressure value is less than a preset pressure threshold, the second pressure value is greater than or equal to the preset pressure threshold, and the second duration corresponding to the second pressure value is greater than the second preset duration, determine that the touch type is adjusting the rear door upward.
4. The back door control method according to claim 2, characterized in that, The generating the rear door control command according to the touch information and the touch type includes: When the touch type is closing the rear door, generate a rear door closing control command, and the rear door closing control command is used to control the electric rear door to close at a first preset speed; When the touch type is to open the rear door, a rear door opening control instruction is generated, and the rear door opening control instruction is used to control the electric rear door to open to a preset opening position at a first preset speed; When the touch type is to set the rear door opening position, the current position of the rear door is obtained, and a rear door opening position setting instruction is generated. The rear door opening position setting instruction is used to replace the preset opening position with the current position of the rear door; When the touch type is to adjust the rear door downward, a first moving speed corresponding to the first pressure value is determined, and a rear door downward adjustment control instruction is generated. The rear door downward adjustment control instruction is used to control the electric rear door to run in the rear door closing direction at the first moving speed; When the touch type is to adjust the rear door upward, a second moving speed corresponding to the second pressure value is determined, and a rear door upward adjustment control instruction is generated. The rear door upward adjustment control instruction is used to control the electric rear door to run in the rear door opening direction at the second moving speed.
5. The back door control method according to claim 4, wherein Determining the first moving speed corresponding to the first pressure value includes: Determining the first moving speed corresponding to the first pressure value according to the pre-determined correspondence between the pressure value and the rear door moving speed; Determining the second moving speed corresponding to the second pressure value includes: Determining the first moving speed corresponding to the first pressure value according to the pre-determined correspondence between the pressure value and the rear door moving speed.
6. The rear door control method according to claim 1, wherein The electric rear door includes a rear door, an electric strut, and a strut motor. The strut motor is drivingly connected to the electric strut. The first end of the electric strut is connected to the rear door, and the second end is connected to the vehicle body. A Hall sensor is provided at the electric strut; Controlling the electric rear door based on the rear door control instruction includes: Determining a drive current according to the rear door control instruction, and outputting the drive current to the strut motor so that the strut motor rotates to drive the electric rear door to operate; Monitoring the stroke change of the strut motor based on the Hall signal collected by the Hall sensor; When it is monitored that the stroke change corresponding to the strut motor does not match the rear door control instruction, the drive current is adjusted according to the Hall signal.
7. The back door control method according to claim 1, characterized in that The rear door control system includes a speaker, and the method further includes: Determining a target prompt sound matching the rear door control instruction; When controlling the electric rear door based on the rear door control instruction, controlling the speaker to play the target prompt sound.
8. A rear door control device, characterized in that Applied to a rear door control system, the rear door control system includes an electric rear door and a pressure sensing switch. The pressure sensing switch is arranged at the handle position of the electric rear door. The pressure sensing switch includes a switch skeleton, and a first pressure sensor and a second pressure sensor respectively arranged at both ends of the switch skeleton; includes: An acquisition module, configured to acquire touch information generated when a user operates the pressure sensing switch when the electric rear door is in an unlocked state, where the touch information includes a first pressure value collected by the first pressure sensor, a second pressure value collected by the second pressure sensor, a first duration corresponding to the first pressure value, and a second duration corresponding to the second pressure value; An instruction generation module, configured to generate a rear door control instruction according to the touch information; A first control module, configured to control the electric rear door based on the rear door control instruction.
9. An electronic device, characterized in that, It includes a processor, a memory, and a computer program stored on the memory and executable on the processor. When the computer program is executed by the processor, it implements the rear door control method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, A computer program is stored on the computer-readable storage medium. When the computer program is executed by the processor, it implements the rear door control method according to any one of claims 1 to 7.