CN111078017A - Control method and device for constructing virtual scene, electronic equipment and storage medium - Google Patents

Control method and device for constructing virtual scene, electronic equipment and storage medium Download PDF

Info

Publication number
CN111078017A
CN111078017A CN201911316621.XA CN201911316621A CN111078017A CN 111078017 A CN111078017 A CN 111078017A CN 201911316621 A CN201911316621 A CN 201911316621A CN 111078017 A CN111078017 A CN 111078017A
Authority
CN
China
Prior art keywords
virtual scene
scene
preset
control
control rule
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911316621.XA
Other languages
Chinese (zh)
Inventor
宋德超
贾巨涛
李�瑞
黄姿荣
王彬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun Technology Co Ltd
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Gree Electric Appliances Inc of Zhuhai, Zhuhai Lianyun Technology Co Ltd filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201911316621.XA priority Critical patent/CN111078017A/en
Publication of CN111078017A publication Critical patent/CN111078017A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/60Information retrieval; Database structures therefor; File system structures therefor of audio data
    • G06F16/68Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/686Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using information manually generated, e.g. tags, keywords, comments, title or artist information, time, location or usage information, user ratings
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/28Constructional details of speech recognition systems
    • G10L15/30Distributed recognition, e.g. in client-server systems, for mobile phones or network applications
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/01Indexing scheme relating to G06F3/01
    • G06F2203/012Walk-in-place systems for allowing a user to walk in a virtual environment while constraining him to a given position in the physical environment
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • G10L2015/223Execution procedure of a spoken command

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Computational Linguistics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Acoustics & Sound (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Library & Information Science (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application relates to the field of control, in particular to a control method and device for constructing a virtual scene, electronic equipment and a storage medium, and solves the problem that a plurality of terminal devices cannot be controlled to construct the virtual scene through one voice message in the prior art. The method comprises the following steps: the method comprises the steps that voice information sent when a preset control keyword exists in the voice information is determined by a receiving controller, whether the preset scene keyword exists in the voice information or not is judged, when the preset scene keyword exists, a virtual scene control rule corresponding to the preset scene keyword is found from a plurality of virtual scene control rules stored in a database, and the virtual scene control rule is sent to a controller, so that the controller controls a plurality of terminal devices to construct a virtual scene based on the virtual scene control rule.

Description

Control method and device for constructing virtual scene, electronic equipment and storage medium
Technical Field
The present application relates to the field of device control, and in particular, to a control method and apparatus for constructing a virtual scene, an electronic device, and a storage medium.
Background
With the increasing demand for quality of life, people are pursuing success of career and also hope to obtain good physical condition and good mental condition. How to better eliminate fatigue of users, and let users relieve the mind and body and relieve the stress after the fatigue of daily work and life becomes the subject of current research. In the field of equipment control of the current intelligent home technology, the operation of terminal equipment can be controlled through voice information sent by a user, but the user needs to give instructions to a plurality of terminal equipment respectively, so that the aim of controlling the plurality of terminal equipment can be fulfilled. The elimination of fatigue of the user can be realized only by the joint action of the plurality of terminal devices, when the user feels fatigue, the user usually wants to interact with the terminal devices more conveniently, preferably, the linkage control of the plurality of terminal devices can be realized only through one piece of voice information, and an ideal virtual scene of the user is constructed through the linkage of the plurality of terminal devices, so that the user has an on-the-spot feeling in the virtual scene, and the fatigue is eliminated. Based on this, the problem that a plurality of terminal devices cannot be controlled to construct a virtual scene through one voice message exists in the prior art.
Disclosure of Invention
In view of the above problems, the present application provides a control method, an apparatus, an electronic device, and a storage medium for constructing a virtual scene, which solve the problem in the prior art that a plurality of terminal devices cannot be controlled by one piece of voice information to construct a virtual scene.
In a first aspect, the present application provides a control method for constructing a virtual scene, which is applied to a server, and the method includes:
receiving voice information, wherein the voice information is sent by a controller when the voice information is determined to have a preset control keyword;
judging whether preset scene keywords exist in the voice information or not;
when the preset scene keyword exists, searching a virtual scene control rule corresponding to the preset scene keyword from a database;
and sending the virtual scene control rule to the controller so that the controller controls a plurality of terminal devices to construct a virtual scene corresponding to the virtual scene control rule based on the virtual scene control rule.
According to an embodiment of the present application, preferably, in the control method for constructing a virtual scene, determining whether a preset scene keyword exists in the voice information includes:
converting the voice information into text information;
extracting keywords from the text information by adopting a text keyword extraction algorithm to obtain at least one keyword corresponding to the text information;
and comparing each keyword with a plurality of preset scene keywords in the database respectively to judge whether the preset scene keywords are consistent with the keywords.
According to an embodiment of the present application, preferably, in the above control method for constructing a virtual scene, the method further includes:
and when the preset scene key words do not exist, sending default virtual scene control rules in the database to the controller.
According to an embodiment of the present application, preferably, in the above control method for constructing a virtual scene, the method further includes:
obtaining vital sign information of a user and target vital sign information corresponding to the virtual scene in the database;
judging whether the vital sign information of the user is matched with the target vital sign information;
and when the vital sign information of the user is not matched with the target vital sign information, adjusting the operation parameters of the terminal equipment in the virtual scene control rule, and sending the adjusted virtual scene control rule to the controller, so that the vital sign information of the user can be matched with the target vital sign information.
In a second aspect, the present application provides a control method for constructing a virtual scene, which is applied to a controller, and the method includes:
when the fact that preset control keywords exist in the obtained voice information is determined, the voice information is sent to a server, so that the server can judge whether preset scene keywords exist in the voice information or not;
and receiving a virtual scene control rule corresponding to the preset scene keyword, which is fed back by the server when the preset scene keyword exists in the voice message, and controlling a plurality of terminal devices to construct a virtual scene according to the virtual scene control rule.
According to an embodiment of the present application, preferably, in the control method for constructing a virtual scene, the virtual scene control rule includes a start order of the plurality of terminal devices and an operating parameter of each of the terminal devices, and generating a control instruction according to the virtual scene control rule to control the plurality of terminal devices to construct the virtual scene includes:
and controlling the plurality of terminal devices to start according to the starting sequence of the plurality of terminal devices included in the virtual scene control rule, and controlling the working state of each terminal device according to the operating parameters of each terminal device in the virtual scene control rule, so that the plurality of terminal devices construct a virtual scene corresponding to the virtual scene control rule.
In a third aspect, the present application provides a control apparatus for constructing a virtual scene, including:
the receiving module is used for receiving the voice information sent by the controller when the preset control keyword exists in the voice information;
the judging module is used for judging whether preset scene keywords exist in the voice information or not;
the searching module is used for searching the virtual scene control rule corresponding to the preset scene keyword from a database when the preset scene keyword exists;
and the sending module is used for sending the virtual scene control rule to the controller so that the controller controls a plurality of terminal devices to construct a virtual scene corresponding to the virtual scene control rule based on the virtual scene control rule.
In a fourth aspect, the present application provides a control apparatus for constructing a virtual scene, including:
the sending module is used for sending the voice information to a server when the preset control keyword exists in the obtained voice information, so that the server judges whether the preset scene keyword exists in the voice information or not;
and the control module is used for receiving a virtual scene control rule corresponding to the preset scene keyword, which is fed back by the server when the preset scene keyword is determined to exist in the voice message, and controlling a plurality of terminal devices to construct a virtual scene according to the virtual scene control rule.
In a fifth aspect, the present application provides a storage medium storing a computer program, which is executable by one or more processors and is operable to implement the control method for constructing a virtual scene according to any one of the first or second aspects.
In a sixth aspect, the present application provides an electronic device, including a memory and a processor, where the memory stores a storage medium capable of being executed by the processor, and the storage medium, when executed by the processor, implements the control method for constructing a virtual scene in any one of the first aspect and the second aspect.
Compared with the prior art, one or more embodiments in the above scheme can have the following advantages or beneficial effects: the method comprises the steps of receiving voice information sent by a controller when a preset control keyword exists in the voice information, judging whether the preset scene keyword exists in the voice information, searching a virtual scene control rule corresponding to the preset scene keyword from a plurality of virtual scene control rules stored in a database when the preset scene keyword exists, and sending the virtual scene control rule to the controller, so that the controller controls a plurality of terminal devices to construct a virtual scene corresponding to the virtual scene control rule based on the virtual scene control rule, and the problem that the virtual scene cannot be constructed by controlling the plurality of terminal devices through one piece of voice information in the technology is solved.
Drawings
The scope of the present disclosure will be better understood from the following detailed description of exemplary embodiments, when read in conjunction with the accompanying drawings. Wherein the included drawings are:
fig. 1 is a flowchart of a control method for constructing a virtual scene according to an embodiment of the present application;
fig. 2 is a flowchart of a control method for constructing a virtual scene according to a second embodiment of the present application;
fig. 3 is a flowchart of a control method for constructing a virtual scene according to a third embodiment of the present application;
fig. 4 is a timing diagram of a control method for constructing a virtual scene according to a third embodiment of the present application.
In the drawings, like parts are designated with like reference numerals, and the drawings are not drawn to scale.
Detailed Description
The following detailed description will be provided with reference to the accompanying drawings and embodiments, so that how to apply the technical means to solve the technical problems and achieve the corresponding technical effects can be fully understood and implemented. The embodiments and various features in the embodiments of the present application can be combined with each other without conflict, and the formed technical solutions are all within the scope of protection of the present application.
Example one
Referring to fig. 1, an embodiment of the present application provides a control method for constructing a virtual scene, which is applied to a server and includes steps S110 to S140.
Step S110, receiving the voice message, where the voice message is sent by the controller when determining that the preset control keyword exists in the voice message.
It can be understood that the server receives information sent by a controller in communication connection with the server in real time, where the information includes voice information, text information, and picture information.
And step S120, judging whether preset scene keywords exist in the voice information.
Specifically, the step of judging whether the preset scene keyword exists in the voice information may be: the method comprises the steps of establishing a voice recognition model and a decoding model corresponding to the voice recognition model, after voice information is received, adopting the voice recognition model to extract voice characteristics of the voice information, adopting the decoding model to decode the extracted voice characteristics to obtain a decoded word recognition result, and comparing a plurality of preset scene keywords in a database with the word recognition result to judge whether the plurality of preset scene keywords in the database are consistent with the word recognition result.
Particularly, in this embodiment, in order to ensure that the content included in the voice information is completely determined, the determining whether the preset scene keyword exists in the voice information may further be: converting the voice information into text information; extracting keywords from the text information by adopting a text keyword extraction algorithm to obtain at least one keyword corresponding to the text information; and comparing each keyword with a plurality of preset scene keywords in the database respectively to judge whether the preset scene keywords are consistent with the keywords.
When the preset scene keyword exists, executing step S130; when the preset scene keyword does not exist, step S121 is executed.
Step S121, sending the default virtual scene control rule in the database to the controller.
In this embodiment, when a user expresses an intention of wishing to construct a virtual scene but does not explicitly specify what kind of virtual scene to construct, in order to ensure that the intention of wishing to construct a virtual scene by the user is satisfied, when the preset scene keyword does not coincide with the keyword, a default virtual scene control rule in the database is sent to the controller, so that the controller controls a plurality of terminal devices to construct a virtual scene corresponding to the default virtual scene control rule based on the default virtual scene control rule.
Step S130, finding the virtual scene control rule corresponding to the preset scene keyword from the database.
It can be understood that, at least one virtual scene control rule is provided in the database, and in order to ensure that a constructed virtual scene matches a virtual scene that a user desires to construct and is expressed by voice information, in this embodiment, when the preset scene keyword exists, a virtual scene control rule corresponding to the preset scene keyword is found from the database, where each virtual scene control rule corresponds to a plurality of preset scene keywords, and according to the obtained preset scene keyword, a unique virtual scene control rule corresponding to the preset scene keyword can be found from the plurality of virtual scene control rules, and each virtual scene control rule includes: the method comprises the steps that a plurality of terminal devices construct opening sequence rules of corresponding virtual scenes, and each terminal device constructs operation parameter information of the corresponding virtual scenes.
Step S140, sending the virtual scene control rule to the controller, so that the controller controls a plurality of terminal devices to construct a virtual scene corresponding to the virtual scene control rule based on the virtual scene control rule.
It can be understood that each virtual scene control rule corresponds to a virtual scene, and after the virtual scene control rule is obtained, the server may send the virtual scene control rule to the controller, so that the controller controls the plurality of terminal devices to construct the virtual scene corresponding to the virtual scene control rule based on the virtual scene control rule; the server may also generate a plurality of control instructions according to the virtual scene control rule, and send the plurality of control instructions to a gateway device in communication connection with the server and the plurality of terminal devices, so that the gateway device forwards the plurality of control instructions to each of the terminal devices, thereby constructing a virtual scene. In particular, in this embodiment, the controller is a gateway controller, so that the controller can receive a virtual scene control rule sent by the server and generate a plurality of control instructions according to the virtual scene control rule to control a plurality of terminal devices to construct a virtual scene; the controller can also receive a plurality of control instructions corresponding to the virtual scene rules and sent by the server, and send the plurality of control instructions to the terminal equipment by adopting the gateway function of the controller so as to construct the virtual scene.
In order to keep the user pleasant and healthy in the constructed virtual scene, in this embodiment, the method further includes: obtaining vital sign information of a user and target vital sign information corresponding to the virtual scene in the database; judging whether the vital sign information of the user is matched with the target vital sign information; and when the vital sign information of the user is not matched with the target vital sign information, adjusting the operation parameters of the terminal equipment in the virtual scene control rule, and sending the adjusted virtual scene control rule to the controller, so that the vital sign information of the user can be matched with the target vital sign information.
It can be understood that the controller obtains vital sign information of the user through various terminal devices with detection functions, which are in communication connection with the controller, wherein the vital sign information includes but is not limited to: heart rate information, body temperature information, respiratory rate information. Each virtual scene in the embodiment corresponds to target vital sign information of a user in the virtual scene, the target vital sign information is obtained by a worker through multiple experiments, the body of the user is in an optimal state in the virtual scene, and when the obtained vital sign information of the user is not matched with the target vital sign information, the user is indicated to not reach the optimal state in the virtual scene, so that the server dynamically adjusts the operation parameters of the terminal device in the virtual scene control rule and sends the adjusted virtual scene control rule to the controller, so that the controller generates a new control instruction according to the adjusted virtual scene control rule to adjust the operation parameters of the terminal device, and the user can reach the optimal body state through the virtual scene constructed by the terminal device, namely, the vital sign information of the user can be matched with the target vital sign information corresponding to the virtual scene.
Example two
Referring to fig. 2, an embodiment of the present application provides a control method for constructing a virtual scene, which is applied to a controller, and the method includes steps S210 to S220.
Step S210, when it is determined that the preset control keyword exists in the obtained voice information, sending the voice information to a server, so that the server determines whether the preset scene keyword exists in the voice information.
It can be understood that the controller directly receives voice information sent by a user, and determines whether a preset control keyword exists in the voice information, where the preset control keyword is used to express an intention of the user to construct a virtual scene, and the preset control keyword includes but is not limited to: rest, leisure, rest, sleep, tired.
Step S220, receiving a virtual scene control rule corresponding to the preset scene keyword, which is fed back by the server when the preset scene keyword is determined to exist in the voice message, and controlling a plurality of terminal devices to construct a virtual scene according to the virtual scene control rule.
It can be understood that when the preset control keyword exists in the obtained voice information, it indicates that the user has an intention to construct a virtual scene, and the controller does not store a virtual scene control rule, so the controller needs to send the voice information to a server which is in communication connection with the controller and stores the virtual scene control rule, so as to find out the virtual scene control rule corresponding to the preset scene keyword from the virtual scene control rules stored in the server.
It should be noted that when the preset control keyword does not exist in the obtained voice information, it indicates that the user does not have an intention of constructing a virtual scene, and only needs to directly control the operation of a certain terminal device according to the voice information.
In order to provide a realistic feeling for a user in various senses and create an immersive virtual scene for the user, in this embodiment, the virtual scene control rule includes a start sequence of a plurality of terminal devices and an operating parameter of each terminal device, and generating a control instruction according to the virtual scene control rule to control the plurality of terminal devices to construct a virtual scene includes: and controlling the plurality of terminal devices to start according to the starting sequence of the plurality of terminal devices included in the virtual scene control rule, and controlling the working state of each terminal device according to the operating parameters of each terminal device in the virtual scene control rule, so that the plurality of terminal devices construct a virtual scene corresponding to the virtual scene control rule.
It can be understood that the virtual scene control rule is obtained by a worker through multiple experiments, and the starting sequence of the plurality of terminal devices included in the virtual scene control rule is obtained by the worker according to the multiple experiments.
EXAMPLE III
Referring to fig. 3 and fig. 4, an embodiment of the present application provides a control method for constructing a virtual scene, where the method includes steps S310 to S350.
In step S310, the controller identifies the obtained voice message to determine whether a preset sleep keyword exists in the voice message.
It can be understood that the controller converts the obtained voice information into text information, performs semantic recognition on the text data by using a text keyword extraction algorithm, and compares the recognized keywords with preset sleep keywords stored in advance to determine whether the preset sleep keywords exist in the voice information, where the preset sleep keywords include but are not limited to: sleeping, sleeping and resting.
When the preset sleep keyword does not exist in the voice message, executing step S311; and executing step S320 when the preset sleep keyword exists in the voice message.
Step S311, the controller generates a control instruction according to the voice information, and sends the control instruction to the terminal device, so that the terminal device executes a corresponding operation based on the control instruction.
It can be understood that when the preset sleep keyword does not exist in the voice information, it indicates that a user sending the voice information does not want to construct a virtual sleep scene, and only wants to simply control a terminal device, where the terminal device includes but is not limited to: electric fan, air conditioner, lamps and lanterns, air purifier, humidifier, stereo set, champignon machine and TV set, for example, when the speech information who receives: and if the voice message is too hot, the fan is turned on, and the controller judges that the preset sleep keyword does not exist in the voice message, so that the controller directly turns on the electric fan or the air conditioner to dissipate heat or cool.
Step S320, the controller uploads the voice message to a server, so that the server determines whether a preset scene keyword exists in the voice message.
It can be understood that when the preset sleep keyword exists in the voice information, it indicates that a user sending the voice information has a sleep intention, and therefore, the controller uploads the voice information to a server, so that the server converts the obtained voice information into text data, performs semantic recognition on the text data by using a semantic recognition algorithm, and compares the recognized keyword with a preset scene keyword to determine whether the preset scene keyword exists in the voice information, where the preset scene keyword includes, but is not limited to: rural areas, rainy nights, seas, bird calls, insect singing and sea waves.
When the preset scene keyword does not exist in the voice message, executing step S321; and executing step S330 when the preset scene keyword exists in the voice message.
In step S321, the server finds a pre-stored default virtual scene and a virtual scene control rule corresponding to the default virtual scene.
It can be understood that when it is determined that the user has a sleep intention through the preset sleep keyword existing in the voice information, but the voice information does not have the preset scene keyword, it indicates that the user does not express which virtual sleep scene is desired to be constructed, and therefore, the server may randomly select one virtual scene from a plurality of pre-stored virtual scenes and obtain a virtual scene control rule corresponding to the virtual scene; the server may also select a default virtual scene from a plurality of pre-stored virtual scenes, and obtain a virtual scene control rule corresponding to the default virtual scene, where the virtual scene control rule includes a priority order for starting the plurality of terminal devices and operation parameter information after each terminal device is started.
It should be noted that, in the plurality of virtual scene control rules stored in the server, the opening order of the plurality of terminal devices and the operation parameter information after opening are different from each other, and the plurality of terminal devices cooperate and link with each other to construct different virtual scenes.
In step S330, the server searches, according to the preset scene keyword, a virtual scene corresponding to the preset scene keyword and a virtual scene control rule corresponding to the virtual scene from a plurality of pre-stored virtual scenes.
It can be understood that when a user has a sleep intention and the voice information has the preset scene keyword, it indicates that the user designates a virtual sleep scene that the user wishes to construct, and therefore, the server can search the virtual scene corresponding to the preset scene keyword and the virtual scene control rule corresponding to the virtual scene from the pre-stored virtual scenes according to the preset scene keyword.
Step S340, the server sends the virtual scene control rule to the controller, so that the controller generates a plurality of control instructions based on the virtual scene control rule.
It can be understood that, after receiving the virtual scene control rule, the controller automatically generates a plurality of control instructions and confirms the terminal device corresponding to each control instruction.
Step S350, the controller sends the plurality of control instructions to the terminal devices corresponding to each control instruction, so that the terminal devices execute corresponding operations, thereby constructing a virtual sleep scene.
It can be understood that, in order to bring realistic feelings to the user in various senses, the controller sequentially sends the plurality of control instructions to the terminal equipment according to the sequence specified in the virtual scene control rule, so as to create an in-person virtual sleep scene for the user.
It should be noted that, after the virtual sleep scene is constructed, the controller can also monitor the breathing frequency of the user in combination with the sleep cycle variation rule of the user, the pressure change, the respiratory wave change and the body movement change caused by the respiratory disturbance are sensed by the micro-motion sensitive pressure sensor in the special mattress, monitoring the blood oxygen and the heart rate change of the user through a blood oxygen heart rate probe, realizing the monitoring of the sleep state of the user, uploading the detected data to the server, so that the server adjusts the rule of the operating parameters of each terminal device in the virtual scene control rules according to the data and sends the adjusted virtual scene control rules to the controller, and the controller adjusts the operation parameters of the terminal equipment in real time according to the adjusted virtual scene rule, so that the health of the user is ensured.
Example four
The embodiment of the present application further provides a control device for constructing a virtual scene, which is applied to a server, and the device includes: the device comprises a receiving module, a judging module, a searching module and a sending module, and the aim of finding out a virtual scene control rule corresponding to the voice information according to the obtained voice information and sending the virtual scene control rule to a controller so as to enable the controller to control the terminal equipment to construct a virtual scene is achieved by calling each module.
EXAMPLE five
The embodiment of the present application further provides a control device for constructing a virtual scene, which is applied to a controller, and the device includes: the sending module and the control module are used for calling the modules so as to achieve the purpose of controlling a plurality of terminal devices to construct a virtual scene through one piece of voice information.
EXAMPLE six
The present embodiment further provides a storage medium, such as a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a Read Only Memory (ROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a Programmable Read Only Memory (PROM), a magnetic memory, a magnetic disk, an optical disk, a server, an App application mall, etc., on which a computer program is stored, where the computer program, when executed by a processor, may implement the method steps in the first embodiment, the second embodiment, and the third embodiment, and no further description is provided herein.
EXAMPLE seven
An embodiment of the present application further provides an electronic device, which includes a memory and a processor, where the memory stores a storage medium capable of being executed by the processor, and when the storage medium is executed by the processor, the control method for constructing a virtual scene as described in the first embodiment, the second embodiment, and the third embodiment is implemented.
The processor is configured to execute all or part of the steps in the control method for constructing a virtual scene in the first embodiment, the second embodiment, and the third embodiment. The memory is used to store various types of data, which may include, for example, instructions for any application or method in the electronic device, as well as application-related data.
In summary, the control method, the control device, the electronic device and the storage medium for constructing the virtual scene provided by the application receive the voice information, wherein the voice information is sent by the controller when the controller determines that the preset control keyword exists in the voice information; judging whether preset scene keywords exist in the voice information or not; when the preset scene keyword exists, searching a virtual scene control rule corresponding to the preset scene keyword from a database; the virtual scene control rule is sent to the controller, so that the controller controls the plurality of terminal devices to construct the virtual scene corresponding to the virtual scene control rule based on the virtual scene control rule, and the problem that the plurality of terminal devices cannot be controlled to construct the virtual scene through one voice message in the technology can be solved.
Further, after a virtual scene is built, whether the vital sign information of the user is matched with the target vital sign information is judged by obtaining the vital sign information of the user and the target vital sign information corresponding to the virtual scene in the database, when the vital sign information of the user is not matched with the target vital sign information, the operation parameters of terminal equipment in the virtual scene control rule are adjusted, and the adjusted virtual scene control rule is sent to the controller, so that the vital sign information of the user can be matched with the target vital sign information, the pleasant mood and the healthy body state of the user can be kept in the built virtual scene, and the user experience is improved.
In the several embodiments provided in the embodiments of the present application, it should be understood that the disclosed system and method may be implemented in other ways. The system and method embodiments described above are merely illustrative.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
Although the embodiments disclosed in the present application are described above, the descriptions are only for the convenience of understanding the present application, and are not intended to limit the present application. It will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the disclosure as defined by the appended claims.

Claims (10)

1. A control method for constructing a virtual scene is applied to a server, and the method comprises the following steps:
receiving voice information, wherein the voice information is sent by a controller when the voice information is determined to have a preset control keyword;
judging whether preset scene keywords exist in the voice information or not;
when the preset scene keyword exists, searching a virtual scene control rule corresponding to the preset scene keyword from a database;
and sending the virtual scene control rule to the controller so that the controller controls a plurality of terminal devices to construct a virtual scene corresponding to the virtual scene control rule based on the virtual scene control rule.
2. The control method for constructing a virtual scene according to claim 1, wherein the step of determining whether a preset scene keyword exists in the voice message comprises:
converting the voice information into text information;
extracting keywords from the text information by adopting a text keyword extraction algorithm to obtain at least one keyword corresponding to the text information;
and comparing each keyword with a plurality of preset scene keywords in the database respectively to judge whether the preset scene keywords are consistent with the keywords.
3. The control method for constructing a virtual scene according to claim 1, further comprising:
and when the preset scene key words do not exist, sending default virtual scene control rules in the database to the controller.
4. The control method for constructing a virtual scene according to claim 1, further comprising:
obtaining vital sign information of a user and target vital sign information corresponding to the virtual scene in the database;
judging whether the vital sign information of the user is matched with the target vital sign information;
and when the vital sign information of the user is not matched with the target vital sign information, adjusting the operation parameters of the terminal equipment in the virtual scene control rule, and sending the adjusted virtual scene control rule to the controller, so that the vital sign information of the user can be matched with the target vital sign information.
5. A control method for constructing a virtual scene is applied to a controller, and comprises the following steps:
when the fact that preset control keywords exist in the obtained voice information is determined, the voice information is sent to a server, so that the server can judge whether preset scene keywords exist in the voice information or not;
and receiving a virtual scene control rule corresponding to the preset scene keyword, which is fed back by the server when the preset scene keyword exists in the voice message, and controlling a plurality of terminal devices to construct a virtual scene according to the virtual scene control rule.
6. The control method according to claim 5, wherein the virtual scene control rule includes a start order of the plurality of terminal devices and an operating parameter of each of the terminal devices, and the generating the control instruction according to the virtual scene control rule to control the plurality of terminal devices to construct the virtual scene includes:
and controlling the plurality of terminal devices to start according to the starting sequence of the plurality of terminal devices included in the virtual scene control rule, and controlling the working state of each terminal device according to the operating parameters of each terminal device in the virtual scene control rule, so that the plurality of terminal devices construct a virtual scene corresponding to the virtual scene control rule.
7. A control apparatus for constructing a virtual scene, comprising:
the receiving module is used for receiving the voice information sent by the controller when the preset control keyword exists in the voice information;
the judging module is used for judging whether preset scene keywords exist in the voice information or not;
the searching module is used for searching the virtual scene control rule corresponding to the preset scene keyword from a database when the preset scene keyword exists;
and the sending module is used for sending the virtual scene control rule to the controller so that the controller controls a plurality of terminal devices to construct a virtual scene corresponding to the virtual scene control rule based on the virtual scene control rule.
8. A control apparatus for constructing a virtual scene, comprising:
the sending module is used for sending the voice information to a server when the preset control keyword exists in the obtained voice information, so that the server judges whether the preset scene keyword exists in the voice information or not;
and the control module is used for receiving a virtual scene control rule corresponding to the preset scene keyword, which is fed back by the server when the preset scene keyword is determined to exist in the voice message, and controlling a plurality of terminal devices to construct a virtual scene according to the virtual scene control rule.
9. A storage medium characterized by a computer program stored thereon, which when executed by one or more processors, implements the control method of constructing a virtual scene as claimed in any one of claims 1 to 6.
10. An electronic device, comprising a memory and a processor, the memory having stored thereon a computer program which, when executed by the processor, performs a control method of constructing a virtual scene as claimed in any one of claims 1 to 6.
CN201911316621.XA 2019-12-19 2019-12-19 Control method and device for constructing virtual scene, electronic equipment and storage medium Pending CN111078017A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911316621.XA CN111078017A (en) 2019-12-19 2019-12-19 Control method and device for constructing virtual scene, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911316621.XA CN111078017A (en) 2019-12-19 2019-12-19 Control method and device for constructing virtual scene, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111078017A true CN111078017A (en) 2020-04-28

Family

ID=70315594

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911316621.XA Pending CN111078017A (en) 2019-12-19 2019-12-19 Control method and device for constructing virtual scene, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111078017A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110534094A (en) * 2019-07-31 2019-12-03 大众问问(北京)信息科技有限公司 A kind of voice interactive method, device and equipment
CN113488042A (en) * 2021-06-29 2021-10-08 荣耀终端有限公司 Voice control method and electronic equipment
CN114564107A (en) * 2022-03-03 2022-05-31 佛山市高明粤华卫生洁具有限公司 Intelligent swimming pool interaction system based on intelligent interactive augmented reality
WO2023185007A1 (en) * 2022-03-29 2023-10-05 青岛海尔空调器有限总公司 Sleep scene setting method and apparatus

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203465582U (en) * 2013-09-12 2014-03-05 广州合立正通信息科技有限公司 Wireless scene controller
CN107479399A (en) * 2017-09-29 2017-12-15 珠海格力电器股份有限公司 A kind of scene setting method and device of intelligent home device
CN108803529A (en) * 2018-07-16 2018-11-13 珠海格力电器股份有限公司 A kind of device and method switching room environment pattern based on mobile terminal
CN110579978A (en) * 2019-09-24 2019-12-17 珠海格力电器股份有限公司 Method and device for adjusting household appliance and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203465582U (en) * 2013-09-12 2014-03-05 广州合立正通信息科技有限公司 Wireless scene controller
CN107479399A (en) * 2017-09-29 2017-12-15 珠海格力电器股份有限公司 A kind of scene setting method and device of intelligent home device
CN108803529A (en) * 2018-07-16 2018-11-13 珠海格力电器股份有限公司 A kind of device and method switching room environment pattern based on mobile terminal
CN110579978A (en) * 2019-09-24 2019-12-17 珠海格力电器股份有限公司 Method and device for adjusting household appliance and storage medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110534094A (en) * 2019-07-31 2019-12-03 大众问问(北京)信息科技有限公司 A kind of voice interactive method, device and equipment
CN113488042A (en) * 2021-06-29 2021-10-08 荣耀终端有限公司 Voice control method and electronic equipment
CN113488042B (en) * 2021-06-29 2022-12-13 荣耀终端有限公司 Voice control method and electronic equipment
CN114564107A (en) * 2022-03-03 2022-05-31 佛山市高明粤华卫生洁具有限公司 Intelligent swimming pool interaction system based on intelligent interactive augmented reality
WO2023185007A1 (en) * 2022-03-29 2023-10-05 青岛海尔空调器有限总公司 Sleep scene setting method and apparatus

Similar Documents

Publication Publication Date Title
CN111078017A (en) Control method and device for constructing virtual scene, electronic equipment and storage medium
US7526500B2 (en) Perfume information processing device, perfume information processing system, and perfume conversion table generating method
CN105957527A (en) Electric appliance speech control method and device and speech control air-conditioner
CN110045638B (en) Cooking information recommendation method and device and storage medium
WO2020119542A1 (en) Voice interaction method, device and system
CN109683516B (en) Auxiliary cooking method, household appliance and computer storage medium
US10360694B2 (en) Methods and devices for image loading and methods and devices for video playback
JPWO2015198716A1 (en) Information processing apparatus, information processing method, and program
EP3916538B1 (en) Creating a cinematic storytelling experience using network-addressable devices
CN113268004A (en) Scene creating method and device, computer equipment and storage medium
CN114120996A (en) Voice interaction method and device
CN114326423A (en) Automatic generation method of scene control scheme and scene control equipment
CN113225237A (en) Control method and processor of household appliance
JP6352629B2 (en) Control method, information processing apparatus, and program
CN110529983B (en) Method and device for controlling air conditioner
CN106658178B (en) Display control device and control method thereof
CN114020909A (en) Scene-based smart home control method, device, equipment and storage medium
CN112696806B (en) Air conditioner operation method and device
KR102000161B1 (en) User intention specific things collaboration device for, system for having the same, and method thereof
CN116189895A (en) Control method and device of health detection equipment, computer equipment and storage medium
WO2019128632A1 (en) Audio playback method, device, and system
EP3779303A1 (en) Method, system, and device for controlling air output mode of air conditioner
JP2020004410A (en) Method for facilitating media-based content share, computer program and computing device
CN110764423A (en) Household appliance control method and device and household appliance
JP2019128127A (en) Information processing method and information processing device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20200428

RJ01 Rejection of invention patent application after publication