CN116446758A - Vehicle window control method and device, terminal equipment and vehicle - Google Patents

Vehicle window control method and device, terminal equipment and vehicle Download PDF

Info

Publication number
CN116446758A
CN116446758A CN202310442572.4A CN202310442572A CN116446758A CN 116446758 A CN116446758 A CN 116446758A CN 202310442572 A CN202310442572 A CN 202310442572A CN 116446758 A CN116446758 A CN 116446758A
Authority
CN
China
Prior art keywords
window
window action
action
triggering event
source
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310442572.4A
Other languages
Chinese (zh)
Inventor
崔书超
冯玉鑫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Great Wall Motor Co Ltd
Original Assignee
Great Wall Motor Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Great Wall Motor Co Ltd filed Critical Great Wall Motor Co Ltd
Priority to CN202310442572.4A priority Critical patent/CN116446758A/en
Publication of CN116446758A publication Critical patent/CN116446758A/en
Pending legal-status Critical Current

Links

Classifications

    • EFIXED CONSTRUCTIONS
    • E05LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
    • E05FDEVICES FOR MOVING WINGS INTO OPEN OR CLOSED POSITION; CHECKS FOR WINGS; WING FITTINGS NOT OTHERWISE PROVIDED FOR, CONCERNED WITH THE FUNCTIONING OF THE WING
    • E05F15/00Power-operated mechanisms for wings
    • E05F15/70Power-operated mechanisms for wings with automatic actuation
    • EFIXED CONSTRUCTIONS
    • E05LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
    • E05FDEVICES FOR MOVING WINGS INTO OPEN OR CLOSED POSITION; CHECKS FOR WINGS; WING FITTINGS NOT OTHERWISE PROVIDED FOR, CONCERNED WITH THE FUNCTIONING OF THE WING
    • E05F15/00Power-operated mechanisms for wings
    • E05F15/40Safety devices, e.g. detection of obstructions or end positions
    • EFIXED CONSTRUCTIONS
    • E05LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
    • E05YINDEXING SCHEME RELATING TO HINGES OR OTHER SUSPENSION DEVICES FOR DOORS, WINDOWS OR WINGS AND DEVICES FOR MOVING WINGS INTO OPEN OR CLOSED POSITION, CHECKS FOR WINGS AND WING FITTINGS NOT OTHERWISE PROVIDED FOR, CONCERNED WITH THE FUNCTIONING OF THE WING
    • E05Y2900/00Application of doors, windows, wings or fittings thereof
    • E05Y2900/50Application of doors, windows, wings or fittings thereof for vehicles
    • E05Y2900/53Application of doors, windows, wings or fittings thereof for vehicles characterised by the type of wing
    • E05Y2900/55Windows
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The application is applicable to the technical field of automobiles, and provides a vehicle window control method and device, terminal equipment and a vehicle, wherein the method comprises the following steps: when a window action triggering event is detected, acquiring related information of the window action triggering event, wherein the related information comprises a window control instruction of the window action triggering event and a window action triggering source; executing a hold process on the window control command to continue sending the window control command to the bus until a next window action trigger event is detected; and continuously sending an trigger source signal to the bus according to the car window action trigger source until the next car window action trigger event is detected. Therefore, the vehicle-mounted remote information processor can acquire the window control instruction, so that the data management background can record the related information of the window control instruction, and when fault complaints of a user are received, the fault source can be determined through the related information of the window control instruction recorded in the data management background, and further the efficiency and the accuracy of fault investigation are improved.

Description

Vehicle window control method and device, terminal equipment and vehicle
Technical Field
The application belongs to the technical field of automobiles, and particularly relates to a vehicle window control method and device, terminal equipment and a vehicle.
Background
With the continuous development of automobile technology, automobiles increasingly participate in our daily lives, and more various application scenes and demands are met, so that intelligent service of the automobiles is more and more important. Along with the development of the intellectualization of the automobile at present, the intelligent control of the automobile window provides the window lifting control function under various scenes for users.
The window control instruction is numerous and complex, and in the use process of a user, the condition that the window is suddenly and automatically closed or the window is suddenly and automatically opened sometimes occurs, and the condition is easy to cause user complaints. And after receiving the complaints of the user, the cause of the fault needs to be determined as soon as possible so as to remove the fault.
However, at present, the situation that the data management background cannot record the window lifting instruction can cause the situation that the fault source cannot be positioned quickly after the user complaints are received.
Disclosure of Invention
The embodiment of the application provides a vehicle window control method and device, terminal equipment and a vehicle, and the condition that a data management background records a vehicle window lifting instruction can be caused.
In a first aspect, an embodiment of the present application provides a vehicle window control method, including:
When a window action triggering event is detected, acquiring related information of the window action triggering event, wherein the related information comprises a window control instruction and a window action triggering source of the window action triggering event;
executing a holding process on the window control command to continuously send the window control command to a bus until a next window action triggering event is detected;
and continuously sending a trigger source signal to the bus according to the car window action trigger source until the next car window action trigger event is detected.
In one implementation manner of the first aspect, the continuously sending a trigger source signal to the bus according to the window action trigger source until a next window action trigger event is detected includes:
acquiring an identification code of the vehicle window action triggering source;
and generating a trigger source signal according to the identification code.
In an implementation manner of the first aspect, the related information of the window action triggering event further includes a window action type, and after the related information of the window action triggering event is acquired when the window action triggering event is detected, the method further includes:
if the window action type is the same as the window action type of the previous window control instruction, keeping the window control instruction unchanged, and continuing to execute the keeping process on the window control instruction so as to continuously send the window control instruction to the bus;
If the window action type is different from the window action type of the previous window control instruction, updating the window control instruction, and executing a holding process on the updated window control instruction so as to continuously send the updated window control instruction to a bus until a next window action triggering event is detected.
In an implementation manner of the first aspect, after the acquiring, when the window action triggering event is detected, relevant information of the window action triggering event, the method further includes:
if the window action trigger source of the window action trigger event is the same as the window action trigger source corresponding to the last trigger source signal, keeping the trigger source signal unchanged, and continuously sending the trigger source signal to the bus;
if the window action trigger source of the window action trigger event is different from the window action trigger source corresponding to the last trigger source signal, updating the trigger source signal, and continuously sending the updated trigger source signal to the bus.
In an implementation manner of the first aspect, the related information of the window action triggering event further includes a signal flag bit, and after the related information of the window action triggering event is acquired when the window action triggering event is detected, the method further includes:
And determining parameters of signal zone bits according to the window action type of the window action triggering event and a window action triggering source.
In an implementation manner of the first aspect, the determining, according to the window action type of the window action triggering event and the window action triggering source, the parameter of the signal flag includes:
and if the window action type of the window action triggering event is the same as the window action type of the previous window control instruction, and the window action triggering source of the window action triggering event is the same as the window action triggering source in the previous triggering source signal, setting the signal flag bit as a first state bit.
In an implementation manner of the first aspect, after setting the signal flag bit to the first state bit if the window action type of the window action triggering event is the same as the window action type of the previous window control command, and the window action triggering source of the window action triggering event is the same as the window action triggering source in the previous triggering source signal, the method further includes:
and when the time length of the signal marker bit set as the first state bit reaches a preset time threshold value, setting the signal marker bit as an initial state bit.
In a second aspect, embodiments of the present application provide a window control apparatus, including:
the device comprises an acquisition module, a control module and a control module, wherein the acquisition module is used for acquiring related information of a window action triggering event when the window action triggering event is detected, and the related information comprises a window control instruction and a window action triggering source of the window action triggering event;
the first sending module is used for executing the holding processing on the window control instruction so as to continuously send the window control instruction to the bus until the next window action triggering event is detected;
and the second sending module is used for continuously sending a trigger source signal to the bus according to the car window action trigger source until the next car window action trigger event is detected.
In a third aspect, an embodiment of the present application provides a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the steps of the method for controlling a vehicle window according to any one of the first aspect are implemented when the processor executes the computer program.
In a fourth aspect, embodiments of the present application provide a vehicle comprising a window control device as described in the second aspect, or comprising a terminal device as described in the third aspect.
In a fifth aspect, embodiments of the present application provide a computer-readable storage medium storing a computer program which, when executed by a processor, implements the steps of the window control method as described in any one of the first aspects above.
In a sixth aspect, embodiments of the present application provide a computer program product which, when run on a terminal device, enables the terminal device to perform the method of window control of any one of the first aspects above.
Compared with the prior art, the embodiment of the application has the beneficial effects that:
according to the window control method, after the window action triggering event is detected, the window control instruction of the window triggering event is kept in the window controller, and the window control instruction is continuously sent to the bus until a new window action triggering event is received, so that the vehicle-mounted remote information processor can acquire the window control instruction when uploading the bus instruction to the data management background, and the data management background can record relevant information of the window control instruction. Based on the method, when the fault complaint of the user is received, the fault source can be determined through the related information of the window control instruction recorded in the data management background, so that the efficiency and the accuracy of fault investigation are improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following description will briefly introduce the drawings that are needed in the embodiments or the description of the prior art, it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is an application scenario schematic diagram of a vehicle window control method provided in an embodiment of the present application;
fig. 2 is a schematic implementation flow chart of a vehicle window control method according to an embodiment of the present application;
fig. 3 is a schematic signal transmission timing diagram of a vehicle window control method according to an embodiment of the present application;
FIG. 4 is a schematic flow chart of another implementation of a method for controlling a vehicle window according to an embodiment of the present disclosure;
FIG. 5 is a schematic flow chart of another implementation of a method for controlling a vehicle window according to an embodiment of the present disclosure;
FIG. 6 is a schematic flow chart of another implementation of a method for controlling a vehicle window according to an embodiment of the present disclosure;
FIG. 7 is a schematic view of a window control apparatus according to an embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of a terminal device according to an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system configurations, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It should be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
As used in this specification and the appended claims, the term "if" may be interpreted as "when..once" or "in response to a determination" or "in response to detection" depending on the context. Similarly, the phrase "if a determination" or "if a [ described condition or event ] is detected" may be interpreted in the context of meaning "upon determination" or "in response to determination" or "upon detection of a [ described condition or event ]" or "in response to detection of a [ described condition or event ]".
In addition, in the description of the present application and the appended claims, the terms "first," "second," "third," and the like are used merely to distinguish between descriptions and are not to be construed as indicating or implying relative importance.
Reference in the specification to "one embodiment" or "some embodiments" or the like means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," and the like in the specification are not necessarily all referring to the same embodiment, but mean "one or more but not all embodiments" unless expressly specified otherwise. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless expressly specified otherwise.
With rapid development of intellectualization of automobiles at present, intelligent control of automobile windows provides a user with window lifting control functions in various scenes, such as driver/passenger key control windows, vehicle-mounted telematics BOX (T-BOX) control windows, voice control windows, sensor key control windows, remote key control windows, bluetooth key control windows, mobile phone application control windows, off-car locking auto-closing windows, vehicle speed sensing auto-closing windows, parking state auto-closing windows, car washing auto-closing windows, one-key lifting windows, rain and snow mode auto-closing windows, intelligent rest mode auto-closing windows, and the like.
The window control instruction is numerous and complex, and sometimes the condition that the window is suddenly and automatically closed or suddenly and automatically opened is easy to cause user complaints, and after the user complaints are received, the reason of the fault needs to be determined as soon as possible so as to eliminate the fault.
However, since the window up and down command is transmitted in the form of an event frame on the bus, after receiving the window motion trigger event, the window motion trigger source will send the window up and down command to the window controller once through the bus, and send the window up and down command once again after a 50ms interval, for a total of 5 times, for a total of 250ms, and will clear the command after completion. The data transmission between the vehicle-mounted remote information processor and the data management background has a time interval, specifically, the data transmission time interval between the vehicle-mounted remote information processor and the data management background is 1s, that is, the vehicle-mounted remote information processor sends an instruction received by the vehicle window controller to the data management background every 1 s.
The vehicle-mounted remote information processor acquires instructions transmitted on the bus through the bus and uploads the acquired instructions to the data management background.
It should be noted that, the above-mentioned vehicle-mounted remote information processor is mainly used for the data management backstage, realize data record and control of data management backstage and vehicle. The data management background is mainly used for recording relevant data of vehicles, including relevant data of various states of the vehicles, relevant data of various instructions executed by the vehicles and the like. Because the data transmission time interval between the vehicle-mounted remote information processor and the data management background is longer than the sending time of the lifting instruction of the vehicle window on the bus, the situation that the lifting instruction of the vehicle window cannot be recorded exists in the data management background, and therefore the situation that the fault source cannot be positioned quickly after the user complains are received is caused.
Note that, the window action triggering sources include, but are not limited to: pulse width modulated signal (Pulse width modulation, PWM) sources, vehicle-mounted telematics BOX (T-BOX), voice control signal trigger sources, remote keyless entry (Remote Keyless Entry, RKE), passive keyless entry (Passive Keyless Entry, PKE), bluetooth, optical rainfall sensor (Rain Light Sensor, RLS), cell phone applications, off-vehicle latch signal sources, vehicle speed sensing auto-close window signal sources, parking status auto-close window, car wash auto-close window, one-key lift window, sleet mode auto-close window, intelligent rest mode auto-close window, "space-time door" mode auto-close window, and the like.
The PWM signal source may be generated by controlling the window to be lifted according to a driver/passenger button.
In order to enable a data management background to accurately record a window control instruction, the embodiment of the application provides a window control method, which is characterized in that after a window action triggering event is detected, the window control instruction of the window triggering event is kept in a window controller, and the window control instruction is continuously sent to a bus until a new window action triggering event is received, so that when the bus instruction is uploaded to the data management background, a vehicle-mounted remote information processor can acquire the window control instruction, and the data management background can record relevant information of the window control instruction.
Based on the method, when the fault complaint of the user is received, the fault source can be determined through the related information of the window control instruction recorded in the data management background, so that the efficiency and the accuracy of fault investigation are improved.
The application scenario to which the window control method provided in the embodiment of the present application is applicable is first described in the following example:
referring to fig. 1, fig. 1 shows an application scenario schematic diagram of a vehicle window control method provided in an embodiment of the present application. As shown in fig. 1, the vehicle may include a window controller 10 and an on-board telematics processor (T-BOX) 20, wherein the on-board telematics processor 20 is communicatively coupled to the window controller 10 via a CAN bus and the on-board telematics processor is communicatively coupled to a data management backend 30.
In the embodiment of the present application, the window controller has functions of data processing, data communication, program running, and the like, and may be an electronic control unit (Electronic Control Unit, ECU) of a vehicle, also referred to as a vehicle-mounted computer, or may be a device having the same or similar functions, which is not limited in this embodiment.
The window controller can receive the window control instruction sent by each window action triggering source and control the corresponding window to execute the action corresponding to the window control instruction so as to realize intelligent control of the window, and can send the related information of the window action triggering event to the bus, so that the vehicle-mounted remote information processor 20 can acquire the related information of the window action triggering event through the bus and upload the acquired related information of the window action triggering event to the data management background, the data management background is used for maintaining the data, and when an maintainer needs to inquire the data, the data recorded in the data management background can be inquired and analyzed so as to realize overhaul and maintenance of the vehicle.
An exemplary method for controlling a vehicle window according to an embodiment of the present application will be described below with reference to the accompanying drawings:
Referring to fig. 2, fig. 2 is a schematic implementation flow chart of a vehicle window control method according to an embodiment of the present application. In the embodiment of the present application, the execution body of the window control method may be a window controller.
S11: and when the vehicle window action triggering event is detected, acquiring the related information of the vehicle triggering event.
In this embodiment of the present application, the information about the window action triggering event may include a window action triggering source corresponding to the window action triggering event and a window control instruction corresponding to the window action triggering event.
Here, the window operation trigger source refers to an object that issues a window control command, which refers to what operation is performed by the window, and the window control command may include, but is not limited to, a window up control command and a window down control command. The window-up control command is used for controlling the window to be lifted up, and the window-down control command is used for controlling the window to be lowered down.
Specifically, the window lifting may be controlled to lift at a constant speed, or a corresponding lifting strategy may be executed according to the type of the window action trigger source, which is not limited herein. The window descending control may be to control the window to descend at a constant speed, or may be to execute a corresponding descending strategy according to the type of the window action triggering source, which is not limited herein.
In this embodiment of the present application, when the window action triggering event is triggered by the window action triggering source and the window control command is received by the window control when the window action triggering source sends the window control command, it may be determined that the window controller detects the window action triggering event.
S12: and executing a holding process on the window control command to continuously send the window control command to a bus until a next window action triggering event is detected.
The holding processing performed on the window control command may specifically be a window control command that records a current window action triggering event by software inside the window controller, and maintains the window control command unchanged until a new window action triggering event is detected.
S13: and continuously sending a trigger source signal to the bus according to the car window action trigger source until the next car window action trigger event is detected.
To enable the data management background to record to whom the window control command was issued, the window controller may query the triggering source of the window action triggering event it detects.
In the embodiment of the present application, the window action triggering source includes, but is not limited to: pulse width modulation (Pulse width modulation, PWM) sources, vehicle-mounted telematics BOX (T-BOX), voice control signal trigger sources, remote keyless entry (Remote Keyless Entry, RKE), passive keyless entry (Passive Keyless Entry, PKE), bluetooth, optical rainfall sensors (Rain Light Sensor, RLS), cell phone applications, off-vehicle latch signal sources, vehicle speed sensing auto-close window signal sources, parking status auto-close window, car wash auto-close window, one-key lift window, rain and snow mode auto-close window, intelligent rest mode auto-close window, etc.
For example, when the window controller receives the window-up control command at time T1, the window controller may query a trigger source that issues the window-up control command, and assume that the window-up control command is issued by the trigger source that is the automatic window closing in the rainy and snowy mode, that is, the window action trigger source detected by the window controller is the automatic window closing in the rainy and snowy mode.
In the embodiment of the application, a unique identification code can be preset for each vehicle window action triggering source, and different vehicle window action triggering sources can be identified through the identification code. For example, the identification code of the PWM signal source is set to 01, the identification code of the T-BOX is set to 02, the identification code of the voice control signal trigger source is set to 03, the identification code of the remote keyless entry is set to 04, the identification code of the passive keyless entry is set to 05, the identification code of bluetooth is set to 06, the identification code of the optical rainfall sensor is set to 07, the identification code of the mobile phone application is set to 08, the identification code of the off-vehicle locking signal source is set to 09, the identification code of the vehicle speed sensing automatic window closing signal source is set to 09, the identification code of the parking state automatic window is set to 10, the identification code of the car washing automatic window closing is set to 11, the identification code of the one-key window is set to 12, the identification code of the automatic window closing in the snowy and rainy mode is set to 13, the identification code of the automatic window closing in the intelligent rest mode is set to 14, the identification code of the automatic window closing in the "space-time mode" is set to 15, and the like.
It should be noted that, the identification code of the vehicle window action triggering source may be set according to the actual situation, which is not particularly limited in this application.
Based on this, in an embodiment of the present application, the step S13 may include the following steps:
acquiring an identification code of the vehicle window action triggering source;
and generating a trigger source signal according to the identification code.
In a specific application, the trigger source signal may be expressed as: dwc_upkeeper=identification code of window motion trigger source. For example, the trigger source is a PWM signal source, the identity of which is encoded as 01, then the trigger source signal may be expressed as: dwc_upkeeppsrc=01.
After the window controller determines the window action triggering source, the current window action triggering source can be recorded, and the triggering source signal is continuously sent to the bus, so that the triggering source corresponding to the current window control instruction can be recorded on the bus, after the data management background is sent by the T-BOX acquisition bus data, the window action triggering source corresponding to the current window action triggering event can be recorded by the data management background, and therefore when a user fault report or complaint is received, a fault source can be queried, and the fault investigation efficiency is improved.
In order to facilitate the explanation of the beneficial effects of the window control method provided in the embodiments of the present application, fig. 3 shows a timing diagram of the window control method provided in the embodiments of the present application. As shown in fig. 3, at time T1, the window is actually operated as a window-up operation, the window-up operation is maintained for a period of time T1 to T2, and the non-operation state is restored at time T2. The window controller detects a window action triggering event (namely, the event that the source 1 triggers the window lifting action of the window) at the time T1, at this time, the window controller records the window control command (namely, the window lifting control command), and executes a holding process on the window control command, namely, the window lifting control command is still held after the window action is finished (after the time T2), and the window control command is updated to be the window lifting control command until the window lifting action is detected at the time T3.
Meanwhile, after the vehicle window controller inquires that the triggering source of the vehicle window action triggering event is the source 1, the vehicle window action triggering source can be recorded as the source 1, and information of the vehicle window action triggering source as the source 1 is continuously output to the bus until a new vehicle window action triggering event is detected. Here, since the trigger source of the window lowering operation at the time T3 is still the source 1, the trigger source information outputted after the time T3 is still the information that the trigger source is the source 1, and the trigger source information is changed to the information that the trigger source is the source 2 until the trigger source is changed to the source 2 at the time T5.
In an embodiment of the present application, the bus includes a CAN bus.
As can be seen from the foregoing, in the window control method provided in the embodiment of the present application, by performing a holding process on a window control instruction of the window trigger event in a window controller, and continuously sending the window control instruction to a bus until a new window action trigger event is received, so that when a vehicle-mounted telematics processor uploads the bus instruction to a data management background, the window control instruction can be acquired, and the data management background can record relevant information of the window control instruction.
Referring to fig. 4, fig. 4 is a schematic implementation flow chart of another vehicle window control method according to an embodiment of the present application. As shown in fig. 4, in the embodiment of the present application, the information about the window action triggering event includes a window action type, and in the embodiment of the present application, the window action type includes a window lifting action type and a window lowering action type. When the window action triggering event is detected, the window controller can determine the window action type corresponding to the window action triggering event.
For example, when the window controller receives a window lowering control command from the passenger to open the window at time T3, the window controller determines that the window action type is a window lowering action type.
The above window control method may include the steps of:
s14: and judging whether the window action type is the same as the window action type of the previous window control instruction, if so, executing S15, otherwise, executing S16.
S15: and keeping the window control command unchanged, and continuously executing the keeping process on the window control command so as to continuously send the window control command to a bus.
S16: and updating the window control command, and executing a holding process on the updated window control command to continuously send the updated window control command to a bus until a next window action triggering event is detected.
In the embodiment of the application, when the window action triggering event is detected, whether the window action type of the current window triggering event is the same as the window action type of the last window triggering event or not is compared, and under the condition that the window action type of the current window triggering event is the same as the window action type of the last window triggering event, the original window action instruction is kept continuously, and only under the condition that the window action instruction is different from the window action instruction, the window action instruction recorded by the window controller is changed, so that the change times of the window action instruction output by the window controller can be reduced.
For example, referring to fig. 3 again, if the window controller detects a window action triggering event at a time T1, a time T3, and a time T5, respectively, and the window controller detects a window lowering action triggered by the source 1 at a time T3, for example, the window action type (i.e., window lowering action type) of the window action triggering event detected at a time T3 is compared with the window action type detected at a time T1, and since the window action type detected at a time T1 is a window raising action type, the window action type and the window action type are different, the window controller updates the window raising control command to a window lowering control command, and performs a hold process on the window lowering control command, so that the window controller continuously outputs the window lowering control command to the bus. Taking the time T5 as an example, if the window controller detects the window lowering action triggered by the source 2 at the time T5, the window action type (i.e. window lowering action type) of the window action triggering event detected at the time T5 is compared with the window action type detected at the time T3, and since the window action type detected at the time T3 is also the window lowering action type, the window action type and the window lowering action type are the same, the window controller keeps the window lowering action command unchanged, and continuously sends the window lowering action command to the bus.
Referring to fig. 5, fig. 5 shows a schematic implementation flow chart of another vehicle window control method according to an embodiment of the present application. In an embodiment of the present application, the method for controlling a vehicle window may include the following steps:
s17: and judging whether the window action triggering source of the window action triggering event is the same as the window action triggering source corresponding to the last triggering source signal, if so, executing S18, otherwise, executing S19.
S18: and keeping the trigger source signal unchanged, and continuously sending the trigger source signal to the bus.
S19: updating the trigger source signal and continuously sending the updated trigger source signal to the bus.
In the embodiment of the application, when the window action triggering event is detected, whether the window action triggering source of the current window triggering event is the same as the window action triggering source of the last window triggering event or not is compared, and under the condition that the window action triggering source and the window action triggering source are the same, the original triggering source signals are kept continuously, and only under the condition that the window action triggering source signals are different, the triggering source signals are changed, so that the changing times of the triggering source signals output by the window controller can be reduced.
For example, referring to fig. 3 again, when the window controller detects the window action triggering event at the time T1, the time T3, and the time T5, taking the example that the window controller detects the window lowering action triggered by the source 1 at the time T3, the window action triggering source (source 1) of the window action triggering event detected at the time T3 is compared with the window action triggering source detected at the time T1, and since the window action triggering source detected at the time T1 is also the source 1, both are the same, the window controller keeps the triggering source signal dwc_uppkeesrc=01 unchanged. Taking the time T5 as an example, when the window controller detects the window lowering action triggered by the source 2 at the time T5, the window action trigger source (source 2) of the window action trigger event detected at the time T5 is compared with the window action trigger source detected at the time T3, and since the window action trigger source detected at the time T3 is the source 1, the window controller updates the trigger source signal from dwc_uppkeesrc=01 to dwc_uppkeesrc=02, and continuously sends the trigger source signal of dwc_uppkeesrc=02 to the bus.
Referring to fig. 6, fig. 6 is a schematic implementation flow chart of another window control method according to an embodiment of the present application. In this embodiment of the present application, the window controller sends a signal flag bit to the bus, and accordingly, the window control method may further include the following steps:
s20: and determining parameters of signal zone bits according to the window action type of the window action triggering event and a window action triggering source.
In the embodiment of the present application, since the embodiment of the present application performs the hold processing on the window control command and the window action triggering source, if the same window action is triggered by the same window action triggering source within a period of time, the two window action triggering events cannot be distinguished on the bus, and in order to enable the window action triggering event to be distinguished, the embodiment of the present application sets a signal flag bit to record the window action triggering event.
Specifically, the step S20 may include the steps of:
and if the window action type of the window action triggering event is the same as the window action type of the previous window control instruction, and the window action triggering source of the window action triggering event is the same as the window action triggering source in the previous triggering source signal, setting the signal flag bit as a first state bit.
In the embodiment of the application, since the action trigger source of the current window action trigger event is consistent with the action trigger source of the last window action trigger event, the window action type of the current window action trigger event is also the same as the window action type of the last window action trigger event, then the window controller cannot update the window control instruction and the trigger source signal which are being sent, then the bus data acquired by the T-BOX cannot distinguish the two window action trigger events, and the two window action trigger events are identified as one window action trigger event, so that the occurrence time of the fault is not beneficial to determination. Therefore, when the action trigger source of the current window action trigger event is the same as the action trigger source of the previous window action trigger event, and the window action type of the current window action trigger event is also the same as the window action type of the previous window action trigger event, the window controller may set the signal flag bit to a first state bit, where the first state bit is used to indicate that a new window action trigger event is detected.
In a specific application, the signal flag bit may include 2 bits, and the first state bit of the signal flag bit may be 01. The initial status bit of the signal flag bit may be 00. Under other conditions, the signal zone bit is 00, and only when the action trigger source of the current window action trigger event is the same as the action trigger source of the last window action trigger event, and the window action type of the current window action trigger event is also the same as the window action type of the last window action trigger event, the window controller sets the signal zone bit to be 01, so that bus data acquired by the T-BOX can distinguish the two window action trigger events based on the parameters of the signal zone bit.
It should be noted that the initial state bit and the first state bit of the signal flag bit may be set according to actual situations, for example, the initial state bit may be set to 10, the first state bit may be set to 00, or the initial state bit may be set to 01, the first state bit may be set to 11, and so on.
In another embodiment of the present application, the step S20 may further include the steps of:
and when the time length of the signal marker bit set as the first state bit reaches a preset time threshold value, setting the signal marker bit as an initial state bit.
In the embodiment of the present application, the preset time threshold may be set according to actual situations, for example, set to 20 s.
The signal flag bit is set to be the first state bit and kept for the duration corresponding to the preset time threshold value, so that the T-BOX can acquire the jump condition, further, background data can record relevant information of each window action triggering event, and when the duration of the signal flag bit set to be the first state reaches the preset time threshold value, the signal flag bit is set to be the initial state bit, and the initial state is recovered, so that false identification is avoided.
It should be understood that the sequence number of each step in the foregoing embodiment does not mean that the execution sequence of each process should be determined by the function and the internal logic of each process, and should not limit the implementation process of the embodiment of the present application in any way.
Fig. 7 shows a block diagram of a window control apparatus according to an embodiment of the present application, and for convenience of explanation, only a portion related to the embodiment of the present application is shown. Referring to fig. 7, the window control device 70 includes:
the acquiring module 71 is configured to acquire, when a window action triggering event is detected, related information of the window action triggering event, where the related information includes a window control instruction and a window action triggering source of the window action triggering event.
The first sending module 72 is configured to perform a hold process on the window control command to continue sending the window control command to the bus until a next window action triggering event is detected.
The second transmitting module 73 is configured to continuously transmit a trigger source signal to the bus according to the window action trigger source until a next window action trigger event is detected.
In an implementation manner, the second sending module 73 may include an identification code obtaining unit and a generating unit.
The identification code acquisition unit is used for acquiring the identification code of the vehicle window action triggering source.
The generating unit is used for generating a trigger source signal according to the identification code.
In an implementation manner, the window control device may further include a first determining module.
The first judging module is used for keeping the window control instruction unchanged if the window action type is the same as the window action type of the previous window control instruction, and continuously executing the keeping process on the window control instruction so as to continuously send the window control instruction to the bus; if the window action type is different from the window action type of the previous window control instruction, updating the window control instruction, and executing a holding process on the updated window control instruction so as to continuously send the updated window control instruction to a bus until a next window action triggering event is detected.
In an implementation manner, the window control device may further include a second determining module.
The second judging module is used for keeping the trigger source signal unchanged and continuously sending the trigger source signal to the bus if the window action trigger source of the window action trigger event is the same as the window action trigger source corresponding to the last trigger source signal; if the window action trigger source of the window action trigger event is different from the window action trigger source corresponding to the last trigger source signal, updating the trigger source signal, and continuously sending the updated trigger source signal to the bus.
In an implementation manner, the window control device may further include a setting module.
The setting module is used for determining parameters of the signal zone bit according to the window action type of the window action triggering event and the window action triggering source.
In an implementation manner, the setting module is specifically configured to set the signal flag bit as the first state bit if the window action type of the window action triggering event is the same as the window action type of the previous window control command, and the window action triggering source of the window action triggering event is the same as the window action triggering source in the previous triggering source signal.
In an implementation manner, the setting module is further configured to set the signal flag bit as the initial state bit when a duration of the signal flag bit set as the first state bit reaches a preset time threshold.
It can be seen from the foregoing that, in the window control device provided in the embodiment of the present application, after a window action triggering event is detected, a hold process can be performed on a window control instruction of the window triggering event in a window controller, and the window control instruction is continuously sent to a bus until a new window action triggering event is received, so that when a bus instruction is uploaded to a data management background, a vehicle-mounted telematics processor can acquire the window control instruction, and the data management background can record relevant information of the window control instruction. Based on the method, when the fault complaint of the user is received, the fault source can be determined through the related information of the window control instruction recorded in the data management background, so that the efficiency and the accuracy of fault investigation are improved.
Fig. 8 is a schematic structural diagram of a terminal device according to an embodiment of the present application. As shown in fig. 8, the terminal device 8 of this embodiment includes: at least one processor 80 (only one is shown in fig. 8), a memory 81 and a computer program 82 stored in the memory 81 and executable on the at least one processor 80, the processor 80 implementing the steps in any one of the window control method embodiments described above when executing the computer program 82.
It will be appreciated by those skilled in the art that fig. 8 is merely an example of the terminal device 8 and is not limiting of the terminal device 8, and may include more or fewer components than shown, or may combine certain components, or different components, such as may also include input-output devices, network access devices, etc.
The processor 80 may be a central first processing unit (Central Processing Unit, CPU), the processor 80 may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), off-the-shelf programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 81 may in some embodiments be an internal storage unit of the terminal device 8, such as a hard disk or a memory of the terminal device 8. The memory 81 may in other embodiments also be an external storage device of the terminal device 8, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or the like, which are provided on the terminal device 8. Further, the memory 81 may also include both an internal storage unit and an external storage device of the terminal device 8. The memory 81 is used for storing an operating system, application programs, boot loader (BootLoader), data, other programs etc., such as program codes of the computer program etc. The memory 81 may also be used to temporarily store data that has been output or is to be output.
The present application further provides a computer readable storage medium storing a computer program, which when executed by a processor, implements the steps of any of the above embodiments of the window control method.
The present embodiments provide a computer program product, which when run on a terminal device, causes the terminal device to perform the steps of any of the above-mentioned window control method embodiments.
The embodiment of the application provides a vehicle, which comprises the device in the embodiment of the vehicle window control device or the device/unit in the embodiment of the terminal equipment.
It should be noted that, because the content of information interaction and execution process between the above devices/units is based on the same concept as the method embodiment of the present application, specific functions and technical effects thereof may be referred to in the method embodiment section, and will not be described herein again.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional units and modules is illustrated, and in practical application, the above-described functional distribution may be performed by different functional units and modules according to needs, i.e. the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-described functions. The functional units and modules in the embodiment may be integrated in one first processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit, where the integrated units may be implemented in a form of hardware or a form of a software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working process of the units and modules in the above system may refer to the corresponding process in the foregoing method embodiment, which is not described herein again.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and in part, not described or illustrated in any particular embodiment, reference is made to the related descriptions of other embodiments.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed window control method may be implemented in other manners. For example, the apparatus/terminal device embodiments described above are merely illustrative, e.g., the division of the modules or units is merely a logical function division, and there may be additional divisions in actual implementation, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection via interfaces, devices or units, which may be in electrical, mechanical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
The above embodiments are only for illustrating the technical solution of the present application, and are not limiting; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application, and are intended to be included in the scope of the present application.

Claims (10)

1. A vehicle window control method, characterized by comprising:
when a window action triggering event is detected, acquiring related information of the window action triggering event, wherein the related information comprises a window control instruction and a window action triggering source of the window action triggering event;
Executing a holding process on the window control command to continuously send the window control command to a bus until a next window action triggering event is detected;
and continuously sending a trigger source signal to the bus according to the car window action trigger source until the next car window action trigger event is detected.
2. The method of window control according to claim 1, wherein the continuously sending a trigger source signal to the bus in accordance with the window action trigger source until a next window action trigger event is detected comprises:
acquiring an identification code of the vehicle window action triggering source;
and generating a trigger source signal according to the identification code.
3. The window control method according to claim 1, wherein the information about the window action triggering event further includes a window action type, and the method further includes, after acquiring the information about the window action triggering event when the window action triggering event is detected:
if the window action type is the same as the window action type of the previous window control instruction, keeping the window control instruction unchanged, and continuing to execute the keeping process on the window control instruction so as to continuously send the window control instruction to the bus;
If the window action type is different from the window action type of the previous window control instruction, updating the window control instruction, and executing a holding process on the updated window control instruction so as to continuously send the updated window control instruction to a bus until a next window action triggering event is detected.
4. The method for controlling a vehicle window according to claim 1, wherein when the vehicle window action triggering event is detected, after acquiring the related information of the vehicle window action triggering event, the method further comprises:
if the window action trigger source of the window action trigger event is the same as the window action trigger source corresponding to the last trigger source signal, keeping the trigger source signal unchanged, and continuously sending the trigger source signal to the bus;
if the window action trigger source of the window action trigger event is different from the window action trigger source corresponding to the last trigger source signal, updating the trigger source signal, and continuously sending the updated trigger source signal to the bus.
5. The window control method according to any one of claims 1 to 4, wherein the related information of the window action triggering event further includes a signal flag bit, and when the window action triggering event is detected, after acquiring the related information of the window action triggering event, the method further includes:
And determining parameters of signal zone bits according to the window action type of the window action triggering event and a window action triggering source.
6. The method for controlling a vehicle window according to claim 5, wherein the determining the parameter of the signal flag according to the window action type and the window action trigger source of the window action trigger event comprises:
and if the window action type of the window action triggering event is the same as the window action type of the previous window control instruction, and the window action triggering source of the window action triggering event is the same as the window action triggering source in the previous triggering source signal, setting the signal flag bit as a first state bit.
7. The window control method according to claim 6, wherein after setting the signal flag bit to the first state bit if the window action type of the window action triggering event is the same as the window action type of the previous window control command and the window action triggering source of the window action triggering event is the same as the window action triggering source in the previous triggering source signal, further comprising:
and when the time length of the signal marker bit set as the first state bit reaches a preset time threshold value, setting the signal marker bit as an initial state bit.
8. A window control device, characterized by comprising:
the device comprises an acquisition module, a control module and a control module, wherein the acquisition module is used for acquiring related information of a window action triggering event when the window action triggering event is detected, and the related information comprises a window control instruction and a window action triggering source of the window action triggering event;
the first sending module is used for executing the holding processing on the window control instruction so as to continuously send the window control instruction to the bus until the next window action triggering event is detected;
and the second sending module is used for continuously sending a trigger source signal to the bus according to the car window action trigger source until the next car window action trigger event is detected.
9. A terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the window control method according to any one of claims 1 to 7 when the computer program is executed.
10. A vehicle comprising the window control device according to claim 8 or comprising the terminal device according to claim 9.
CN202310442572.4A 2023-04-23 2023-04-23 Vehicle window control method and device, terminal equipment and vehicle Pending CN116446758A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310442572.4A CN116446758A (en) 2023-04-23 2023-04-23 Vehicle window control method and device, terminal equipment and vehicle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310442572.4A CN116446758A (en) 2023-04-23 2023-04-23 Vehicle window control method and device, terminal equipment and vehicle

Publications (1)

Publication Number Publication Date
CN116446758A true CN116446758A (en) 2023-07-18

Family

ID=87128493

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310442572.4A Pending CN116446758A (en) 2023-04-23 2023-04-23 Vehicle window control method and device, terminal equipment and vehicle

Country Status (1)

Country Link
CN (1) CN116446758A (en)

Similar Documents

Publication Publication Date Title
US9512661B2 (en) Rain onset detection glazing auto-close
US11665178B2 (en) Methods and arrangements for message time series intrusion detection for in-vehicle network security
US6604038B1 (en) Apparatus, method, and computer program product for establishing a remote data link with a vehicle with minimal data transmission delay
US9752370B2 (en) Rain onset detection auto-close user interface
DE102007057483B4 (en) Passive multi-channel vehicle activation system
DE102017108740A1 (en) Systems and methods for extending the range of a keyed phone
CN111038418A (en) Central integrated automobile body domain controller system and automobile
US9538473B2 (en) Vehicle remote control key system and signal processing method
CN103121435A (en) Vehicle communications and access
CN102044101A (en) Smart card positioning method for automobile wireless access control system
CN102529892A (en) Automotive electronic anti-theft alarm device
CN104972970A (en) Vehicle light anomaly state warning
CN206968607U (en) A kind of urgent block sytem of car door based on cell phone application
CN104821090A (en) Vehicle inspection system and method based on intelligent mobile phone
CN116446758A (en) Vehicle window control method and device, terminal equipment and vehicle
CN110667514B (en) Vehicle door unlocking method and device
CN111447589A (en) Vehicle-mounted Ethernet diagnosis system monitoring and authorized use method based on mobile communication
CN110083371B (en) Vehicle program updating system and method, updating tool and storage medium
CN110794735A (en) Remote control device and method
CN109263600A (en) A kind of thump detection anti-theft device, method and storage medium
CN109263601A (en) A kind of alarms and security systems for automobiles, method, system, automobile and storage medium
CN116434505A (en) Alarm information processing method, system, equipment, storage medium and vehicle
CN116905923A (en) Vehicle window control method and device, vehicle and storage medium
CN211956171U (en) Automobile body domain controller development device
CN114710646B (en) Vehicle scratch alarm monitoring method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination