Atmosphere lamp control method and device, electronic equipment and storage medium

文档序号:1893973 发布日期:2021-11-26 浏览:26次 中文

阅读说明:本技术 一种氛围灯的控制方法、装置、电子设备及存储介质 (Atmosphere lamp control method and device, electronic equipment and storage medium ) 是由 李龙飞 于 2021-08-26 设计创作,主要内容包括:本发明实施例公开了一种氛围灯的控制方法,其中,该方法包括:当接收到用于与虚拟交互对象进行交互的交互语音信息时,根据所述交互语音信息确定所述虚拟交互对象的交互响应方式;根据所述交互响应方式以及预先设置的氛围灯控制规则确定对至少一个氛围灯进行控制的目标控制方式;根据所述目标控制方式对至少一个氛围灯进行控制。本发明实施例的技术方案,通过将虚拟交互对象与氛围灯进行联动,解决了目前氛围灯的控制比较单一,且在操作调节氛围灯时容易影响用户驾车注意力的问题,实现了将氛围灯融入虚拟交互对象的语音交互场景中,同时丰富了虚拟交互对象以及氛围灯的展示效果的技术效果。(The embodiment of the invention discloses a control method of an atmosphere lamp, wherein the method comprises the following steps: when interactive voice information for interacting with a virtual interactive object is received, determining an interactive response mode of the virtual interactive object according to the interactive voice information; determining a target control mode for controlling at least one atmosphere lamp according to the interactive response mode and a preset atmosphere lamp control rule; and controlling at least one atmosphere lamp according to the target control mode. According to the technical scheme of the embodiment of the invention, the virtual interaction object is linked with the atmosphere lamp, so that the problems that the control of the atmosphere lamp is relatively single at present and the driving attention of a user is easily influenced when the atmosphere lamp is adjusted in operation are solved, the atmosphere lamp is integrated into the voice interaction scene of the virtual interaction object, and the technical effects of the virtual interaction object and the atmosphere lamp displaying effect are enriched.)

1. A method of controlling an atmosphere lamp, comprising:

when interactive voice information for interacting with a virtual interactive object is received, determining an interactive response mode of the virtual interactive object according to the interactive voice information;

determining a target control mode for controlling at least one atmosphere lamp according to the interactive response mode and a preset atmosphere lamp control rule;

and controlling at least one atmosphere lamp according to the target control mode.

2. The method of claim 1, wherein determining a target control mode for controlling at least one ambience lamp according to the interactive response mode and preset ambience lamp control rules comprises:

and if an atmosphere lamp response mode corresponding to the interaction response mode of the virtual interaction object exists, determining a target control mode for controlling at least one atmosphere lamp based on the atmosphere lamp response mode.

3. The method of claim 2, wherein the controlling at least one atmosphere lamp according to the target control mode comprises:

acquiring a current display mode of at least one atmosphere lamp at the current moment;

and if the current display mode is inconsistent with the atmosphere lamp response mode, determining a target adjustment mode for adjusting the current display mode based on the atmosphere lamp response mode, and controlling at least one atmosphere lamp based on the adjustment mode.

4. The method of claim 1, wherein determining a target control mode for controlling at least one ambience lamp according to the interactive response mode and preset ambience lamp control rules comprises:

and if the preset atmosphere lamp response mode corresponding to the interaction response mode of the virtual interaction object does not exist, determining a default atmosphere lamp control mode as a target control mode for controlling at least one atmosphere lamp.

5. The method according to claim 1, further comprising, after determining the interactive response mode of the virtual interactive object according to the interactive voice information:

and adjusting the display mode of the virtual interactive object based on the interactive response mode.

6. The method of claim 1, wherein the controlling at least one atmosphere lamp according to the target control mode comprises:

and controlling display parameters of at least one atmosphere lamp according to the target control mode, wherein the display parameters comprise at least one of switch state, display color, display brightness, rotation parameters and flicker frequency.

7. The method of claim 1, wherein the interactive response mode comprises at least one of a target response action, a response theme color, and a response emotional state.

8. An apparatus for controlling an ambience lamp, comprising:

the virtual interaction module is used for determining an interaction response mode of a virtual interaction object according to interaction voice information when the interaction voice information used for interacting with the virtual interaction object is received;

the control mode arbitration module is used for determining a target control mode for controlling at least one atmosphere lamp according to the interactive response mode and a preset atmosphere lamp control rule;

and the atmosphere lamp control module is used for controlling at least one atmosphere lamp according to the target control mode.

9. An electronic device, characterized in that the electronic device comprises:

one or more processors;

a storage device for storing one or more programs,

when executed by the one or more processors, cause the one or more processors to implement the method of controlling an atmosphere lamp as recited in any of claims 1-7.

10. A computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the method for controlling an atmosphere lamp according to any one of claims 1 to 7.

Technical Field

The embodiment of the invention relates to the technical field of intelligent automobiles, in particular to a control method of an atmosphere lamp.

Background

An atmosphere lamp has been widely used in various scenes as an illumination lamp capable of adjusting an ambient atmosphere. For example, more and more automobiles are provided with the atmosphere lamp inside the automobile, and the use of the atmosphere lamp inside the automobile can even improve the use experience of the automobile for users.

However, in implementing the present invention, the inventor finds that the control of the atmosphere lamp is relatively single, for example, the on-off and adjustment of the atmosphere lamp are realized through a display screen interface or a button. However, when a user operates the adjusting atmosphere lamp during driving of the vehicle, the attention of the user in driving is affected, and potential driving safety problems are easily caused.

Disclosure of Invention

The embodiment of the invention provides a control method of an atmosphere lamp, which aims to realize linkage of the atmosphere lamp and a virtual interactive object and solve the problem of single control mode of the atmosphere lamp.

In a first aspect, an embodiment of the present invention provides a method for controlling an atmosphere lamp, where the method includes:

when interactive voice information for interacting with a virtual interactive object is received, determining an interactive response mode of the virtual interactive object according to the interactive voice information;

determining a target control mode for controlling at least one atmosphere lamp according to the interactive response mode and a preset atmosphere lamp control rule;

and controlling at least one atmosphere lamp according to the target control mode.

In a second aspect, an embodiment of the present invention further provides an apparatus for controlling an atmosphere lamp, where the apparatus includes:

the virtual interaction module is used for determining an interaction response mode of a virtual interaction object according to interaction voice information when the interaction voice information used for interacting with the virtual interaction object is received;

the control mode arbitration module is used for determining a target control mode for controlling at least one atmosphere lamp according to the interactive response mode and a preset atmosphere lamp control rule;

and the atmosphere lamp control module is used for controlling at least one atmosphere lamp according to the target control mode.

In a third aspect, an embodiment of the present invention further provides an electronic device, where the electronic device includes:

one or more processors;

a storage device for storing one or more programs,

when executed by the one or more processors, cause the one or more processors to implement the method for controlling an atmosphere lamp provided by any of the embodiments of the present invention.

In a fourth aspect, embodiments of the present invention further provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the method for controlling an atmosphere lamp provided in any embodiment of the present invention.

According to the technical scheme of the embodiment of the invention, when interactive voice information for interacting with a virtual interactive object is received, an interactive response mode of the virtual interactive object is determined according to the interactive voice information, so that the virtual interactive object can interact with the virtual interactive object through the voice information, and can make a corresponding response according to the voice information to determine the interactive response mode; determining a target control mode for controlling at least one atmosphere lamp according to the interactive response mode and a preset atmosphere lamp control rule, wherein the target control mode is used for taking the interactive response mode of the virtual interactive object as a reference factor of the target control mode for controlling the atmosphere lamp in a scene in which the virtual interactive object is in voice interaction with the atmosphere lamp, so that linkage between the response of the virtual interactive object and the control of the atmosphere lamp is realized; and controlling at least one atmosphere lamp according to the target control mode. The control of solving present atmosphere lamp is more single, and influences the problem that the user drove attention easily when operation regulation atmosphere lamp, realizes merging into the atmosphere lamp pronunciation mutual, carries out the effect that links with atmosphere lamp and virtual interactive object simultaneously, has richened the bandwagon effect of virtual interactive object and atmosphere lamp, has promoted mutual experience.

Drawings

In order to more clearly illustrate the technical solutions of the exemplary embodiments of the present invention, a brief description is given below of the drawings used in describing the embodiments. It should be clear that the described figures are only views of some of the embodiments of the invention to be described, not all, and that for a person skilled in the art, other figures can be derived from these figures without inventive effort.

FIG. 1 is a schematic flow chart of a method for controlling an atmosphere lamp according to an embodiment of the present invention;

FIG. 2 is a schematic flow chart of a control method of an atmosphere lamp according to a second embodiment of the present invention;

FIG. 3 is a schematic diagram of a control method of an atmosphere lamp according to a second embodiment of the present invention;

FIG. 4 is a schematic structural diagram of an apparatus for controlling an atmosphere lamp according to a third embodiment of the present invention;

fig. 5 is a schematic structural diagram of an electronic device according to a fourth embodiment of the present invention.

Detailed Description

The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.

It should be further noted that, for the convenience of description, only some but not all of the relevant aspects of the present invention are shown in the drawings. Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.

Example one

Fig. 1 is a flowchart illustrating a control method of an atmosphere lamp according to an embodiment of the present invention, where the present embodiment is applicable to control of an atmosphere lamp in an intelligent vehicle, the method may be executed by an atmosphere lamp control device, the device may be implemented by software and/or hardware, and may be configured in a terminal and/or a server to implement the control method of an atmosphere lamp according to an embodiment of the present invention.

As shown in fig. 1, the method of the embodiment may specifically include:

s110, when interactive voice information for interacting with a virtual interactive object is received, determining an interactive response mode of the virtual interactive object according to the interactive voice information.

Wherein, the virtual interactive object can be understood as an avatar capable of interacting with voice in advance. Taking the application to a vehicle scene as an example, the virtual interactive image may be a vehicle assistant that displays corresponding actions, emotions, colors, and the like according to voice information in the vehicle. The representation form of the virtual interactive object may be set according to an actual application, and is not specifically limited herein. For example, the virtual interactive object may be an animated character on an in-vehicle display interface.

Illustratively, the interactive voice information may be collected based on a voice collecting device, where the interactive voice information may be a default preset voice keyword for interacting with the virtual interactive object, or may be a voice information set by the user. The voice information includes, but is not limited to, amplitude, spectrum, energy, semantic information, etc. of sound.

The interactive response mode can be understood as that after the voice equipment receives and recognizes the voice information, the voice information is transmitted to the virtual interactive object, and the virtual interactive object makes a corresponding response according to the voice information. Illustratively, the response mode may be that the virtual interactive object changes its own color, action, emotion, etc. according to the voice information. When the method is applied to the vehicle, the current condition of the vehicle, such as whether a door is locked or not, whether a window is opened or not, and the like, can be determined for the virtual interaction object, and the result can be fed back to the user. It is to be understood that the specific interactive response mode is related to the interactive voice information, and the specific response mode is not limited herein.

Specifically, when the voice collecting device receives interactive voice information for interacting with the virtual interactive object, the collected voice information may be identified, and if the collected voice information is identified to include information for interacting with the virtual interactive object, the voice information is used as interactive voice, and an interactive response mode of the virtual interactive object is determined according to the received interactive voice information.

Optionally, the interactive response mode includes at least one of a target response action, a response theme color, and a response emotional state.

The target response action can be understood as a corresponding action response made by the virtual interactive object after receiving the voice information, such as actions of bouncing, singing, dancing, detecting conditions in the vehicle, and the like. The response theme color may be understood as the display color of the virtual interactive object may be changed according to a specific theme, such as a holiday theme or a weather theme. Responding to the emotional state may be understood as that the virtual interactive object may make a corresponding emotional response according to the emotional state in the interactive voice information. Wherein the emotional response may be sadness, happiness, depression, popularity, love or calm.

Optionally, after determining the interactive response mode of the virtual interactive object according to the interactive voice information, the method further includes: and adjusting the display mode of the virtual interactive object based on the interactive response mode.

Specifically, after the interactive response mode of the virtual interactive object is determined according to the interactive voice information, the display mode of the virtual interactive object can be adjusted according to different interactive response modes, for example, in spring festival, the color of the displayed theme can be changed into red of festive celebration by the virtual interactive object; when the weather is clear, the virtual interactive object may preferentially change the color of the displayed theme into blue, or a color specified by the user, etc. For example, when the emotion in the interactive voice information is sad, the virtual interactive object may show a corresponding sad image, when the emotion in the interactive voice information is happy, the virtual interactive object may show an image that bounces, when the emotion in the interactive voice information is irritated, the virtual interactive object may show a quiet and smart image, or the like, or when the user frequently sets the virtual interactive object in a certain display mode in a certain state, when the state appears again, the virtual interactive object may preferentially show a display mode that the user has a high frequency of use, or the like.

And S120, determining a target control mode for controlling at least one atmosphere lamp according to the interactive response mode and a preset atmosphere lamp control rule.

Here, the ambience lamp control rule may be understood as a rule for controlling the ambience lamp, for example, a rule for controlling the ambience lamp according to what factors and how to control the ambience lamp, for example, a rule for how to control the brightness, color, flashing frequency, flashing duration, and display manner of the ambience lamp. The preset control rule of the atmosphere lamp can be a default atmosphere lamp control rule when the automobile leaves a factory, or a control rule set by a user in a self-defined manner. The target control manner may be understood as a control manner in which the display state of the atmosphere lamp is set.

Specifically, after the voice device transmits the voice interaction information to the virtual interaction object, the virtual interaction object can display a corresponding response according to the voice interaction information, and the atmosphere lamp is controlled to perform corresponding display according to an interaction response mode of the virtual interaction object. For example, preset atmosphere lamp control rules may be used to determine whether to control the at least one atmosphere lamp based on an interactive response mode or a default atmosphere lamp control mode.

Optionally, the controlling at least one atmosphere lamp according to the target control manner includes: and controlling display parameters of at least one atmosphere lamp according to the target control mode, wherein the display parameters comprise at least one of switch state, display color, display brightness, rotation parameters and flicker frequency.

Specifically, the display mode of the atmosphere lamp can be determined according to the target control mode, and the display mode of the atmosphere lamp is controlled by controlling the display parameters of the atmosphere lamp.

And S130, controlling at least one atmosphere lamp according to the target control mode.

Specifically, after the interactive response mode of the virtual interactive object is determined, at least one atmosphere lamp is controlled according to the target control mode according to the corresponding relation between the virtual interactive object and the atmosphere lamp control rule.

According to the technical scheme of the embodiment of the invention, when interactive voice information for interacting with a virtual interactive object is received, an interactive response mode of the virtual interactive object is determined according to the interactive voice information, so that the virtual interactive object can interact with the vehicle-mounted virtual interactive object through the voice information, and can make a corresponding response according to the voice information to determine the interactive response mode; determining a target control mode for controlling at least one atmosphere lamp according to the interactive response mode and a preset atmosphere lamp control rule, wherein the atmosphere lamp control rule preset for the interactive response mode of the virtual interactive object in the scene of the interactive response mode of the virtual interactive object and the voice information can be determined as a reference factor of the target control mode for controlling the atmosphere lamp, so that the linkage between the response of the virtual interactive object and the control of the atmosphere lamp is realized; and controlling at least one atmosphere lamp according to the target control mode so as to realize the control of the atmosphere lamp through the determined target control mode. The control of solving present atmosphere lamp is more single, and influences the problem that the user drove attention easily when operation regulation atmosphere lamp, realizes merging into the atmosphere lamp pronunciation mutual, carries out the effect that links with atmosphere lamp and virtual interactive object simultaneously, has richened the bandwagon effect of virtual interactive object and atmosphere lamp, has promoted mutual experience.

Example two

Fig. 2 is a flowchart of an atmosphere lamp control method according to a second embodiment of the present invention, where this embodiment is based on any optional technical solution in the second embodiment of the present invention, optionally, when interactive voice information for interacting with a virtual interactive object is received, an interactive response mode of the virtual interactive object is determined according to the interactive voice information; and if an atmosphere lamp response mode corresponding to the interaction response mode of the virtual interaction object exists, determining a target control mode for controlling at least one atmosphere lamp based on the atmosphere lamp response mode.

Optionally, the determining a target control manner for controlling at least one atmosphere lamp according to the interactive response manner and a preset atmosphere lamp control rule includes: if the preset atmosphere lamp response mode corresponding to the interaction response mode of the virtual interaction object does not exist, determining a default atmosphere lamp control mode as a target control mode for controlling at least one atmosphere lamp; and controlling at least one atmosphere lamp according to the target control mode.

As shown in fig. 2, the method of the embodiment may specifically include:

s210, when interactive voice information for interacting with a virtual interactive object is received, determining an interactive response mode of the virtual interactive object according to the interactive voice information.

S220, judging whether an atmosphere lamp response mode corresponding to the preset interaction response mode of the virtual interaction object exists or not, and if so, executing S230; if not, S240 is performed.

Specifically, after an interactive response mode of a virtual interactive object is determined according to interactive voice information, whether a preset atmosphere lamp control mode corresponding to the interactive response mode of the virtual interactive object exists is judged, and if the preset atmosphere lamp control mode exists, a target control mode for controlling at least one atmosphere lamp is determined based on the atmosphere lamp response mode; if not, determining a default atmosphere lamp control mode as a target control mode for controlling at least one atmosphere lamp.

Optionally, a corresponding relationship between the interactive response mode of the virtual interactive object and the atmosphere lamp response mode is preset, and whether the preset atmosphere lamp response mode corresponding to the interactive response mode of the virtual interactive object exists is determined by querying the corresponding relationship.

And S230, determining a target control mode for controlling at least one atmosphere lamp based on the atmosphere lamp response mode.

If an atmosphere lamp response mode corresponding to the interaction response mode of the virtual interaction object is preset, a target control mode for controlling at least one atmosphere lamp can be determined based on the atmosphere lamp response mode, and then the atmosphere lamp is controlled by adopting the target control mode, so that the atmosphere lamp makes a corresponding response with the virtual interaction object.

Specifically, the atmosphere lamp response mode may be determined according to the action, theme color, emotional state, and the like of the virtual interactive object. For example, the atmosphere lamp response mode may be set according to information such as brightness, color, flashing frequency, and flashing duration of the atmosphere lamp. When the virtual interactive object makes corresponding action, color and emotional state according to the voice information, determining an atmosphere lamp response mode according to the preset corresponding relation between the interactive response mode and the atmosphere lamp response mode, and further determining a target control mode for controlling at least one atmosphere lamp based on the atmosphere lamp response mode.

In particular, an array for controlling the at least one ambience lamp may be generated based on an ambience lamp response manner.

And S240, determining a default atmosphere lamp control mode as a target control mode for controlling at least one atmosphere lamp.

The default atmosphere lamp control mode comprises at least one of a mode for controlling at least one atmosphere lamp based on a received atmosphere lamp control command input by a user, a mode for controlling at least one atmosphere lamp based on a preset fixed or switchable atmosphere lamp display mode, a mode for controlling at least one atmosphere lamp based on historical control behavior data of the user on the atmosphere lamp, and a mode for controlling at least one atmosphere lamp based on environment data.

Specifically, if an ambient light response mode corresponding to a preset interactive response mode of the virtual interactive object does not exist, determining to control the display mode of at least one ambient light according to a default ambient light control mode.

And S250, controlling at least one atmosphere lamp according to the target control mode.

Optionally, a current display mode of at least one atmosphere lamp at the current moment is obtained; and if the current display mode is inconsistent with the atmosphere lamp response mode, determining a target adjustment mode for adjusting the current display mode based on the atmosphere lamp response mode, and controlling at least one atmosphere lamp based on the adjustment mode.

The current display mode of the atmosphere lamp can be understood as the display mode of the atmosphere lamp when the atmosphere lamp is not adjusted at the current moment. For example, the default presentation mode after the atmosphere lamp is turned on may be used, or the presentation mode corresponding to the previous interactive response mode of the virtual interactive object may be used.

The current presentation mode of the atmosphere lamp may or may not be consistent with the response mode of the atmosphere lamp. Specifically, a current display mode of at least one atmosphere lamp at the current moment is obtained, and if the current display mode of the atmosphere lamp is consistent with an atmosphere lamp response mode, the atmosphere lamp does not need to be controlled to adjust the display mode; if the current display mode of the atmosphere lamp is inconsistent with the response mode of the atmosphere lamp, the current display mode of the atmosphere lamp can be adjusted based on the response mode of the atmosphere lamp.

Optionally, determining a target adjustment mode for adjusting the current display mode based on the atmosphere lamp response mode includes: and determining the atmosphere lamp with the display mode inconsistent with that of the atmosphere lamp in the current display mode in the atmosphere lamp response mode in the at least one atmosphere lamp as the atmosphere lamp to be adjusted, and determining the adjustment mode of each atmosphere lamp to be adjusted.

Furthermore, the controlling at least one atmosphere lamp based on the adjusting mode comprises the following steps: and respectively adjusting each atmosphere lamp to be adjusted based on the adjusting mode of each atmosphere lamp to be adjusted.

It is noted that whether the current display mode of the atmosphere lamp is consistent with the response mode of the atmosphere lamp can be judged by the atmosphere lamp control arbitration engine.

Illustratively, an array for adjusting the presentation form corresponding to the virtual interactive object and the presentation form corresponding to the atmosphere lamp is stored in the atmosphere lamp control arbitration engine. The virtual interactive object and the atmosphere lamp can change the current display form according to the array in the atmosphere lamp control arbitration engine. Each presentation form corresponds to an array. The display colors of the virtual interactive object and the atmosphere lamp can correspond to the same array or different arrays respectively.

When the display colors of the virtual interactive object and the atmosphere lamp correspond to the same array, the display forms of the virtual interactive object and the atmosphere lamp are the same, wherein the display forms comprise colors, brightness and the like. When the display colors of the virtual interactive object and the atmosphere lamp respectively correspond to different arrays, the display forms of the virtual interactive object and the atmosphere lamp can be the same or different. The presentation form can be determined by the respective corresponding data of the virtual interactive object and the atmosphere lamp.

Taking the example of adjusting the display colors of the virtual interactive object and the atmosphere lamp through the array, when the array corresponding to the display colors of the virtual interactive object and the atmosphere lamp is the same array, if the theme color of the virtual interactive object is red, the array stored in the corresponding atmosphere lamp control arbitration engine is "001", the array stored in the atmosphere lamp control arbitration engine corresponding to the atmosphere lamp is also "001", and at this time, the color of the atmosphere lamp is consistent with the theme color of the virtual interactive object and is also represented as red. When the display colors of the virtual interactive object and the atmosphere lamp correspond to two same arrays, it indicates that the current display color of the atmosphere lamp may be consistent with or inconsistent with the color of the theme of the virtual interactive object, for example, when the theme color of the virtual interactive object is red, the corresponding array stored in the atmosphere lamp control arbitration engine is "001", at this time, the array stored in the atmosphere lamp control arbitration engine corresponding to the atmosphere lamp may be "002", for example, may be green, and indicates that the current display color of the atmosphere lamp is inconsistent with the theme color of the virtual interactive object.

And judging whether the two arrays are the same or not through the atmosphere lamp control arbitration engine, and judging whether the current display mode of the atmosphere lamp is consistent with the response mode of the atmosphere lamp or not so as to further control the atmosphere lamp according to whether the preset atmosphere lamp response mode corresponding to the interactive response mode of the virtual interactive object exists or not.

As shown in fig. 3, fig. 3 is a schematic diagram of a control method of an atmosphere lamp according to a second embodiment of the present invention.

In a specific example, a voice engine, virtual interaction object software, atmosphere lamp control software, and an atmosphere lamp control arbitration engine are generally installed in an intelligent vehicle, and an action library may be preset, information of actions, themes, skin colors, and emotional states of a virtual interaction object is stored, and various information of the virtual interaction object is linked with an atmosphere lamp to establish a corresponding relationship.

And after the voice engine identifies the voice information, sending the identification result of the voice information to the virtual interactive program, and controlling the virtual interactive object to carry out interactive response according to the identification result of the voice information and the action matched based on the voice information in the action library by the virtual interactive program. The actions in the action library are actions based on voice information matching, for example, the actions may be presentation actions in which virtual interactive objects have been preset, including but not limited to waking up, windowing, and turning on and off a radio, and the atmosphere lamps may correspondingly change the color and brightness of each atmosphere lamp according to the action sequence of the virtual interactive objects preset in the action library.

Taking the virtual interactive object as an example of being awakened, before the virtual interactive object is awakened, that is, it can be understood that at time T0, the virtual interactive object is not yet awakened, the display action may be a preset default state, and the color and brightness of the atmosphere lamps L1 and L2 … Ln may be the most initial default state; when the virtual interactive object is awakened, namely, the virtual interactive object can be understood as T1 moment, the virtual interactive object makes corresponding action according to the preset action sequence, and the color and brightness of the atmosphere lamps L1 and L2 … Ln make corresponding color and brightness changes according to the action state of the virtual interactive object. In the process of waking up the virtual interactive object, the action sequence of the virtual interactive object and the output sequence of the color and the brightness corresponding to the atmosphere lamp can be updated regularly until Tn, the waking action of the avatar is finished, the virtual interactive object returns to the default state, and the color and the brightness of the atmosphere lamps L1 and L2 … Ln return to the state corresponding to the virtual interactive object. Illustratively, the virtual interactive object can also judge the position of a speaker in the vehicle according to the speech engine, perform corresponding animation display according to a preset motion sequence of the virtual interactive motion in the motion library, and the color and brightness of the atmosphere lamps L1 and L2 … Ln make corresponding color and brightness changes according to the motion state of the virtual interactive object. For example, when the main driver says "window opening" or "sound receiver", the virtual interactive object can run to the main driver position on the display screen of the virtual interactive object to detect and report information on whether the window is opened; or detecting whether the radio is opened or not and reporting the information whether the radio is opened or not. The form of the virtual interactive object report detection result can be text information display or voice prompt, and the specific form is not limited. Meanwhile, the atmosphere lamp displays according to the action change of the virtual interactive object and the preset atmosphere lamp output sequence corresponding to the virtual interactive object.

When the atmosphere lamp is controlled based on the interactive response mode of the virtual interactive object, the virtual interactive object software can output the color and brightness of each atmosphere lamp corresponding to the action according to a specified time sequence according to the preset corresponding action in the action library based on the voice information recognition result of the voice engine, and finally the atmosphere lamp updates the atmosphere lamp output sequence every 20ms according to the action sequence acquired by the virtual interactive object from the action library. And when the action sequence in the action library is output according to the preset time sequence, the virtual interactive object returns to the default state, and the states of all the atmosphere lamps at the moment are intangible states. In practical applications, there may be cases where only a portion of the ambience lamp needs to be adjusted, illustratively, the ambience lamp L1 needs to be adjusted in color and brightness, and the ambience lamp L2 representation is unaffected and does not need to be adjusted. The atmosphere lamp control program outputs an array for controlling the atmosphere lamp based on the variation condition of the atmosphere lamp.

The ambient light control arbitration engine may replace the affected ambient light data output by the virtual interaction object with the original data based on the array output by the ambient light control software, such that the ambient light controller controls the color and brightness of each ambient light based on the received control sequence.

When the atmosphere lamp is controlled based on the interactive response mode of the virtual interactive object, the virtual interactive program can output the brightness and the color of each lamp position of the atmosphere lamp group based on the user requirement. In practical applications, each atmosphere lamp may be adjusted, for example, the atmosphere lamp L1 and the atmosphere lamp L2 may represent different brightness and color of the atmosphere lamp, and the atmosphere lamp L1 and the atmosphere lamp L2 may be adjusted respectively. The atmosphere lamp control program outputs an array for controlling the atmosphere lamp based on the variation condition of the atmosphere lamp.

The atmosphere lamp control arbitration engine can fuse the influenced atmosphere lamp data output by the virtual interaction object with original data on the basis of an array output by atmosphere lamp control software to generate an array sequence for finally controlling the atmosphere lamp display mode and output the array sequence to the atmosphere lamp controller, so that the atmosphere lamp controller controls the color and the brightness of each atmosphere lamp based on the received control sequence.

According to the technical scheme, different control modes for the atmosphere lamps are respectively determined by judging whether the preset atmosphere lamp response mode corresponding to the interactive response mode of the virtual interactive object exists or not, and the linkage mode of the virtual interactive object and the atmosphere lamps can be reasonably planned. And when an atmosphere lamp response mode corresponding to the interaction response mode of the virtual interaction object is preset, and the requirement of the virtual interaction object is taken as the main point, determining a target control mode for controlling at least one atmosphere lamp based on the atmosphere lamp response mode. And when the preset atmosphere lamp response mode corresponding to the interactive response mode of the virtual interactive object does not exist, determining a default atmosphere lamp control mode as a target control mode for controlling at least one atmosphere lamp. The atmosphere lamp and the virtual interaction object are linked, the personalized requirements of users are met, and the interaction experience is improved.

EXAMPLE III

Fig. 4 is a schematic structural diagram of an atmosphere lamp control device according to a third embodiment of the present invention, where the atmosphere lamp control device according to the third embodiment of the present invention may be implemented by software and/or hardware, and may be configured in a terminal and/or a server to implement the atmosphere lamp control method according to the third embodiment of the present invention. The device may specifically comprise: a virtual interaction module 410, a control mode arbitration module 420 and an atmosphere lamp control module 430.

The virtual interaction module 410 is configured to, when receiving interaction voice information for interacting with a virtual interaction object, determine an interaction response mode of the virtual interaction object according to the interaction voice information;

a control mode arbitration module 420, configured to determine a target control mode for controlling at least one ambience lamp according to the interactive response mode and a preset ambience lamp control rule;

and the atmosphere lamp control module 430 is configured to control at least one atmosphere lamp according to the target control manner.

According to the technical scheme of the embodiment of the invention, when interactive voice information for interacting with a virtual interactive object is received, an interactive response mode of the virtual interactive object is determined according to the interactive voice information, so that the virtual interactive object can interact with the vehicle-mounted virtual interactive object through the voice information, and can make a corresponding response according to the voice information to determine the interactive response mode; determining a target control mode for controlling at least one atmosphere lamp according to the interactive response mode and a preset atmosphere lamp control rule, wherein the atmosphere lamp control rule preset for the interactive response mode of the virtual interactive object in the scene of the interactive response mode of the virtual interactive object and the voice information can be determined as a reference factor of the target control mode for controlling the atmosphere lamp, so that the linkage between the response of the virtual interactive object and the control of the atmosphere lamp is realized; and controlling at least one atmosphere lamp according to the target control mode so as to realize the control of the atmosphere lamp through the determined target control mode. The control of solving present atmosphere lamp is more single, and influences the problem that the user drove attention easily when operation regulation atmosphere lamp, realizes merging into the atmosphere lamp pronunciation mutual, carries out the effect that links with atmosphere lamp and virtual interactive object simultaneously, has richened the bandwagon effect of virtual interactive object and atmosphere lamp, has promoted mutual experience.

On the basis of any optional technical solution in the embodiment of the present invention, optionally, the control manner arbitration module is configured to:

and if an atmosphere lamp response mode corresponding to the interaction response mode of the virtual interaction object exists, determining a target control mode for controlling at least one atmosphere lamp based on the atmosphere lamp response mode.

On the basis of any optional technical scheme in the embodiment of the present invention, optionally, the atmosphere lamp control module includes:

acquiring a current display mode of at least one atmosphere lamp at the current moment;

and if the current display mode is inconsistent with the atmosphere lamp response mode, determining a target adjustment mode for adjusting the current display mode based on the atmosphere lamp response mode, and controlling at least one atmosphere lamp based on the adjustment mode.

On the basis of any optional technical solution in the embodiment of the present invention, optionally, the control manner arbitration module is configured to:

and if the preset atmosphere lamp response mode corresponding to the interaction response mode of the virtual interaction object does not exist, determining a default atmosphere lamp control mode as a target control mode for controlling at least one atmosphere lamp.

On the basis of any optional technical solution in the embodiment of the present invention, optionally, the control apparatus of the atmosphere lamp further includes:

and the virtual interactive object display determining module is used for adjusting the display mode of the virtual interactive object based on the interactive response mode after the interactive response mode of the virtual interactive object is determined according to the interactive voice information.

On the basis of any optional technical scheme in the embodiment of the present invention, optionally, the atmosphere lamp control module is configured to:

and controlling display parameters of at least one atmosphere lamp according to the target control mode, wherein the display parameters comprise at least one of switch state, display color, display brightness, rotation parameters and flicker frequency.

On the basis of any optional technical solution in the embodiment of the present invention, optionally, the interactive response mode includes at least one of a target response action, a response theme color, and a response emotional state.

The control device of the atmosphere lamp can execute the control method of the atmosphere lamp provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects for executing the control method of the atmosphere lamp.

Example four

Fig. 5 is a schematic structural diagram of an electronic device according to a fourth embodiment of the present invention. FIG. 5 illustrates a block diagram of an exemplary electronic device 12 suitable for use in implementing embodiments of the present invention. The electronic device 12 shown in fig. 5 is only an example and should not bring any limitation to the function and the scope of use of the embodiment of the present invention.

As shown in FIG. 5, electronic device 12 is embodied in the form of a general purpose computing device. The components of electronic device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that couples various system components including the system memory 28 and the processing unit 16.

Bus 18 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.

Electronic device 12 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by electronic device 12 and includes both volatile and nonvolatile media, removable and non-removable media.

The system memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)30 and/or cache memory 32. The electronic device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 5, and commonly referred to as a "hard drive"). Although not shown in FIG. 5, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 by one or more data media interfaces. System memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.

A program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in system memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 42 generally carry out the functions and/or methodologies of the described embodiments of the invention.

Electronic device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), with one or more devices that enable a user to interact with electronic device 12, and/or with any devices (e.g., network card, modem, etc.) that enable electronic device 12 to communicate with one or more other computing devices. Such communication may be through an input/output (I/O) interface 22. Also, the electronic device 12 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet) via the network adapter 20. As shown in FIG. 5, the network adapter 20 communicates with the other modules of the electronic device 12 via the bus 18. It should be appreciated that although not shown in FIG. 5, other hardware and/or software modules may be used in conjunction with electronic device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.

The processing unit 16 executes various functional applications and data processing by running a program stored in the system memory 28, for example, to implement a method for controlling an atmosphere lamp according to an embodiment of the present invention.

EXAMPLE five

An embodiment of the present invention further provides a storage medium containing computer-executable instructions, which when executed by a computer processor, perform a method for controlling an atmosphere lamp, the method including: when interactive voice information for interacting with a virtual interactive object is received, determining an interactive response mode of the virtual interactive object according to the interactive voice information; determining a target control mode for controlling at least one atmosphere lamp according to the interactive response mode and a preset atmosphere lamp control rule; and controlling at least one atmosphere lamp according to the target control mode. .

Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, 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. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.

A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.

Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

Computer program code for carrying out operations for embodiments of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, 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 computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).

It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

17页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种智能楼宇照明控制方法及系统

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!