Wiper control method, device, wiper control equipment, vehicle and storage medium
By determining the scene service of the wiper and calling the control enhancement service, the coupling degree in the wiper control system is reduced, and the independent development and update of the wiper service function is realized, which improves development efficiency and reduces costs.
Patent Information
- Application Number
- CN202211051276.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-31
- Publication Date
- 2025-01-10
- Estimated Expiration
- 2042-08-31
AI Technical Summary
In the existing wiper control system, the high coupling between wiper service functions leads to low development efficiency and high development costs.
By receiving control instructions, determine the current scene service of the wiper as the target scene service, call the control enhancement service to make decisions, and the atomic service controls the wiper operation based on the control parameters, isolate the wiper control scene service, intermittent time scene service and sensitivity scene service, independent Carry out development and updates.
Reduce the coupling between wiper service functions, making development and update more efficient, and reducing development costs.
Smart Images

Figure CN115230639B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of vehicle control technology, and in particular to a wiper control method, device, wiper control equipment, vehicle and storage medium. Background Art
[0002] In the automotive field, in the current traditional software architecture, the intermittent time of intermittent wipers, the sensitivity setting of automatic wipers, and the function of soft switches to control the high and low speed actions of wipers involve related setting signals. The control signals are usually sent to the wiper control module through the CAN (Controller Area Network) bus. The wiper control module of the vehicle-side controller performs software logic judgment, implements operation-related actuators, and realizes application layer software logic functions. Based on the existing software design method, the interface is not open to the outside world, and the software module is designed based on existing functions and can only be used for related functional applications within the vehicle-side controller. The coupling degree between the corresponding service functions of the wiper is high. After the wiper soft switch is designed, if there are any design changes, it will involve redefining the bus signal, redefining the software requirements, changing the software implementation, and re-implementing the software development and software testing, resulting in low development efficiency and high cost. Summary of the Invention
[0003] In view of this, the purpose of the embodiments of the present application is to provide a wiper control method, device, wiper control equipment, vehicle and storage medium, which can improve the problems of low development efficiency and high development cost caused by the high coupling degree between wiper service functions.
[0004] To achieve the above technical objectives, the technical solutions adopted in this application are as follows:
[0005] In a first aspect, an embodiment of the present application provides a wiper control method, which is applied to a wiper control device. The method includes:
[0006] determining, based on the received control instruction for starting the wiper, a current scene service of the wiper as a target scene service, the target scene service comprising at least one of a wiper control scene service, an intermittent time scene service, and a sensitivity scene service;
[0007] Calling the control enhancement service in the wiper control device through the target scene service;
[0008] By means of the control enhancement service, according to a preset decision strategy, it is determined whether to execute the target scenario service;
[0009] When it is determined to execute the target scenario service, the atomic service corresponding to the target scenario service is called from the wiper control device, and the atomic service controls the operation of the wiper based on the control parameters corresponding to the target scenario service.
[0010] In conjunction with the first aspect, in some optional implementations, before determining the current scene service of the wiper as the target scene service, the method further includes:
[0011] Based on the control parameters corresponding to the wiper scene service, create a wiper control scene service, an interval time scene service, and a sensitivity scene service;
[0012] Isolating the wiper control scenario service, the intermittent time scenario service, and the sensitivity scenario service from the control enhancement service through software layering, and isolating the wiper control scenario service, the intermittent time scenario service, and the sensitivity scenario service from the vehicle's main control service;
[0013] The isolated wiper control scene service, the intermittent time scene service and the sensitivity scene service are recorded into the memory of the wiper control device.
[0014] In conjunction with the first aspect, in some optional implementations, determining whether to execute the target scenario service according to a preset decision strategy through the control enhancement service includes:
[0015] If the control command received within the preset time period includes at least one of a first control command generated based on a user activating a physical wiper switch, a second control command generated based on a user activating the wiper via a central control display, and a third control command generated based on a wiper sensor, the control enhancement service uses the control command with the highest priority among the first, second, and third control commands as the target control command;
[0016] Determine to execute the target scene service corresponding to the target control instruction.
[0017] In conjunction with the first aspect, in some optional implementations, the method further includes:
[0018] Based on the received operation instruction, the control parameters in the intermittent time scenario service or the sensitivity scenario service are changed to parameters corresponding to the operation instruction.
[0019] In conjunction with the first aspect, in some optional implementations, the method further includes:
[0020] When a wiper fault is detected, a wiper fault service is executed to issue a fault warning.
[0021] In combination with the first aspect, in some optional implementations, the control parameter includes at least one of the sensitivity of the wiper sensor, the intermittent time of the wiper swing, and the speed of the wiper swing.
[0022] In a second aspect, an embodiment of the present application further provides a wiper control device, which is applied to a wiper control device, and the device includes:
[0023] a determining unit, configured to determine, based on the received control instruction for starting the wiper, a current scene service of the wiper as a target scene service, wherein the target scene service includes at least one of a wiper control scene service, an intermittent time scene service, and a sensitivity scene service;
[0024] A first calling unit, configured to call a control enhancement service in the wiper control device through the target scene service;
[0025] A decision-making unit, configured to determine whether to execute the target scenario service according to a preset decision-making strategy through the control enhancement service;
[0026] The second calling unit is used to call the atomic service corresponding to the target scene service from the wiper control device when it is determined to execute the target scene service, and the atomic service controls the operation of the wiper based on the control parameters corresponding to the target scene service.
[0027] In a third aspect, an embodiment of the present application further provides a wiper control device, which includes a processor and a memory coupled to each other, wherein a computer program is stored in the memory. When the computer program is executed by the processor, the wiper control device performs the above method.
[0028] In a fourth aspect, an embodiment of the present application further provides a vehicle, comprising a vehicle body and the above-mentioned wiper control device, wherein the wiper control device is arranged on the vehicle body.
[0029] In a fifth aspect, an embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program runs on a computer, the computer executes the above method.
[0030] The invention adopting the above technical solution has the following advantages:
[0031] In the technical solution provided in the present application, the scene service currently corresponding to the wiper is determined based on the received control instructions as the target scene service. Then, the control enhancement service is called to decide whether to execute the target scene service. If it is determined to execute the target scene service, the atomic service corresponding to the target scene service is called from the wiper control device, and the atomic service controls the operation of the wiper based on the control parameters corresponding to the target scene service. In this way, the degree of coupling between the wiper control scene service, the intermittent time scene service, and the sensitivity scene service in the wiper service is low, and they can be independently developed, updated, and maintained, which is conducive to improving development efficiency and reducing development costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] The present application may be further illustrated by the non-limiting embodiments provided in the accompanying drawings. It should be understood that the following drawings illustrate only certain embodiments of the present application and are therefore not to be construed as limiting the scope of the present application. It is understood that those skilled in the art can derive other relevant drawings from these drawings without inventive effort.
[0033] Figure 1 A flow chart of the wiper control method provided in an embodiment of the present application.
[0034] Figure 2 A block diagram of the wiper service provided in an embodiment of the present application.
[0035] Figure 3 This is a block diagram of the wiper control device provided in an embodiment of the present application.
[0036] Icon: 200 - wiper control device; 210 - determination unit; 220 - first calling unit; 230 - decision unit; 240 - second calling unit. DETAILED DESCRIPTION
[0037] The present application will be described in detail below with reference to the accompanying drawings and specific embodiments. It should be noted that similar or identical parts in the drawings or descriptions are numbered the same. Implementations not shown or described in the drawings are known to those of ordinary skill in the art. In the description of this application, the terms "first," "second," etc. are used solely to distinguish descriptions and are not to be construed as indicating or implying relative importance.
[0038] The present invention provides a wiper control device, which may include a processing module and a storage module. The storage module stores a computer program, which, when executed by the processing module, enables the wiper control device to perform the corresponding steps of the following wiper control method.
[0039] In this embodiment, the wiper control device may further include additional components. Each component may be implemented using hardware, software, or a combination thereof. For example, the wiper control device may further include a wiper. The wiper includes a wiper motor and a rod body, with the rod body being provided with a wiper for cleaning the vehicle window glass. The processing module may control the wiper motor, thereby driving the wiper rod body to move, causing the wiper to wipe and clean the vehicle window glass.
[0040] For another example, the wiper control device may also include a wiper sensor. This wiper sensor is typically located on the vehicle's front windshield and is used to detect the presence of rain or other liquids on the windshield after the vehicle is started. When rain or other liquids are present on the windshield, it generates a control instruction to the processing module, which then controls the wiper motor based on the control instruction. The operating principle of the wiper sensor is conventional and will not be further described here.
[0041] In this embodiment, the processing module may be, but is not limited to, a body controller or a cockpit controller of the vehicle.
[0042] The embodiment of the present application further provides a vehicle, which may include a vehicle body and the aforementioned wiper control device. The wiper control device is disposed on the vehicle body.
[0043] Please refer to Figure 1 The present application also provides a wiper control method that can be applied to the above-mentioned wiper control device, wherein the wiper control device executes or implements each step of the method. The wiper control method may include the following steps:
[0044] Step 110, based on the received control instruction for starting the wiper, determining a current scene service of the wiper as a target scene service, wherein the target scene service includes at least one of a wiper control scene service, an intermittent time scene service, and a sensitivity scene service;
[0045] Step 120: calling the control enhancement service in the wiper control device through the target scene service;
[0046] Step 130, determining whether to execute the target scenario service according to a preset decision strategy through the control enhancement service;
[0047] Step 140: When it is determined to execute the target scene service, the atomic service corresponding to the target scene service is called from the wiper control device, and the atomic service controls the operation of the wiper based on the control parameters corresponding to the target scene service.
[0048] The following are the steps of the wiper control method:
[0049] Before step 110, the method may further include:
[0050] Based on the control parameters corresponding to the wiper scene service, create a wiper control scene service, an interval time scene service, and a sensitivity scene service;
[0051] Isolating the wiper control scenario service, the intermittent time scenario service, and the sensitivity scenario service from the control enhancement service through software layering, and isolating the wiper control scenario service, the intermittent time scenario service, and the sensitivity scenario service from the vehicle's main control service;
[0052] The isolated wiper control scene service, the intermittent time scene service and the sensitivity scene service are recorded into the memory of the wiper control device.
[0053] In this embodiment, the control parameters may include, but are not limited to, at least one of the following: the sensitivity of the wiper sensor, the intermittent time between wiper swings, and the wiper swing rate. The sensitivity allows the wiper sensor to detect the amount of rain on the windshield, thereby automatically adjusting the wiper speed. The intermittent time may refer to the duration between two consecutive wiper swings (e.g., the duration between the end of the first back-and-forth wiper swing and the start of the second back-and-forth wiper swing). The swing rate may refer to the duration of time it takes for the wiper to complete one back-and-forth wiper swing.
[0054] The sensitivity of the wiper sensor, the interval time of the wiper swing and the speed of the wiper swing can all be flexibly determined according to actual conditions.
[0055] R&D personnel can create corresponding services based on the control parameters corresponding to different scenario services. The created services can be understood as software functional modules used to implement corresponding scenarios. For example, the wiper control scenario service can be used to control the operation of the wiper by triggering the physical switch button of the wiper for the car owner. The intermittent time scenario service can be used for the wiper to control the operation of the wiper based on the intermittent time in the intermittent time scenario service. The sensitivity scenario service can be used to adjust the sensitivity of the wiper sensor and control the automatic operation of the wiper based on the control instructions generated by the wiper sensor.
[0056] The Wiper Control Scenario Service, Interval Time Scenario Service, and Sensitivity Scenario Service are loosely coupled, allowing parameters within each service to be modified and developed independently. Furthermore, the Wiper Control Scenario Service, Interval Time Scenario Service, and Sensitivity Scenario Service are isolated from the vehicle's upper- and lower-level services.
[0057] For example, see Figure 2The upper layer services of a vehicle refer to the vehicle's main control services, such as cockpit domain services, driving domain services, or other main control services. The lower layer services of a vehicle refer to control enhancement services and atomic services.
[0058] Isolation can be achieved through software layering. Specifically, the wiper control scenario service, intermittent time scenario service, and sensitivity scenario service are implemented as a layer within the vehicle system application software, with the control enhancement service as a lower layer within the system application software. The cockpit domain service, driving domain service, or other main control services are implemented as an upper layer within the system application software. This reduces coupling between the wiper control scenario service, intermittent time scenario service, and sensitivity scenario service and the upper and lower layer services, facilitating independent development and updates of each layer's software applications or services.
[0059] The isolated wiper control scene service, intermittent time scene service and sensitivity scene service can be recorded into the memory of the wiper control device to facilitate the call of the service during the operation of the vehicle.
[0060] In step 110, the wiper control command can be generated in a variety of ways. For example, a control command generated by a user activating a physical wiper switch can serve as the first control command. The physical switch can be a button located on the vehicle's instrument panel or steering wheel. Alternatively, the user can activate the wipers using a soft switch on the central control display, with the generated control command serving as the second control command. Alternatively, a wiper sensor can automatically generate a control command to activate the wipers upon detecting rain on the windshield, serving as the third control command.
[0061] Understandably, the three control instructions are associated with three service scenarios, respectively. Upon receiving any control instruction, the processing module can determine the wiper's current scenario service, such as the wiper control scenario service, the intermittent time scenario service, or the sensitivity scenario service, based on the scenario identification information carried in the control instruction. The current scenario service is then used as the target scenario service.
[0062] It should be noted that the processing module of the wiper control device can receive one or more control commands within a period of time. For example, a driver may notice rain while driving and physically activate the wipers, generating a first control command. If, within 30 seconds, the wiper sensor is also triggered to generate a third control command to activate the wipers, the processing module will receive both wiper activation commands within a relatively short period of time. At this point, the control enhancement service will need to make a decision.
[0063] In step 120, after determining the current scene service (or target scene service), the current scene service can automatically call the control enhancement service in the wiper control device. The control enhancement service is pre-deployed in the wiper control device and is used to manage and make decisions for the wiper control scene service, the intermittent time scene service, and the sensitivity scene service.
[0064] In step 130, the preset decision strategy can be flexibly determined based on the actual situation. For example, if there is only one service currently, no decision is required and it can be executed directly. If there are multiple services currently, the service with the highest priority is selected as the scenario service to be executed.
[0065] For example, step 130 may include:
[0066] If the control command received within the preset time period includes at least one of a first control command generated based on a user activating a physical wiper switch, a second control command generated based on a user activating the wiper via a central control display, and a third control command generated based on a wiper sensor, the control enhancement service uses the control command with the highest priority among the first, second, and third control commands as the target control command;
[0067] Determine to execute the target scene service corresponding to the target control instruction.
[0068] The preset duration is usually a shorter duration, for example, the preset duration may be a shorter duration such as 10 seconds or 30 seconds.
[0069] The priorities of the first control instruction, the second control instruction and the third control instruction are preset and can be flexibly set according to actual conditions.
[0070] In step 140, an atomic service is the smallest granularity service used to perform a corresponding operation. In the vehicle's system application software, an atomic service corresponds to the smallest granularity software function module. Based on control parameters such as wiper sensor sensitivity, wiper intermittent time, and wiper speed, the atomic service can control the wiper motor to ensure that the wiper motor operates according to the control parameters.
[0071] As an optional implementation, the method may further include:
[0072] Based on the received operation instruction, the control parameters in the intermittent time scenario service or the sensitivity scenario service are changed to parameters corresponding to the operation instruction.
[0073] Understandably, managers can use operating instructions to change the control parameters in the wiper control scenario service, intermittent time scenario service and sensitivity scenario service. In addition, managers can also add services at the same software level as the intermittent time scenario service or sensitivity scenario service. For example, new logical status services, wiper fault services, wiper detailed fault information services, etc. The logical status service is used to provide the execution status of each operation service, such as whether the sensitivity scenario service is executed, and the execution status (for example, normal execution, abnormal execution, etc.), as well as display the wiper hardware status information. The wiper fault service is used to provide fault prompts. The wiper detailed fault information service is used to provide an explanation of the cause of the fault.
[0074] If the vehicle does not have a wiper sensor, the administrator can also delete the sensitivity scenario service through an operation command. Understandably, based on the operation command, the administrator can flexibly add, delete, modify and view the corresponding wiper service.
[0075] As an optional implementation, the method may further include:
[0076] When a wiper fault is detected, a wiper fault service is executed to issue a fault warning.
[0077] Understandably, wiper faults can be flexibly determined based on actual circumstances, such as an unresponsive wiper motor and the inability of the processing module to control its operation. Wiper control devices can subscribe to basic wiper services to implement wiper diagnostic processing requirements. Detecting a wiper fault is conventional and will not be detailed here.
[0078] If a wiper fault is detected, the control enhancement service can be called, and then the control enhancement service calls the atomic service. Finally, the atomic service issues a fault alarm based on the parameters of the wiper fault service.
[0079] In this embodiment, for the wiper scenario service, other domain function calls can directly call the scenario service to implement wiper settings and control functions if they follow the scenario service interface. The scenario service isolates the vehicle's local domain controller from other domain controllers. If the call requirements of other domain controllers are not met, the solution can be solved by adding scenario services. The designed services can be deployed according to the vehicle model and functional requirements.
[0080] The wiper scene service deployed in the vehicle domain controller can be decoupled from the hardware and flexibly deployed in the domain controller. At the same time, it can meet external needs not only through soft switches. Other services can also call the scene service to implement wiper interval time setting, sensitivity setting, and wiper control functions.
[0081] Please refer again Figure 2In the wiper control device provided in this application, by designing the wiper control scene service, intermittent time scene service and sensitivity scene service, and isolating them from the wiper control enhancement service, the soft switch that controls the wiper can realize the wiper intermittent time setting, sensitivity setting and control function requirements by calling the scene service. Among them, the wiper control scene service, intermittent time scene service and sensitivity scene service are designed separately as independent services, which can realize the decoupling of intermittent wiper and automatic wiper parameter settings, and the relevant services can be deployed according to the vehicle model and hardware platform. The wiper scene service is designed to isolate the upper-layer service from the lower-layer enhancement service. It only needs to meet the parameter transmission in the field strength service. The wiper control scene service deployed in other domains can successfully call the scene service.
[0082] The wiper control scene service does not restrict its use by upper-level callers or users. The wiper control scene service can be defined with a priority lower than the system service priority, with one scene service defining one priority. If there are multiple calls, the later one has a higher priority and can interrupt the ongoing call. Priority arbitration is performed through the control enhancement service, so that the higher priority wiper action can be executed first. In the design of the control enhancement service, wiper control, intermittent time, and sensitivity are separated into three interfaces, corresponding to three scene services respectively, to meet the scene service call requirements.
[0083] Please refer to Figure 3 The present application also provides a wiper control device 200 that can be used in the aforementioned wiper control device. The wiper control device 200 includes at least one software function module that can be stored in the form of software or firmware in a storage module or embedded in the operating system (OS) of the wiper control device. The processing module is configured to execute executable modules stored in the storage module, such as the software function modules and computer programs included in the wiper control device 200.
[0084] The wiper control device 200 includes a determination unit 210, a first calling unit 220, a decision unit 230, and a second calling unit 240. The functions of each unit may be as follows:
[0085] a determining unit 210 configured to determine, based on the received control instruction for starting the wiper, a current scene service of the wiper as a target scene service, wherein the target scene service includes at least one of a wiper control scene service, an intermittent time scene service, and a sensitivity scene service;
[0086] A first calling unit 220 is configured to call a control enhancement service in the wiper control device through the target scene service;
[0087] The decision unit 230 is configured to determine whether to execute the target scenario service according to a preset decision strategy through the control enhancement service;
[0088] The second calling unit 240 is used to call the atomic service corresponding to the target scene service from the wiper control device when it is determined to execute the target scene service, and the atomic service controls the operation of the wiper based on the control parameters corresponding to the target scene service.
[0089] Optionally, the wiper control device 200 may further include a creation unit, an isolation unit, and an entry unit. Before the determination unit 210 determines the current scene service of the wiper as the target scene service, the creation unit is used to create a wiper control scene service, an intermittent time scene service, and a sensitivity scene service based on the control parameters corresponding to the scene service of the wiper; the isolation unit is used to isolate the wiper control scene service, the intermittent time scene service, and the sensitivity scene service from the control enhancement service through software layering, and to isolate the wiper control scene service, the intermittent time scene service, and the sensitivity scene service from the main control service of the vehicle; the entry unit is used to enter the isolated wiper control scene service, the intermittent time scene service, and the sensitivity scene service into the memory of the wiper control device.
[0090] Optionally, the decision unit 230 may also be configured to:
[0091] If the control command received within the preset time period includes at least one of a first control command generated based on a user activating a physical wiper switch, a second control command generated based on a user activating the wiper via a central control display, and a third control command generated based on a wiper sensor, the control enhancement service uses the control command with the highest priority among the first, second, and third control commands as the target control command;
[0092] Determine to execute the target scene service corresponding to the target control instruction.
[0093] Optionally, the wiper control device 200 may further include an updating unit, configured to change the control parameters in the intermittent time scenario service or the sensitivity scenario service to parameters corresponding to the operation instruction based on the received operation instruction.
[0094] Optionally, the wiper control device 200 may further include an alarm unit for issuing a fault alarm by executing a wiper fault service when a fault in the wiper is detected.
[0095] In this embodiment, the processing module can be an integrated circuit chip with signal processing capabilities. The above-mentioned processing module can be a general-purpose processor. For example, the processor can be a central processing unit (CPU), a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, and can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present application.
[0096] The storage module may be, but is not limited to, a random access memory, a read-only memory, a programmable read-only memory, an erasable programmable read-only memory, an electrically erasable programmable read-only memory, etc. In this embodiment, the storage module may be used to store wiper control scenario services, intermittent time scenario services, sensitivity scenario services, preset decision strategies, etc. Of course, the storage module may also be used to store programs, which the processing module executes upon receiving an execution instruction.
[0097] It should be noted that those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working process of the wiper control device described above can refer to the corresponding processes of each step in the aforementioned method, and will not be elaborated here.
[0098] The present application also provides a computer-readable storage medium that stores a computer program, which, when executed on a computer, causes the computer to execute the wiper control method described in the above embodiment.
[0099] Through the description of the above implementation methods, technical personnel in this field can clearly understand that the present application can be implemented through hardware, and can also be implemented with the help of software plus the necessary general hardware platform. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, USB flash drive, mobile hard disk, etc.), including a number of instructions for enabling a computer device (which can be a personal computer, a wiper control device, or a network device, etc.) to execute the methods described in each implementation scenario of the present application.
[0100] In summary, the embodiments of the present application provide a wiper control method, apparatus, wiper control device, vehicle and storage medium. In this solution, the scene service currently corresponding to the wiper is determined based on the received control instruction as the target scene service. Then, the control enhancement service is called to decide whether to execute the target scene service. If it is determined to execute the target scene service, the atomic service corresponding to the target scene service is called from the wiper control device, and the atomic service controls the operation of the wiper based on the control parameters corresponding to the target scene service. In this way, the degree of coupling between the wiper control scene service, the intermittent time scene service, and the sensitivity scene service in the wiper service is low, and they can be independently developed, updated and maintained, which is conducive to improving development efficiency and reducing development costs.
[0101] In the embodiments provided in the present application, it should be understood that the disclosed devices, systems and methods can also be implemented in other ways. The device, system and method embodiments described above are merely schematic. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the systems, methods and computer program products according to the multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of code, and a part of the module, program segment or code includes one or more executable instructions for implementing the specified logical function. It should also be noted that each box in the block diagram and / or flowchart, and the combination of the boxes in the block diagram and / or flowchart can be implemented by a dedicated hardware-based system that performs the specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions. In addition, the functional modules in the various embodiments of the present application can be integrated together to form an independent part, or each module can exist alone, or two or more modules can be integrated to form an independent part.
[0102] The above description is merely an embodiment of the present application and is not intended to limit the scope of protection of the present application. For those skilled in the art, various modifications and variations of the present application are possible. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the scope of protection of the present application.
Claims
1. A wiper control method, characterized in that: Applied to a wiper control device, the method comprises: Based on the control parameters corresponding to the wiper scene service, create a wiper control scene service, an interval time scene service and a sensitivity scene service; Isolating the wiper control scenario service, the intermittent time scenario service, and the sensitivity scenario service from the control enhancement service through software layering, and isolating the wiper control scenario service, the intermittent time scenario service, and the sensitivity scenario service from the main control service of the vehicle; Recording the isolated wiper control scene service, the intermittent time scene service and the sensitivity scene service into the memory of the wiper control device; Based on the received control instruction for starting the wiper, determine the current scene service of the wiper as a target scene service, wherein the target scene service includes at least one of a wiper control scene service, an interval time scene service, and a sensitivity scene service; Calling a control enhancement service in the wiper control device through the target scene service; By means of the control enhancement service, according to a preset decision strategy, it is determined whether to execute the target scenario service; When it is determined to execute the target scene service, the atomic service corresponding to the target scene service is called from the wiper control device, and the atomic service controls the operation of the wiper based on the control parameters corresponding to the target scene service; Wherein, judging whether to execute the target scenario service according to a preset decision strategy through the control enhancement service includes: If the control instruction received within the preset time period includes at least one of a first control instruction generated based on the user starting the wiper physical switch, a second control instruction generated based on the user starting the wiper through the central control display screen, and a third control instruction generated based on the wiper sensor, the control enhancement service uses the control instruction with the highest priority among the first control instruction, the second control instruction, and the third control instruction as the target control instruction; Determine to execute the target scene service corresponding to the target control instruction.
2. The method according to claim 1, characterized in that The method further comprises: Based on the received operation instruction, the control parameters in the intermittent time scenario service or the sensitivity scenario service are changed to parameters corresponding to the operation instruction.
3. The method according to claim 1, characterized in that The method further comprises: When a wiper fault is detected, a wiper fault service is executed to issue a fault warning.
4. The method according to claim 1, characterized in that: The control parameter includes at least one of the sensitivity of the wiper sensor, the interval time of the wiper swing, and the speed of the wiper swing.
5. A wiper control device, characterized in that: Applied to a wiper control device, the device comprises: A creation unit, configured to create a wiper control scene service, an interval time scene service, and a sensitivity scene service based on control parameters corresponding to the scene service of the wiper; an isolation unit, configured to isolate the wiper control scenario service, the intermittent time scenario service, and the sensitivity scenario service from a control enhancement service through software layering, and to isolate the wiper control scenario service, the intermittent time scenario service, and the sensitivity scenario service from a main control service of a vehicle; An input unit, used for inputting the isolated wiper control scene service, the intermittent time scene service and the sensitivity scene service into a memory of the wiper control device; a determination unit, configured to determine a current scene service of the wiper as a target scene service based on a received control instruction for starting the wiper, wherein the target scene service includes at least one of a wiper control scene service, an interval time scene service, and a sensitivity scene service; A first calling unit, configured to call a control enhancement service in the wiper control device through the target scene service; A decision unit, configured to determine whether to execute the target scenario service according to a preset decision strategy through the control enhancement service; A second calling unit is used to call an atomic service corresponding to the target scene service from the wiper control device when it is determined to execute the target scene service, and the atomic service controls the operation of the wiper based on a control parameter corresponding to the target scene service; The decision unit is also used for: if the control instructions received within a preset time period include at least one of a first control instruction generated based on a user starting a physical switch for the wiper, a second control instruction generated based on a user starting the wiper through a central control display screen, and a third control instruction generated based on a wiper sensor, through the control enhancement service, using the control instruction with the highest priority among the first control instruction, the second control instruction and the third control instruction as the target control instruction; and determining to execute a target scene service corresponding to the target control instruction.
6. A wiper control device, characterized in that: The wiper control device comprises a processor and a memory coupled to each other, wherein a computer program is stored in the memory. When the computer program is executed by the processor, the wiper control device executes the method as claimed in any one of claims 1 to 4.
7. A vehicle, characterized in that: The vehicle comprises a vehicle body and the wiper control device as claimed in claim 6, wherein the wiper control device is arranged on the vehicle body.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed on a computer, the computer is enabled to execute the method according to any one of claims 1 to 4.
Citation Information
Patent Citations
Novel automobile electronic and electrical architecture with separated software and hardware
CN114103843A
Automobile electric seat control system and method based on SOA framework
CN114435197A