Door control method, device, equipment and storage medium
By projecting the augmented reality projection area at the vehicle door and detecting the key position, the door opening and closing is automatically controlled, which solves the problem of poor manual operation of traditional vehicles, and improves user experience and operation convenience.
Patent Information
- Application Number
- CN202211472084.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-23
- Publication Date
- 2024-11-19
- Estimated Expiration
- 2042-11-23
AI Technical Summary
Traditional vehicles require users to manually unlock and operate the doors, resulting in poor convenience and affecting the user experience.
By projecting an augmented reality projection area at the vehicle door, detecting the position information of the user's key, and automatically controlling the door opening and closing under preset conditions, providing intuitive interactive scenes and convenient door operation.
Improve the convenience and user experience of door control, users can intuitively understand the opening timing of the door and achieve safe and labor-saving door operation through automatic control.
Smart Images

Figure CN115653442B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of vehicle control technology, and in particular to a vehicle door control method, device, equipment and storage medium. Background Art
[0002] Door control systems are common control systems in modern vehicles. With the rapid development of science and technology, intelligent door control technology is being widely used in various high-end and intelligent vehicles.
[0003] Traditional vehicles require users to manually unlock the vehicle with the car key and then manually open or close the door, which is inconvenient and affects the user experience. Summary of the invention
[0004] The present invention provides a vehicle door control method, device, equipment and storage medium to solve the limitations brought by manual control of the vehicle door opening and closing, realize automatic control of the vehicle door, and improve the convenience of vehicle door control and user experience.
[0005] According to one aspect of the present invention, there is provided a vehicle door control method, comprising:
[0006] When it is detected that the vehicle meets a preset projection activation condition, displaying an augmented reality projection area of the vehicle;
[0007] When it is detected that the user is in the augmented reality projection area of the vehicle, obtaining the location information of the key of the vehicle;
[0008] When it is detected that the position information of the key is within a preset activation range, the door of the vehicle is controlled to open.
[0009] According to another aspect of the present invention, there is provided a vehicle door control device, comprising:
[0010] A projection area display module, configured to display an augmented reality projection area of the vehicle when it is detected that the vehicle meets a preset projection activation condition;
[0011] A location information acquisition module, used to acquire the location information of the vehicle key when detecting that the user is in the augmented reality projection area of the vehicle;
[0012] The control opening module is used to control the opening of the vehicle door when it is detected that the position information of the key is within a preset activation range.
[0013] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:
[0014] at least one processor; and
[0015] a memory communicatively connected to the at least one processor; wherein,
[0016] The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the vehicle door control method described in any embodiment of the present invention.
[0017] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the vehicle door control method described in any embodiment of the present invention when executed.
[0018] The technical solution of the embodiment of the present invention solves the limitations brought by manual control of the opening and closing of the door by projecting the augmented reality projection area on the ground at the door of the vehicle, and can determine the distance between the user and the door through the relative position relationship between the augmented reality projection area and the user, so that the user can intuitively understand the timing of door opening, and can automatically control the door based on the detected vehicle key, thereby improving the convenience of door control and the beneficial effect of user experience.
[0019] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0021] Figure 1 is a flow chart of a vehicle door control method provided according to Embodiment 1 of the present invention;
[0022] Figure 2 is a flow chart of a door control method provided according to Embodiment 2 of the present invention;
[0023] Figure 3is a structural schematic diagram of a door control device provided according to Embodiment 3 of the present invention;
[0024] Figure 4 It is a schematic diagram of the structure of an electronic device for implementing the door control method of an embodiment of the present invention. DETAILED DESCRIPTION
[0025] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0026] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0027] Embodiment 1
[0028] Figure 1 A flow chart of a vehicle door control method is provided for the first embodiment of the present invention. This embodiment is applicable to vehicle control situations. The method can be executed by a vehicle door control device. The vehicle door control device can be implemented in the form of hardware and / or software. The vehicle door control device can be configured in an electronic device. Figure 1 As shown, the method includes:
[0029] S110: When it is detected that the vehicle meets a preset projection activation condition, an augmented reality projection area of the vehicle is displayed.
[0030] The projection activation condition may be trigger information for activating the vehicle projection, such as: the vehicle has sufficient power, the projector can be turned on normally, etc., and may also be the vehicle detecting that the user enters the preset projection distance range and / or the vehicle key enters the preset projection distance range, etc. The augmented reality projection area may be a light and shadow pattern projected on the ground at the vehicle door by the vehicle through laser optical projection technology. The projected light and shadow pattern may be a projection pattern pre-entered by the developer.
[0031] Optionally, the projection area and projection range of the projected light and shadow pattern can be adjusted according to the surrounding environment of the vehicle. For example, when there are other vehicles around the vehicle, the projection area is reduced and the projection range is set closer; when there are no other vehicles around the vehicle, the projection area can be expanded and the projection range is set farther. The projection range must not exceed the maximum range value. Among them, the maximum range value of the projection range can be preset by the developer.
[0032] Optionally, when it is detected that the vehicle meets preset projection activation conditions, displaying the augmented reality projection area of the vehicle may include: when the vehicle receives trigger information to activate the vehicle projection, projecting a preset pattern on the ground at the door through laser optical projection technology to sense whether the user enters the projection range.
[0033] In an embodiment of the present invention, the augmented reality projection area of the vehicle can be implemented by an AR (Augmented Reality) projection device, or other projection technologies can be used, which is not limited in this embodiment.
[0034] S120: When it is detected that the user is in the augmented reality projection area of the vehicle, obtain location information of the key of the vehicle.
[0035] The position information of the vehicle key may be the position information of the vehicle key relative to the vehicle.
[0036] Optionally, obtaining the location information of the vehicle key when it is detected that the user is in the augmented reality projection area of the vehicle may include: when it is detected that the user steps into the augmented reality projection area of the vehicle, detecting the location information of the vehicle key relative to the vehicle.
[0037] It is understandable that when it is detected that the user is in the augmented reality projection area of the vehicle, the location information of the vehicle key is detected, and the result of the detection may be that the location information of the vehicle key is obtained, or it may be that the location information of the vehicle key is not obtained.
[0038] S130: When it is detected that the position information of the key is within a preset activation range, control the door of the vehicle to open.
[0039] The preset activation range may be understood as a spatial range in which a vehicle key can activate the vehicle.
[0040] Specifically, when it is detected that the position information of the key relative to the vehicle is within a preset activation range for activating the vehicle, the vehicle is activated and the doors of the vehicle are controlled to open automatically.
[0041] Taking into account that users often open the car door manually, optionally, the car door control method also includes: receiving door trigger information acting on the door handle, and obtaining the door lock status of the car door; controlling the opening or closing of the car door according to the door trigger information and the door lock status.
[0042] The door triggering information may be information for triggering the door switch, for example, information of a user pushing or pulling the door or information of a user using a vehicle key to open or lock the door, etc. The door lock state may include a locked state and an unlocked state.
[0043] Optionally, controlling the opening or closing of the door according to the door trigger information and the door lock status includes: when the door trigger information acting on the door handle is received, obtaining the door lock status of the door, if the door lock status of the door is unlocked, opening the door, and if the door lock status of the door is locked, keeping the door closed.
[0044] Optionally, when receiving a door control operation from a user on a door handle, if the door control operation is to open the door, the surrounding environment information can be detected, and whether there are obstacles around can be determined according to the surrounding environment information. If there are obstacles, the distance between the obstacle and the door can be further determined, and the opening degree of the door can be determined according to the distance between the obstacle and the door, thereby ensuring safety when the door is opened.
[0045] Obstacles may include other vehicles, flowers, trees, trash cans and other objects that affect the opening and closing of vehicle doors.
[0046] For example, when receiving the information that the door is opened or closed, the surrounding environment information is detected to see if there is an obstacle. If not, the door opening can be determined to be the default maximum opening, such as 70 degrees. If so, the distance between the door and the obstacle is determined. To prevent the door from colliding with other vehicles, the position of the door at a preset distance away from the obstacle is taken as the maximum door opening. It is understandable that if the obstacle itself or the position of the obstacle changes, the door opening can be updated according to the changed obstacle information.
[0047] Optionally, the door control method further includes: in the case of receiving a door control operation performed by a user on a door handle, determining a power assisting level for assisting the user in controlling the door according to the door control operation, and generating a door control assisting level according to the power assisting level to assist the user in controlling the opening or closing of the door.
[0048] The door power assist level can be understood as a level used to measure the size of the door control power assist provided when the door is opened or closed to assist in opening or closing the door. The door power assist level can be associated with information such as the strength of the door control operation, the speed of the door control operation, and the degree of the door opening. For example, a correspondence between the door power assist level and the strength of the door control operation can be established in advance. In order to adapt to different users, the door power assist level can include at least two levels.
[0049] Specifically, the door control operation of the user acting on the door handle may include the user opening the door, or the user closing the door. The power level of the door can be determined according to the door control operation. Among them, the door control operation can be obtained by a sensor set inside the vehicle, which is not described in detail here. The advantage of such a setting is that different power levels are provided according to different user objects, which can adapt to the operations of different groups of people.
[0050] Optionally, when receiving a door control operation performed by the user on the door handle, if the door control operation is for the user to close the door, the speed and strength of the power assistance may be determined according to the current opening of the door.
[0051] The embodiment of the present invention determines the power assistance level and generates door control power assistance according to the power assistance level, so that different users or scenarios can be matched with appropriate door control power assistance, allowing users to control the door safely, labor-saving and conveniently, thereby improving the user's door control experience.
[0052] The technical solution of this embodiment solves the problem of poor user experience caused by manual opening and closing of doors by projecting the augmented reality projection area on the ground at the door of the vehicle, and provides the user with an intuitive interactive scene through the relative position relationship between the augmented reality projection area and the user, so as to enable the user to intuitively understand the timing of door opening, and can automatically control the door based on the detected vehicle key.
[0053] Embodiment 2
[0054] Figure 2 This is a flow chart of a vehicle door control method provided by Embodiment 2 of the present invention, which is a further refinement of the above-mentioned embodiment. Figure 2 As shown, the method includes:
[0055] S210: When it is detected that the vehicle meets a preset projection activation condition, an augmented reality projection area of the vehicle is displayed.
[0056] S220: When it is detected that the user is in the augmented reality projection area of the vehicle, obtain location information of the vehicle key.
[0057] S230: When it is detected that the position information of the key is within a preset activation range, control the door of the vehicle to open.
[0058] S240: If there is an obstacle during the process of the vehicle door being opened or closed, the vehicle door is controlled to stop opening or closing, and a warning message is generated.
[0059] The warning information may be presented in a variety of forms, which are not limited in this embodiment, for example, it may be at least one of text, voice, and flashing lights.
[0060] For example, if there is an obstacle during the process of opening or closing the door, a text prompt can be given on the vehicle's in-vehicle display screen and / or a voice prompt can be given by the in-vehicle speaker, and the lights in the vehicle can also be controlled to flash, so as to give an early warning and remind the user in time. The advantage of such a setting is that it can give early warnings in different ways, effectively reminding the user of the existence of an obstacle, so that the user can control the door to close in time, improving the user's experience.
[0061] Optionally, if there is an obstacle, controlling the vehicle door to stop opening or closing includes: detecting whether there is an obstacle outside the vehicle based on the vehicle's door radar; if there is, determining the position of the obstacle, and controlling the vehicle door to stop opening or closing when the distance between the obstacle and the vehicle door reaches a preset collision trigger distance.
[0062] The collision trigger distance may be a pre-set distance for preventing the door from hitting an obstacle, and may be used as a trigger condition for controlling the door to stop opening or closing. This is to prevent the door from hitting an obstacle. Exemplarily, the collision trigger distance may be a value greater than or equal to 0. The specific value may be set according to actual needs, and this embodiment does not limit it.
[0063] Optionally, detecting whether there is an obstacle outside the vehicle based on a door radar of the vehicle may include: detecting whether there are obstacles outside the front and rear doors of the vehicle based on the door radar detection.
[0064] Optionally, if there is an obstacle, controlling the vehicle door to stop opening or closing includes: if it is detected that the vehicle door contacts the obstacle, controlling the vehicle door to stop opening or closing.
[0065] Optionally, if it is detected that the door contacts an obstacle, the door is controlled to stop opening or closing until the obstacle is detected to be removed, and then the door is resumed to continue opening or closing. It is understandable that when the door stops opening or closing, the door can be manually controlled by the user. For example, when the vehicle door contacts an obstacle when opening, the door stops opening. When the vehicle door clamps the user's clothes when closing, that is, when the door contacts an obstacle when closing, the vehicle stops closing the door.
[0066] Optionally, after controlling the vehicle door to stop opening or closing, it further includes: when the vehicle door is in the process of opening, controlling the vehicle door to close; when the vehicle door is in the process of closing, controlling the vehicle door to open.
[0067] Specifically, during the process of opening and closing the vehicle, the vehicle can continuously receive control instructions from the user and change the opening and closing of the door according to the control instructions from the user.
[0068] For example, after the user gets off the car, during the process of the vehicle automatically closing, the user finds that there are items left in the car and needs to return to the car to get them. Then, the car door can be controlled to open by the vehicle key. If the car door is not completely closed at this time, the car door will stop closing and automatically open based on the current car door closing progress. On the contrary, if the user mistakenly thinks that there are items left in the car and needs to return to the car to get them, the car door is completely closed at this time, and the user is re-detected to be in the augmented reality projection area of the vehicle, and the key's location information is within the preset activation range, then the car door is controlled to open automatically. However, during the process of opening the car door, the user has found that the missing items are not in the car, and does not need to enter the vehicle. The user can leave the augmented reality projection area, so that the car door stops opening automatically and automatically closes based on the current car door opening progress. The advantage of this setting is that the user does not need to repeatedly open and close the car door, which improves the user experience.
[0069] The technical solution of the embodiment of the present invention is to detect whether there is an obstacle outside the vehicle based on the door radar of the vehicle during the process of opening or closing the door, and if so, determine the position of the obstacle. When the distance between the obstacle and the door reaches a preset collision trigger distance, control the door to stop opening or closing and generate a warning message, or if it is detected that the door contacts an obstacle, control the door to stop opening or closing. The door opening and closing direction can also be changed according to new control instructions during the process of closing and opening the door, thereby effectively ensuring the safety and flexibility of automatic door control while improving user experience.
[0070] An embodiment of the present invention provides an optional example of a vehicle door control method, and the vehicle door control method specifically includes the following steps:
[0071] When it is detected that the vehicle meets a preset projection activation condition, displaying an augmented reality projection area of the vehicle;
[0072] When it is detected that the user is in the augmented reality projection area of the vehicle, obtaining the location information of the key of the vehicle;
[0073] When it is detected that the position information of the key is within a preset activation range, the door of the vehicle is controlled to open.
[0074] Specifically, the augmented reality projection area can be a pattern projected on the ground at the door through laser optical projection technology. When the TOF (time-of-flight) module detects that the user steps on the pattern, the location information of the vehicle key is obtained. If the location information of the key is within the preset activation range, a command is issued to control the door of the vehicle to open, ensuring that the user opens the door at a safe distance.
[0075] Second, in this process, in the process of automatic opening and closing of the car door, the user operation can be responded to first. Specifically, the door lock state can be obtained when the door trigger information acting on the door handle is received; according to the door trigger information and the door lock state, the door can be controlled to be opened or closed.
[0076] Specifically, the door control method of the present invention can be executed by an electronic control unit or a server with a built-in control chip. The present invention preferably uses an ECU (Electronic Control Unit, ECU) to execute. The door trigger information includes door opening trigger information and door closing trigger information. The door trigger information is sent by a door trigger switch set on the door. The door trigger switch is set on the outer handle of the door and the switch inside the car. When the door needs to be opened or closed, the door trigger switch on the door sends the door trigger information to the ECU. The ECU will receive the door trigger information, then obtain the door lock status of the door, and finally control the door.
[0077] 3. In the process of controlling the automatic opening of the car door, the anti-collision function can be realized, including non-contact anti-collision and contact anti-collision. Non-contact anti-collision: During the electric opening of the car door, the door radar will continue to detect obstacles outside the car. When the distance between the obstacle and the door reaches the preset collision trigger distance, the door will stop opening immediately and issue an early warning to remind the user. Contact anti-collision: During the electric opening of the door, when the door hits an obstacle outside the car, the door will stop opening immediately. The contact anti-collision of the door is realized through the Hall signal and current change of the electric limiter motor. The anti-collision force of the door is moderate and will not cause damage to the door.
[0078] The radar can accurately identify obstacles on the side of the vehicle that may affect the opening of the door, such as shoulders, roadbeds, trees, single or multiple road cones, walls, multiple road cones and walls at the same time, steps, other vehicles, barbed wire, flowers, etc.
[0079] 4. Door anti-pinch: During the process of controlling the automatic closing of the door, when the door is clamped by an obstacle, the door will stop closing immediately, and the door anti-pinch is achieved through the Hall signal and current change of the electric limiter motor.
[0080] The anti-pinch and contact anti-collision module is used to determine the position of the obstacle according to the preset anti-pinch / anti-collision algorithm when the door encounters an obstacle during the process of door opening and closing, so that the door moves inward or outward by a preset distance. Among them, the preset distance can be any preset distance value, and there is no specific restriction here. The preset anti-pinch / anti-collision algorithm can be a preset algorithm for calculating the position of the obstacle, and the ripple motor anti-pinch / anti-collision algorithm can be selected, and the current Hall pulse algorithm can also be selected. The principle of the ripple motor anti-pinch algorithm is that when the rotor coil moves to the edge of the magnetic field, the magnetic field becomes weak, the electromotive force decreases, and the current decreases; the commutator changes the direction of the current and re-enters the magnetic field, the magnetic field becomes stronger, the electromotive force increases, and the current increases; the rotor coil keeps rotating, the electromotive force and the current keep changing, so that ripples are constantly generated. It calculates the anti-pinch force by judging the change in motor speed, and adjusts the anti-pinch parameters in real-time learning. During manual self-learning, the door is operated from closed to open to the maximum angle, and the door is operated to the closed position after the preset time is maintained at the maximum angle position, and then the door is operated to open to the maximum angle. The method of determining the position of the obstacle according to the preset anti-pinch algorithm can be: for example, according to the preset anti-pinch algorithm, it is learned that the rotor coil generates 2000 ripples in the process of the door from closing to opening to the maximum angle. If the rotor coil encounters an obstacle when generating 1000 ripples, the position of the obstacle can be determined. The anti-pinch / anti-collision module can prevent the door from contacting the obstacle during the automatic opening / closing process, resulting in the occurrence of door failure.
[0081] 5. In the embodiment of the present invention, when the user manually opens or closes the door, the door enters the power-assist mode. The door intelligent terminal can sense the user's manual opening and closing actions and can provide different levels of operating force to adapt to the operations of different people.
[0082] 6. In the embodiments of the present invention, the communication mode between all devices or modules can be wired, wireless, or a combination of wired and wireless.
[0083] 7. In the embodiment of the present invention, the controller controls the automatic opening / closing of the door by communicating with the BCM to ensure the needs of the user and improve the user experience. The controller is connected to the car CAN bus and performs information exchange with other controllers of the vehicle through the car CAN bus. The central control screen is connected to the door controller through the car CAN bus, and then controls are performed through the interactive interface or voice control system on the central control screen. The car CAN bus is connected to a mobile terminal, such as a mobile phone, through a server, and is equipped with corresponding control software, which can also remotely control the door.
[0084] 8. In the embodiment of the present invention, the voice learning function is performed through the corresponding control software in the mobile terminal, so that the car door can be quickly controlled by voice. In the voice control module, it is necessary to learn and obtain the voice instruction set before use. Specifically, the voice signal can be collected first; then, the voice instruction set can be obtained by learning the voice instruction; and then the learned voice instruction set can be stored in the memory or server for matching the voice instruction to control the opening and closing of the car door.
[0085] Specifically, controlling the vehicle door based on voice commands may include: collecting voice signals; obtaining a pre-learned voice command set; determining whether the collected voice command exists in the pre-stored voice command set, and if the collected voice command does not exist in the voice command set, returning to execute the operation of collecting the voice signal; if the collected voice command exists in the voice command set, determining whether the vehicle condition meets the condition for controlling the vehicle door, and if so, executing the vehicle door opening and closing action in response to the voice command.
[0086] The door control method of this embodiment, when receiving the trigger information for triggering the AR projection recognition action, obtains the key position information, so as to determine the user's position, and controls the door according to the door trigger information and the different positions of the user, so as to realize the automatic opening and closing of the door. At the same time, the user can also realize the electric opening and closing of the door by operating the door handle switch or the switch in the car. When the door is opened electrically, the anti-collision function can be realized by the door radar, and an early warning is made to remind the user. During the electric closing process, if an obstacle is clamped, the anti-pinch function is triggered. At the same time, the present invention can also realize manual opening and closing. After entering the electric power-assisting mode, the door intelligent terminal can sense the user's manual switch action, and can provide three different levels of power-assisting operation force to adapt to the operation of different groups of people. When the user controls the door through the mobile terminal, the door can also be quickly opened / closed by voice control. While bringing users a unique and new experience, the present invention also solves the limitations brought by manual door opening and closing, and at the same time brings great convenience to people with limited mobility or car owners with too many items in their hands, improving convenience and user experience.
[0087] Embodiment 3
[0088] Figure 3 This is a schematic diagram of the structure of a door control device provided by Embodiment 3 of the present invention. Figure 3 As shown, the device includes: a projection area display module 310, a position information acquisition module 320 and a control opening module 330.
[0089] Among them, the projection area display module 310 is used to display the augmented reality projection area of the vehicle when it is detected that the vehicle meets the preset projection activation conditions; the position information acquisition module 320 is used to obtain the position information of the vehicle key when it is detected that the user is in the augmented reality projection area of the vehicle; the control opening module 330 is used to control the opening of the vehicle door when it is detected that the position information of the key is within the preset activation range.
[0090] The door control device provided in the embodiment of the present invention, through the projection area display module, displays the augmented reality projection area of the vehicle when it is detected that the vehicle meets the preset projection activation conditions; the position information acquisition module acquires the position information of the vehicle key when it is detected that the user is in the augmented reality projection area of the vehicle; the control opening module controls the door of the vehicle to open when it is detected that the position information of the key is within the preset activation range. The limitations of manual door opening and closing are solved. By projecting the augmented reality projection area on the ground at the door of the vehicle, an intuitive interactive scene is provided for the user. The relative position relationship between the augmented reality projection area and the user can determine the distance between the user and the door, so that the user can intuitively understand the timing of door opening, and the door can be automatically controlled based on the detected vehicle key.
[0091] Optionally, the door control device further includes:
[0092] The door control and warning module is used to control the door to stop opening or closing and generate warning information if there is an obstacle during the process of opening or closing the door.
[0093] Optionally, the warning information generation module includes: an obstacle detection unit and a door control unit. The obstacle detection unit is used to detect whether there is an obstacle outside the vehicle based on the vehicle door radar; the door control unit is used to determine the position of the obstacle if there is one, and control the door to stop opening or closing when the distance between the obstacle and the door reaches a preset collision trigger distance.
[0094] Optionally, the door control unit is specifically used for:
[0095] If it is detected that the vehicle door contacts an obstacle, the vehicle door is controlled to stop opening or closing.
[0096] Optionally, the door control device further includes: a door closing module and a door opening module.
[0097] Among them, the door closing module is used to control the door to close after the door is controlled to stop opening or closing while the door is in the process of opening; the door opening module is used to control the door to open after the door is controlled to stop opening or closing while the door is in the process of closing.
[0098] Optionally, the door control device further includes: a door lock status acquisition module and a door switch control module.
[0099] Among them, the door lock status acquisition module is used to receive the door trigger information acting on the door handle to obtain the door lock status of the door; the door switch control module is used to control the opening or closing of the door according to the door trigger information and the door lock status.
[0100] Optionally, the door control device further includes:
[0101] The power assist control module is used to determine the power assist level for assisting the user in controlling the door according to the door assist operation when receiving the door control operation performed by the user on the door handle, and generate the door control power assist according to the power assist level.
[0102] The door control device provided in the embodiment of the present invention can execute the door control method provided in any embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects of the execution method.
[0103] It is worth noting that the various units and modules included in the above-mentioned device are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the embodiments of the present invention.
[0104] Embodiment 4
[0105] Figure 4 A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0106] like Figure 4As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0107] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0108] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as a door control method.
[0109] In some embodiments, the vehicle door control method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the vehicle door control method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to execute the vehicle door control method in any other appropriate manner (e.g., by means of firmware).
[0110] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0111] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0112] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on 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.
[0113] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0114] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by 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), a blockchain network, and the Internet.
[0115] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0116] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0117] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A door control method, It is characterized in that include: When it is detected that the vehicle meets a preset projection activation condition, displaying an augmented reality projection area of the vehicle; When it is detected that the user is in the augmented reality projection area of the vehicle, obtaining the location information of the key of the vehicle; When the position information of the key is detected to be within a preset activation range, controlling the door of the vehicle to open; The method further comprises: In case of receiving a door control operation performed by a user on a door handle, determining a power assisting level for assisting the user in controlling the door according to the door control operation, and generating a door control power assist according to the power assisting level; The power assist level of the vehicle door is associated with the force of the vehicle door control operation, the speed of the vehicle door control operation and the degree of opening of the vehicle door; The method further comprises: Receiving door trigger information acting on a door handle to obtain a door lock state of the door; The door is controlled to be opened or closed according to the door trigger information and the door lock state.
2. The method according to claim 1, It is characterized in that Also includes: During the process of the vehicle door being opened or closed, if there is an obstacle, the vehicle door is controlled to stop opening or closing, and a warning message is generated.
3. The method according to claim 2, It is characterized in that If there is an obstacle, controlling the vehicle door to stop opening or closing includes: Detecting whether there is an obstacle outside the vehicle based on a door radar of the vehicle; If there is, the position of the obstacle is determined, and when the distance between the obstacle and the vehicle door reaches a preset collision trigger distance, the vehicle door is controlled to stop opening or closing.
4. The method according to claim 2, It is characterized in that If there is an obstacle, controlling the vehicle door to stop opening or closing includes: If it is detected that the vehicle door contacts an obstacle, the vehicle door is controlled to stop opening or closing.
5. The method according to claim 2, It is characterized in that After controlling the vehicle door to stop opening or closing, the method further includes: When the vehicle door is in the process of being opened, controlling the vehicle door to be closed; When the vehicle door is in the process of closing, the vehicle door is controlled to open.
6. A door control device, It is characterized in that include: A projection area display module, configured to display an augmented reality projection area of the vehicle when it is detected that the vehicle meets a preset projection activation condition; A location information acquisition module, used to acquire the location information of the vehicle key when detecting that the user is in the augmented reality projection area of the vehicle; A control opening module, used for controlling the door of the vehicle to open when detecting that the position information of the key is within a preset activation range; The door control device further includes: a power assist control module, configured to, when receiving a door control operation performed by a user on a door handle, determine a power assist level for assisting the user in controlling the door according to the door control operation, and generate a door control power assist according to the power assist level; The power assist level of the vehicle door is associated with the force of the vehicle door control operation, the speed of the vehicle door control operation and the degree of opening of the vehicle door; The vehicle door control device further includes: a door lock state acquisition module and a vehicle door switch control module; Among them, the door lock status acquisition module is used to receive the door trigger information acting on the door handle to obtain the door lock status of the door; the door switch control module is used to control the opening or closing of the door according to the door trigger information and the door lock status.
7. An electronic device, It is characterized in that The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the vehicle door control method according to any one of claims 1 to 5.
8. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the vehicle door control method according to any one of claims 1 to 5 when executed.
