CN112996194A - Light control method and device - Google Patents
Light control method and device Download PDFInfo
- Publication number
- CN112996194A CN112996194A CN201911287891.2A CN201911287891A CN112996194A CN 112996194 A CN112996194 A CN 112996194A CN 201911287891 A CN201911287891 A CN 201911287891A CN 112996194 A CN112996194 A CN 112996194A
- Authority
- CN
- China
- Prior art keywords
- passengers
- information
- light control
- passenger
- preset condition
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 48
- 230000014509 gene expression Effects 0.000 claims description 17
- 230000009471 action Effects 0.000 claims description 11
- 238000004590 computer program Methods 0.000 claims description 10
- 230000007613 environmental effect Effects 0.000 claims 1
- 230000001795 light effect Effects 0.000 abstract description 26
- 230000000694 effects Effects 0.000 abstract description 17
- 230000008451 emotion Effects 0.000 abstract description 12
- 238000010586 diagram Methods 0.000 description 12
- 230000003993 interaction Effects 0.000 description 8
- 238000004891 communication Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 5
- 230000008569 process Effects 0.000 description 5
- 238000012545 processing Methods 0.000 description 4
- 206010011469 Crying Diseases 0.000 description 3
- 238000004458 analytical method Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000008901 benefit Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000010191 image analysis Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000036651 mood Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000007792 addition Methods 0.000 description 1
- 230000004075 alteration Effects 0.000 description 1
- 238000007405 data analysis Methods 0.000 description 1
- 238000000354 decomposition reaction Methods 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005286 illumination Methods 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 230000006798 recombination Effects 0.000 description 1
- 238000005215 recombination Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 239000013589 supplement Substances 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Landscapes
- Lighting Device Outwards From Vehicle And Optical Signal (AREA)
- Circuit Arrangement For Electric Light Sources In General (AREA)
Abstract
Disclosed are a light control method and a light control device, comprising: acquiring the number of passengers in a current vehicle and identity information of the passengers in the current vehicle; when the number and the identity information of the passengers meet a first preset condition, acquiring the state information of the passengers; when the state information of the passenger meets a second preset condition, determining a light control parameter corresponding to the state information; controlling the light in the current vehicle according to the light control parameters, determining the relationship of passengers by judging that the number and the identity information of the passengers meet a first preset condition, determining a scene by judging that the state information meets a second preset condition, and further determining the corresponding light control parameters according to the scene so as to control the light to generate the light effect required by the scene; therefore, the effect that proper light effect is automatically generated for assistance, the scene atmosphere is effectively adjusted, the positive emotion of the passenger is promoted, and the experience of the passenger is improved.
Description
Technical Field
The present disclosure relates to the field of data analysis technologies, and in particular, to a light control method and device.
Background
With the development of technology, the effect of light has long been no longer limited to illumination. The control scheme of the light is perfect at present, extremely rich light effects can be presented, and diversified requirements under different scenes are met.
Vehicles are also one of the important life scenarios in modern people's lives. The vehicle not only can be used as a vehicle, but also can provide space for the rest, communication, work, family activities and other affairs of passengers. A significant portion of people may choose to interact and interact with certain family, lovers, relatives or friends in the vehicle.
However, most of the current lights in the vehicle are mainly used for lighting. Can not automatically play an auxiliary role for the activities of passengers in the vehicle.
Disclosure of Invention
The present disclosure is proposed to solve the above technical problems. The embodiment of the disclosure provides a light control method and device, which can automatically identify the relationship of passengers in a vehicle and automatically adjust light effects according to the interaction of the passengers, thereby playing an auxiliary role in aiming at the interaction scene of the passengers.
According to a first aspect of the present disclosure, there is provided a light control method, comprising:
acquiring the number of passengers in a current vehicle and identity information of the passengers in the current vehicle;
when the number and the identity information of the passengers meet a first preset condition, acquiring the state information of the passengers;
when the state information of the passenger meets a second preset condition, determining a light control parameter corresponding to the state information;
and controlling the light in the current vehicle according to the light control parameter.
According to a second aspect of the present disclosure, there is provided a light control device comprising:
a passenger determination module for determining the number of passengers in a current vehicle and identity information of passengers in the current vehicle;
the state information acquisition module is used for acquiring the state information of the passengers when the number and the identity information of the passengers meet a first preset condition;
the light control parameter determining module is used for determining the light control parameters corresponding to the state information when the state information of the passengers meets a second preset condition;
and the light control module is used for controlling the light in the current vehicle according to the light control parameters.
According to a third aspect of the present disclosure, there is provided a computer-readable storage medium storing a computer program for executing the light control method described in the first aspect above.
According to a fourth aspect of the present disclosure, there is provided an electronic apparatus comprising: a processor; a memory for storing the processor-executable instructions;
the processor is configured to read the executable instruction from the memory, and execute the executable instruction to implement the light control method in the first aspect.
Compared with the prior art, the light control method and the light control device provided by the disclosure are adopted, the passenger relation is determined by judging whether the passenger number and the identity information meet the first preset condition, the scene is determined by judging whether the state information meets the second preset condition, and the corresponding light control parameters are further determined according to the scene, so that the light is controlled to generate the light effect required by the scene; therefore, the effect that proper light effect is automatically generated for assistance, the scene atmosphere is effectively adjusted, the positive emotion of the passenger is promoted, and the experience of the passenger is improved.
Drawings
The above and other objects, features and advantages of the present disclosure will become more apparent by describing in more detail embodiments of the present disclosure with reference to the attached drawings. The accompanying drawings are included to provide a further understanding of the embodiments of the disclosure and are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the description serve to explain the principles of the disclosure and not to limit the disclosure. In the drawings, like reference numbers generally represent like parts or steps.
Fig. 1 is a schematic structural diagram of a light control system according to an exemplary embodiment of the present disclosure;
fig. 2 is a schematic flow chart of a light control method according to an exemplary embodiment of the present disclosure;
fig. 3 is a schematic flowchart of a light control method according to an exemplary embodiment of the present disclosure;
fig. 4 is a schematic flowchart of a light control method according to an exemplary embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of a light control device according to an exemplary embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of a status information obtaining module in a light control device according to an exemplary embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of a light control parameter determining module in a light control device according to an exemplary embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of a light control device according to an exemplary embodiment of the present disclosure;
fig. 9 is a block diagram of an electronic device provided in an exemplary embodiment of the present disclosure.
Detailed Description
Hereinafter, example embodiments according to the present disclosure will be described in detail with reference to the accompanying drawings. It is to be understood that the described embodiments are merely a subset of the embodiments of the present disclosure and not all embodiments of the present disclosure, with the understanding that the present disclosure is not limited to the example embodiments described herein.
It should be noted that: the relative arrangement of the components and steps, the numerical expressions, and numerical values set forth in these embodiments do not limit the scope of the present disclosure unless specifically stated otherwise.
It will be understood by those of skill in the art that the terms "first," "second," and the like in the embodiments of the present disclosure are used merely to distinguish one element from another, and are not intended to imply any particular technical meaning, nor is the necessary logical order between them.
It is also understood that in embodiments of the present disclosure, "a plurality" may refer to two or more and "at least one" may refer to one, two or more.
It is also to be understood that any reference to any component, data, or structure in the embodiments of the disclosure, may be generally understood as one or more, unless explicitly defined otherwise or stated otherwise.
In addition, the term "and/or" in the present disclosure is only one kind of association relationship describing an associated object, and means that three kinds of relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" in the present disclosure generally indicates that the former and latter associated objects are in an "or" relationship.
It should also be understood that the description of the various embodiments of the present disclosure emphasizes the differences between the various embodiments, and the same or similar parts may be referred to each other, so that the descriptions thereof are omitted for brevity.
Meanwhile, it should be understood that the sizes of the respective portions shown in the drawings are not drawn in an actual proportional relationship for the convenience of description.
The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the disclosure, its application, or uses.
Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail but are intended to be part of the specification where appropriate.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, further discussion thereof is not required in subsequent figures.
The disclosed embodiments may be applied to electronic devices such as terminal devices, computer systems, servers, etc., which are operational with numerous other general purpose or special purpose computing system environments or configurations. Examples of well known terminal devices, computing systems, environments, and/or configurations that may be suitable for use with electronic devices, such as terminal devices, computer systems, servers, and the like, include, but are not limited to: personal computer systems, server computer systems, thin clients, thick clients, hand-held or laptop devices, microprocessor-based systems, set top boxes, programmable consumer electronics, network pcs, minicomputer systems, mainframe computer systems, distributed cloud computing environments that include any of the above systems, and the like.
Electronic devices such as terminal devices, computer systems, servers, etc. may be described in the general context of computer system-executable instructions, such as program modules, being executed by a computer system. Generally, program modules may include routines, programs, objects, components, logic, data structures, etc. that perform particular tasks or implement particular abstract data types. The computer system/server may be practiced in distributed cloud computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed cloud computing environment, program modules may be located in both local and remote computer system storage media including memory storage devices.
Summary of the application
In modern life, vehicles are one of the important life scenes. The vehicle not only can be used as a vehicle, but also can provide space for the rest, communication, work, family activities and other affairs of passengers. A significant portion of people may choose to interact and interact with certain lovers, relatives or friends in the car.
For example, family members may rest in the car, lovers or couples may chat in the car, relatives and children may have some entertainment interaction in the car, and another portion of passengers may choose to have a conversation or work-related conversation between friends in the car. In a word, the life scene with the vehicle as the center is very rich.
However, most of the current lights in the vehicle are mainly used for lighting. The auxiliary function for the in-vehicle activities of passengers cannot be automatically realized; the required atmosphere can not be created by utilizing the light effect in combination with the specific scene where passengers are located in the car.
Exemplary System
The light control system to which the present disclosure relates is shown in fig. 1. The system combines conventional light control with various sensors in the vehicle and technologies such as image analysis and sound analysis, so that the relationship of passengers in the vehicle can be automatically identified, the light effect is adjusted according to the interaction of the passengers, and an auxiliary effect is realized on the interaction scene of the passengers.
The system firstly obtains the number and identity information of passengers, and performs logic judgment according to a first preset condition so as to determine the relationship between the passengers. The specific relationship between passengers will derive the corresponding scene, interaction situation and need for light effects. Therefore, after determining the relationship of the passenger, further acquiring the state information of the passenger in real time. The status information can determine what the passenger is doing, that is, the current scene and interaction situation of the passenger. And then, carrying out logic judgment according to the state information and a second preset condition so as to determine whether the light effect needs to be adjusted for assistance in the current scene or how to adjust the light effect for assistance.
After a specific light effect adjusting mode is determined according to the state information, the corresponding light control parameters can be determined, and then the lights in the vehicle are controlled according to the light control parameters, so that the light effects are matched with the scene, and the scene is assisted by the light effects.
Exemplary method
Fig. 2 is a schematic flowchart of a light control method according to an exemplary embodiment of the present disclosure. The embodiment can be applied to an electronic device, as shown in fig. 2, and includes the following steps:
The current vehicle is the target to which the light control is applied in the present embodiment. In principle, the light control method can be applied to any vehicle. The passengers involved include the driver of the current vehicle and also the ordinary passengers who ride the vehicle. The number of passengers can be acquired by various sensors built in the current vehicle. Such as a camera in the vehicle, or a pressure sensor on the seat, etc. The identity information may be various information including the identity of the passenger, such as the passenger's sex, age, frequency and number of times the passenger takes the current vehicle, and the like. Identity information may also be obtained using various sensors built into the current vehicle, such as in-vehicle cameras and microphones. In addition, the identity information can also be acquired through manual input of the passenger, or the identity information of the passenger which is stored previously can be retrieved through face recognition of the passenger.
The relationship between the passengers can be determined by judging whether the number of passengers and the identity information satisfy the first preset condition. And a plurality of matching logics may be provided in the first preset condition, thereby determining the relationship between the various passengers. Typically the identity information will include the age and sex of the passenger. Then, according to the first predetermined condition, for example, the first predetermined condition includes that when the number of passengers is 2, the gender is 1 man and 1 woman, and the ages are close (the age difference is less than 10 years), the relationship between the two passengers is determined as "couple or lover". Alternatively, the first predetermined condition includes that when the number of passengers is 3, wherein 1 passenger is a child (the age is less than 10 years), and the gender of the other two passengers is 1 male and 1 female, the ages are close (the age difference is less than 10 years), and the ages are both more than 25 years, the relationship between the two passengers can be determined as "three mouths in a family".
Various corresponding scenarios and interactions can be derived based on passenger relationships. And in certain specific scenarios the passengers will have a need for light effects. Therefore, in the embodiment, after the relationship of the passenger is determined, the state information of the passenger is obtained in real time, so that the scene can be judged later. The status information may be considered to be information that can represent "what the passenger is doing", and specifically may include dialog, expression, action, and the like of the passenger. The status information may also be obtained using various sensors built into the current vehicle, such as an in-vehicle camera and microphone.
And 203, when the state information of the passenger meets a second preset condition, determining a light control parameter corresponding to the state information.
After the state information of the passenger is obtained, whether the state information meets the second preset condition or not can be judged, so that the specific scene where the passenger is located at present and what requirement of the scene on the lighting effect can be determined.
The judgment of the scene in combination with the state information may be actually a comprehensive judgment according to the dialog, expression and action of the passenger based on the second preset condition. For example, when the relationship of the passenger is determined as "lovers or couples", and then the expression of the passenger is determined as "anger" by the state information, and the volume of the dialogue sound is high, it may be determined that the current scene is "quarrel" based on the determination logic in the second preset condition; on the contrary, if the expression of the passenger is "happy", the passenger has an action of "hand pulling" or "hugging" and the like, and the conversation has a common intimate word between couples or couples, the current scene can be determined to be "intimate conversation" based on the judgment logic in the second preset condition. Obviously, in the scene, if proper light effect is automatically generated for assistance, atmosphere can be effectively adjusted/baked, positive emotion of passengers is promoted, and experience of the passengers is improved.
Every scene that has the demand to the light efficiency that the second preset condition included will have the light control parameter that corresponds the setting, can produce the required light efficiency of this scene according to this light control parameter. When the state information meets a certain scene in the second preset conditions, the light control parameters corresponding to the scene can be determined.
And step 204, controlling the light in the current vehicle according to the light control parameters.
Specifically, the light control parameters may include various parameters such as brightness, color temperature, and flashing mode and frequency of the light source. After the light control parameters are determined, the lighting sources in the current vehicle can be controlled according to the light control parameters to generate the lighting effect required by the scene. The control of the lights is generally achieved by the existing light control systems in current vehicles.
According to the technical scheme, the beneficial effects of the embodiment are as follows: determining the relationship of passengers by judging whether the number and the identity information of the passengers meet a first preset condition, determining a scene by judging whether the state information meets a second preset condition, and further determining corresponding light control parameters according to the scene so as to control the light to generate the light effect required by the scene; therefore, the effect that proper light effect is automatically generated for assistance, the scene atmosphere is effectively adjusted, the positive emotion of the passenger is promoted, and the experience of the passenger is improved.
Fig. 2 shows only a basic embodiment of the method of the present disclosure, and based on this, certain optimization and expansion can be performed, and other preferred embodiments of the method can also be obtained.
Fig. 3 is a schematic flow chart of a light control method according to another exemplary embodiment of the present disclosure. The embodiment can be applied to electronic equipment. The present embodiment will specifically describe the determination process for the relationship of the passenger on the basis of the embodiment shown in fig. 2. In this embodiment, the method specifically includes the following steps:
In this embodiment, the identity information of the passenger specifically includes gender information and age information; and may also include the number or frequency of passengers riding the current vehicle.
In addition, in the present embodiment, the position information of the passengers, i.e., on which seat of the current vehicle each passenger is respectively seated, is also acquired. Thereby enabling more accurate determination of passenger relationships. Specifically, the position information of the passenger can be acquired by a camera in the vehicle or a pressure sensor on the seat.
And 303, when the number and the identity information of the passengers meet a first preset condition and the riding position information of the passengers meet a third preset condition, acquiring the state information of the passengers.
In the embodiment, the relationship among passengers is determined by combining the number information, the identity information and the riding position information of the passengers.
The number and identity information of the passengers are determined by combining the first preset condition similarly to the embodiment shown in fig. 2. In the embodiment, the method is directed to the most typical passenger relationship of 'lovers or couples' and the derived scenes thereof. Specifically, when the number of passengers is two, the gender information of the passengers is opposite, and the difference value of the age information of the passengers is smaller than a preset threshold, it is determined that the first preset condition is satisfied.
However, if either passenger is the first to ride the current vehicle, then it may not be accurate to determine that the relationship is "couple or lover" at this time, as the other "temporary ride" is not excluded. Since the passengers of the private car are fixed, the number of times or frequency of the passengers riding the current car can be included in the identity information. The relationship between passengers can be determined more accurately in conjunction with the number or frequency of passenger rides. In the present embodiment, the determining process based on the first preset condition may preferably be that the first preset condition is considered to be satisfied when the number of passengers is two, the gender information of the passengers is opposite, the difference value of the age information of the passengers is smaller than a preset threshold, and the number of times or frequency of passengers is greater than a preset threshold. That is, if the number of times and frequency of the two passengers riding the current vehicle are both high, the two passengers are likely to be "couples or couples".
The determination process of the seating position information is specifically that the seating position information of the passengers is adjacent positions, and more specifically, the third preset condition is considered to be satisfied when one passenger sits in the driving seat and the other passenger sits in the copilot or two passengers sit side by side in the rear seat. That is, it is also considered that when two passengers are seated adjacently, there is a higher possibility that both are "couples or couples".
In this embodiment, when the number and the identity information of the passengers meet a first preset condition and the riding position information of the passengers meet a third preset condition; that is, when a pair of male and female with close ages are seated at adjacent positions in the vehicle, the relationship between them is determined as "lover or couple". And then continues to acquire the status information of the passenger.
And step 304, when the state information of the passenger meets a second preset condition, determining a light control parameter corresponding to the state information.
And 305, controlling the light in the current vehicle according to the light control parameters.
The contents of steps 304 to 305 are the same as those in the embodiment shown in fig. 2, and the description is not repeated here.
According to the technical solutions, the embodiment further achieves the following beneficial effects on the basis of the embodiment shown in fig. 2: the relationship between passengers is determined by combining the seating position relationship, and the accuracy of determining the relationship is improved.
Fig. 4 is a schematic flowchart of a light control method according to another exemplary embodiment of the present disclosure. The embodiment can be applied to electronic equipment. The present embodiment will specifically describe the determination process of the scene where the passenger is located on the basis of the embodiment shown in fig. 2. In this embodiment, the method specifically includes the following steps:
The content of this step is the same as that in the embodiment shown in fig. 2, and the description is not repeated here.
In the present embodiment, it is also assumed that the relationship of the passenger is "lovers or couples". The state information of the passenger includes first state information and second state information. The first state information is derived based on image information within the current vehicle. Specifically, the image may be a single frame image captured by a camera in the vehicle, or a video composed of multiple frames of images. Wherein, a single frame image can be used as the first image information comprising the expression of the passenger, and a video formed by a plurality of frames of images can be used as the second image information comprising the action of the passenger. The second status information is derived based on audio information within the current vehicle. Specifically, the information may be acquired by an in-vehicle microphone.
And 403, when the first state information of the passenger meets a fourth preset condition and/or the second state information meets a fifth preset condition, determining a light control parameter corresponding to the state information.
In this embodiment, the expression, the action and the language conversation of the passenger are comprehensively judged by combining the first state information and the second state information, so that the scene where the passenger is located is specifically determined.
And judging whether the first state information meets a fourth preset condition, wherein the judgment is mainly carried out from a visual layer, namely the expressions and actions of passengers are mainly judged. In the fourth preset condition, the part judged by the expression may be specifically a sixth preset condition, and the part judged by the action may be specifically a seventh preset condition. That is, when the first image information in the first state information satisfies the sixth preset condition and/or the second image information satisfies the seventh preset condition, the first state information is considered to satisfy the fourth preset condition.
Specifically, the expression of the passenger may be identified in combination with the first image information and the judgment logic in the sixth preset condition, so as to determine whether the passenger meets a certain corresponding "emotion" in the sixth preset condition, such as happiness, anger, sadness, and the like. And similarly, the actions of the passenger are identified by combining the second image information and the judgment logic in the seventh preset condition, so that whether the passenger meets a certain corresponding interactive action in the seventh preset condition, such as hand-pulling, hugging, kissing and the like, is determined. The expression and the motion can be recognized based on the existing image analysis technology, which is not limited herein, and any technical means with the same or similar functions can be combined in the overall scheme of the embodiment.
And meanwhile, judging whether the second state information meets a fifth preset condition, wherein the judgment is mainly carried out from the 'hearing' level, namely the voice information sent by the passenger is mainly judged. The emotion of the passenger can be judged by further combining the characteristics of the volume, tone, speed and tone of the voice information with a fifth preset condition, the emotion judgment can be mutually verified and supplemented with the emotion judgment realized based on the expression, and the emotion judgment can be completed by the other passenger in the absence of the emotion judgment. In addition, the specific contents of the passenger conversation can be analyzed through a natural language analysis technology, so that the scene can be judged more accurately by combining the fifth preset condition. However, since the judgment process based on the natural language analysis may involve passenger privacy information, it is preferable to set a corresponding switching authority for the user to autonomously select the on or off of this function.
For example, on the premise that the relationship of the passenger is determined to be "lovers or couples", when the expression of the passenger is determined to be angry through the first image information and the passenger is known to have high voice volume, fast voice speed and intense voice through the second state information, it can be comprehensively determined to determine that the current scene is "quarrel"; corresponding light control parameters can be determined at the moment, so that the lighting effect is cool, soft and has slow change, and the negative emotion of passengers is relieved. Otherwise, if the expression of the passenger is judged to be happy through the first image information and the passenger has the hand-in-hand action through the second image information, the current scene can be comprehensively judged and determined to be in the 'intimacy state'; at the moment, corresponding light control parameters can be determined, so that the lighting effect is warm, the color is reddish/reddish, and the pleasant mood of passengers is promoted. Or if the expression of the child passenger is judged to be crying through the first image information and the crying of the passenger is obtained through the second state information on the premise that the passenger relationship is determined to be three mouths, the current scene can be comprehensively judged to be crying; at the moment, corresponding light control parameters can be determined, so that the lighting effect is colorful and has rapid flicker change, thereby attracting the attention of children and soothing the emotion of the children. Under such specific scenes, the mood adjustment to a certain degree can be realized through the light effect, so that the passengers can obtain better experience.
In this embodiment, the judgment based on the first state information and the judgment based on the second state information may be used independently, so that the technical solution of this embodiment can still be implemented in the absence of the judgment. And the method can also be used in combination with each other for mutual authentication and supplement so as to make the judgment more accurate. Of course, according to the requirement, other types of state information can be combined to further perform scene judgment. This is not limited in this embodiment.
In addition, the actual display effect of the light effect is also related to the ambient brightness. Generally, if the ambient light is strong, the brightness of the light effect also increases accordingly, otherwise the passenger is not clear. Conversely, if the ambient light is weak, the brightness of the light effect also decreases accordingly, otherwise the light effect may be irritating to passengers. Therefore, it is preferable that the present embodiment can also acquire the ambient light brightness; and then, determining the light control parameters according to the state information and the ambient light brightness so as to properly adjust the light control parameters according to the ambient light brightness, so that the finally presented light effect achieves an ideal effect.
And step 404, controlling the light in the current vehicle according to the light control parameters.
In this embodiment, after the light control parameter is determined, the light in the current vehicle can be directly controlled by the light control parameter, and the light effect corresponding to the scene is automatically generated. In addition, after the light control parameters are determined, prompts like 'whether to adjust the light effect' are pushed to passengers, and the control on the light is started in response to the instructions input by the passengers, so that negative experience is avoided for the passengers.
Exemplary devices
Fig. 5 is a schematic structural diagram of a light control device according to an exemplary embodiment of the present disclosure. The apparatus of this embodiment is a physical apparatus for executing the methods of fig. 2 to 4. The technical solution is essentially the same as that in the above embodiment, and the corresponding description in the above embodiment is also applicable to this embodiment.
The device in the embodiment comprises:
a passenger determining module 501, configured to determine the number of passengers in the current vehicle and the identity information of the passengers in the current vehicle.
The status information obtaining module 502 is configured to obtain status information of the passengers when the number of passengers and the identity information meet a first preset condition.
And a light control parameter determining module 503, configured to determine a light control parameter corresponding to the state information when the state information of the passenger meets a second preset condition.
And the light control module 504 is used for controlling the light in the current vehicle according to the light control parameters.
Fig. 6 is a schematic structural diagram of a status information obtaining module 502 in a light control device according to another exemplary embodiment of the present disclosure. As shown in fig. 6, in an exemplary embodiment, a position information obtaining module 505 (not shown) for obtaining the seating position information of the passenger is further included, and the state information obtaining module 502 includes:
the first determining unit 611 is configured to determine that the number of passengers and the identity information satisfy a first preset condition when the number of passengers is two, the gender information of the passengers is opposite, and the difference between the age information of the passengers is smaller than a preset threshold.
The second determination unit 612 is configured to determine that the seating position information of the passenger satisfies a third preset condition when the seating position information of the passenger is an adjacent position.
A status information obtaining unit 613, configured to obtain status information of the passenger when the number of passengers and the identity information satisfy a first preset condition and the seating position information of the passenger satisfies a third preset condition.
Fig. 7 is a schematic structural diagram of a light control parameter determining module 503 in a light control apparatus according to another exemplary embodiment of the present disclosure. As shown in fig. 7, the state information of the passenger in the exemplary embodiment includes first state information obtained based on image information in the current vehicle and second state information obtained based on audio information in the current vehicle; the first state information includes first image information including an expression of the passenger, and/or second image information including an action of the passenger. The light control parameter determination module 503 includes:
the third determining unit 711 is configured to determine that the first state information satisfies the fourth preset condition when the first image information satisfies the sixth preset condition and/or the second image information satisfies the seventh preset condition.
And the light control parameter determining unit 712 is configured to determine the light control parameter corresponding to the state information when the first state information of the passenger meets a fourth preset condition and/or the second state information meets a fifth preset condition.
Fig. 8 is a light control device according to another exemplary embodiment of the present disclosure. The embodiment shown in fig. 8 is based on the embodiment shown in fig. 5, and further includes:
and a brightness obtaining module 801, configured to obtain ambient light brightness.
The light control parameter determination module 503 determines the light control parameter according to the status information and the ambient light brightness.
Exemplary electronic device
Next, an electronic apparatus according to an embodiment of the present disclosure is described with reference to fig. 9. The electronic device may be either or both of the first device 100 and the second device 200, or a stand-alone device separate from them that may communicate with the first device and the second device to receive the collected input signals therefrom.
FIG. 9 illustrates a block diagram of an electronic device in accordance with an embodiment of the disclosure.
As shown in fig. 9, the electronic device 10 includes one or more processors 11 and memory 12.
The processor 11 may be a Central Processing Unit (CPU) or other form of processing unit having data processing capabilities and/or instruction execution capabilities, and may control other components in the electronic device 10 to perform desired functions.
Memory 12 may include one or more computer program products that may include various forms of computer-readable storage media, such as volatile memory and/or non-volatile memory. The volatile memory may include, for example, Random Access Memory (RAM), cache memory (cache), and/or the like. The non-volatile memory may include, for example, Read Only Memory (ROM), hard disk, flash memory, etc. One or more computer program instructions may be stored on the computer readable storage medium and executed by the processor 11 to implement the light control methods of the various embodiments of the present disclosure described above and/or other desired functions. Various contents such as an input signal, a signal component, a noise component, etc. may also be stored in the computer-readable storage medium.
In one example, the electronic device 10 may further include: an input device 13 and an output device 14, which are interconnected by a bus system and/or other form of connection mechanism (not shown).
For example, when the electronic device is the first device 100 or the second device 200, the input device 13 may be a microphone or a microphone array as described above for capturing an input signal of a sound source. When the electronic device is a stand-alone device, the input means 13 may be a communication network connector for receiving the acquired input signals from the first device 100 and the second device 200.
The input device 13 may also include, for example, a keyboard, a mouse, and the like.
The output device 14 may output various information including the determined distance information, direction information, and the like to the outside. The output devices 14 may include, for example, a display, speakers, a printer, and a communication network and its connected remote output devices, among others.
Of course, for simplicity, only some of the components of the electronic device 10 relevant to the present disclosure are shown in fig. 9, omitting components such as buses, input/output interfaces, and the like. In addition, the electronic device 10 may include any other suitable components depending on the particular application.
Exemplary computer program product and computer-readable storage Medium
In addition to the above-described methods and apparatus, embodiments of the present disclosure may also be a computer program product comprising computer program instructions, the described methods and apparatusComputer programThe instructions, when executed by the processor, cause the processor to perform the steps in the light control method according to various embodiments of the present disclosure described in the "exemplary methods" section above in this specification.
The computer program product may write program code for carrying out operations for embodiments of the present disclosure in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server.
Furthermore, embodiments of the present disclosure may also be a computer-readable storage medium having stored thereon computer program instructions that, when executed by a processor, cause the processor to perform the steps in a light control method according to various embodiments of the present disclosure described in the "exemplary methods" section above in this specification.
The computer-readable storage medium may take any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may include, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The foregoing describes the general principles of the present disclosure in conjunction with specific embodiments, however, it is noted that the advantages, effects, etc. mentioned in the present disclosure are merely examples and are not limiting, and they should not be considered essential to the various embodiments of the present disclosure. Furthermore, the foregoing disclosure of specific details is for the purpose of illustration and description and is not intended to be limiting, since the disclosure is not intended to be limited to the specific details so described.
The block diagrams of devices, apparatuses, systems referred to in this disclosure are only given as illustrative examples and are not intended to require or imply that the connections, arrangements, configurations, etc. must be made in the manner shown in the block diagrams. These devices, apparatuses, devices, systems may be connected, arranged, configured in any manner, as will be appreciated by those skilled in the art. Words such as "including," "comprising," "having," and the like are open-ended words that mean "including, but not limited to," and are used interchangeably therewith. The words "or" and "as used herein mean, and are used interchangeably with, the word" and/or, "unless the context clearly dictates otherwise. The word "such as" is used herein to mean, and is used interchangeably with, the phrase "such as but not limited to".
It is also noted that in the devices, apparatuses, and methods of the present disclosure, each component or step can be decomposed and/or recombined. These decompositions and/or recombinations are to be considered equivalents of the present disclosure.
The previous description of the disclosed aspects is provided to enable any person skilled in the art to make or use the present disclosure. Various modifications to these aspects will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other aspects without departing from the scope of the disclosure. Thus, the present disclosure is not intended to be limited to the aspects shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
The foregoing description has been presented for purposes of illustration and description. Furthermore, this description is not intended to limit embodiments of the disclosure to the form disclosed herein. While a number of example aspects and embodiments have been discussed above, those of skill in the art will recognize certain variations, modifications, alterations, additions and sub-combinations thereof.
Claims (10)
1. A light control method, comprising:
acquiring the number of passengers in a current vehicle and identity information of the passengers in the current vehicle;
when the number and the identity information of the passengers meet a first preset condition, acquiring the state information of the passengers;
when the state information of the passenger meets a second preset condition, determining a light control parameter corresponding to the state information;
and controlling the light in the current vehicle according to the light control parameter.
2. The method of claim 1, wherein the identity information of the passenger includes gender information and age information, and when the number of passengers and the identity information satisfy a first preset condition, the obtaining the status information of the passenger includes:
and when the number of the passengers is two, the gender information of the passengers is opposite, and the difference value of the age information of the passengers is smaller than a preset threshold value, acquiring the state information of the passengers.
3. The method of claim 1, further comprising:
acquiring seating position information of the passenger;
then, when the number of passengers and the identity information satisfy a first preset condition, acquiring the status information of the passengers includes:
and when the passenger number and the identity information meet a first preset condition and the passenger riding position information meets a third preset condition, acquiring the state information of the passengers.
4. The method of claim 3, wherein the third preset condition comprises:
the seating position information of the passenger is an adjacent position.
5. The method of claim 1, wherein the occupant's status information includes first status information derived based on image information within the current vehicle and second status information derived based on audio information within the current vehicle;
when the state information of the passenger meets a second preset condition, determining the light control parameter corresponding to the state information comprises:
and when the first state information of the passenger meets a fourth preset condition and/or the second state information meets a fifth preset condition, determining a light control parameter corresponding to the state information.
6. The method of claim 5, wherein the first status information comprises first image information comprising an expression of the passenger and/or second image information comprising an action of the passenger;
then, when the first state information of the passenger meets a fourth preset condition, and/or the second state information meets a fifth preset condition, determining the light control parameter corresponding to the state information includes:
and when the first image information meets a sixth preset condition, the second image information meets a seventh preset condition, and/or the second state information meets a fifth preset condition, determining a light control parameter corresponding to the state information.
7. The method according to any one of claims 1 to 6, wherein the determining the light control parameter corresponding to the state information comprises:
obtaining the brightness of the environment;
and determining the light control parameters according to the state information and the environmental light brightness.
8. A light control device comprising:
a passenger determination module for determining the number of passengers in a current vehicle and identity information of passengers in the current vehicle;
the state information acquisition module is used for acquiring the state information of the passengers when the number and the identity information of the passengers meet a first preset condition;
the light control parameter determining module is used for determining the light control parameters corresponding to the state information when the state information of the passengers meets a second preset condition;
and the light control module is used for controlling the light in the current vehicle according to the light control parameters.
9. A computer-readable storage medium storing a computer program for executing the light control method according to any one of claims 1 to 7.
10. An electronic device, the electronic device comprising:
a processor;
a memory for storing the processor-executable instructions;
the processor is used for reading the executable instructions from the memory and executing the instructions to realize the light control method of any one of the claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911287891.2A CN112996194A (en) | 2019-12-15 | 2019-12-15 | Light control method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911287891.2A CN112996194A (en) | 2019-12-15 | 2019-12-15 | Light control method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112996194A true CN112996194A (en) | 2021-06-18 |
Family
ID=76342757
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911287891.2A Pending CN112996194A (en) | 2019-12-15 | 2019-12-15 | Light control method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112996194A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113609958A (en) * | 2021-08-02 | 2021-11-05 | 金茂智慧科技(广州)有限公司 | Light adjusting method and related device |
CN116039549A (en) * | 2023-03-07 | 2023-05-02 | 小米汽车科技有限公司 | Vehicle control method and device |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101918094A (en) * | 2008-01-16 | 2010-12-15 | 皇家飞利浦电子股份有限公司 | System and method for automatically creating an atmosphere suited to social setting and mood in an environment |
US8527146B1 (en) * | 2012-01-30 | 2013-09-03 | Google Inc. | Systems and methods for updating vehicle behavior and settings based on the locations of vehicle passengers |
CN105774709A (en) * | 2016-04-18 | 2016-07-20 | 北京新能源汽车股份有限公司 | Vehicle body control device, vehicle body control system, vehicle, and control method for vehicle body control device |
CN107600072A (en) * | 2017-08-31 | 2018-01-19 | 上海科世达-华阳汽车电器有限公司 | A kind of acquisition methods and system of the common preference parameter of more passengers |
CN110111536A (en) * | 2019-06-13 | 2019-08-09 | 广州小鹏汽车科技有限公司 | A kind of the destination based reminding method and device of automobile |
CN110217188A (en) * | 2019-07-02 | 2019-09-10 | 广州小鹏汽车科技有限公司 | A kind of exchange method, device and vehicle |
CN110239557A (en) * | 2019-06-19 | 2019-09-17 | 广州小鹏汽车科技有限公司 | The control method and device of vehicle arrangement based on passenger's customized information |
CN110271507A (en) * | 2019-06-21 | 2019-09-24 | 北京地平线机器人技术研发有限公司 | A kind of air bag controlled method and device |
-
2019
- 2019-12-15 CN CN201911287891.2A patent/CN112996194A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101918094A (en) * | 2008-01-16 | 2010-12-15 | 皇家飞利浦电子股份有限公司 | System and method for automatically creating an atmosphere suited to social setting and mood in an environment |
US8527146B1 (en) * | 2012-01-30 | 2013-09-03 | Google Inc. | Systems and methods for updating vehicle behavior and settings based on the locations of vehicle passengers |
CN105774709A (en) * | 2016-04-18 | 2016-07-20 | 北京新能源汽车股份有限公司 | Vehicle body control device, vehicle body control system, vehicle, and control method for vehicle body control device |
CN107600072A (en) * | 2017-08-31 | 2018-01-19 | 上海科世达-华阳汽车电器有限公司 | A kind of acquisition methods and system of the common preference parameter of more passengers |
CN110111536A (en) * | 2019-06-13 | 2019-08-09 | 广州小鹏汽车科技有限公司 | A kind of the destination based reminding method and device of automobile |
CN110239557A (en) * | 2019-06-19 | 2019-09-17 | 广州小鹏汽车科技有限公司 | The control method and device of vehicle arrangement based on passenger's customized information |
CN110271507A (en) * | 2019-06-21 | 2019-09-24 | 北京地平线机器人技术研发有限公司 | A kind of air bag controlled method and device |
CN110217188A (en) * | 2019-07-02 | 2019-09-10 | 广州小鹏汽车科技有限公司 | A kind of exchange method, device and vehicle |
Non-Patent Citations (1)
Title |
---|
牛宝等: "疲劳预警的长途客车监控系统的设计", 《信息通信》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113609958A (en) * | 2021-08-02 | 2021-11-05 | 金茂智慧科技(广州)有限公司 | Light adjusting method and related device |
CN116039549A (en) * | 2023-03-07 | 2023-05-02 | 小米汽车科技有限公司 | Vehicle control method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2019205642A1 (en) | Emotion recognition-based soothing method, apparatus and system, computer device, and computer-readable storage medium | |
JP6736685B2 (en) | Emotion estimation device and emotion estimation system | |
US20200402304A1 (en) | Electronic device and method for managing custom object on basis of avatar | |
US20190279629A1 (en) | Speech system | |
US11302325B2 (en) | Automatic dialogue design | |
US11014508B2 (en) | Communication support system, communication support method, and storage medium | |
JP6964044B2 (en) | Learning device, learning method, program, trained model and lip reading device | |
JP6713490B2 (en) | Information providing apparatus and information providing method | |
CN112996194A (en) | Light control method and device | |
CN109302486B (en) | Method and system for pushing music according to environment in vehicle | |
CN112307816B (en) | In-vehicle image acquisition method and device, electronic equipment and storage medium | |
KR20200092207A (en) | Electronic device and method for providing graphic object corresponding to emotion information thereof | |
CN112959998A (en) | Vehicle-mounted human-computer interaction method and device, vehicle and electronic equipment | |
CN114115533A (en) | Intelligent interaction method and device | |
CN118227017A (en) | Augmented reality information processing method and device, electronic equipment and storage medium | |
CN111736700A (en) | Digital person-based vehicle cabin interaction method and device and vehicle | |
WO2024054714A1 (en) | Avatar representation and audio generation | |
WO2021196751A1 (en) | Digital human-based vehicle cabin interaction method, apparatus and vehicle | |
CN112541425B (en) | Emotion detection method, emotion detection device, emotion detection medium and electronic equipment | |
US10699144B2 (en) | Systems and methods for actively re-weighting a plurality of image sensors based on content | |
JP7369884B1 (en) | Information processing device, information processing method, and information processing program | |
CN112061058B (en) | Scene triggering method, device, equipment and storage medium | |
US20240157897A1 (en) | Device for mobile object and control method for mobile object | |
WO2024219294A1 (en) | Agent system, data processing device, data processing method, and data processing program | |
WO2024054713A1 (en) | Avatar facial expressions based on semantical context |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210618 |
|
RJ01 | Rejection of invention patent application after publication |