Method for adjusting scene atmosphere and electronic equipment

By automatically identifying user voices and postures and adjusting the atmosphere device operation strategy, the problem of manual operation complexity is solved, the user experience and scene adaptability are improved, and security is enhanced.

CN119254555APending Publication Date: 2025-01-03QINGDAO HAIER MULTI MEDIA CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310801530.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-07-03
Publication Date
2025-01-03

AI Technical Summary

Technical Problem

In the prior art, users need to manually operate the atmosphere adjustment equipment to cope with contradictions caused by life pressure, which increases the complexity of operations and affects physical and mental health and social relations.

Method used

By obtaining the user's voice information and posture, the operation strategy of the atmosphere adjustment device is automatically determined, and the device is triggered to adjust the scene atmosphere and reduce the complexity of the user's operation.

Benefits of technology

It realizes automatic adjustment of the scene atmosphere without manual operation by users, improves the user experience, and enhances the security and adaptability of preset scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119254555A_ABST
    Figure CN119254555A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of equipment control, and discloses a method for adjusting a scene atmosphere, and the method comprises the steps: obtaining the sound information of all users in a preset scene, and the sound information comprises a sound decibel value; under the condition that the sound decibel value of at least one user is greater than or equal to a preset decibel value, acquiring voice information of all users and postures of all users; according to the voice information of all the users and the postures of all the users, an operation strategy of atmosphere adjusting equipment is determined; and triggering the atmosphere adjusting equipment to operate according to the operation strategy. Under the condition that the sound decibel value of any user in the preset scene is greater than or equal to the preset decibel value, the operation strategy of the atmosphere adjusting equipment in the scene can be determined by using the voice information and postures of all users, and the atmosphere adjusting equipment is triggered to operate according to the operation strategy. Therefore, the atmosphere in the scene is automatically adjusted, and the complexity of user operation is reduced. The invention further discloses electronic equipment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of device control technology, for example, to a method and electronic device for adjusting scene atmosphere. Background Art

[0002] As people's life pressure continues to increase, the troubles brought by life pressure will affect people's mood, making it easy for people to have conflicts in social groups, such as quarrels and physical conflicts. Continuous conflicting relationships seriously affect people's physical and mental health, and also affect people's relationships in social groups. Therefore, when people have conflicts, users usually manually turn on the atmosphere adjustment devices in the scene, such as speakers, smart TVs, etc. to play music, videos, etc., to adjust the atmosphere in the scene, thereby preventing conflicts from continuing to occur. However, manually adjusting the atmosphere adjustment devices in the scene increases the complexity of user operations.

[0003] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present application, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention

[0004] In order to provide a basic understanding of some aspects of the disclosed embodiments, a brief summary is given below. The summary is not an extensive review, nor is it intended to identify key / critical components or delineate the scope of protection of these embodiments, but rather serves as a prelude to the detailed description that follows.

[0005] The embodiments of the present disclosure provide a method and an electronic device for adjusting the atmosphere of a scene, so as to automatically adjust the atmosphere in the scene and reduce the complexity of user operations.

[0006] In some embodiments, the method includes: obtaining sound information of all users in a preset scene, the sound information including sound decibel values; providing an atmosphere adjustment device in the preset scene; when the sound decibel value of at least one user is greater than or equal to the preset decibel value, obtaining voice information of all users and postures of all users; determining an operating strategy of the atmosphere adjustment device based on the voice information of all users and the postures of all users; and triggering the atmosphere adjustment device to operate according to the operating strategy.

[0007] In some embodiments, the electronic device includes: a processor and a memory storing program instructions, and the processor is configured to execute the method for adjusting the scene atmosphere when running the program instructions.

[0008] The method and electronic device for adjusting scene atmosphere provided by the embodiments of the present disclosure can achieve the following technical effects:

[0009] When the decibel value of the voice of any user in a preset scene is greater than or equal to the preset decibel value, the voice information and gestures of all users can be used to determine the operation strategy of the atmosphere adjustment device in the scene, and the atmosphere adjustment device can be triggered to operate according to the operation strategy. This realizes the automatic control of the atmosphere adjustment device in the scene to operate, and further realizes the automatic adjustment of the atmosphere in the scene. Therefore, the user does not need to manually operate the atmosphere adjustment device, reducing the complexity of the user's operation. This further improves the user's experience of using the atmosphere adjustment device.

[0010] The above general description and the following description are exemplary and explanatory only and are not intended to limit the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] One or more embodiments are exemplarily described by corresponding drawings, which do not limit the embodiments. Elements with the same reference numerals in the drawings are shown as similar elements, and the drawings do not constitute a scale limitation, and wherein:

[0012] Figure 1 is a schematic diagram of a method for adjusting scene atmosphere provided by an embodiment of the present disclosure;

[0013] Figure 2 is a schematic diagram of another method for adjusting scene atmosphere provided by an embodiment of the present disclosure;

[0014] Figure 3 is a schematic diagram of another method for adjusting scene atmosphere provided by an embodiment of the present disclosure;

[0015] Figure 4 is a schematic diagram of another method for adjusting scene atmosphere provided by an embodiment of the present disclosure;

[0016] Figure 5 is a schematic diagram of another method for adjusting scene atmosphere provided by an embodiment of the present disclosure;

[0017] Figure 6 It is a structural schematic diagram of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0018] In order to be able to understand the features and technical contents of the embodiments of the present disclosure in more detail, the implementation of the embodiments of the present disclosure is described in detail below in conjunction with the accompanying drawings. The attached drawings are for reference only and are not used to limit the embodiments of the present disclosure. In the following technical description, for the convenience of explanation, a full understanding of the disclosed embodiments is provided through multiple details. However, one or more embodiments can still be implemented without these details. In other cases, to simplify the drawings, well-known structures and devices can be simplified for display.

[0019] The terms "first", "second", etc. in the specification and claims of the embodiments of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchanged where appropriate, so as to describe the embodiments of the embodiments of the present disclosure described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions.

[0020] Unless otherwise stated, the term "plurality" means two or more.

[0021] In the embodiment of the present disclosure, the character " / " indicates that the preceding and following objects are in an "or" relationship. For example, A / B indicates: A or B.

[0022] The term "and / or" is a description of the association relationship between objects, indicating that three relationships can exist. For example, A and / or B means: A or B, or, A and B.

[0023] The term "correspondence" may refer to an association relationship or a binding relationship. The correspondence between A and B means that there is an association relationship or a binding relationship between A and B.

[0024] The method for adjusting the scene atmosphere provided by the embodiments of the present disclosure is applied to electronic devices. In some embodiments, the electronic device is a computer or a server. The electronic device can be connected to the atmosphere adjustment device by connecting to the Internet, Bluetooth, wifi, etc. The atmosphere adjustment device includes one or more of a 3D projector, a smart lamp, a smart fragrance machine, a smart air conditioner, a smart humidifier, a smart speaker, a computer, a smart TV, a smart robot, etc.

[0025] Combination Figure 1 As shown, the present disclosure provides a method for adjusting scene atmosphere, including:

[0026] Step S101, the electronic device obtains the sound information of all users in a preset scene, the sound information includes the sound decibel value, and an atmosphere adjustment device is set in the preset scene.

[0027] Step S102: When the decibel value of the voice of at least one user is greater than or equal to a preset decibel value, the electronic device obtains voice information and gestures of all users.

[0028] Step S103: the electronic device determines an operation strategy of the atmosphere adjustment device according to the voice information of all users and the postures of all users.

[0029] Step S104: the electronic device triggers the atmosphere adjustment device to operate according to the operation strategy.

[0030] By adopting the method for adjusting the scene atmosphere provided by the embodiment of the present disclosure, when the decibel value of the voice of any user in the preset scene is greater than or equal to the preset decibel value, the operation strategy of the atmosphere adjustment device in the scene can be determined by using the voice information and postures of all users, and the atmosphere adjustment device can be triggered to operate according to the operation strategy. This realizes the automatic control of the atmosphere adjustment device in the scene to operate, and further realizes the automatic adjustment of the atmosphere in the scene. Therefore, the user does not need to manually operate the atmosphere adjustment device, reducing the complexity of the user's operation. This further improves the user's experience of using the atmosphere adjustment device.

[0031] In some embodiments, a sound collection device and a camera device are provided in the preset scene. The preset scene includes a bedroom, a living room, a dining room, a kitchen, an office, a classroom or a shopping mall, etc. The sound collection device includes a microphone. The camera device includes a camera. The sound data in the preset scene is collected by the sound collection device, and the collected sound data is identified. When the sound data contains human sound data, the sound information of all persons in the preset scene is obtained, that is, the sound information of all users in the preset scene is obtained. When the decibel value of the sound of at least one user is greater than or equal to the preset decibel value, the voice information of all users and the postures of all users are obtained. Among them, the preset decibel value is 70 decibels. In this way, if the voice of one user in the preset scene is greater than or equal to 70 decibels, the users in the preset scene may have quarrels or other conflicts. In this way, when it is preliminarily determined that the users in the preset scene may have quarrels, the atmosphere adjustment device is triggered to operate according to the operation strategy according to the voice information and postures of all users in the preset scene. The timing of automatically adjusting the atmosphere in the preset scene can be determined more accurately.

[0032] Furthermore, acquiring voice information of all users includes: using a sound collection device to collect voice information of each user respectively.

[0033] Further, obtaining the postures of all users includes: using a camera to obtain a first image in a preset scene, the first image including all users in the preset scene, and inputting the first image into a preset first recognition model for recognition to obtain the postures of each user.

[0034] Further, the first recognition model is obtained in the following manner: a first sample image containing a person is input into a preset first convolutional neural network model for training to obtain a first recognition model. The first sample image carries a first label. The first label corresponds to the posture of the person in the first sample image. Among them, the first label includes falling, attacking or physical conflict, etc. For example, if the person in the first sample image is sitting on the ground, the posture of the person in the first sample image is falling, that is, the first label of the first sample image is falling. For example, if the person in the first sample image holds an object and raises the object above his head, the posture of the person in the first sample image is an attacking posture, that is, the first label of the first sample image is attack. For example, if the images of person A and person B in the first sample image overlap, the postures of person A and person B in the first sample image are both postures corresponding to physical conflict, that is, the first label of the first sample image is physical conflict.

[0035] In some embodiments, the user's posture includes a falling posture, an attacking posture, or a posture corresponding to a physical conflict, etc. The preset scene is a living room. The sound decibel values ​​of user A and user B in the living room are obtained. When the sound decibel value of user A and / or user B is greater than or equal to the preset decibel value, the voice information of user A and the voice information of user B are obtained. And a first image containing user A and user B in the living room is obtained. For example, the image of user A in the first image represents user A sitting on the ground, and the image of user B represents user B holding an object and raising the object above his head. The first image is input into the preset first recognition model for recognition, and the posture of user A is obtained as a falling posture, and the posture of user B is obtained as an attacking posture. For another example, the image of user A in the first image overlaps with the image of user B. The first image is input into the preset first recognition model for recognition, and the postures of user A and user B are obtained as postures corresponding to a physical conflict.

[0036] Optionally, the operation strategy of the atmosphere adjustment device is determined according to the voice information of all users and the postures of all users, including: obtaining the contradiction value of the voice information of each user and the contradiction value of the posture of each user. According to the contradiction value of each voice information and the contradiction value of each posture, a first contradiction level is obtained. According to the first contradiction level, the operation strategy of the atmosphere adjustment device is determined. In this way, the contradictions between users can be accurately reflected according to the language and posture of the users, and the contradictions of users in the preset scene are graded. The operation strategy of the atmosphere adjustment device is determined according to the divided contradiction levels, and the atmosphere adjustment device is triggered to operate according to the operation strategy. Automatic adjustment of the atmosphere in the preset scene is achieved. Moreover, the operation strategy of the atmosphere adjustment device is determined according to the contradiction level. The atmosphere in the adjusted scene can be more suitable for the needs of users in the preset scene. Thereby, the user experience of using the atmosphere adjustment device is further improved.

[0037] Optionally, obtaining the contradiction value of each user's voice information includes: performing the following operations on each user's voice information: recognizing the user's voice information to obtain text information corresponding to the voice information. Searching for a keyword matching a preset word in the text information. When a keyword matching the preset word is found, using the keyword, performing a table lookup operation in a preset first data table to find a first candidate contradiction value corresponding to the keyword. The first data table stores a correspondence between the keyword and the first candidate contradiction value. Determine the contradiction value of the corresponding voice information according to the first candidate contradiction value. When the keyword matching the preset word is not found in the text information, determine that the contradiction value of the voice information corresponding to the text information is 0. The preset word represents a word that can reflect a quarrel between users. For example, the preset word is a language attack word. In this way, whether there is a keyword matching the preset word in the text information corresponding to the user's voice information can reflect whether the user has spoken an attacking language. The higher the number of occurrences of each keyword matching the preset word in the text information corresponding to the user's voice information, the more serious the degree of language attack can be reflected. Thus, the contradiction between users in the preset scene is reflected. Then, according to the contradiction value of each voice information, the contradiction level between users can be more accurately determined.

[0038] Optionally, determining the contradiction value of the corresponding voice information according to the first candidate contradiction value includes: determining the sum of all first candidate contradiction values ​​corresponding to the text information as the contradiction value of the voice information corresponding to the text information.

[0039] In some embodiments, the preset words are language attack words. For example, the preset words include one or more of "AA", "BB", "CC" and "DD". The preset scene is a classroom. For example, the voice information of user A and the voice information of user B in the classroom are obtained. The voice information of user A is recognized, and the text information A is obtained as "Are you AA?" The keyword matching the preset word in the text information A is "AA". The first alternative contradiction value corresponding to "AA" is found to be 1 from the first data table. Then, the contradiction value of the voice information of user A is 1. The voice information of user B is recognized, and the text information B is obtained as "DD, you BB, CC". The keywords matching the preset words in the text information B are "DD", "BB" and "CC". The first alternative contradiction value corresponding to "DD" is found to be 1 from the first data table, the first alternative contradiction value corresponding to "BB" is found to be 1 from the first data table, and the first alternative contradiction value corresponding to "CC" is found to be 1 from the first data table. Then, the contradiction value of the voice information of user B is 3.

[0040] Further, obtaining the contradiction value of each user's posture includes: performing the following operations on each user's posture: using the user's posture, performing a table lookup operation in a preset second data table to find out the second candidate contradiction value corresponding to the user's posture. The second data table stores the correspondence between the posture and the second candidate contradiction value. The second candidate contradiction value is determined as the contradiction value of the corresponding posture. The user's posture can reflect the user's behavior. In this way, the contradiction between users in the preset scene can be reflected according to the user's behavior. Furthermore, the contradiction level between users can be more accurately determined according to the posture of each user.

[0041] In some embodiments, the preset scene is a living room. For example, the posture of user A in the living room is an attack posture, and the second alternative contradiction value corresponding to the attack posture is 3 found in the second data table, then the contradiction value of user A's posture is 3. For another example, the posture of user A in the living room is a fall posture, the posture of user B is a posture corresponding to physical conflict, and the posture of user C is a posture corresponding to physical conflict. The second alternative contradiction value corresponding to the fall posture is 5 found in the second data table, then the contradiction value of user A's posture is 5. The second alternative contradiction value corresponding to the posture corresponding to physical conflict is 8 found in the second data table, then the contradiction value of user B's posture is 8, and the contradiction value of user C's posture is 8.

[0042] Further, according to the contradiction value of each voice information and the contradiction value of each posture, the first contradiction level is obtained, including: using the contradiction value of each voice information and the contradiction value of each posture to calculate and obtain a first target contradiction value. Using the first target contradiction value, a table lookup operation is performed in a preset third data table to find out the first candidate contradiction level corresponding to the first target contradiction value; the third data table stores the correspondence between the first target contradiction value and the first candidate contradiction level. The first candidate contradiction level is determined as the first contradiction level.

[0043] In some embodiments, Table 1 is an example table of the third data table. As shown in Table 1, L1 is the first target contradiction value, and P1 is the first contradiction level. When 0<L1≤4, the first contradiction level P1 is 1; when 4<L1≤8, the first contradiction level P1 is 2; when 8<L1≤16, the first contradiction level P1 is 3; when 16<L1, the first contradiction level P1 is 4.

[0044] Table 1

[0045] The first target contradiction value L1 First contradiction level P1 0<L1≤4 1 4<L1≤8 2 8<L1≤16 3 16<L1 4

[0046] Further, the contradiction value of each voice information and the contradiction value of each posture are used for calculation to obtain a first target contradiction value, including: determining the sum of the contradiction value of each voice information and the contradiction value of each posture as the first target contradiction value.

[0047] Further, according to the first contradiction level, determining the operation strategy of the atmosphere adjustment device includes: using the first contradiction level, performing a table lookup operation in a preset sixth data table to find out a first alternative operation strategy corresponding to the first contradiction level. Determining the first alternative operation strategy as the operation strategy of the atmosphere adjustment device. The sixth data table stores the correspondence between the first contradiction level and the first alternative operation strategy.

[0048] In some embodiments, the atmosphere adjustment device is a smart TV, a smart lamp, a smart aromatherapy machine, a smart humidifier, a smart air conditioner, a smart speaker, and a smart robot. When the first contradiction level is 1, the first alternative operation strategy is found from the sixth data table as "the smart TV does not operate, the smart lamp does not operate, the smart aromatherapy machine evaporates aromatherapy essential oils, the smart humidifier operates in water vapor evaporation mode, the smart air conditioner operates in cooling mode and operates at level one wind speed, the smart speaker does not operate, and the smart robot does not operate". In the case where the first contradiction level is 2, the first alternative operation strategy is found from the sixth data table as "the smart TV does not operate, the smart lamp does not operate, the smart aromatherapy machine evaporates aromatherapy essential oils, the smart humidifier operates in water vapor evaporation mode, the smart air conditioner operates in cooling mode and operates at level two wind speed, the smart speaker plays light music, and the smart robot does not operate". When the first contradiction level is 3, the first alternative operation strategy is found out from the sixth data table as "the smart TV plays cute pet videos, the smart lamps run in the atmosphere lighting mode, the smart aromatherapy machine evaporates aromatherapy essential oils, the smart humidifier runs in the water vapor evaporation mode, the smart air conditioner runs in the cooling mode and runs at level 3 wind speed, the smart speaker plays light music, and the smart robot does not run." When the first contradiction level is 4, the first alternative operation strategy is found out from the sixth data table as "the smart TV plays videos related to loving life, the smart lamps run in the atmosphere lighting mode, the smart aromatherapy machine evaporates aromatherapy essential oils, the smart humidifier runs in the water vapor evaporation mode, the smart air conditioner runs in the cooling mode and runs at level 4 wind speed, the smart speaker plays light music, and the smart robot runs in the interactive mode."

[0049] For example, the contradiction value of the voice information of user A is 1, the contradiction value of the posture of user A is 3, the contradiction value of the voice information of user B is 3, and the contradiction value of the posture of user B is 5. Then, the first target contradiction value is 11. From the third data table, it is found that the first alternative contradiction level corresponding to the first target contradiction value 11 is 3, so the first contradiction level is 3. From the sixth data table, it is found that the first alternative operation strategy corresponding to the first contradiction level 3 is "the smart TV plays cute pet videos, the smart lamps run the atmosphere lighting mode, the smart aromatherapy machine evaporates aromatherapy essential oils, the smart humidifier runs the water vapor evaporation mode, the smart air conditioner runs the cooling mode and runs at level 3 wind speed, the smart speaker plays light music, and the smart robot does not run". Then the smart TV is triggered to play cute pet videos, the smart lamps run the atmosphere lighting mode, the smart aromatherapy machine evaporates aromatherapy essential oils, the smart humidifier runs the water vapor evaporation mode, the smart air conditioner runs the cooling mode and runs at level 3 wind speed, and the smart speaker plays light music.

[0050] Optionally, the operation strategy of the atmosphere adjustment device is determined according to the voice information of all users and the postures of all users, including: obtaining the expressions of all users. Obtaining the contradiction value of each user's expression, the contradiction value of each user's voice information and the contradiction value of each user's posture. According to the contradiction value of each expression, the contradiction value of each voice information and the contradiction value of each posture, a second contradiction level is obtained. According to the second contradiction level, the operation strategy of the atmosphere adjustment device is determined. In this way, the contradiction between users can be more accurately reflected according to the expression, language and posture of each user, and the contradiction of users in the preset scene is graded. The operation strategy of the atmosphere adjustment device is determined according to the divided contradiction level, and the atmosphere adjustment device is triggered to operate according to the operation strategy. Automatic adjustment of the atmosphere in the preset scene is achieved. Moreover, the operation strategy of the atmosphere adjustment device is determined according to the contradiction level. The atmosphere in the adjusted scene can be more suitable for the needs of users in the preset scene. Thereby, the user experience of using the atmosphere adjustment device is further improved.

[0051] Further, obtaining the expressions of all users includes: using a camera to obtain a second image in a preset scene, the second image including all users in the preset scene, and inputting the second image into a preset second recognition model for recognition to obtain the expressions of each user.

[0052] Further, the second recognition model is obtained by: inputting the second sample image containing the person into the preset second convolutional neural network model for training to obtain the second recognition model. The second sample image has a second label. The second label is the expression of the person in the second sample image. The second label includes sadness, anger, disgust, etc.

[0053] Further, obtaining the contradiction value of each user's expression includes: performing the following operations on each user's expression: using the user's expression, performing a table lookup operation in a preset fourth data table to find out the third candidate contradiction value corresponding to the user's expression. The fourth data table stores the correspondence between the expression and the third candidate contradiction value. The third candidate contradiction value is determined as the contradiction value of the corresponding expression. In this way, the user's expression can reflect the user's emotion. In this way, the contradiction between users in the preset scene can be reflected according to the user's emotion. Furthermore, the contradiction level between users can be more accurately determined according to the expression of each user.

[0054] In some embodiments, Table 2 is an example table of the fourth data table. As shown in Table 2, when the expression is sad, the third alternative contradiction value is 1. When the expression is disgusted, the third alternative contradiction value is 2; when the expression is angry, the third alternative contradiction value is 3.

[0055] Table 2

[0056]

[0057]

[0058] Further, according to the contradiction value of each expression, the contradiction value of each voice information and the contradiction value of each posture, the second contradiction level is obtained, including: using the contradiction value of each expression, the contradiction value of each voice information and the contradiction value of each posture to calculate and obtain the second target contradiction value. Using the second target contradiction value, a table lookup operation is performed in a preset fifth data table to find out the second alternative contradiction level corresponding to the second target contradiction value. The fifth data table stores the corresponding relationship between the second target contradiction value and the second alternative contradiction level. The second alternative contradiction level is determined as the second contradiction level.

[0059] In some embodiments, Table 3 is an example table of the fifth data table. As shown in Table 3, L2 is the second target contradiction value, and P2 is the second contradiction level. When 0<L2≤4, the second contradiction level P2 is 1; when 4<L2≤8, the second contradiction level P2 is 2; when 8<L2≤16, the second contradiction level P2 is 3; when 16<L2, the second contradiction level P2 is 4.

[0060] Table 3

[0061] The second target contradiction value L2 Second contradiction level P2 0<L2≤5 1 5<L2≤10 2 10<L2≤20 3 20<L2 4

[0062] Furthermore, the contradiction value of each expression, the contradiction value of each voice information and the contradiction value of each posture are used for calculation to obtain the second target contradiction value, including: determining the sum of the contradiction value of each expression, the contradiction value of each voice information and the contradiction value of each posture as the second target contradiction value.

[0063] Further, according to the second contradiction level, determining the operation strategy of the atmosphere adjustment device includes: using the second contradiction level, performing a table lookup operation in a preset seventh data table to find out the second alternative operation strategy corresponding to the second contradiction level. Determining the second alternative operation strategy as the operation strategy of the atmosphere adjustment device. The seventh data table stores the correspondence between the second contradiction level and the second alternative operation strategy.

[0064] In some embodiments, when the second contradiction level is 1, the second alternative operation strategy is found out from the seventh data table as "the smart TV does not operate, the smart lamps do not operate, the smart aroma diffuser evaporates essential oils, the smart humidifier operates in water vapor evaporation mode, the smart air conditioner operates in cooling mode and operates at level one wind speed, the smart audio does not operate, and the smart robot does not operate". When the second contradiction level is 2, the second alternative operation strategy is found out from the seventh data table as "the smart TV does not operate, the smart lamps do not operate, the smart aroma diffuser evaporates essential oils, the smart humidifier operates in water vapor evaporation mode, the smart air conditioner operates in cooling mode and operates at level two wind speed, the smart audio plays light music, and the smart robot does not operate". When the second contradiction level is 3, the second alternative operation strategy is found out from the seventh data table as "the smart TV plays cute pet videos, the smart lamps operate in atmosphere lighting mode, the smart aroma diffuser evaporates essential oils, the smart humidifier operates in water vapor evaporation mode, the smart air conditioner operates in cooling mode and operates at level three wind speed, the smart audio plays light music, and the smart robot does not operate". When the second contradiction level is 4, the second alternative operating strategy is found from the seventh data table as "the smart TV plays videos related to loving life, the smart lamps operate in atmosphere lighting mode, the smart aromatherapy machine evaporates aromatherapy essential oils, the smart humidifier operates in water vapor evaporation mode, the smart air conditioner operates in cooling mode and runs at level 4 wind speed, the smart speaker plays light music, and the smart robot operates in interactive mode."

[0065] For example, the contradiction value of the expression of user A is 2, the contradiction value of the voice information of user A is 2, the contradiction value of the posture of user A is 8, the contradiction value of the expression of user B is 2, the contradiction value of the voice information of user B is 3, and the contradiction value of the posture of user B is 8. Then, the second target contradiction value is 25. From the fifth data table, it is found that the second alternative contradiction level corresponding to the second target contradiction value 25 is 4, and the second contradiction level is 4. From the seventh data table, it is found that the second alternative operation strategy corresponding to the second contradiction level 4 is "the smart TV plays videos related to loving life, the smart lamps run the atmosphere lighting mode, the smart aroma machine evaporates aromatherapy essential oils, the smart humidifier runs the water vapor evaporation mode, the smart air conditioner runs the cooling mode and runs at level 4 wind speed, the smart speaker plays light music, and the smart robot runs the interactive mode". Then the smart TV is triggered to play videos related to loving life, the smart lamps run the atmosphere lighting mode, the smart aroma machine evaporates aromatherapy essential oils, the smart humidifier runs the water vapor evaporation mode, the smart air conditioner runs the cooling mode and runs at level 4 wind speed, the smart speaker plays light music, and the smart robot runs the interactive mode.

[0066] Combination Figure 2 As shown, the present disclosure provides a method for adjusting scene atmosphere, including:

[0067] Step S201, the electronic device obtains the sound information of all users in a preset scene, the sound information includes the sound decibel value, and an atmosphere adjustment device is set in the preset scene.

[0068] Step S202: When the decibel value of the voice of at least one user is greater than or equal to a preset decibel value, the electronic device obtains voice information and gestures of all users.

[0069] Step S203: the electronic device obtains the contradiction value of each user's voice information and the contradiction value of each user's posture.

[0070] Step S204: the electronic device obtains a first contradiction level according to the contradiction value of each voice information and the contradiction value of each gesture.

[0071] Step S205: the electronic device determines an operation strategy of the atmosphere adjustment device according to the first conflict level.

[0072] Step S206: The electronic device triggers the atmosphere adjustment device to operate according to the operation strategy.

[0073] By adopting the method for adjusting the scene atmosphere provided by the embodiment of the present disclosure, when the decibel value of the sound of any user in the preset scene is greater than or equal to the preset decibel value, the conflict between users can be accurately reflected according to the user's language and posture, and the conflict between users in the preset scene is graded. The operation strategy of the atmosphere adjustment device is determined according to the graded conflict, and the atmosphere adjustment device is triggered to operate according to the operation strategy. Automatic adjustment of the atmosphere in the preset scene is achieved. Moreover, the operation strategy of the atmosphere adjustment device is determined according to the grade of conflict. The atmosphere in the adjusted scene can be more suitable for the needs of users in the preset scene. Thereby, the user experience of using the atmosphere adjustment device is further improved.

[0074] In some embodiments, the preset scene is the living room, and the preset decibel value is 70 decibels. When user A is making a phone call in the living room, the decibel value of the sound of user A in the living room is obtained to be 75 decibels. Since 75 decibels is greater than 70 decibels, the voice information of user A is obtained, the voice information of user A is recognized, and the corresponding text information is obtained as "Are you DD?" The posture of user A is obtained as "attack posture". The contradiction value of the voice information of user A is 1, and the contradiction value of the posture of user A is 3. According to the contradiction value of the voice information being 1 and the contradiction value of the posture being 3, the first contradiction level is obtained as 1. From the sixth data table, it is found that the operation strategy of the atmosphere adjustment device corresponding to the first contradiction level 1 is "smart TV does not run, smart lamps do not run, smart aromatherapy machine evaporates aromatherapy essential oils, smart humidifier runs in water vapor evaporation mode, smart air conditioner runs in cooling mode and runs at level one wind speed, smart audio does not run, and smart robot does not run". Then the smart aromatherapy machine is triggered to evaporate aromatherapy essential oils, the smart humidifier runs in water vapor evaporation mode, and the smart air conditioner runs in cooling mode and runs at level one wind speed.

[0075] Combination Figure 3 As shown, the present disclosure provides a method for adjusting scene atmosphere, including:

[0076] Step S301, the electronic device obtains the sound information of all users in a preset scene, the sound information includes the sound decibel value, and an atmosphere adjustment device is set in the preset scene.

[0077] Step S302: When the decibel value of the sound of at least one user is greater than or equal to a preset decibel value, the electronic device obtains the expressions of all users, the voice information of all users, and the gestures of all users.

[0078] Step S303: the electronic device obtains the contradiction value of each user's expression, the contradiction value of each user's voice information, and the contradiction value of each user's posture.

[0079] Step S304: the electronic device obtains a second contradiction level according to the contradiction value of each expression, the contradiction value of each voice information and the contradiction value of each posture.

[0080] Step S305: the electronic device determines an operation strategy of the atmosphere adjustment device according to the second conflict level.

[0081] Step S306: The electronic device triggers the atmosphere adjustment device to operate according to the operation strategy.

[0082] By adopting the method for adjusting the scene atmosphere provided by the embodiment of the present disclosure, when the decibel value of the sound of any user in the preset scene is greater than or equal to the preset decibel value, the conflict situation between users can be more accurately reflected according to the expression, language and posture of each user, and the conflict situation of users in the preset scene is graded. The operation strategy of the atmosphere adjustment device is determined according to the graded conflict, and the atmosphere adjustment device is triggered to operate according to the operation strategy. Automatic adjustment of the atmosphere in the preset scene is achieved. Moreover, the operation strategy of the atmosphere adjustment device is determined according to the grade of conflict. The atmosphere in the adjusted scene can be more suitable for the needs of users in the preset scene. Thereby, the user experience of using the atmosphere adjustment device is further improved.

[0083] In some embodiments, the preset scene is a classroom, and the preset decibel value is 70 decibels. The decibel value of the sound of user A in the living room is obtained to be 75 decibels, and the decibel value of user B is 65 decibels. Since 75 decibels is greater than 70 decibels, the expression of user A is obtained to be angry, the text information corresponding to the voice information of user A is "You CC, are you DD", the posture of user A is the posture corresponding to the physical conflict, the expression of user B is disgust, the text information corresponding to the voice information of user B is "You AA, can you walk", and the posture of user B is the posture corresponding to the physical conflict. Then the contradiction value of user A's expression is 3, the contradiction value of user A's voice information is 2, the contradiction value of user A's posture is 8, the contradiction value of user B's expression is 2, the contradiction value of user B's voice information is 1, and the contradiction value of user B's posture is 8. According to the contradiction values ​​of expression 3 and 2, the contradiction values ​​of voice information 2 and 1, and the contradiction values ​​of posture 8 and 8, the second contradiction level is obtained as 4. From the seventh data table, it is found that the operation strategy of the atmosphere adjustment device corresponding to the second contradiction level 4 is "the smart TV plays videos related to loving life, the smart lamps operate in the atmosphere lighting mode, the smart aromatherapy machine evaporates aromatherapy essential oils, the smart humidifier operates in the water vapor evaporation mode, the smart air conditioner operates in the cooling mode and runs at level 4 wind speed, the smart speaker plays light music, and the smart robot operates in the interactive mode". This triggers the smart TV to play videos related to loving life, the smart lamps operate in the atmosphere lighting mode, the smart aromatherapy machine evaporates aromatherapy essential oils, the smart humidifier operates in the water vapor evaporation mode, the smart air conditioner operates in the cooling mode and runs at level 4 wind speed, the smart speaker plays light music, and the smart robot operates in the interactive mode.

[0084] Combination Figure 4 As shown, the embodiment of the present disclosure provides another method for adjusting the scene atmosphere, including:

[0085] Step S401, the electronic device obtains the sound information of all users in a preset scene, the sound information includes the sound decibel value and voiceprint information, and an atmosphere adjustment device is set in the preset scene.

[0086] Step S402: When the decibel value of the voice of at least one user is greater than or equal to a preset decibel value, the electronic device obtains voice information and gestures of all users.

[0087] Step S403: The electronic device determines an operation strategy of the atmosphere adjustment device according to the voice information of all users and the postures of all users.

[0088] Step S404: the electronic device triggers the atmosphere adjustment device to operate according to the operation strategy.

[0089] Step S405: the electronic device uses the voiceprint information of each user to perform matching in a preset voiceprint library to obtain a matching result. The voiceprint library stores a plurality of candidate voiceprint information.

[0090] Step S406: When the matching result shows that the voiceprint information of at least one user does not match the candidate voiceprint information in the preset voiceprint library, the electronic device triggers the atmosphere adjustment device to sound an alarm according to the voice information corresponding to the voiceprint information of the unmatched user.

[0091] By adopting the method for adjusting the scene atmosphere provided by the embodiment of the present disclosure, when the decibel value of the sound of any user in the preset scene is greater than or equal to the preset decibel value, the voice information and posture of all users can be used to determine the operation strategy of the atmosphere adjustment device in the scene, and the atmosphere adjustment device can be triggered to operate according to the operation strategy. Thereby, the operation of the atmosphere adjustment device in the scene is automatically controlled, and the atmosphere in the scene is further automatically adjusted. Therefore, the user does not need to manually operate the atmosphere adjustment device, which reduces the complexity of the user operation. The user's experience of using the atmosphere adjustment device is further improved. At the same time, when it is identified that the voiceprint information of at least one user does not match the alternative voiceprint information in the preset voiceprint library, the identity information of the user corresponding to the voiceprint information of the unmatched user cannot be clarified. The unidentified user may pose a danger to the safety of other users in the preset scene. Therefore, the atmosphere adjustment device is controlled to alarm according to the voice information of the unidentified user. Thereby, the security in the preset scene is improved.

[0092] Optionally, triggering the atmosphere adjustment device to sound an alarm based on the voice information corresponding to the voiceprint information of the unmatched user includes: in the case where a keyword matching a preset word is found in the text information recognized from the voice information corresponding to the voiceprint information of the unmatched user, triggering the atmosphere adjustment device to sound an alarm. Since the identity information of the user corresponding to the voiceprint information of the unmatched user is unclear, in the case where a keyword matching a preset word is found in the text information of the voice information of the unidentified user, the unidentified user may pose a danger to the safety of other users in the preset scene. At this time, triggering the atmosphere adjustment device to sound an alarm can serve as a warning to the unidentified user. Thereby improving the security in the preset scene.

[0093] Further, triggering the atmosphere adjustment device to sound an alarm includes: triggering the atmosphere adjustment device to sound an alarm buzzer.

[0094] Optionally, according to the voice information corresponding to the voiceprint information of the unmatched user, the atmosphere adjustment device is triggered to alarm, including: in the case of finding a keyword matching the preset word in the text information identified from the voice information corresponding to the voiceprint information of the unmatched user, using the posture of the user, performing a table lookup operation in the preset eighth data table to find the first alternative alarm strategy corresponding to the posture. The atmosphere adjustment device is triggered to alarm according to the first alternative alarm strategy. The eighth data table stores the corresponding relationship between the posture and the first alternative alarm strategy. For example, the first alternative alarm strategy is to emit an alarm buzzer and / or send an alarm message to a preset terminal. In the case of finding a keyword matching the preset word in the text information of the voice information of the unidentified user, the posture of the unidentified user can reflect the dangerous situation of the unidentified user. The first alternative alarm strategy of the atmosphere adjustment device is determined according to the posture of the unidentified user, and the atmosphere adjustment device is triggered to alarm according to the first alternative alarm strategy, so that the alarm can be targeted according to the dangerous situation in the preset scene, which can play a good warning role for the unidentified user. Thereby further improving the safety in the preset scene.

[0095] In some embodiments, the preset terminal is a mobile phone, a phone watch, etc. The alarm message is, for example, "I am in danger, call the police quickly" and the like.

[0096] In some embodiments, the atmosphere adjustment device is a smart TV. In the case of finding a keyword matching a preset word in the text information recognized from the voice information corresponding to the voiceprint information of an unmatched user, it is obtained that the posture of the user is an attack posture. The first alternative alarm strategy corresponding to the "attack posture" is found from the eighth data table as "send an alarm buzzer". The smart TV is triggered to send an alarm buzzer. For another example, the posture of the user is obtained as a fall posture. The first alternative alarm strategy corresponding to the "fall posture" is found from the eighth data table as "send an alarm message to a preset terminal". The smart TV is triggered to send an alarm message to the preset terminal. For another example, the posture of the user is obtained as a posture corresponding to a physical conflict. The first alternative alarm strategy corresponding to the "posture corresponding to the physical conflict" is found from the eighth data table as "send an alarm buzzer and send an alarm message to a preset terminal". The smart TV is triggered to send an alarm buzzer and send an alarm message to the preset terminal.

[0097] Optionally, according to the voice information corresponding to the voiceprint information of the unmatched user, the atmosphere adjustment device is triggered to alarm, including: when a keyword matching the preset word is found in the text information identified from the voice information corresponding to the voiceprint information of the unmatched user, the user's posture and the user's expression are used to perform a table lookup operation in the preset ninth data table to find the second alternative alarm strategy corresponding to the posture and the expression. The atmosphere adjustment device is triggered to alarm according to the second alternative alarm strategy. The ninth data table stores the correspondence between the posture and expression and the second alternative alarm strategy. For example, the second alternative alarm strategy is to emit an alarm buzzer and / or send a danger alarm message to a preset terminal. In this way, when a keyword matching the preset word is found in the text information of the voice information of the unidentified user, the posture and expression of the unidentified user can more accurately reflect the dangerous situation of the unidentified user. The second alternative alarm strategy of the atmosphere adjustment device is determined according to the posture and expression of the unidentified user, and the atmosphere adjustment device is triggered to alarm according to the second alternative alarm strategy, so that the alarm can be more targeted according to the dangerous situation in the preset scene, and the unidentified user can be better warned, thereby further improving the safety in the preset scene.

[0098] In some embodiments, the atmosphere adjustment device is a smart TV. In the case of finding a keyword matching a preset word in the text information recognized from the voice information corresponding to the voiceprint information of the unmatched user, it is obtained that the user's posture is falling, and the user's expression is angry. From the ninth data table, it is found that the second alternative alarm strategy corresponding to "falling" and "anger" is "sending a dangerous alarm message to a preset terminal". Then the smart TV is triggered to send a dangerous alarm message to the preset terminal. For another example, the user's posture is obtained as an attack posture, and the user's expression is disgust. From the ninth data table, it is found that the second alternative alarm strategy corresponding to "attack posture" and "disgust" is "issuing an alarm buzzer". Then the smart TV is triggered to send an alarm buzzer. For another example, the user's posture is obtained as a posture corresponding to a physical conflict, and the user's expression is angry. From the ninth data table, it is found that the second alternative alarm strategy corresponding to "posture corresponding to physical conflict" and "anger" is "issuing an alarm buzzer and sending a dangerous alarm message to a preset terminal". Then the smart TV is triggered to send an alarm buzzer and send a dangerous alarm message to the preset terminal.

[0099] Combination Figure 5 As shown, the embodiment of the present disclosure provides another method for adjusting the scene atmosphere, including:

[0100] Step S501, the electronic device obtains the sound information of all users in a preset scene, the sound information includes the sound decibel value and voiceprint information, and an atmosphere adjustment device is set in the preset scene.

[0101] Step S502: When the decibel value of the sound of at least one user is greater than or equal to a preset decibel value, the electronic device obtains the expressions of all users, the voice information of all users, and the gestures of all users.

[0102] Step S503: the electronic device obtains the contradiction value of each user's expression, the contradiction value of each user's voice information, and the contradiction value of each user's posture.

[0103] Step S504: the electronic device obtains a second contradiction level according to the contradiction value of each expression, the contradiction value of each voice information, and the contradiction value of each posture.

[0104] Step S505: the electronic device determines an operation strategy of the atmosphere adjustment device according to the second conflict level.

[0105] Step S506: The electronic device triggers the atmosphere adjustment device to operate according to the operation strategy.

[0106] Step S507: the electronic device uses the voiceprint information of each user to perform matching in a preset voiceprint library to obtain a matching result. The voiceprint library stores a plurality of candidate voiceprint information.

[0107] Step S508: When the matching result shows that the voiceprint information of at least one user does not match the candidate voiceprint information in the preset voiceprint library, the electronic device triggers the atmosphere adjustment device to sound an alarm according to the voice information corresponding to the voiceprint information of the unmatched user.

[0108] By adopting the method for adjusting the scene atmosphere provided by the embodiment of the present disclosure, when the decibel value of the voice of any user in the preset scene is greater than or equal to the preset decibel value, the conflict between the users can be more accurately reflected according to the expressions, languages ​​and gestures of each user, and the conflict between the users in the preset scene is graded. The operation strategy of the atmosphere adjustment device is determined according to the grade of the graded conflict, and the atmosphere adjustment device is triggered to operate according to the operation strategy. Automatic adjustment of the atmosphere in the preset scene is achieved. Moreover, the operation strategy of the atmosphere adjustment device is determined according to the grade of the conflict. The atmosphere in the adjusted scene can be more suitable for the needs of the users in the preset scene. Thus, the user experience of using the atmosphere adjustment device is further improved. At the same time, when it is identified that the voiceprint information of at least one user does not match the candidate voiceprint information in the preset voiceprint library, the identity information of the user corresponding to the voiceprint information of the unmatched user cannot be clarified. The unidentified user may pose a danger to the safety of other users in the preset scene. Therefore, the atmosphere adjustment device is controlled to alarm according to the voice information of the unidentified user. Thus, the security in the preset scene is improved.

[0109] In some embodiments, the preset scene is any sales area in a shopping mall, such as a sales area for selling electrical appliances. The sound decibel values ​​of all users in the preset scene are obtained. For example, the sound decibel value of user A is 73 decibels, and the sound decibel value of user B is 75 decibels. Among them, the preset decibel value is 70 decibels. Since the sound decibel values ​​of user A and user B are both greater than 70 decibels, the voice information, posture and expression of user A and user B are obtained respectively. The contradiction values ​​of the expressions of user A and user B, the contradiction values ​​of the voice information and the contradiction values ​​of the postures are obtained respectively, and the second contradiction level is obtained according to the contradiction values ​​of the expressions of user A and user B, the contradiction values ​​of the voice information and the contradiction values ​​of the postures. According to the second contradiction level, the operation strategy of the atmosphere adjustment device in the preset scene is determined. The atmosphere adjustment device is triggered to operate according to the operation strategy. For example, the expression of user A is obtained as anger, the text information corresponding to the voice information of user A is "Are you DD? Why are you pushing people?", and the posture of user A is falling down. User B's expression is angry, and the text information corresponding to user B's voice information is "Whether I can afford it or not is none of your business, CC", and user B's posture is a posture corresponding to physical conflict. Then the contradiction value of user A's expression is 3, the contradiction value of user A's voice information is 1, and the contradiction value of user A's posture is 5. The contradiction value of user B's expression is 3, the contradiction value of user B's voice information is 1, and the contradiction value of user B's posture is 3. That is, the second contradiction level is 3. From the seventh data table, it is found that the operation strategy of the atmosphere adjustment device corresponding to the second contradiction level 3 is "smart TV plays cute pet videos, smart lamps run in atmosphere lighting mode, smart aromatherapy machines evaporate aromatherapy essential oils, smart humidifiers run in water vapor evaporation mode, smart air conditioners run in cooling mode and run at level 3 wind speed, smart speakers play light music, and smart robots do not run". Then the smart TV in the store area is triggered to play cute pet videos, smart lamps run in atmosphere lighting mode, smart aromatherapy machines evaporate aromatherapy essential oils, smart humidifiers run in water vapor evaporation mode, smart air conditioners run in cooling mode and run at level 3 wind speed, and smart speakers play light music. Thus, the atmosphere adjustment equipment in the scene is automatically controlled to operate, and the atmosphere in the preset scene is automatically adjusted. In addition, the voiceprint information of user A and user B is used to match in the preset voiceprint library. The matching result is that the voiceprint information of user A matches the candidate voiceprint information in the preset voiceprint library, and the voiceprint information of user B does not match the candidate voiceprint information in the preset voiceprint library, that is, the voiceprint information of user B is different from all the candidate voiceprint information in the voiceprint library. At the same time, the keyword "CC" is found in the text information recognized from the voice information of user B, which triggers all the atmosphere adjustment equipment in the store area to sound an alarm buzzer. For example, the preset voiceprint library stores the voiceprint information of all the salespersons in the electrical appliance store. This means that user B is not a salesperson in the electrical appliance store, but a stranger.In this way, when a foreign user uses offensive words, all the atmosphere adjustment devices in the store area will be triggered to sound an alarm, making the atmosphere adjustment devices more intelligent and further enhancing the sense of security of users in the preset scene.

[0110] Combination Figure 6 As shown, an embodiment of the present disclosure provides an electronic device 1, including a processor 11 and a memory 12. Optionally, the device may also include a communication interface 13 and a bus 14. The processor 11, the communication interface 13, and the memory 12 may communicate with each other through the bus 14. The communication interface 13 may be used for information transmission. The processor 11 may call the logic instructions in the memory 12 to execute the method for adjusting the scene atmosphere of the above embodiment.

[0111] In addition, the logic instructions in the memory 12 can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product.

[0112] The memory 12 is a computer-readable storage medium that can be used to store software programs and computer executable programs, such as program instructions / modules corresponding to the method in the embodiment of the present disclosure. The processor 11 executes the function application and data processing by running the program instructions / modules stored in the memory 12, that is, the method for adjusting the scene atmosphere in the above embodiment is implemented.

[0113] The memory 12 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application required for at least one function; the data storage area may store data created according to the use of the terminal device, etc. In addition, the memory 12 may include a high-speed random access memory and may also include a non-volatile memory.

[0114] The technical solution of the embodiment of the present disclosure can be embodied in the form of a software product, which is stored in a storage medium and includes one or more instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in the embodiment of the present disclosure. The aforementioned storage medium may be a non-transient storage medium, including: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes, or a transient storage medium.

[0115] The above description and the accompanying drawings fully illustrate the embodiments of the present disclosure so that those skilled in the art can practice them. Other embodiments may include structural, logical, electrical, process and other changes. The embodiments represent only possible changes. Unless explicitly required, separate components and functions are optional, and the order of operation may vary. The parts and features of some embodiments may be included in or replace the parts and features of other embodiments. Moreover, the words used in this application are only used to describe the embodiments and are not used to limit the claims. As used in the description of the embodiments and the claims, unless the context clearly indicates, the singular forms of "a", "an" and "the" are intended to include plural forms as well. Similarly, the term "and / or" as used in this application refers to any and all possible combinations of listings containing one or more associated ones. In addition, when used in the present application, the term "comprise" and its variants "comprises" and / or comprising refer to the presence of stated features, wholes, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or groups thereof. In the absence of further restrictions, the elements defined by the sentence "comprising a ..." do not exclude the presence of other identical elements in the process, method or device comprising the elements. In this article, each embodiment may focus on the differences from other embodiments, and the same and similar parts between the various embodiments may refer to each other. For the methods, products, etc. disclosed in the embodiments, if they correspond to the method part disclosed in the embodiments, then the relevant parts can refer to the description of the method part.

[0116] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software may depend on the specific application and design constraints of the technical solution. The technicians may use different methods for each specific application to implement the described functions, but such implementations should not be considered to exceed the scope of the embodiments of the present disclosure. The technicians may clearly understand that, for the convenience and simplicity of description, the specific working processes of the systems, devices and units described above may refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here.

[0117] In the embodiments disclosed herein, the disclosed methods and products (including but not limited to devices, equipment, etc.) can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units can be only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between each other shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms. The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to implement this embodiment. In addition, each functional unit in the embodiment of the present disclosure may be integrated in a processing unit, or each unit may exist physically alone, or two or more units may be integrated in one unit.

[0118] The flowchart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to the embodiment of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of the code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. In the description corresponding to the flowchart and the block diagram in the accompanying drawings, the operations or steps corresponding to different boxes can also occur in a different order from the order disclosed in the description, and sometimes there is no specific order between different operations or steps. For example, two consecutive operations or steps can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. Each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented by a dedicated hardware-based system that performs the specified functions or actions, or may be implemented by a combination of dedicated hardware and computer instructions.

Claims

1. A method for adjusting scene atmosphere, characterized in that: include: Obtain the sound information of all users in the preset scene, including the sound decibel value; The preset scene is equipped with atmosphere adjustment equipment; When the decibel value of the voice of at least one user is greater than or equal to a preset decibel value, acquiring voice information of all users and gestures of all users; Determine the operation strategy of the atmosphere adjustment device according to the voice information and postures of all users; Trigger the atmosphere adjustment equipment to operate according to the operation strategy.

2. The method according to claim 1, characterized in that According to the voice information and gestures of all users, the operation strategy of the atmosphere adjustment device is determined, including: Obtaining a contradiction value of each user's voice information and a contradiction value of each user's posture; Obtaining a first contradiction level according to the contradiction value of each voice information and the contradiction value of each posture; According to the first conflict level, an operation strategy of the atmosphere adjustment device is determined.

3. The method according to claim 2, characterized in that Obtain the contradictory values ​​of each user's voice information, including: Perform the following operations on each user's voice information: Recognize the user's voice information and obtain the text information corresponding to the voice information; Searching for keywords matching preset words in text information; When a keyword matching the preset word is found, a table lookup operation is performed in a preset first data table using the keyword to find a first candidate contradiction value corresponding to the keyword; the first data table stores a correspondence between the keyword and the first candidate contradiction value; The contradiction value of the corresponding voice information is determined according to the first candidate contradiction value.

4. The method according to claim 2, characterized in that: Get the contradictory values ​​of each user's posture, including: Perform the following operations on each user's posture: Using the user's posture, a table lookup operation is performed in a preset second data table to find out a second candidate contradiction value corresponding to the user's posture; the second data table stores a corresponding relationship between the posture and the second candidate contradiction value; The second candidate contradiction value is determined as the contradiction value of the corresponding posture.

5. The method according to claim 2, characterized in that: According to the contradiction value of each voice information and the contradiction value of each posture, a first contradiction level is obtained, including: Calculate using the contradiction value of each voice information and the contradiction value of each posture to obtain a first target contradiction value; Using the first target contradiction value, a table lookup operation is performed in a preset third data table to find out the first candidate contradiction level corresponding to the first target contradiction value; the third data table stores the corresponding relationship between the first target contradiction value and the first candidate contradiction level; The first candidate contradiction level is determined as the first contradiction level.

6. The method according to claim 1, characterized in that According to the voice information and gestures of all users, the operation strategy of the atmosphere adjustment device is determined, including: Get all users' expressions; Obtaining the contradiction value of each user's expression, the contradiction value of each user's voice information, and the contradiction value of each user's posture; According to the contradiction value of each expression, the contradiction value of each voice information and the contradiction value of each posture, a second contradiction level is obtained; According to the second conflict level, the operation strategy of the atmosphere adjustment equipment is determined.

7. The method according to claim 6, characterized in that Get the contradictory values ​​of each user's expressions, including: Perform the following operations on each user's expression: Using the user's expression, a table lookup operation is performed in a preset fourth data table to find out the third candidate contradiction value corresponding to the user's expression; the fourth data table stores the corresponding relationship between the expression and the third candidate contradiction value; The third candidate contradiction value is determined as the contradiction value of the corresponding expression.

8. The method according to claim 6, characterized in that According to the contradiction value of each expression, the contradiction value of each voice information and the contradiction value of each posture, a second contradiction level is obtained, including: Calculate using the contradiction value of each expression, the contradiction value of each voice information and the contradiction value of each posture to obtain a second target contradiction value; Using the second target contradiction value, a table lookup operation is performed in a preset fifth data table to find out the second candidate contradiction level corresponding to the second target contradiction value; the fifth data table stores the corresponding relationship between the second target contradiction value and the second candidate contradiction level; The second candidate contradiction level is determined as the second contradiction level.

9. The method according to claim 1, characterized in that: The sound information includes voiceprint information, and after the atmosphere adjustment device is triggered to operate according to the operation strategy, it also includes: The voiceprint information of each user is used to match in a preset voiceprint library to obtain a matching result; the voiceprint library stores multiple candidate voiceprint information; When the matching result shows that the voiceprint information of at least one user does not match the candidate voiceprint information in the preset voiceprint library, the atmosphere adjustment device is triggered to sound an alarm according to the voice information corresponding to the voiceprint information of the unmatched user.

10. An electronic device comprising a processor and a memory storing program instructions, characterized in that: The processor is configured to execute the method for adjusting scene atmosphere according to any one of claims 1 to 9 when running the program instructions.