A roof control method and device of a vehicle, a terminal device and a storage medium
By recognizing the opening degree and number of windows, the system achieves coordinated control of the roof and window opening degrees, solving the problems of limited air circulation and noise caused by directly opening the roof, and improving vehicle ride comfort and safety.
Patent Information
- Application Number
- CN202411989403.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-31
- Publication Date
- 2025-12-16
- Estimated Expiration
- 2044-12-31
AI Technical Summary
The existing roof control method fails to effectively link the window opening, resulting in restricted air circulation and increased noise inside the vehicle, affecting passenger comfort and safety.
By identifying the opening degree and number of each car window, it determines whether the preset conditions are met, and realizes the linkage response between the roof opening program and the window opening degree, ensuring that the roof is only opened when multiple car windows are opened to a large degree.
It improves the uniformity of air circulation inside the vehicle, reduces wind noise and resonance, and enhances ride comfort and driving safety.
Smart Images

Figure CN119636373B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of vehicle control, and in particular to a roof control method and device of a vehicle, a terminal device and a storage medium. BACKGROUND
[0002] The roof of a vehicle generally refers to the decorative interior part of the roof of an automobile, which is an important part of the interior of an automobile. It not only has the function of decoration and beauty, but also can achieve sound insulation, heat insulation and ventilation in the vehicle, and can provide a comfortable environment in the vehicle for passengers. By opening the roof of the vehicle, the interior of the vehicle can be directly contacted with air through the open top, and the opening degree of the window can be matched to increase the ventilation effect in the vehicle.
[0003] However, the existing roof control method does not combine the opening of the roof with the opening degree of the window, that is, it cannot monitor and distinguish the current opening degree of the window when responding to the driver's instruction to open the roof, but directly opens the roof of the vehicle after responding to the instruction to open the roof. When the roof (or sunroof) of the vehicle is opened, if the window is tightly closed or has a small opening degree, the air circulation in the vehicle will be limited, that is, the air flow in the vehicle may form a vortex, resulting in uneven temperature distribution in the vehicle, especially when driving for a long time or in hot weather, the driver or passenger may feel uncomfortable. Moreover, the wind noise from outside the vehicle may more easily enter the vehicle when the roof is directly opened without matching the opening degree of the sunroof and the window, thereby causing resonance in the vehicle, further increasing the noise level, which not only affects the attention of the driver, but also may reduce the safety of the passengers. Therefore, since the existing roof method cannot link the opening program of the roof with the opening degree of the window, it may cause convection problems and noise problems when the roof is directly opened, thereby reducing the comfort of the vehicle and the safety of the vehicle. SUMMARY
[0004] The embodiments of the present application provide a roof control method and device of a vehicle, a terminal device and a storage medium, which can link the opening program of the roof with the opening degree of the window by identifying the opening degree of each window and distinguishing the number of windows with large opening degrees, thereby effectively solving the problem that the opening program of the roof cannot be linked with the opening degree of the window in the prior art, which may cause convection problems and noise problems when the roof is directly opened, thereby reducing the comfort of the vehicle and the safety of the vehicle.
[0005] An embodiment of the present application provides a roof control method of a vehicle, comprising:
[0006] obtaining a first instruction for opening the roof;
[0007] obtaining current vehicle operation data of the vehicle;
[0008] In a case that the vehicle operation data is window state data, according to the window state data, it is judged whether the total number of the first target window is not less than a preset value; if yes, the first instruction is executed; if no, the first instruction is not executed.
[0009] The window state data comprises: an opening degree of each window; the first target window is used to represent a window with an opening degree greater than a first preset opening threshold.
[0010] Preferably, the window state data further comprises: an initialization state of each window.
[0011] The judgment of whether the total number of the first target window is not less than a preset value according to the window state data, if yes, the first instruction is executed; if no, the first instruction is not executed, comprises:
[0012] It is judged whether the initialization state of each window is completed; the initialization state comprises: completed initialization or uncompleted initialization.
[0013] If yes, when it is judged that the total number of the first target window is not less than a preset value, the first instruction is executed; when it is judged that the total number of the first target window is less than a preset value, the first instruction is not executed.
[0014] If no, when it is judged that the opening degree of each window is equal to a second preset opening threshold, the first instruction is executed; when it is judged that the opening degree of any one window is not equal to the second preset opening threshold, the first instruction is not executed.
[0015] The second preset opening threshold is greater than the first preset opening threshold, and the opening degree corresponding to the second preset opening threshold is used to represent a degree that the window is completely opened.
[0016] Preferably, the window state data further comprises: a position attribute of each window; the position attribute comprises: a left front position used to represent that the window is located at the left front side of the driver, a right front position used to represent that the window is located at the right front side of the driver, a left rear position used to represent that the window is located at the left rear side of the driver, or a right rear position used to represent that the window is located at the right rear side of the driver.
[0017] The first target window is used to represent a window with a left front position or a window with a right front position.
[0018] The generation of the total number of the first target window comprises:
[0019] The number of the first target window with the position attribute of the left front position is summed with the number of the first target window with the position attribute of the right front position, as the total number of the first target window.
[0020] Preferably, the generation of the first instruction comprises:
[0021] In response to the user's starting operation on a first roof function button; wherein the first roof function button is used to control the opening of the roof;
[0022] Obtaining the current running speed of the vehicle;
[0023] When it is determined that the current running speed of the vehicle is less than a preset speed threshold, a first instruction for opening the roof is generated.
[0024] Preferably, after the first instruction is executed, the method further comprises:
[0025] Sending a control instruction for controlling the windows to be lowered to the lowest point to the window control device, so that the window control device controls all the windows to be lowered;
[0026] When it is detected that the opening degree of each window is equal to a second preset opening degree threshold, the first instruction is executed.
[0027] Preferably, the method further comprises:
[0028] In the case that the vehicle operating data is the state data of the flip cover, it is determined whether the state data of the flip cover is in a fully open state; wherein the flip cover is a component for covering the storage space of the roof, and the state data of the flip cover includes a fully open state or an incomplete open state;
[0029] If yes, the first instruction is executed;
[0030] If no, the first instruction is not executed.
[0031] Preferably, the method further comprises:
[0032] In response to the user's starting operation on a second roof function button, a second instruction for closing the roof is generated; wherein the second roof function button is used to control the closing procedure of the roof;
[0033] Obtaining the window state data;
[0034] Determining whether the total number of the second target window is not less than a preset value; if yes, the second instruction is executed; if no, the second instruction is not executed;
[0035] The second target window is used for representing a window with an opening degree less than a third preset opening degree threshold, and is used for representing a window with a left front position or a window with a right front position.
[0036] The total number of the second target window is the sum of the number of the second target window with a left front position and the number of the second target window with a right front position.
[0037] The third preset opening degree threshold is less than the first preset opening degree threshold.
[0038] On the basis of the method embodiments, the application provides device embodiments.
[0039] An embodiment of the application provides a roof control device of a vehicle, which comprises an instruction obtaining module, a vehicle running data obtaining module and a roof control module.
[0040] The instruction obtaining module is used for obtaining a first instruction for opening a roof.
[0041] The vehicle running data obtaining module is used for obtaining current vehicle running data of the vehicle.
[0042] The roof control module is used for judging whether the total number of first target windows is not less than a preset value according to the vehicle window state data when the vehicle running data is the vehicle window state data, and executing the first instruction if yes, and not executing the first instruction if no.
[0043] The vehicle window state data comprises an opening degree of each window, and the first target window is used for representing a window with an opening degree greater than a first preset opening degree threshold.
[0044] On the basis of the method embodiments, the application provides terminal device embodiments.
[0045] Another embodiment of the application provides a terminal device, which comprises a processor, a memory and a computer program stored in the memory and configured to be executed by the processor, and the processor executes the computer program to implement the roof control method of the vehicle in the above-mentioned embodiments of the application.
[0046] On the basis of the method embodiments, the application provides storage medium embodiments.
[0047] Another embodiment of the application provides a storage medium, which comprises a stored computer program, and when the computer program is executed, the device where the computer readable storage medium is located executes the roof control method of the vehicle in the above-mentioned embodiments of the application.
[0048] By implementing the present application, the following advantages are achieved:
[0049] The vehicle roof control method and device, terminal equipment and storage medium provided by the embodiments of the present application can continue to determine whether the roof can be directly opened according to the current vehicle operation data of the vehicle after obtaining the first instruction for opening the roof. Specifically, when the vehicle operation data is the window state data, the first target window can be identified according to the opening degree of each window in the window state data, and the opening degree of the first target window is greater than the first preset opening threshold, so that whether the roof can be directly opened can be determined through the total number of the first target window. When the total number of the first target window is not less than a preset value, the first instruction is executed, so that the roof is opened only when the opening degree of multiple windows is large, that is, the case of directly opening the roof when the current opening degree of the window is small is avoided, so that the air inside and outside the vehicle can be more smoothly convected, the circulation of air inside the vehicle is promoted, the temperature distribution inside the vehicle is more uniform, the possibility of wind noise and resonance is reduced, and the comfort of riding and the safety of vehicle driving are further improved. Compared with the prior art, by identifying the opening degree of each window and determining the number of windows with large opening degree, the present application can realize the linkage response of the opening program of the roof and the opening degree of the window, so that in the control process of opening the roof of the vehicle, not only the comfort of riding the vehicle can be improved, but also the driver's attention can be maintained, thereby enhancing the safety of driving. BRIEF DESCRIPTION OF DRAWINGS
[0050] Figure 1 is a flowchart of a vehicle roof control method provided by an embodiment of the present application.
[0051] Figure 2 is a structural schematic diagram of a vehicle roof control device provided by an embodiment of the present application. DETAILED DESCRIPTION
[0052] The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor are within the scope of protection of the present application.
[0053] As Figure 1 shown, it is a flowchart of a vehicle roof control method provided by an embodiment of the present application. The vehicle roof control method comprises:
[0054] Step S1: obtaining a first instruction for opening the roof.
[0055] Step S2: obtaining current vehicle running data of the vehicle;
[0056] Step S3: in the case that the vehicle running data is window state data, determining whether the total number of the first target windows is not less than a preset value according to the window state data; if yes, executing the first instruction; if no, not executing the first instruction.
[0057] The window state data comprises: an opening degree of each window; the first target window is used to represent a window with an opening degree greater than a first preset opening threshold.
[0058] For step S1, in a preferred embodiment, the generation of the first instruction comprises:
[0059] in response to a starting operation of a first roof function button by a user; wherein the first roof function button is used to control the opening of the roof.
[0060] obtaining a current running speed of the vehicle;
[0061] generating the first instruction for opening the roof when it is determined that the current running speed of the vehicle is less than a preset speed threshold. Optionally, the preset speed threshold can be 2 km / h.
[0062] Illustratively, after responding to the starting operation of the first roof function button by the user, the embodiment of the present application does not directly generate the first instruction, but continues to obtain the current running speed of the vehicle and determines whether it is less than the preset speed threshold, so as to ensure that the first instruction is generated only when the vehicle is driving at low speed or is stationary, i.e. the roof is allowed to be opened, thereby avoiding potential safety hazards such as excessive air flow, noise interference, and articles being blown away when the roof is opened at high speed.
[0063] For step S2, in a preferred embodiment, after the generated first instruction is obtained, the embodiment of the present application can continue to obtain the current vehicle running data of the vehicle, so as to determine whether to open the roof according to the vehicle running data. Thus, when determining whether to open the roof, the running state of the vehicle and the environmental conditions can be considered, which can effectively avoid opening the roof in inappropriate conditions and reduce potential safety risks. For example, in high-speed driving or bad weather, the instruction for opening the roof can be selected not to be executed to protect the safety and comfort of passengers. For example, in the case of suitable weather, slow vehicle speed, and large window opening degree, opening the roof can provide a more comfortable riding experience.
[0064] Illustratively, in one preferred embodiment, when deciding whether to open the roof, the application can also consider the energy efficiency of the vehicle by using the vehicle operation data. For example, if the vehicle is using an energy saving mode or the battery power is low, the instruction to open the roof can be selected not to be executed to reduce energy consumption and extend the range.
[0065] For step S3, in one preferred embodiment, when the vehicle operation data is the window state data, the application can determine whether to execute the instruction to open the roof according to the state of the window.
[0066] Illustratively, when the window state data only includes the opening degree of each window, the first target window (i.e. the window whose opening degree is greater than the first preset opening threshold) can be identified according to the opening degree of each window. Since the opening degree of the first target window is greater than the first preset opening threshold, the total number of the first target window can be used to determine whether the roof can be directly opened. Optionally, the first preset opening threshold is 90%, i.e. when the opening degree of the window is the first preset opening threshold, the opening degree of the window is 90%, i.e. close to the fully open degree.
[0067] The embodiment of the application executes the first instruction only when the total number of the first target window is not less than the preset value, thereby opening the roof only when the opening degree of the window is large, i.e. avoiding directly opening the roof when the current opening degree of the window is small, so that the air inside and outside the vehicle can flow more smoothly, promoting the circulation of air inside the vehicle, making the temperature distribution inside the vehicle more uniform, and reducing the possibility of wind noise and resonance, thereby further improving the comfort of riding and the safety of vehicle driving.
[0068] In one preferred embodiment, when the window state data also includes the initialization state of each window, the application can combine the initialization state of the window with the opening degree of the window to determine whether to execute the first instruction when determining whether to execute the first instruction according to the window state data.
[0069] Specifically, first determine whether the initialization state of each window is complete initialization; wherein the initialization state includes: complete initialization or incomplete initialization.
[0070] If yes, execute the first instruction when the total number of the first target window is not less than the preset value, and do not execute the first instruction when the total number of the first target window is less than the preset value;
[0071] If no, execute the first instruction when the opening degree of each window is equal to the second preset opening threshold, and do not execute the first instruction when the opening degree of any window is not equal to the second preset opening threshold.
[0072] The second preset opening degree threshold is greater than the first preset opening degree threshold, and the opening degree corresponding to the second preset opening degree threshold is used to represent that the window is completely opened.
[0073] It can be understood that the initialization state of the window refers to a preparation state or a reference state of the window system after a series of operations, which usually involves the lifting operation of the window. Specifically, the window initialization refers to the process of pressing the window lifting button until the glass is completely lifted to the top or pressing the window lowering button until the glass is completely lowered to the bottom, so as to reset the initialization data of the window.
[0074] When the initialization state of the window is completed initialization, it indicates that the window can be lifted to a specified position or respond to a control instruction. When the initialization state of the window is incomplete initialization, it indicates that the window may not be able to be lifted to a specified position or respond to a control instruction.
[0075] Therefore, by considering the initialization state of the window, it can be ensured that the operation of opening the roof is performed only when the window is working normally and stably. If the window is not initialized, there may be a fault or an abnormality, and at this time, executing the instruction of opening the roof may cause adverse consequences. Therefore, in the embodiment of the present application, the present application can continue to judge whether the opening degree of each window is equal to the second preset opening degree threshold when the window is not initialized, and if so, the operation of opening the roof is performed, so as to ensure that all windows are completely opened before the roof is opened. It can be understood that the opening degree corresponding to the second preset opening degree threshold is used to represent that the window is completely opened, and the opening degree corresponding to the second preset opening degree threshold can be 100%.
[0076] By comprehensively considering the initialization state and the opening degree of the window, the potential risks caused by misoperation can be reduced. For example, when the window is not initialized or the opening degree of each window does not meet the condition, even if the user triggers the instruction of opening the roof, the vehicle system will not execute the instruction of opening the roof, thereby avoiding trouble and safety hazards.
[0077] In a preferred embodiment, the window state data further includes: a position attribute of each window; the position attribute includes: a left front position used to represent that the window is located on the left front side of the driver, a right front position used to represent that the window is located on the right front side of the driver, a left rear position used to represent that the window is located on the left rear side of the driver, or a right rear position used to represent that the window is located on the right rear side of the driver.
[0078] The first target window is further used to represent a window with a left front position attribute or a window with a right front position attribute.
[0079] The generation of the total number of the first target window includes:
[0080] The number of the first target window with the position attribute of the left front position is summed with the number of the first target window with the position attribute of the right front position, as the total number of the first target window.
[0081] Illustratively, when the window state data further comprises the position attribute of each window, the present application can combine the initialization state of the window, the opening degree of the window and the position attribute of the window to determine whether to execute the first instruction when determining whether to execute the first instruction according to the window state data.
[0082] Optionally, the preset value is 2; in the case that the initialization state of each window is completed initialization, and the total number of the first target window is greater than or equal to 2, the operation of opening the roof can be executed. It can be understood that in the case that the initialization of each door window is completed, and the opening degree of one left front door window (i.e. the window with the left front position) and one right front door window (i.e. the window with the right front position) are both greater than or equal to 90%, the operation of opening the roof is executed.
[0083] Specifically, after obtaining a first instruction for opening the roof, the present application first obtains window state data, which comprises the initialization state, the opening degree and the position attribute of each window.
[0084] It is checked whether the initialization state of all windows is completed initialization, if any window is not completed initialization, the opening degree of each window is determined whether to be in the completely opened state, if yes, the first instruction is executed; if no, it is directly determined not to execute the instruction of opening the roof.
[0085] In the window with completed initialization, the window with the position attribute of the left front position and the right front position is screened out and marked as the first target window.
[0086] The opening degree of the first target window with the left front position and the right front position is respectively determined whether to be greater than or equal to a first preset opening degree threshold (such as 90%). The number of the window with the left front position and the number of the window with the right front position, whose opening degree is greater than or equal to the first preset opening degree threshold, are counted, as the total number of the first target window.
[0087] The total number of the first target window is compared with a preset value (such as 2). If the total number is greater than or equal to the preset value, the instruction of opening the roof is executed; otherwise, it is not executed.
[0088] Therefore, the embodiment of the present application can ensure that the roof is opened only when the state of the window is normal and certain conditions are met (e.g., the opening degree is large), thereby improving the safety by comprehensively considering the initialization state, opening degree and position attribute of the window.
[0089] In the embodiment of the present application, when the windows at the left front position and the right front position are selected as the judgment objects, the windows at the two positions can form good convection effects with the roof of the vehicle when opened, so that whether the roof is opened can be determined by judging the opening degrees of the windows at the left front position and the right front position, so that the ventilation in the vehicle can be better optimized when the roof is finally opened, thereby providing the user with a more comfortable and pleasant driving experience.
[0090] When the window is not initialized or the opening degree does not meet the condition, even if the user triggers the instruction to open the roof, the vehicle system will not execute the instruction to open the roof through the judgment process of the present application, thereby reducing the potential risk.
[0091] In a preferred embodiment, the application can also lift and lower the window to meet the condition for opening the roof, so as to realize automatic control and cooperative operation of the roof and the window. Specifically, after the first instruction is not executed, the application further comprises:
[0092] sending a control instruction for controlling the window to be lowered to the lowest point to the window control device, so that the window control device controls all the windows to be lowered;
[0093] when it is detected that the opening degree of each window is equal to the second preset opening degree threshold, the first instruction is executed.
[0094] It can be understood that if other enabling conditions are met during the process of opening the roof, and only the door and window position condition is not met, the application can send a one-key window lowering instruction to the window control module or the window control device, and wait for the door and window to be lowered to the fully open position before executing the subsequent roof opening action. Therefore, the user does not need to manually operate multiple steps, thereby improving the automation degree of the system and simplifying the operation process.
[0095] Even if the initial state of the window does not meet the condition for opening the roof, the window can be automatically lowered to the lowest point through the above process to further optimize the ventilation effect in the vehicle. When the window is fully opened, the air exchange between the inside and outside of the vehicle is more sufficient, so that the roof is opened at this time, which can further improve the environment in the vehicle.
[0096] In a preferred embodiment, when the vehicle operating data is the state data of the flip cover, the embodiment of the present application can determine whether the roof can be directly opened based on the opening state of the flip cover, and has:
[0097] In the case that the vehicle operation data is the state data of the flip cover, it is judged whether the state data of the flip cover is in a fully open state; wherein the flip cover is a component for covering the storage space of the roof, and the state data of the flip cover includes a fully open state or an incomplete open state.
[0098] If yes, the first instruction is executed;
[0099] If no, the first instruction is not executed.
[0100] Illustratively, the flip cover is usually used to cover the storage space of the roof to protect it from the interference and damage of the external environment. In the case that the flip cover is not fully open, if the roof is attempted to be opened, it may cause the collision or interference between the roof mechanism and the flip cover, thereby damaging the vehicle components or causing safety hazards. Therefore, based on the open state of the flip cover, it can be judged to avoid the misoperation of opening the roof when the flip cover is not fully open, thereby improving the safety of driving.
[0101] In another preferred embodiment, the application can further obtain the state data of the flip cover when it is judged that the total number of the first target vehicle windows is not less than a preset number, or when it is judged that the opening degree of each vehicle window is equal to a second preset opening threshold, so as to judge whether to execute the first instruction based on the state data of the flip cover, and execute the first instruction only when the state data of the flip cover is in a fully open state, so as to ensure the smooth opening of the roof.
[0102] By combining the state of the vehicle window and the state of the flip cover for judgment, the application can ensure that the conditions for opening the roof are fully met in multiple dimensions, thereby reducing the misoperation caused by the failure of single condition judgment. By combining the state of the flip cover for judgment, the application can avoid opening the roof when the flip cover is not ready, thereby improving the safety. Illustratively, when the state of the vehicle window meets the conditions but the flip cover is not open, the application can choose not to execute the instruction to open the roof, but prompt the user to open the flip cover first, so as to ensure the smooth opening of the roof.
[0103] In a preferred embodiment, the application can also realize the closing control of the roof, and thus:
[0104] In response to the starting operation of the user on the second roof function button, a second instruction for closing the roof is generated; wherein the second roof function button is used to control the closing procedure of the roof;
[0105] The state data of the vehicle window is obtained; wherein the state data of the vehicle window is consistent with the state data of the vehicle window obtained in the process of judging whether to open the roof, and both include the initialization state, the opening degree and the position attribute.
[0106] determining whether the total number of the second target windows is not less than a preset value; if yes, executing the second instruction; if no, not executing the second instruction;
[0107] The second target window is used to represent a window with an opening degree less than a third preset opening degree threshold, and is also used to represent a window with a left front position attribute or a window with a right front position attribute.
[0108] The total number of the second target windows is the sum of the number of the second target windows with the left front position attribute and the number of the second target windows with the right front position attribute.
[0109] The third preset opening degree threshold is less than the first preset opening degree threshold.
[0110] It can be understood that, in the above determination process, only the opening degree and the position attribute in the window state data are adopted; and the control principle of the process of determining the initialization state of the window is consistent with that of the process of whether the roof is opened, which will not be described herein.
[0111] Illustratively, before the roof is closed, the window state can be checked to ensure that only when the number of the windows meeting the specific conditions (such as the opening degree being less than the third preset opening degree threshold and the position attribute being the left front or the right front) reaches the preset value, the closing instruction is executed. Then, the roof can be prevented from being mistakenly operated in the case that the window is not completely closed or does not meet the safety requirements, thereby improving the driving safety.
[0112] By checking the window state before the roof is closed, the system can ensure the comfort of the in-vehicle environment. For example, when the window opening degree is small, closing the roof can reduce the noise in the vehicle and the external interference, thereby providing a more quiet driving environment.
[0113] In a preferred embodiment, the enabling condition of the roof opening is a&b&c&d&(e|f)&g, and there is:
[0114] a. The whole vehicle is in a ready state;
[0115] b. The vehicle speed is less than or equal to 2 km / h;
[0116] c. The input switch roof open becomes valid;
[0117] d. The roof is in a manual section or an electric section;
[0118] e. When the body control module receives a four-door window initialization completion signal, the opening degree of the two-door window (left front and right front) is greater than or equal to 90%;
[0119] f. When the body control module receives the four door window initialization incomplete signal, but the body control module receives the two door window fully open signal valid;
[0120] g. The body control module receives the flip cover in the fully open state signal.
[0121] Illustratively, if the roof open enabling condition, other conditions have been met, only the door window position condition is not met, the vehicle window control module can be sent 3 frames of one key window command and wait for the door window to open to the full open position, and then execute the subsequent roof open action.
[0122] In a preferred embodiment, the roof close enabling condition is a&b&c&d&e, then:
[0123] a. The whole vehicle is in the ready state;
[0124] b. Vehicle speed ≤ 2km / h;
[0125] c. The input switch roof close becomes valid;
[0126] d. The roof is in the fully open or electric segment;
[0127] e. When the body control module receives the four door window initialization complete signal, the opening degree of the two door windows (left front and right front) is in the ≤10% position.
[0128] As Figure 2 shown, on the basis of the above-mentioned various vehicle roof control method embodiments, the application correspondingly provides device item embodiments;
[0129] An embodiment of the application provides a roof control device of a vehicle, which comprises an instruction acquisition module, a vehicle running data acquisition module and a roof control module.
[0130] The instruction acquisition module is used for acquiring a first instruction for opening the roof.
[0131] The vehicle running data acquisition module is used for acquiring current vehicle running data of the vehicle.
[0132] The roof control module is used for, in the case that the vehicle running data is vehicle window state data, judging whether the total number of first target vehicle windows is not less than a preset value according to the vehicle window state data; if yes, executing the first instruction; if not, not executing the first instruction.
[0133] The vehicle window state data comprises the opening degree of each vehicle window; and the first target vehicle window is used for representing a vehicle window with an opening degree greater than a first preset opening degree threshold.
[0134] It should be noted that the apparatus embodiments described above are merely illustrative, and the modules described as separate components can or can not be physically separate, and the components displayed as modules can or can not be physical modules, and can be located in one place or distributed on multiple network modules. Part or all of the modules can be selected to achieve the purpose of the embodiment according to actual needs. In addition, the connection relationship between the modules in the apparatus embodiments provided by the present application indicates that there is a communication connection between them, which can be implemented as one or more communication buses or signal lines. Those skilled in the art can understand and implement it without creative labor.
[0135] Those skilled in the art can clearly understand that, for the convenience and brevity, the specific working process of the apparatus described above can refer to the corresponding process in the foregoing method embodiments, which will not be repeated here.
[0136] On the basis of the above-mentioned various vehicle roof control method embodiments, the present application correspondingly provides terminal device item embodiments.
[0137] An embodiment of the present application provides a terminal device, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, when the processor executes the computer program, a vehicle roof control method described in any one method item embodiment of the present application is realized.
[0138] The terminal device can be a desktop computer, a notebook computer, a palm computer, a cloud server and the like. The terminal device can include, but is not limited to, a processor and a memory.
[0139] The processor can be a central processing unit (CPU), and can also be other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor, etc. The processor is the control center of the terminal device, and connects all parts of the terminal device through various interfaces and lines.
[0140] The memory can be used to store the computer program, and the processor realizes various functions of the terminal device by running or executing the computer program stored in the memory and calling data stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application required by a function, and the like; and the data storage area can store data created according to the use of the mobile phone and the like. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, for example, a hard disk, a memory, a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, at least one disk storage device, a flash memory device, or other volatile solid-state memory devices.
[0141] On the basis of the above-mentioned various embodiments of the roof control method of the vehicle, the application correspondingly provides a storage medium embodiment.
[0142] An embodiment of the application provides a storage medium, which comprises a stored computer program, wherein when the computer program runs, the device in which the computer readable storage medium is located performs a roof control method of a vehicle according to any one of the method embodiments of the application.
[0143] The storage medium is a computer readable storage medium, and the computer program is stored in the computer readable storage medium. When the computer program is executed by a processor, the steps of the above-mentioned various method embodiments can be realized. The computer program includes computer program code, which can be in the form of source code, object code, an executable file, or some intermediate form, etc. The computer readable medium can include any entity or device capable of carrying the computer program code, a recording medium, a U disk, a mobile hard disk, a magnetic disk, an optical disk, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium, etc. It should be noted that the content included in the computer readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in a jurisdiction, for example, in some jurisdictions, according to legislation and patent practice, the computer readable medium does not include an electrical carrier signal and a telecommunication signal.
[0144] The above-mentioned is the preferred embodiment of the application. It should be noted that for those skilled in the art, without departing from the principle of the application, a number of improvements and refinements can be made, which are also considered to be within the protection scope of the application.
Claims
1. A method for controlling the roof of a vehicle, characterized in that, include: Obtain the first instruction to open the roof; Obtain the vehicle's current operating data; When the vehicle operation data is window status data, it is determined whether the initialization status of each window is complete initialization; wherein, the initialization status includes: complete initialization or incomplete initialization; If so, the first instruction is executed when the total number of the first target vehicle windows is not less than the preset value; the first instruction is not executed when the total number of the first target vehicle windows is less than the preset value. If not, the first instruction is executed when it is determined that the opening degree of each window is equal to the second preset opening degree threshold; the first instruction is not executed when it is determined that the opening degree of any window is not equal to the second preset opening degree threshold; wherein, the second preset opening degree threshold is greater than the first preset opening degree threshold, and the opening degree corresponding to the second preset opening degree threshold is used to characterize the degree to which the window is fully open. In response to the user's activation operation of the second ceiling function button, a second instruction for closing the ceiling is generated; wherein, the second ceiling function button is used to control the ceiling closing procedure; Obtain vehicle window status data; Determine if the total number of windows in the second target vehicle is not less than a preset value; if yes, execute the second instruction; otherwise, do not execute the second instruction. The window status data includes: the opening degree, initialization state, and position attributes of each window; the position attributes include: a position indicating that the window is located on the left front side of the driver, a position indicating that the window is located on the right front side of the driver, a position indicating that the window is located on the left rear side of the driver, or a position indicating that the window is located on the right rear side of the driver. The first target window is used to represent a window whose opening degree is greater than a first preset opening degree threshold, and a window whose position attribute is left front position or a window whose position attribute is right front position. The generation of the total number of the first target vehicle windows includes: The total number of first target car windows is the sum of the number of first target car windows with the position attribute of left front and the number of first target car windows with the position attribute of right front. The second target window is used to represent a window whose opening degree is less than a third preset opening threshold; and the second target window is also used to represent a window with a position attribute of left front or a window with a position attribute of right front; the total number of the second target windows is the sum of the number of second target windows with a position attribute of left front and the number of second target windows with a position attribute of right front; the third preset opening threshold is less than the first preset opening threshold.
2. The method for controlling the roof of a vehicle as described in claim 1, characterized in that, The generation of the first instruction includes: Responding to the user's activation operation of the first ceiling function button; wherein, the first ceiling function button is used to control the opening of the ceiling; Obtain the vehicle's current operating speed; When it is determined that the vehicle's current operating speed is less than a preset speed threshold, a first instruction to open the roof is generated.
3. The method for controlling the roof of a vehicle as described in claim 2, characterized in that, After not executing the first instruction, it also includes: Send a control command to the window control device to control the windows to lower to the lowest point, so that the window control device controls all windows to lower; When it is detected that the opening degree of each window is equal to the second preset opening degree threshold, the first instruction is executed.
4. The method for controlling the roof of a vehicle as described in claim 1, characterized in that, Also includes: When the vehicle operation data is the status data of the flip cover, it is determined whether the status data of the flip cover is in a fully open state; wherein, the flip cover is a component used to cover the storage space of the roof, and the status data of the flip cover includes: fully open state or partially open state; If so, then execute the first instruction; If not, the first instruction will not be executed.
5. A roof control device for a vehicle, characterized in that, include: The system includes an instruction acquisition module, a vehicle operation data acquisition module, and a roof control module. The instruction acquisition module is used to acquire a first instruction for opening the ceiling; The vehicle operation data acquisition module is used to acquire the current vehicle operation data; The roof control module is used to determine whether the initialization status of each window is completed when the vehicle operation data is window status data; wherein, the initialization status includes: completed initialization or incomplete initialization; If so, the first instruction is executed when the total number of the first target vehicle windows is not less than the preset value; the first instruction is not executed when the total number of the first target vehicle windows is less than the preset value. If not, the first instruction is executed when it is determined that the opening degree of each window is equal to the second preset opening degree threshold; the first instruction is not executed when it is determined that the opening degree of any window is not equal to the second preset opening degree threshold; wherein, the second preset opening degree threshold is greater than the first preset opening degree threshold, and the opening degree corresponding to the second preset opening degree threshold is used to characterize the degree to which the window is fully open. In response to the user's activation operation of the second ceiling function button, a second instruction for closing the ceiling is generated; wherein, the second ceiling function button is used to control the ceiling closing procedure; Obtain vehicle window status data; Determine if the total number of windows in the second target vehicle is not less than a preset value; if yes, execute the second instruction; otherwise, do not execute the second instruction. The window status data includes: the opening degree, initialization state, and position attributes of each window; the position attributes include: a position indicating that the window is located on the left front side of the driver, a position indicating that the window is located on the right front side of the driver, a position indicating that the window is located on the left rear side of the driver, or a position indicating that the window is located on the right rear side of the driver. The first target window is used to represent a window whose opening degree is greater than a first preset opening degree threshold, and a window whose position attribute is left front position or a window whose position attribute is right front position. The generation of the total number of the first target vehicle windows includes: The total number of first target car windows is the sum of the number of first target car windows with the position attribute of left front and the number of first target car windows with the position attribute of right front. The second target window is used to represent a window whose opening degree is less than a third preset opening threshold; and the second target window is also used to represent a window with a position attribute of left front or a window with a position attribute of right front; the total number of the second target windows is the sum of the number of second target windows with a position attribute of left front and the number of second target windows with a position attribute of right front; the third preset opening threshold is less than the first preset opening threshold.
6. A terminal device, characterized in that, The device includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor, when executing the computer program, implements a roof control method for a vehicle as described in any one of claims 1 to 4.
7. A storage medium, characterized in that, The storage medium includes a stored computer program, wherein, when the computer program is executed, it controls the device where the storage medium is located to perform a vehicle roof control method as described in any one of claims 1 to 4.
Citation Information
Patent Citations
Automatic opening and closing method and system of automobile skylight
CN105539103A
Power window control method and power window control unit
JP2005220648A