Vehicle window control method and device, electronic equipment and vehicle
By monitoring the update status of the window software and using the basic software layer to control the window to the preset opening, the problem of the window glass stuck in the door frame groove during vehicle software upgrade is solved, improving the safety and reliability of the vehicle, and avoiding the The windows are damaged.
Patent Information
- Application Number
- CN202411212454.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-30
- Publication Date
- 2024-12-06
AI Technical Summary
When the vehicle software is upgraded, when the user opens the car door, there is a risk of damage due to the window glass stuck in the door frame groove, and the prior art is difficult to avoid the problem of damage to the car window.
By monitoring whether the window software is in an updated state, and using the basic software layer of the vehicle application software to control the window to a preset opening, ensuring that the window can be reduced smoothly during the software update, and avoiding the window glass stuck in the door frame groove. .
Improves the safety and reliability of the vehicle, avoids the situation where the door is unlocked and opened during window software updates, and ensures that users can open the door smoothly.
Smart Images

Figure CN119083850A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of vehicle control technology, and in particular to a vehicle window control method, device, electronic equipment and vehicle. Background Art
[0002] For models with frameless doors, when users open the door, the window glass is lowered from the door frame slot, making it easier for users to open the door. However, when the vehicle software is upgraded, the application cannot control the window lifting during the upgrade process. If the door is unlocked during the application upgrade process, there is a risk of damage to the window when the user opens the door because the window glass is stuck in the door frame slot.
[0003] In view of this, how to avoid damaging the windows when unlocking and opening the car doors during a vehicle software upgrade has become a technical problem that needs to be solved urgently. Summary of the invention
[0004] In view of this, the purpose of the present disclosure is to provide a vehicle window control method, device, electronic device and vehicle to solve the problem in the prior art that the vehicle windows are damaged when the vehicle doors are unlocked and opened during a vehicle software upgrade.
[0005] Based on the above purpose, the first aspect of the present disclosure provides a vehicle window control method, which is applied to a vehicle model with frameless doors; the method comprises:
[0006] Determine that the window software is in an updated state and monitor whether the unlocking command of the target door is received;
[0007] In response to determining that an unlocking instruction of the target door is received, the basic software layer of the vehicle application software is used to control the window of the target door to be lowered to a preset opening.
[0008] Based on the same inventive concept, the second aspect of the present disclosure provides a vehicle window control device, comprising:
[0009] A monitoring module is configured to determine whether the window software is in an update state and monitor whether an unlocking command of a target door is received;
[0010] The control module is configured to control the window of the target door to be lowered to a preset opening degree using the basic software layer of the vehicle application software in response to determining that an unlocking instruction of the target door is received.
[0011] Based on the same inventive concept, the third aspect of the present disclosure proposes an electronic device, including a memory, a processor, and a computer program stored in the memory and executable by the processor, wherein the processor implements the method as described above when executing the computer program.
[0012] Based on the same inventive concept, the fourth aspect of the present disclosure proposes a vehicle, which includes the window control device described in the second aspect or the electronic device described in the third aspect.
[0013] From the above, it can be seen that the window control method, device, electronic device and vehicle provided by the present disclosure. For models with frameless doors, when the window software is in an updating state, it is monitored whether the unlocking instruction of the target door is received. When the window software is in an updating state, the unlocking instruction of the target door is received. When the window software is in an updating state, the window software cannot be used to control the window lifting and lowering, but the basic software layer of the vehicle application software is always in a working state. Even if the window software is in an updating state, the basic software layer of the vehicle application software can be used to control the window of the target door to be lowered to a preset opening. In this way, when the user opens the frameless door, the window can be smoothly lowered even during the window software update. After the window glass is lowered from the door frame groove, it is convenient for the user to open the door, thereby improving the safety and reliability of the vehicle and avoiding the situation where the window is damaged by unlocking and opening the door when the window cannot be raised or lowered during the window software update. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] In order to more clearly illustrate the technical solutions in the present disclosure or related technologies, the drawings required for use in the embodiments or related technical descriptions are briefly introduced below. Obviously, the drawings described below are only embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0015] Figure 1 is a flow chart of a vehicle window control method according to an embodiment of the present disclosure;
[0016] Figure 2 is a structural schematic diagram of a vehicle window control device according to an embodiment of the present disclosure;
[0017] Figure 3 It is a schematic diagram of the structure of an electronic device according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0018] In order to make the objectives, technical solutions and advantages of the present disclosure more clearly understood, the present disclosure is further described in detail below in combination with specific embodiments and with reference to the accompanying drawings.
[0019] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the embodiments of the present disclosure should be understood by people with ordinary skills in the field to which the present disclosure belongs. The "first", "second" and similar words used in the embodiments of the present disclosure do not indicate any order, quantity or importance, but are only used to distinguish different components. "Including" or "comprising" and similar words mean that the elements or objects appearing before the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.
[0020] Based on the description of the background technology, in order to attract consumers and reflect the fashionable vehicle appearance, more and more vehicles are equipped with frameless doors. When the user opens the frameless door, he first performs a short drop, and the window glass is lowered from the door frame groove before the door can be opened. The frameless door greatly improves the beauty of the vehicle, but it also brings disadvantages. When the vehicle wireless firmware update (Firmware Over-The-Air, FOTA for short) is upgraded, the window application software cannot be used to control the window lifting and lowering because the application is in the upgrade process. If the user unlocks the door during the window software upgrade process, the window glass cannot be controlled during the window software upgrade process. The window glass is stuck in the door frame groove. If the user pulls the door handle hard, the window glass may be broken, and there is a risk of damaging property and scratching people.
[0021] As mentioned above, how to avoid damaging the windows by unlocking and opening the doors during a vehicle software upgrade has become an important research issue.
[0022] Based on the above description, if Figure 1 As shown, the vehicle window control method proposed in this embodiment is applied to a vehicle model with frameless doors; the method comprises:
[0023] Step 101, determine whether the window software is in an updating state, and monitor whether an unlocking instruction of a target door is received.
[0024] In specific implementation, when the window software is in an updating state, during the window software update (Over-The-Air, OTA for short), the window software components (Software Components, SWC for short) stop working, and the window software components cannot be used to control the lifting of the window.
[0025] Among them, software component SWC is an important concept in the vehicle open system architecture (AUTomotive Open System Architecture, referred to as AUTOSAR). It is the encapsulation of functional modules and is used to implement specific functions. For example, the vehicle window operation can be regarded as a SWC. SWC consists of application layer code and interacts through ports.
[0026] When the window software is in the updating state, by monitoring whether the unlocking command of the target door is received, it is determined whether there is a user request to open the frameless door during the window software update. During the window software update, since the window software component cannot be used to control the window lifting, if there is a user request to open the frameless door, the window glass cannot be lowered from the door frame slot, and there is a problem that the door cannot be opened, or the user pulls the door hard and causes the window glass to be damaged.
[0027] Step 102 , in response to determining that an unlocking instruction of a target door is received, controlling a window of the target door to be lowered to a preset opening by using a basic software layer of the vehicle application software.
[0028] In specific implementation, when the frameless door is closed, the window of the frameless door is controlled to rise by a preset distance so that the window glass of the frameless door is stuck in the door frame groove, ensuring the sealing of the vehicle and improving the sound insulation effect. When the frameless door is opened, the window of the frameless door is controlled to fall by a preset distance so that the window glass of the frameless door is lowered from the slot to avoid damage to the window glass when the user opens the frameless door.
[0029] The preset distance is a preset distance for raising the window glass to the door frame groove or lowering it from the door frame groove. For example, the preset distance is 0.5 cm. When the frameless door is closed, the window of the frameless door is controlled to rise by 0.5 cm. When the frameless door is opened, the window of the frameless door is controlled to fall by 0.5 cm.
[0030] When the window software is in the updating state, an unlocking command of the target door is received. Since the window software update cannot use the window software component to control the window lifting and lowering, the basic software layer (Basic Software, BSW for short) of the vehicle application software is used to control the window of the target door to be lowered to a preset opening, so that the window glass of the target door is lowered from the door frame slot, making it convenient for the user to open the target door.
[0031] The basic software layer BSW is an important part of the vehicle electronic control system. The basic software layer mainly provides basic services for the application layer. The basic software layer provides standardized system functions and functional interfaces, and is composed of a series of basic service software, including system services, memory services, communication services, etc. The basic software layer modules can be divided into driver modules, interface modules, processing modules and managers according to their types. These modules work together to achieve the connection from human-computer interaction to the underlying hardware, ensuring the normal operation of the vehicle electronic control system.
[0032] The preset opening is a preset window opening for lowering the window glass from the door frame groove. For example, the preset opening is 10%. When the window software is in the updating state and receives an unlocking instruction for the target door, the basic software layer of the vehicle application software is used to control the window of the target door to be lowered to 10%.
[0033] Through the above embodiments, for models with frameless doors, when the window software is in an updating state, it is monitored whether an unlocking instruction of a target door is received. When the window software is in an updating state, an unlocking instruction of a target door is received. When the window software is in an updating state, the window software cannot be used to control the lifting of the window, but the basic software layer of the vehicle application software is always in a working state. Even if the window software is in an updating state, the basic software layer of the vehicle application software can be used to control the window of the target door to be lowered to a preset opening. In this way, when a user opens a frameless door, the window can be smoothly lowered even during the window software update. After the window glass is lowered from the door frame groove, it is convenient for the user to open the door, thereby improving the safety and reliability of the vehicle and avoiding the situation where the window is damaged by unlocking and opening the door when the window cannot be raised or lowered during the window software update.
[0034] In some embodiments, step 101 includes:
[0035] Step 1011, obtaining the interface data of the car window software.
[0036] Step 1012, in response to the interface data of the vehicle window software remaining unchanged within a preset time period, determining that the vehicle window software is in an updating state.
[0037] In specific implementation, when the window software component is in working state, the window software component will send a signal to the basic software layer according to a preset period. When the window software component is in updating state, the basic software layer cannot receive the signal sent by the window software component because the window software component stops working and does not send a signal to the basic software layer.
[0038] For example, the interface data of the car window software is defined as the interface DWC_OnLineflg. When the car window software component is in the working state, the car window software component sends the signal 1 and signal 0 that change with a period of 10ms to the basic software layer, that is, the interface data DWC_OnLineflg of the car window software = 1 / 0. When the car window software component is in the updating state, the car window software component does not send a signal to the basic software layer, and the interface data DWC_OnLineflg of the car window software remains as signal 1 or signal 0.
[0039] The interface data of the car window software is obtained, and by judging whether the interface data of the car window software remains unchanged within a preset time, it can be accurately judged whether the car window software is in an update state. When the interface data of the car window software changes according to a preset period, it means that the car window software component sends a periodically changing signal to the basic software layer, and the car window software is in a working state. When the interface data of the car window software remains unchanged within a preset time, it means that the car window software component does not send a signal to the basic software layer, and the car window software is in an update state.
[0040] For example, the preset period is 10ms and the preset duration is 30ms. When the interface data of the car window software is signal 1 and signal 0 that alternately change with a period of 10ms, it is determined that the car window software is in a working state. When the interface data of the car window software remains as signal 1 or signal 0 within 30ms, it is determined that the car window software is in an updating state.
[0041] Through the above scheme, according to the interface data of the car window software, it is possible to accurately determine whether the car window software component sends a signal to the basic software layer according to a preset period, so that the state of the car window software can be accurately determined. By determining whether the interface data of the car window software remains unchanged within a preset time, it is possible to accurately determine whether the car window software is in an update state. When the interface data of the car window software changes according to a preset period, the car window software is in a working state. When the interface data of the car window software remains unchanged within a preset time, the car window software is in an update state.
[0042] In some embodiments, after step 102, the method further includes:
[0043] Step 1021, determining whether the control of the window of the target door to be lowered to a preset opening within a preset time period is successful.
[0044] Step 1022, in response to determining that the control of the window of the target door to be lowered to the preset opening within the preset time period has failed, an alarm is provided to prompt the user that the window is stuck.
[0045] In specific implementation, when the window software is in an updating state, an unlocking instruction of a target door is received, and the basic software layer of the vehicle application software is used to control the window of the target door to drop to a preset opening, and start timing.
[0046] Determine whether the window of the target door is controlled to be lowered to a preset opening within a preset time after the timing is started. Specifically, the window opening of the target door is obtained in real time after the timing is started; if the window opening of the target window is lowered to the preset opening within the preset time, the execution is successful; if the window opening of the target window is not lowered to the preset opening within the preset time, the execution fails.
[0047] When the window opening of the target window drops to the preset opening within the preset time, the target door is controlled to open when the door opening signal is received. If the window opening of the target window does not drop to the preset opening within the preset time, an alarm is issued to remind the user that the window is stuck, so as to avoid the problem of the window glass being damaged due to the user pulling the door hard.
[0048] For example, the preset duration is 100ms, and the preset opening is 10%. When the window of the target door is controlled to be opened to 10% by the basic software layer of the vehicle application software, the timing starts. If the window of the target door is not opened to 10% within 100ms after the timing starts, an alarm is issued to remind the user that the window is stuck.
[0049] Through the above solution, when the control of the window of the target door to be lowered to the preset opening fails within the preset time, an alarm is used to remind the user that the window is stuck. In this way, when the basic software layer cannot control the window of the target door to be lowered to the preset opening, the user can be informed of the window being stuck in time, avoiding the problem of the user pulling the door when the storage glass has not been lowered from the door frame slot causing the window glass to be damaged, further improving the safety and reliability of the vehicle.
[0050] In some embodiments, after step 102, the method further includes:
[0051] Step 1023, generating a diagnostic trouble code for unlocking the target door during the window software update, generating and displaying a prompt message based on the diagnostic trouble code.
[0052] In specific implementation, a diagnostic trouble code (DTC) is a way to indicate a fault in a vehicle system. The diagnostic trouble code can reflect problems in multiple systems of the vehicle, where the system includes at least one of the following: power system, body system, chassis system and network data communication transmission system. The diagnostic trouble code is generated by the vehicle's electronic control unit (ECU) to indicate a fault or abnormality in the engine, transmission system or other system. The diagnostic trouble code can help technicians quickly locate and solve the problem to ensure the safety and performance of the vehicle.
[0053] When an unlocking instruction of a target door is received while the window software is in an updating state, a diagnostic fault code for unlocking the target door during the window software update is generated, and a prompt message is generated and displayed based on the diagnostic fault code, so that the user can be informed of the fault or abnormality caused by unlocking the target door during the window software update in a timely manner according to the prompt message, so as to avoid the user unlocking the target door during the window software update next time.
[0054] Specifically, after the prompt information is generated based on the diagnostic fault code, the prompt can be given in a pre-set prompt mode, wherein the prompt mode includes a text prompt mode and a voice prompt mode; the user can customize the prompt mode from the pre-stored multiple prompt modes.
[0055] For example, a prompt message "To ensure vehicle safety, do not open the door during the window software update" is displayed on the vehicle screen or the user's mobile terminal (e.g., mobile phone terminal). Alternatively, a prompt message "To ensure vehicle safety, do not open the door during the window software update" is broadcasted by voice.
[0056] Through the above scheme, when the window software is in the updating state, an unlocking instruction of the target door is received, a diagnostic fault code for unlocking the target door during the window software updating period is generated, and prompt information is generated and displayed based on the diagnostic fault code. In this way, it is convenient for the user to timely know the fault or abnormality caused by unlocking the target door during the window software updating period according to the prompt information, so as to avoid the user unlocking the target door during the window software updating period next time.
[0057] In some embodiments, step 1023 includes:
[0058] Step 1023A, generating a diagnostic trouble code for unlocking the target door during the window software update, and storing the diagnostic trouble code in the basic software layer.
[0059] Step 1023B, in response to determining that the vehicle is powered on again, generating and displaying a prompt message based on the diagnostic fault code.
[0060] In a specific implementation, when the window software is in an updating state, an unlocking instruction of a target door is received, a diagnostic fault code for unlocking the target door during the window software updating period is generated, and the diagnostic fault code is stored in the basic software layer. Since the window software is in an updating state, the diagnostic fault code is stored in the basic software layer, which can avoid the loss of the diagnostic fault code.
[0061] When the vehicle is powered on again, the diagnostic fault code is retrieved from the basic software layer, and a prompt message is generated and displayed based on the diagnostic fault code. The prompt message is displayed after the vehicle is powered on again, which is convenient for the user to view the prompt message and avoids the situation where the user cannot know the prompt message when the user is not in the vehicle.
[0062] When the vehicle is powered on again, the diagnostic fault code is retrieved from the basic software layer, and based on the diagnostic fault code, it is determined that the user has unlocked the target door during the window software update in the previous power-on cycle, and a prompt message is generated and displayed on the vehicle screen, "To ensure vehicle safety, do not open the door during the window software update." In this way, when the vehicle is powered on again, it can be determined that the user is currently in the vehicle, and the prompt message is displayed to facilitate the user to promptly know that the target door was unlocked during the window software update in the previous power-on cycle, so as to prevent the user from unlocking the target door during the window software update next time.
[0063] In addition, the in-vehicle image is collected by the in-vehicle camera, and the features of the in-vehicle image are extracted to obtain the in-vehicle features; the in-vehicle features are compared with the pre-stored human features; in response to determining that the human features exist in the in-vehicle features, prompt information is generated and displayed based on the diagnostic fault code.
[0064] Through the above solution, by storing the diagnostic trouble code in the basic software layer, it is possible to avoid the loss of the diagnostic trouble code during the window software update. When the vehicle is powered on again, the prompt information is displayed, which is convenient for the user to view the prompt information and avoids the situation where the prompt information is displayed when the user is not in the vehicle and the user cannot know it.
[0065] In some embodiments, step 1023 includes:
[0066] Step 1023a, determining whether controlling the window of the target door to drop to a preset opening within a preset time period is successful.
[0067] Step 1023b, in response to determining that the control of the window of the target door to be lowered to the preset opening within the preset time period is successfully executed, a first diagnostic fault code is generated, and based on the first diagnostic fault code, a dangerous unlocking prompt message is generated and displayed.
[0068] Step 1023c, in response to determining that the control of the window of the target door to be lowered to the preset opening within the preset time period has failed, a second diagnostic fault code is generated, and based on the second diagnostic fault code, a dangerous jam warning message is generated and displayed.
[0069] In specific implementation, when the window software is in an updating state, an unlocking instruction of a target door is received, and the basic software layer of the vehicle application software is used to control the window of the target door to drop to a preset opening, and start timing.
[0070] Determine whether the window of the target door is controlled to be lowered to a preset opening within a preset time after the timing is started. Specifically, the window opening of the target door is obtained in real time after the timing is started; if the window opening of the target window is lowered to the preset opening within the preset time, the execution is successful; if the window opening of the target window is not lowered to the preset opening within the preset time, the execution fails.
[0071] When the window opening of the target window drops to a preset opening within a preset time, a first diagnostic fault code is generated, and a dangerous unlocking prompt message is generated and displayed based on the first diagnostic fault code. When the window opening of the target window does not drop to a preset opening within a preset time, a second diagnostic fault code is generated, and a dangerous jam prompt message is generated and displayed based on the second diagnostic fault code.
[0072] For example, the preset duration is 100ms, and the preset opening is 10%. The timing starts when the window of the target door is controlled to be opened to 10% by the basic software layer of the vehicle application software. If the window of the target door is opened to 10% within 100ms of the start of timing, the dangerous unlocking prompt message "To ensure vehicle safety, do not open the door during the window software update" is displayed. If the window of the target door is not opened to 10% within 100ms of the start of timing, the dangerous jam prompt message "To ensure vehicle safety, do not open the door when the window is jammed" is displayed.
[0073] Through the above scheme, by judging whether the control of the window of the target door to be lowered to the preset opening within the preset time is successfully executed, different prompt information is generated and displayed according to whether it is successfully executed. In this way, it is convenient for the user to know the danger of opening the door when the window is not lowered from the door frame slot according to the prompt information, and avoid the user forcibly opening the window when the window is found to be stuck during the window software update.
[0074] In some embodiments, after step 102, the method further includes:
[0075] Step 102A, in response to determining that the unlocking instruction of the target door stops being received, determining whether the target door is in an open state.
[0076] Step 102B, in response to determining that the target door is in an open state, controlling the window of the target door to maintain the preset opening, until the target door is closed, controlling the window of the target door to rise to the closed opening.
[0077] Step 102C, in response to determining that the target door is in a closed state, controlling the window of the target door to rise to a closed opening.
[0078] In specific implementation, when the unlocking instruction of the target door stops being received, it means that the user stops opening the door. There are two situations: the user opens the target door and the user stops opening the target door during the process of unlocking the target door. Whether the user stops opening the door during the process of unlocking the target door is determined by judging whether the target door is in an open state.
[0079] When the target door is in the open state, it means that the user has opened the target door. In order to ensure that the target door can be closed normally later, the window of the target door is controlled to maintain a preset opening until the target door is closed and the window of the target door is controlled to rise to the closing opening.
[0080] When the target door is in a closed state, it means that the user stops opening the target door while unlocking the target door, and controls the window of the target door to rise to a closed opening, thereby ensuring the sealing of the vehicle and improving the sound insulation effect after the target door is closed.
[0081] For example, the preset opening is 10% opening, and the closed opening is 0% opening. When the unlocking instruction of the target door is stopped, it is determined whether the target door is in an open state. When the target door is in an open state, the window of the target door is controlled to maintain a 10% opening. When the target door is in a closed state, the window of the target door is controlled to rise to a 0% opening.
[0082] Through the above scheme, when the unlocking instruction of the target door stops being received, it is determined whether the target door is in an open state. When the target door is in an open state, the window of the target door is controlled to maintain a preset opening, so that the target door can be closed normally later. When the target door is in a closed state, the window of the target door is controlled to rise to a closed opening, so as to ensure the sealing of the vehicle and improve the sound insulation effect after the target door is closed.
[0083] Through the above embodiments, for models with frameless doors, when the window software is in an updating state, it is monitored whether an unlocking instruction of a target door is received. When the window software is in an updating state, an unlocking instruction of a target door is received. When the window software is in an updating state, the window software cannot be used to control the lifting of the window, but the basic software layer of the vehicle application software is always in a working state. Even if the window software is in an updating state, the basic software layer of the vehicle application software can be used to control the window of the target door to be lowered to a preset opening. In this way, when a user opens a frameless door, the window can be smoothly lowered even during the window software update. After the window glass is lowered from the door frame groove, it is convenient for the user to open the door, thereby improving the safety and reliability of the vehicle and avoiding the situation where the window is damaged by unlocking and opening the door when the window cannot be raised or lowered during the window software update.
[0084] It should be noted that the embodiments of the present disclosure may be further described in the following manner:
[0085] In order to solve the problem that the windows cannot be lowered during the vehicle silence period during software update (Over-The-Air, OTA), the basic window safety control program is prefabricated in the basic software layer (Basic Software, BSW). The details are as follows:
[0086] Step 1, define the interface DWC_OnLineflg. During the operation of the window software component (SWC), the window software component SWC sends a signal and a signal 0 that alternately change with a period of 10ms to the basic software layer BSW, that is, the interface data DWC_OnLineflg=1 / 0.
[0087] Step 2: During the window software OTA update, since the window software component SWC is stopped, the interface DWC_OnLineflg will always maintain signal 1 or signal 0.
[0088] Step 3: When the basic software layer BSW detects that the interface DWC_OnLineflg remains unchanged within three 10ms (ie, 30ms), it is determined that the window software component SWC is offline; monitor whether the unlocking instruction of the target door is received.
[0089] Step 4: When the basic software layer BSW detects that the target door of the vehicle changes from locked to unlocked, it starts a 100ms timer and immediately drives the window of the target door to open by 10%.
[0090] Step 5: If it is detected within 100ms that the window opening of the target door does not change, the basic software layer BSW drives the speaker to sound a high-frequency alarm to remind the user that the window is stuck.
[0091] Through the above embodiment, when the window software is in the updating state, an unlocking instruction of the target door is received, and the basic software layer of the vehicle application software is used to control the window of the target door to be lowered to a preset opening. In this way, when the user opens the frameless door, the window can be smoothly lowered even during the window software update. After the window glass is lowered from the door frame groove, it is convenient for the user to open the door, thereby improving the safety and reliability of the vehicle and avoiding the situation where the window is damaged by unlocking and opening the door when the window cannot be raised or lowered during the window software update.
[0092] It should be noted that the method of the embodiment of the present disclosure can be performed by a single device, such as a computer or a server. The method of the present embodiment can also be applied in a distributed scenario and completed by multiple devices cooperating with each other. In the case of such a distributed scenario, one of the multiple devices can only perform one or more steps in the method of the embodiment of the present disclosure, and the multiple devices will interact with each other to complete the described method.
[0093] It should be noted that the above describes some embodiments of the present disclosure. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the above embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0094] Based on the same inventive concept, corresponding to any of the above-mentioned embodiments and methods, the present disclosure also provides a vehicle window control device.
[0095] refer to Figure 2 , the vehicle window control device comprises:
[0096] The monitoring module 201 is configured to determine whether the window software is in an update state and monitor whether an unlocking instruction of a target door is received;
[0097] The control module 202 is configured to control the window of the target door to be lowered to a preset opening by using the basic software layer of the vehicle application software in response to determining that the unlocking instruction of the target door is received.
[0098] In some embodiments, the monitoring module 201 includes:
[0099] An interface data acquisition unit, configured to acquire interface data of the vehicle window software;
[0100] The update status determination unit is configured to determine that the vehicle window software is in an update state in response to the interface data of the vehicle window software remaining unchanged within a preset time period.
[0101] In some embodiments, after the step of controlling the window of the target door to be lowered to a preset opening by using the basic software layer of the vehicle application software in response to determining that an unlocking instruction of the target door is received, the device further comprises:
[0102] A judgment module is configured to judge whether the control of lowering the window of the target door to a preset opening degree within a preset time period is successfully executed;
[0103] The alarm module is configured to, in response to determining that the control of the window of the target door to be lowered to a preset opening within a preset time period fails, prompt the user through an alarm that the window is stuck.
[0104] In some embodiments, after the step of controlling the window of the target door to be lowered to a preset opening by using the basic software layer of the vehicle application software in response to determining that an unlocking instruction of the target door is received, the device further comprises:
[0105] The prompt information display module is configured to generate a diagnostic trouble code for unlocking a target door during a window software update, generate prompt information based on the diagnostic trouble code, and display the prompt information.
[0106] In some embodiments, the prompt information display module includes:
[0107] a diagnostic trouble code generating unit configured to generate a diagnostic trouble code for unlocking a target door during a window software update and store the diagnostic trouble code in a base software layer;
[0108] The prompt information generating unit is configured to generate and display prompt information based on the diagnostic trouble code in response to determining that the vehicle is powered on again.
[0109] In some embodiments, the prompt information display module includes:
[0110] A judgment unit configured to judge whether the control of lowering the window of the target door to a preset opening degree within a preset time period is successfully executed;
[0111] A first prompt information display unit is configured to generate a first diagnostic fault code in response to determining that the window of the target door is successfully controlled to be lowered to a preset opening within a preset time period, and generate and display a dangerous unlock prompt information based on the first diagnostic fault code;
[0112] The second prompt information display unit is configured to generate a second diagnostic fault code in response to determining that the control of the window of the target door to be lowered to a preset opening within a preset time period has failed, and to generate and display dangerous jamming prompt information based on the second diagnostic fault code.
[0113] In some embodiments, after the step of controlling the window of the target door to be lowered to a preset opening by using the basic software layer of the vehicle application software in response to determining that an unlocking instruction of the target door is received, the device further comprises:
[0114] a door state determination module, configured to determine whether the target door is in an open state in response to determining that the unlocking instruction of the target door stops being received;
[0115] A first window control module is configured to, in response to determining that the target door is in an open state, control the window of the target door to maintain the preset opening degree until the target door is closed, and control the window of the target door to rise to the closed opening degree;
[0116] The second window control module is configured to control the window of the target door to rise to a closed opening in response to determining that the target door is in a closed state.
[0117] For the convenience of description, the above device is described by dividing it into various modules according to its functions. Of course, when implementing the present disclosure, the functions of each module can be implemented in the same or multiple software and / or hardware.
[0118] The device of the above embodiment is used to implement the corresponding vehicle window control method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be described in detail here.
[0119] Based on the same inventive concept, corresponding to any of the above-mentioned embodiments and methods, the present disclosure also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the vehicle window control method described in any of the above embodiments is implemented.
[0120] Figure 3 A more specific schematic diagram of the hardware structure of an electronic device provided in this embodiment is shown, and the device may include: a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040 are connected to each other through the bus 1050 in the device.
[0121] The processor 1010 can be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification.
[0122] The memory 1020 may be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1020 may store an operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program codes are stored in the memory 1020 and are called and executed by the processor 1010.
[0123] The input / output interface 1030 is used to connect the input / output module to realize information input and output. The input / output module can be configured in the device as a component (not shown in the figure), or it can be externally connected to the device to provide corresponding functions. The input device may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output device may include a display, a speaker, a vibrator, an indicator light, etc.
[0124] The communication interface 1040 is used to connect a communication module (not shown in the figure) to realize communication interaction between the device and other devices. The communication module can realize communication through a wired mode (such as USB (Universal Serial Bus), network cable, etc.), or through a wireless mode (such as mobile network, WIFI (Wireless Fidelity), Bluetooth, etc.).
[0125] The bus 1050 includes a path that transmits information between the various components of the device (eg, the processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040).
[0126] It should be noted that, although the above device only shows the processor 1010, the memory 1020, the input / output interface 1030, the communication interface 1040 and the bus 1050, in the specific implementation process, the device may also include other components necessary for normal operation. In addition, it can be understood by those skilled in the art that the above device may also only include the components necessary for implementing the embodiments of the present specification, and does not necessarily include all the components shown in the figure.
[0127] The electronic device of the above embodiment is used to implement the corresponding vehicle window control method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be described in detail here.
[0128] Based on the same inventive concept, corresponding to any of the above-mentioned embodiments, the present disclosure also provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the vehicle window control method described in any of the above embodiments.
[0129] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device.
[0130] The computer instructions stored in the storage medium of the above embodiments are used to enable the computer to execute the vehicle window control method described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.
[0131] Based on the same inventive concept, corresponding to any of the above-mentioned embodiments and methods, the present application also provides a vehicle, including the window control device, or electronic device, or storage medium in the above-mentioned embodiments, and the vehicle equipment implements the window control method described in any of the above embodiments.
[0132] The vehicle of the above-mentioned embodiment is used to implement the window control method described in any of the above-mentioned embodiments, and has the beneficial effects of the corresponding method embodiments, which will not be repeated here.
[0133] Those skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of the present disclosure is limited to these examples. Based on the concept of the present disclosure, the technical features in the above embodiments or different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of the different aspects of the embodiments of the present disclosure as described above, which are not provided in detail for the sake of simplicity.
[0134] In addition, to simplify the description and discussion, and in order not to make the embodiments of the present disclosure difficult to understand, the known power / ground connections to the integrated circuit (IC) chips and other components may or may not be shown in the provided figures. In addition, the device can be shown in the form of a block diagram to avoid making the embodiments of the present disclosure difficult to understand, and this also takes into account the fact that the details of the implementation of these block diagram devices are highly dependent on the platform on which the embodiments of the present disclosure will be implemented (that is, these details should be fully within the scope of understanding of those skilled in the art). Where specific details (e.g., circuits) are set forth to describe exemplary embodiments of the present disclosure, it is apparent to those skilled in the art that the embodiments of the present disclosure can be implemented without these specific details or with changes in these specific details. Therefore, these descriptions should be considered illustrative rather than restrictive.
[0135] Although the present disclosure has been described in conjunction with specific embodiments of the present disclosure, many replacements, modifications and variations of these embodiments will be apparent to those skilled in the art from the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may use the embodiments discussed.
[0136] The embodiments of the present disclosure are intended to cover all such substitutions, modifications and variations that fall within the broad scope of the present disclosure. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present disclosure should be included in the scope of protection of the present disclosure.
Claims
1. A vehicle window control method, It is characterized in that The method is applied to a vehicle model with frameless doors; the method comprises: Determine that the window software is in an updated state and monitor whether the unlocking command of the target door is received; In response to determining that an unlocking instruction of the target door is received, the basic software layer of the vehicle application software is used to control the window of the target door to be lowered to a preset opening.
2. The method according to claim 1, It is characterized in that The step of determining that the vehicle window software is in an updating state includes: Get the interface data of the car window software; In response to the interface data of the vehicle window software remaining unchanged within a preset time period, it is determined that the vehicle window software is in an updating state.
3. The method according to claim 1, It is characterized in that After the step of controlling the window of the target door to be lowered to a preset opening by using the basic software layer of the vehicle application software in response to determining that the unlocking instruction of the target door is received, the method further includes: Determine whether controlling the window of the target door to be lowered to a preset opening within a preset time period is successful; In response to determining that the control of the window of the target door to be lowered to the preset opening within the preset time period fails, an alarm is provided to prompt a user that the window is stuck.
4. The method according to claim 1, It is characterized in that After the step of controlling the window of the target door to be lowered to a preset opening by using the basic software layer of the vehicle application software in response to determining that the unlocking instruction of the target door is received, the method further includes: A diagnostic trouble code for unlocking a target door during a window software update is generated, and a prompt message is generated and displayed based on the diagnostic trouble code.
5. The method according to claim 4, It is characterized in that The generating of a diagnostic trouble code for unlocking a target door during a window software update, and generating and displaying a prompt message based on the diagnostic trouble code, comprises: generating a diagnostic trouble code for unlocking a target door during a window software update, and storing the diagnostic trouble code in a base software layer; In response to determining that the vehicle is powered on again, a prompt message is generated and displayed based on the diagnostic trouble code.
6. The method according to claim 4, It is characterized in that The generating of a diagnostic trouble code for unlocking a target door during a window software update, and generating and displaying a prompt message based on the diagnostic trouble code, comprises: Determine whether controlling the window of the target door to be lowered to a preset opening within a preset time period is successful; In response to determining that the control of the window of the target door to be lowered to the preset opening degree within the preset time period is successfully executed, a first diagnostic fault code is generated, and based on the first diagnostic fault code, a dangerous unlocking prompt message is generated and displayed; In response to determining that the control of the window of the target door to be lowered to a preset opening within a preset time period fails, a second diagnostic fault code is generated, and based on the second diagnostic fault code, dangerous jamming prompt information is generated and displayed.
7. The method according to claim 1, It is characterized in that After the step of controlling the window of the target door to be lowered to a preset opening by using the basic software layer of the vehicle application software in response to determining that the unlocking instruction of the target door is received, the method further includes: In response to determining that the unlocking instruction of the target door stops being received, determining whether the target door is in an open state; In response to determining that the target door is in an open state, controlling the window of the target door to maintain the preset opening degree, until the target door is closed, controlling the window of the target door to rise to the closing opening degree; In response to determining that the target door is in a closed state, a window of the target door is controlled to rise to a closed opening.
8. A vehicle window control device, It is characterized in that include: A monitoring module is configured to determine whether the window software is in an update state and monitor whether an unlocking command of a target door is received; The control module is configured to control the window of the target door to be lowered to a preset opening degree using the basic software layer of the vehicle application software in response to determining that an unlocking instruction of the target door is received.
9. An electronic device, It is characterized in that The method comprises a memory, a processor and a computer program stored in the memory and running on the processor, wherein when the processor executes the program, the method according to any one of claims 1 to 7 is implemented.
10. A vehicle, It is characterized in that The vehicle window control device comprises the vehicle window control device according to claim 8 or the electronic device according to claim 9.
