CN112638007B - Position lamp control method, device, terminal and storage medium - Google Patents
Position lamp control method, device, terminal and storage medium Download PDFInfo
- Publication number
- CN112638007B CN112638007B CN202011557718.2A CN202011557718A CN112638007B CN 112638007 B CN112638007 B CN 112638007B CN 202011557718 A CN202011557718 A CN 202011557718A CN 112638007 B CN112638007 B CN 112638007B
- Authority
- CN
- China
- Prior art keywords
- signal
- position lamp
- lamp
- wake
- switch
- 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.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B47/00—Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
- H05B47/10—Controlling the light source
- H05B47/105—Controlling the light source in response to determined parameters
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60Q—ARRANGEMENT OF SIGNALLING OR LIGHTING DEVICES, THE MOUNTING OR SUPPORTING THEREOF OR CIRCUITS THEREFOR, FOR VEHICLES IN GENERAL
- B60Q1/00—Arrangement of optical signalling or lighting devices, the mounting or supporting thereof or circuits therefor
- B60Q1/26—Arrangement of optical signalling or lighting devices, the mounting or supporting thereof or circuits therefor the devices being primarily intended to indicate the vehicle, or parts thereof, or to give signals, to other traffic
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B47/00—Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
- H05B47/10—Controlling the light source
- H05B47/165—Controlling the light source following a pre-assigned programmed sequence; Logic control [LC]
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02B—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
- Y02B20/00—Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
- Y02B20/40—Control techniques providing energy savings, e.g. smart controller or presence detection
Landscapes
- Engineering & Computer Science (AREA)
- Mechanical Engineering (AREA)
- Lighting Device Outwards From Vehicle And Optical Signal (AREA)
- Circuit Arrangement For Electric Light Sources In General (AREA)
Abstract
The invention discloses a position lamp control method, a device, a terminal and a storage medium, which belong to the technical field of automobile electronic and electric control systems and comprise the steps of obtaining the starting signal state of a position signal lamp; and determining a position lamp port wake-up combined switch MCU strategy according to the position lamp starting signal state. According to the position lamp control method, the technical means of independently processing the position lamp gear signals is adopted, the problem that the position lamp can be continuously turned on and cannot be turned off when the position lamp is turned on before sleeping is solved, and the effects of improving the comfort level of customers and reducing the energy consumption are achieved.
Description
Technical Field
The invention discloses a position lamp control method, a position lamp control device, a position lamp control terminal and a storage medium, and belongs to the technical field of automobile electronic and electric control systems.
Background
With the development of automobile technology, a combination switch is an important automobile electrical component, and is gradually developed to comfort and operation convenience. The demand for combination switches has increased. And the position lamp control function is used as a safety related, so that effective control under various working conditions of the combined switch is necessary.
In the combined switch MCU wake-up strategy, a falling edge or a rising edge is generally adopted for wake-up, but the structure or the method has the following disadvantages: if the position lamp gear on signal is required to effectively wake up the MCU for safety, the position lamp gear off signal cannot wake up the MCU. If the state of the position lamp is on before sleeping, the position lamp can be continuously on and can not be turned off, which causes trouble to users and causes waste of energy sources of the whole vehicle.
Disclosure of Invention
The invention aims to solve the problems that the state of a position lamp is lighted before the sleeping of an automobile, the position lamp can be continuously lighted and can not be turned off, which causes trouble to users and causes waste of energy of the whole automobile.
The invention aims to solve the problems, which are realized by the following technical scheme:
according to a first aspect of an embodiment of the present invention, there is provided a position lamp control method, the method including:
acquiring a position signal lamp starting signal state;
and determining a position lamp port wake-up combined switch MCU strategy according to the position lamp starting signal state.
Preferably, the acquiring the signal state of the position signal lamp comprises:
acquiring a state variable of a position lamp switch signal in the combined switch,
and determining the starting signal state of the position signal lamp through the state variable of the position lamp switch signal in the combined switch.
Preferably, the determining the position light port wake-up combined switch MCU policy according to the position signal lamp on signal state includes:
when the position lamp signal starting signal is valid, configuring a position lamp port wake-up combined switch MCU strategy as falling edge wake-up;
and when the position lamp signal on signal is not valid, configuring the position lamp port wake-up combination switch MCU strategy to wake-up at the rising edge.
According to a second aspect of embodiments of the present invention, there is provided a position lamp control apparatus, the apparatus comprising:
the acquisition unit is used for acquiring the starting signal state of the position signal lamp;
and the execution unit is used for determining a position lamp port wake-up combined switch MCU strategy according to the position lamp on signal state.
Preferably, the acquiring unit is configured to:
acquiring a state variable of a position lamp switch signal in the combined switch,
and determining the starting signal state of the position signal lamp through the state variable of the position lamp switch signal in the combined switch.
Preferably, the execution unit is configured to:
when the position lamp signal starting signal is valid, configuring a position lamp port wake-up combined switch MCU strategy as falling edge wake-up;
and when the position lamp signal on signal is not valid, configuring the position lamp port wake-up combination switch MCU strategy to wake-up at the rising edge.
According to a third aspect of an embodiment of the present invention, there is provided a terminal including:
one or more processors;
a memory for storing the one or more processor-executable instructions;
wherein the one or more processors are configured to:
the method according to the first aspect of the embodiment of the invention is performed.
According to a fourth aspect of embodiments of the present invention, there is provided a non-transitory computer readable storage medium, which when executed by a processor of a terminal, enables the terminal to perform the method according to the first aspect of embodiments of the present invention.
According to a fifth aspect of embodiments of the present invention, there is provided an application program product for causing a terminal to carry out the method according to the first aspect of embodiments of the present invention when the application program product is run at the terminal.
The technical scheme provided by the embodiment of the invention can comprise the following beneficial effects:
according to the position lamp control method, the technical means of independently processing the position lamp gear signals is adopted, the problem that the position lamp can be continuously turned on and cannot be turned off when the position lamp is turned on before sleeping is solved, and the effects of improving the comfort level of customers and reducing the energy consumption are achieved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly introduced below, and 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 a flow chart illustrating a position light control method according to an exemplary embodiment;
FIG. 2 is a flowchart illustrating a position light control method according to an exemplary embodiment;
FIG. 3 is a block diagram of a position light control device according to an exemplary embodiment;
fig. 4 is a block diagram of a position light control apparatus according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the invention. Rather, they are merely examples of apparatus and methods consistent with aspects of the invention as detailed in the accompanying claims.
The embodiment of the invention provides a position lamp control method, which is realized by a terminal, wherein the terminal can be a smart phone, a desktop computer or a notebook computer. The terminal at least comprises a CPU, a voice acquisition device and the like.
Fig. 1 is a flowchart illustrating a position lamp control method according to an exemplary embodiment, which is used in a terminal, as shown in fig. 1, and includes the steps of:
and 102, determining a position lamp port wake-up combined switch MCU strategy according to the position lamp on signal state.
Preferably, the acquiring the signal state of the position signal lamp comprises:
acquiring a position lamp switch signal state variable in the combined switch;
and determining the starting signal state of the position signal lamp through the state variable of the position lamp switch signal in the combined switch.
Preferably, the determining the position light port wake-up combined switch MCU policy according to the position signal lamp on signal state includes:
when the position lamp signal starting signal is valid, configuring a position lamp port wake-up combined switch MCU strategy as falling edge wake-up;
and when the position lamp signal on signal is not valid, configuring the position lamp port wake-up combination switch MCU strategy to wake-up at the rising edge.
Fig. 2 is a flowchart illustrating a position lamp control method according to an exemplary embodiment, which is used in a terminal, as shown in fig. 2, and includes the steps of:
And 202, determining the starting signal state of the position signal lamp through the state variable of the position lamp switch signal in the combined switch.
And 203, determining a position lamp port wake-up combined switch MCU strategy according to the position lamp on signal state.
Initializing and configuring the signal port of the combined switch position lamp: if the current position lamp signal starting signal acquired by the MCU is valid, configuring a position lamp port wake-up combination switch MCU strategy as falling edge wake-up; if the current position lamp signal starting signal acquired by the MCU is not valid, the position lamp port wake-up combined switch MCU strategy is configured to wake-up at the rising edge.
The combined switch position lamp switch is operated, the combined switch MCU can be awakened from off to on or from on to off, and the LIN network can be actively awakened after the combined switch MCU is awakened. At this time, the vehicle body controller realizes corresponding control of the position lamp switch or the off according to the signal input of the combined switch.
And finally, under the whole vehicle sleeping condition, the operation action of the position lamp according to the driver is realized, and the operation intention of the driver is realized.
According to the invention, the technical means of independently processing the position lamp gear signals is adopted, so that the problem that the position lamp can be continuously turned on and can not be turned off when the position lamp is turned on before sleeping is solved, and the effects of improving the comfort level of customers and reducing the energy consumption are further achieved.
In an exemplary embodiment, there is also provided a position lamp control apparatus, as shown in fig. 3, including:
an obtaining unit 310, configured to obtain a position signal lamp on signal state;
and the execution unit 320 is configured to determine a wake-up combined switch MCU policy of the position light port according to the on signal state of the position light.
Preferably, the acquiring unit 310 is configured to:
acquiring a state variable of a position lamp switch signal in the combined switch,
and determining the starting signal state of the position signal lamp through the state variable of the position lamp switch signal in the combined switch.
Preferably, the execution unit 320 is configured to:
when the position lamp signal starting signal is valid, configuring a position lamp port wake-up combined switch MCU strategy as falling edge wake-up;
and when the position lamp signal on signal is not valid, configuring the position lamp port wake-up combination switch MCU strategy to wake-up at the rising edge.
According to the invention, the technical means of independently processing the position lamp gear signals is adopted, so that the problem that the position lamp can be continuously turned on and can not be turned off when the position lamp is turned on before sleeping is solved, and the effects of improving the comfort level of customers and reducing the energy consumption are further achieved.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided, as shown in fig. 4, for example, a memory 402 including instructions executable by the processor 401 of the apparatus to perform the position light control method described above. For example, the non-transitory computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
In an exemplary embodiment, an application program product is also provided, comprising one or more instructions executable by the processor 401 of the above device to perform the above position light control method.
Although embodiments of the invention have been disclosed above, they are not limited to the use listed in the specification and embodiments. It can be applied to various fields suitable for the present invention. Additional modifications will readily occur to those skilled in the art. Therefore, the invention is not to be limited to the specific details and illustrations shown and described herein, without departing from the general concepts defined in the claims and their equivalents.
Claims (4)
1. A position light control method, the method comprising:
acquiring a position signal lamp starting signal state, comprising:
acquiring a state variable of a position lamp switch signal in the combined switch,
determining a position signal lamp starting signal state through a position lamp switching signal state variable in the combined switch;
determining a position lamp port wake-up combination switch MCU strategy according to the position lamp on signal state, comprising:
when the position lamp signal starting signal is valid, configuring a position lamp port wake-up combined switch MCU strategy as falling edge wake-up;
and when the position lamp signal on signal is not valid, configuring the position lamp port wake-up combination switch MCU strategy to wake-up at the rising edge.
2. A position light control device, the device comprising:
an acquisition unit for acquiring a position signal lamp on signal state, including:
acquiring a state variable of a position lamp switch signal in the combined switch,
determining a position signal lamp starting signal state through a position lamp switching signal state variable in the combined switch;
the execution unit is used for determining a position lamp port wake-up combined switch MCU strategy according to the position lamp on signal state, and comprises the following steps:
when the position lamp signal starting signal is valid, configuring a position lamp port wake-up combined switch MCU strategy as falling edge wake-up;
and when the position lamp signal on signal is not valid, configuring the position lamp port wake-up combination switch MCU strategy to wake-up at the rising edge.
3. A terminal, comprising:
one or more processors;
a memory for storing the one or more processor-executable instructions;
wherein the one or more processors are configured to:
is executed to implement the position lamp control method as claimed in claim 1.
4. A non-transitory computer readable storage medium, characterized in that instructions in the storage medium, when executed by a processor of a terminal, enable the terminal to execute to implement the position light control method of claim 1.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011557718.2A CN112638007B (en) | 2020-12-25 | 2020-12-25 | Position lamp control method, device, terminal and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011557718.2A CN112638007B (en) | 2020-12-25 | 2020-12-25 | Position lamp control method, device, terminal and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112638007A CN112638007A (en) | 2021-04-09 |
CN112638007B true CN112638007B (en) | 2023-05-16 |
Family
ID=75325441
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011557718.2A Active CN112638007B (en) | 2020-12-25 | 2020-12-25 | Position lamp control method, device, terminal and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112638007B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2014118046A (en) * | 2012-12-17 | 2014-06-30 | Mitsubishi Motors Corp | Remote operation system for lamp of vehicle |
CN110481417A (en) * | 2019-08-21 | 2019-11-22 | 北京汽车股份有限公司 | Vehicle and its lamp light control method and system |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE10059128A1 (en) * | 2000-11-29 | 2002-06-13 | Lucas Varity Gmbh | Device for determining positions and movements of a brake pedal for a vehicle brake system |
JP4286674B2 (en) * | 2004-01-14 | 2009-07-01 | 本田技研工業株式会社 | Vehicle lamp control device |
JP5364006B2 (en) * | 2010-01-29 | 2013-12-11 | コイズミ照明株式会社 | Lighting device |
KR101382848B1 (en) * | 2012-08-07 | 2014-04-08 | 기아자동차주식회사 | Combined control device and method for lamp of vehicle |
CN106371424B (en) * | 2016-09-30 | 2018-10-09 | 安徽江淮汽车集团股份有限公司 | A kind of vehicle dormancy method and system |
CN206579588U (en) * | 2017-02-09 | 2017-10-24 | 北京汽车研究总院有限公司 | A kind of body control system |
CN110386051B (en) * | 2018-04-13 | 2021-03-09 | 广州汽车集团股份有限公司 | Method, device and system for controlling vehicle external illuminating lamp through voice |
CN109143116A (en) * | 2018-07-26 | 2019-01-04 | 上海与德科技有限公司 | Lamp condition detection method, device, terminal and storage medium |
CN209928230U (en) * | 2019-06-03 | 2020-01-10 | 东南(福建)汽车工业有限公司 | Electronic gear backlight lamp function dormancy awakening device |
-
2020
- 2020-12-25 CN CN202011557718.2A patent/CN112638007B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2014118046A (en) * | 2012-12-17 | 2014-06-30 | Mitsubishi Motors Corp | Remote operation system for lamp of vehicle |
CN110481417A (en) * | 2019-08-21 | 2019-11-22 | 北京汽车股份有限公司 | Vehicle and its lamp light control method and system |
Also Published As
Publication number | Publication date |
---|---|
CN112638007A (en) | 2021-04-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101610300B (en) | Method and device for controlling backlight of mobile terminal | |
WO2014012517A1 (en) | Method and device for controlling terminal and terminal thereof | |
CN110209428B (en) | Terminal screen awakening method and device, terminal and storage medium | |
US7900072B2 (en) | Tri-layered power scheme for architectures which contain a micro-controller | |
US20190302866A1 (en) | Method, device for processing data of bluetooth speaker, and bluetooth speaker | |
WO2014067438A1 (en) | Method, apparatus and system for determining software performance | |
CN112638007B (en) | Position lamp control method, device, terminal and storage medium | |
CN113380247A (en) | Multi-tone-zone voice awakening and recognizing method and device, equipment and storage medium | |
CN101165636A (en) | Microcomputer, program and on-vehicle electronic controller | |
CN105573654A (en) | Display method for play control and terminal | |
WO2015184822A1 (en) | Power saving method and apparatus for mobile terminal | |
CN115657570B (en) | Intelligent chip control method and device in low power consumption mode and storage medium | |
CN109933419B (en) | Control method and device | |
CN116266066A (en) | Clock switching control method, device, electronic equipment and medium | |
CN111081251A (en) | Voice wake-up method and device | |
CN116627516A (en) | Quick starting method and device of vehicle-mounted system, electronic equipment and storage medium | |
WO2023231214A1 (en) | Function control method and apparatus, and electronic device and storage medium | |
CN112610465B (en) | Energy consumption ratio control method, energy consumption ratio control device, computer equipment and storage medium | |
CN112083792B (en) | Mobile terminal control method and device and mobile terminal | |
CN106775750A (en) | The method and device that terminal device wakes up | |
CN115729357A (en) | Key control method, key control device and computer readable storage medium | |
CN111626913B (en) | Image processing method, device and storage medium | |
CN116085458A (en) | Sleep control method and device for GSM, storage medium and gear shifting control mechanism assembly | |
CN112078567B (en) | Power system switching method, device, equipment and storage medium | |
CN115695643B (en) | Method for handheld device and related product |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |