A method and system for invoking a vehicle window control service
By defining the window function as a service and adopting standard interfaces of SOMEIP and CAN protocols, the high cost and low efficiency caused by function changes in the traditional automotive window control architecture are solved, realizing real-time control of the window motor and a simplified update process.
Patent Information
- Application Number
- CN202211166446.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-23
- Publication Date
- 2026-01-02
- Estimated Expiration
- 2042-09-23
AI Technical Summary
Traditional automotive window control architecture requires updating all relevant controllers when functions change, leading to increased costs and time, and making real-time control difficult to achieve.
The window function is defined as a service, and control is achieved by calling the window service. Standard interfaces are designed using the SOMEIP and CAN protocols to realize real-time control of the window motor.
The window function can be updated simply by modifying the service content, which reduces the frequency of controller updates and improves the efficiency of function changes and real-time control capabilities.
Smart Images

Figure CN115522839B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of automobile window control, in particular to a method and system for calling a window control service. BACKGROUND
[0002] The functions of the traditional architecture of an automobile can only interact between the set controllers, and once the functions have new application scenarios, all the controllers involved in the functions need to be updated, which has obvious disadvantages in the current situation of high demand for software upgrade iteration. SUMMARY
[0003] The present application aims to overcome the shortcomings of the prior art and provide a method and system for calling a window control service, which defines the window function as a window service and then executes it by calling the window service, so that when the function needs to be changed, only the corresponding service needs to be modified, and each controller does not need to update the logic.
[0004] To achieve the above purpose, the technical solution adopted by the present application is as follows: a method for calling a window control service, comprising:
[0005] Based on the user input, the window control function calls the corresponding window service BCM_Window_Service;
[0006] The corresponding window control parameters in the window service function are parsed and sent to the BCM, and the BCM executes the control of the window.
[0007] The window service BCM_Window_Service is defined as having a window control method BCM_Window_GlassRealTimeControl_Method, which has two parameters Window_Action and BCM_WindowId, for respectively controlling the action of the window and specifying the ID of the window to be controlled.
[0008] The value of the parameter Window_Action in the window control method includes Up / Down / Stop, which respectively corresponds to the opening of the window, the lowering of the window, and the stopping of the window.
[0009] The value of the parameter BCM_WindowId in the window control method includes LF / RF / LR / RR, which respectively corresponds to the left front, right front, left rear, and right rear four windows.
[0010] The corresponding parameter and parameter value of the window control method BCM_Window_GlassRealTimeControl_Method are called according to the user input when the corresponding window service BCM_Window_Service is called.
[0011] The corresponding CAN signal that can be executed by the BCM is obtained by analyzing the window service function, and the window control is executed by the BCM.
[0012] The parsed CAN signal defines four CAN signals: BCM_LF_Window_Control, BCM_RF_Window_Control, BCM_LR_Window_Control and BCM_RR_Window_Control, which correspond to different window controls, and each CAN signal has two signal data states corresponding to the up and down of the window control.
[0013] The BCM controls the opening and closing of the corresponding window based on the parsed CAN signal and the corresponding signal data state value.
[0014] A window control service calling system, the system is used for running the calling method, including a service gateway and a body control module (BCM), and user input window control data to a vehicle host or a TBOX; the vehicle host or the TBOX periodically calls the window real-time control method BCM_Window_GlassRealTimeControl_Method in the window service BCM_Window_Service, and the parameter value of the method is the same as the user input;
[0015] Then the window service is passed to the service gateway, the corresponding CAN signal is obtained after the service gateway is parsed, and the CAN signal is sent to the BCM, and the BCM controls the operation of the window according to the signal and the data state in the CAN signal.
[0016] The user inputs the window control data through the vehicle machine large screen or the mobile phone app to input the required control window and the opening and closing state of the window.
[0017] The advantage of the present application is that the window control function is integrated as a service function, and the control of the window can be realized only by calling the service, and when the function control needs to be modified, only the corresponding service content parameter needs to be modified, and each controller does not need to be updated, so that the update and improvement of the window function are facilitated. The present application is based on a service-oriented architecture, and a standard interface and a calling method of a window opening function are designed through a SOMEIP protocol and a CAN protocol, and the advantage is that the real-time control ability of the function in the traditional ECU is realized on the basis of the service-oriented architecture, and the real-time control of the window motor is realized through the method. Attached Figure Description
[0018] The following is a brief explanation of the contents of each of the accompanying drawings and the markings in the drawings:
[0019] Figure 1 This is a schematic diagram illustrating the principle of service access via a vehicle-mounted large screen in this invention.
[0020] Figure 2 This is a schematic diagram of the service call principle using tBOX in this invention. Detailed Implementation
[0021] The specific embodiments of the present invention will be further described in detail below with reference to the accompanying drawings and the description of the preferred embodiments.
[0022] This invention is based on a service-oriented architecture and designs a standard interface and calling method for a car window opening function through the SOMEIP and CAN protocols. Its advantage lies in realizing the real-time control capability of functions in traditional ECUs on the basis of a service-oriented architecture. This method enables real-time control of the car window motor.
[0023] This invention relates to a service gateway, a vehicle domain controller, and the service gateway's Ethernet communication, service-to-CAN, and CAN communication functions.
[0024] This invention first defines car window services.
[0025] A car window service (standardized car window functionality) is defined, which includes one method and two parameters, as shown in the table below:
[0026]
[0027] In this window service, the parameter Window_Action is used to control different window action states based on different values. UP, down, and stop correspond to raising, lowering, and stopping the window, respectively. The value of BCM_WindowId corresponds to the four windows (front, rear, left, and right) and is used to locate which window is being controlled.
[0028] Corresponding to this service are the CAN signals based on the parameters and their values within that service. The CAN signals are defined as follows:
[0029]
[0030] The four signals correspond to the four windows, and each signal has two status values. Different values correspond to opening or closing the window. This CAN signal can be recognized and read by the BCM to execute the corresponding window control.
[0031] The calling of the window service is realized through the sending and receiving of the service and the CAN signal.
[0032] The core value of the present application is that the service of the function in the traditional ECU realizes the real-time control, the calling party can realize the open and stop function of the window, and the user can obtain better experience.
[0033] The calling method of the window control service in the present application comprises:
[0034] The window control function based on the user input calls the corresponding window service BCM_Window_Service;
[0035] The corresponding window control parameter in the window service function is parsed and sent into the BCM, and the window control is executed by the BCM;
[0036] The window service BCM_Window_Service is defined as having a window control method BCM_Window_GlassRealTimeControl_Method, the window control method has two parameters Window_Action and BCM_WindowId, and is used for controlling the action of the window and specifying the ID of the window for control.
[0037] The value of the parameter Window_Action in the window control method comprises Up / Down / Stop, which respectively corresponds to the opening of the window, the lowering of the window and the stopping of the window.
[0038] The value of the parameter BCM_WindowId in the window control method comprises LF / RF / LR / RR, which respectively corresponds to the left front, the right front, the left rear and the right rear four windows.
[0039] When the corresponding window service BCM_Window_Service is called, the window control method BCM_Window_GlassRealTimeControl_Method of the corresponding parameter and parameter value is called according to the user input.
[0040] The corresponding CAN signal that can be executed by the BCM is obtained by parsing the window service function, and the window control is executed by the BCM.
[0041] The parsed CAN signal definition includes four CAN signals: BCM_LF_Window_Control, BCM_RF_Window_Control, BCM_LR_Window_Control, BCM_RR_Window_Control, which correspond to different window controls respectively, and each CAN signal has two signal data states corresponding to up and down of the window control. The BCM controls the opening and closing of the corresponding window based on the parsed CAN signal and the corresponding signal data state value.
[0042] The following is illustrated by taking the left front window up control as an example:
[0043] The user continuously clicks the "left front window up" button in the center control screen, and the large screen host calls the window real-time control method "BCM_Window_GlassRealTimeControl_Method" in the "BCM_Window_Service" with t1 as the period. The parameters of this method are "Window_Action: up" and "BCM_WindowId: LF".
[0044] After the service gateway parses the service, it sends the CAN signal "BCM_LF_Window_Control: up" to the BCM, and the BCM performs the window opening action, with an execution time of t2.
[0045] The user stops clicking the "left front window up" button in the center control screen
[0046] The large screen host keeps calling the window real-time control method "BCM_Window_GlassRealTimeControl_Method" in the "BCM_Window_Service" with the same period, and the parameters of this method are "Window_Action: stop" and "BCM_WindowId: LF".
[0047] After the service gateway parses the service, it sends the CAN signal "BCM_LF_Window_Control: stop" to the BCM, and the BCM performs the window stop action, and the sunroof stops running.
[0048] The scene is based on the core process of service conversion CAN to realize window real control, the implementation logic utilizes the periodic call of the "BCM_Window_Service" service, and then realizes the real-time control sending of the window control signal through the service conversion CAN "BCM_LF_Window_Control", so that in the SOA architecture, the real-time control function in the traditional ECU can still be realized through the service call mode, which is the core value of the patent.
[0049] In addition, the operation information of the user can be input through the mobile phone, and the difference from the vehicle machine large screen includes that the user uses the mobile phone to operate the window control, the mobile phone APP is directly connected to the TBOX through the TSP, and the TBOX completes the window control by calling the "BCM_Window_GlassRealTimeControl_Method" method in the "BCM_Window_Service" window control service. The remaining controls of the TBOX calling the window service are the same as those of the host large screen.
[0050] Obviously, the specific implementation of the present application is not limited by the above-mentioned mode, and various non-essential improvements made by adopting the method concept and technical scheme of the present application are within the protection scope of the present application.
Claims
1. A method for invoking a vehicle window control service, characterized in that: include: The window control function based on user input calls the corresponding window service BCM_Window_Service; The window control parameters in the parsed window service function are sent to the BCM, which then executes the window control. The window service BCM_Window_Service is defined as having a window control method BCM_Window_GlassRealTimeControl_Method. This window control method has two parameters, Window_Action and BCM_WindowId, which are used to control the window's action and specify the ID of the window to be controlled, respectively. The window control method includes the parameter Window_Action, which has the values Up / Down / Stop, corresponding to opening the window, lowering the window, and stopping the window, respectively. The value of parameter BCM_WindowId in the window control method includes LF / RF / LR / RR, which correspond to the four windows with window IDs of left front, right front, left rear, and right rear, respectively. When the corresponding window service BCM_Window_Service is called, the window control method BCM_Window_GlassRealTimeControl_Method with the corresponding parameters and parameter values is called according to the user input.
2. The method for invoking a vehicle window control service as described in claim 1, characterized in that: The window service function is parsed to obtain the corresponding CAN signal that can be executed by the BCM, and the BCM then performs window control.
3. The method for invoking a vehicle window control service as described in claim 2, characterized in that: The parsed CAN signal definition includes four CAN signals: BCM_LF_Window_Control, BCM_RF_Window_Control, BCM_LR_Window_Control, and BCM_RR_Window_Control. These four CAN signals correspond to different window controls, and each CAN signal has two signal data states, corresponding to the up and down states of the window control.
4. The method for invoking a vehicle window control service as described in claim 3, characterized in that: The BCM controls the opening and closing of the corresponding windows based on the parsed CAN signals and their corresponding signal data status values.
5. A system for invoking vehicle window control services, characterized in that: The system is used to employ the calling method as described in claims 1-4, including a service gateway and a body control module (BCM). The user inputs window control data to the vehicle host or TBOX. The vehicle host or TBOX periodically calls the real-time window control method BCM_Window_GlassRealTimeControl_Method in the window service BCM_Window_Service, and the parameter values of the method are the same as those input by the user. The window service is then transmitted to the service gateway, which parses the data to obtain the corresponding CAN signal and sends it to the BCM. The BCM controls the window operation based on the signal and data status in the CAN signal.
6. The system for invoking a vehicle window control service as described in claim 5, characterized in that: Users input window control data via the vehicle's infotainment screen or mobile app, specifying the window to be controlled and its open / closed status.
Citation Information
Patent Citations
Vehicle-mounted skylight control system and method
CN114293877A
Intelligent control device of electric automobile window
CN203613935U