CN115981171A - Control method, device, equipment and storage medium of electronic equipment - Google Patents

Control method, device, equipment and storage medium of electronic equipment Download PDF

Info

Publication number
CN115981171A
CN115981171A CN202211540595.0A CN202211540595A CN115981171A CN 115981171 A CN115981171 A CN 115981171A CN 202211540595 A CN202211540595 A CN 202211540595A CN 115981171 A CN115981171 A CN 115981171A
Authority
CN
China
Prior art keywords
mode
voice
attribute information
determining
electronic device
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
CN202211540595.0A
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.)
Haier Smart Home Co Ltd
Qingdao Economic and Technological Development Zone Haier Water Heater Co Ltd
Original Assignee
Haier Smart Home Co Ltd
Qingdao Economic and Technological Development Zone Haier Water Heater 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 Haier Smart Home Co Ltd, Qingdao Economic and Technological Development Zone Haier Water Heater Co Ltd filed Critical Haier Smart Home Co Ltd
Priority to CN202211540595.0A priority Critical patent/CN115981171A/en
Publication of CN115981171A publication Critical patent/CN115981171A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a control method, a control device, control equipment and a storage medium of electronic equipment, wherein the method comprises the following steps: determining attribute information according to the acquired user identification, wherein the attribute information comprises a voice mode and a working mode; determining a current working mode according to a current control instruction, and determining a target voice mode according to the current working mode and the voice mode; and controlling the electronic equipment to operate based on the current working mode, and simultaneously controlling the electronic equipment to perform voice broadcast based on the target voice mode. According to the technical scheme, the voice mode and the working mode corresponding to the user identification are determined, the current working mode corresponding to the current control instruction is determined from the working modes in response to the current control instruction, the target voice mode is determined according to the current working mode and the voice mode, the electronic equipment is controlled to run based on the current working mode and simultaneously perform voice broadcast based on the target voice mode, the current working mode meets the user requirements, the matching degree of the target voice mode and the user is higher, and the user experience is improved.

Description

Control method, device, equipment and storage medium of electronic equipment
Technical Field
The invention relates to the technical field of smart home, in particular to a control method, a control device, control equipment and a storage medium of electronic equipment.
Background
With the progress of science and technology, smart homes are more and more widely applied to daily life. The smart home also becomes more and more rich in functions, for example, a user can control the smart home based on voice, and the smart home can operate according to the voice sent by the user.
In the prior art, after receiving a device wake-up voice sent by a user, an intelligent home can continue to determine an operation mode according to the device control voice sent by the user, and operates based on the operation mode.
However, the smart home provided by the prior art may operate after receiving the device wake-up voice, and may not accurately recognize the user corresponding to the voice, which may cause an error in determining the operation mode and affect the user experience.
Disclosure of Invention
The invention provides a control method of electronic equipment, which aims to solve the problem of equipment wakeup delay, accurately determine the operation mode corresponding to the current user and improve user experience.
According to an aspect of the present invention, there is provided a control method of an electronic device, including:
determining attribute information according to the acquired user identification, wherein the attribute information comprises a voice mode and a working mode;
determining a current working mode according to a current control instruction, and determining a target voice mode according to the current working mode and the voice mode;
and controlling the electronic equipment to operate based on the current working mode, and simultaneously controlling the electronic equipment to perform voice broadcast based on the target voice mode.
Further, before determining the attribute information according to the obtained user identifier, the method further includes:
and acquiring and associating the user identification and the attribute information of the user to obtain a corresponding relation table of the user identification and the attribute information.
Further, determining attribute information according to the obtained user identifier includes:
and querying the user identification in the corresponding relation table of the user identification and the attribute information, and determining the attribute information corresponding to the user identification.
Further, before determining the current operating mode according to the current control instruction, the method further includes:
and determining the current control instruction according to the acquired language trigger information.
Further, the operating mode is a power-on mode, a power-off mode or an operating mode.
Further, the voice mode is a power-on voice mode corresponding to the power-on mode, a power-off voice mode corresponding to the power-off mode, and an operation voice mode corresponding to the operation mode.
Further, controlling the electronic device to perform voice announcement based on the target voice mode includes:
and controlling the electronic equipment to broadcast the target voice content contained in the target voice mode based on the target tone contained in the target voice mode.
According to another aspect of the present invention, there is provided a control apparatus of an electronic device, including:
the attribute determining module is used for determining attribute information according to the acquired user identification, wherein the attribute information comprises a voice mode and a working mode;
the mode determining module is used for determining a current working mode according to a current control instruction and determining a target voice mode according to the current working mode and the voice mode;
and the execution module is used for controlling the electronic equipment to run based on the current working mode and simultaneously controlling the electronic equipment to carry out voice broadcast based on the target voice mode.
According to another aspect of the present invention, there is provided an electronic apparatus including:
at least one processor; and a memory communicatively coupled to the at least one processor;
wherein the memory stores a computer program executable by the at least one processor, the computer program being executable by the at least one processor to enable the at least one processor to perform the method of controlling an electronic device according to any of the embodiments of the present invention.
According to another aspect of the present invention, there is provided a computer-readable storage medium storing computer instructions for causing a processor to implement a control method of an electronic device according to any one of the embodiments of the present invention when the computer instructions are executed.
The technical scheme of the invention provides a control method of electronic equipment, which comprises the following steps: determining attribute information according to the acquired user identification, wherein the attribute information comprises a voice mode and a working mode; determining a current working mode according to a current control instruction, and determining a target voice mode according to the current working mode and the voice mode; and controlling the electronic equipment to operate based on the current working mode, and simultaneously controlling the electronic equipment to perform voice broadcast based on the target voice mode. According to the technical scheme, after the user identification of the user is obtained, the user identification can be inquired in the corresponding relation table of the user identification and the attribute information, the attribute information corresponding to the user identification is determined, the voice mode and the working mode required by the user can be determined without voice awakening, the awakening efficiency of the electronic equipment is improved, the current working mode corresponding to the current control instruction can be determined from the working mode in response to the current control instruction, the target voice mode required by voice broadcasting can be determined when the electronic equipment executes the current working mode from the voice mode according to the current working mode, the electronic equipment is controlled to operate based on the current working mode and simultaneously perform voice broadcasting based on the target voice mode, the current working mode of the electronic equipment meets the user requirement, the matching degree of the target voice mode and the user is higher, and the user experience is improved.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present invention, nor do they necessarily limit the scope of the invention. Other features of the present invention will become apparent from the following description.
Drawings
In order to more clearly illustrate the technical solution of the present invention, the drawings required to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the description below are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart of a control method of an electronic device according to a first embodiment of the present disclosure;
fig. 2 is a flowchart of a control method of an electronic device according to a second embodiment;
fig. 3 is a schematic structural diagram of a control device of an electronic device according to a third embodiment;
fig. 4 is a schematic structural diagram of an electronic device according to a fourth embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings in the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example one
Fig. 1 is a flowchart of a control method of an electronic device according to an embodiment of the present invention, where the embodiment is applicable to a case where an electronic device needs to be awakened quickly, the method may be executed by a control device of the electronic device, the control device of the electronic device may be implemented in a form of hardware and/or software, and the control device of the electronic device may be configured in the electronic device. As shown in fig. 1, the method includes:
and S110, determining attribute information according to the acquired user identification.
Wherein the attribute information includes a voice mode and an operation mode.
The user identifier uniquely corresponds to a user, the attribute information may include a voice mode and a working mode when the electronic device operates, the working mode may include a power-on mode, a power-off mode and a running mode, the voice mode may include a power-on voice mode corresponding to the power-on mode, a power-off voice mode corresponding to the power-off mode and a running voice mode corresponding to the running mode, and each voice mode includes tone information and voice content.
Specifically, the electronic device stores a correspondence table of the user identifier and the attribute information, and after the user identifier is obtained, the user identifier can be queried in the correspondence table of the user identifier and the attribute information to determine the attribute information corresponding to the user identifier.
In this embodiment, after the user identifier of the user is obtained, the voice mode and the working mode may be determined according to the user identifier.
And S120, determining a current working mode according to the current control instruction, and determining a target voice mode according to the current working mode and the voice mode.
The current control instruction may be a start instruction, a close instruction, or an operation instruction, the current working mode may be a power-on mode, a power-off mode, or an operation mode, the target voice mode may be a power-on voice mode corresponding to the power-on mode, a power-off voice mode corresponding to the power-off mode, or an operation voice mode corresponding to the operation mode, of course, the power-on voice mode may include a power-on voice tone and power-on voice content, the power-off voice mode may include a power-off voice tone and power-off voice content, and the operation voice mode may include an operation voice tone and operation voice content. The power-on voice tone and the power-on voice content, the power-off voice mode may include the power-off voice tone and the power-off voice content, and the running voice mode may include the running voice tone and the running voice content, which are both pre-stored in the electronic device by the user.
Specifically, in response to the current control instruction, the current working mode corresponding to the current control instruction may be determined from the working modes, and the target voice mode corresponding to the current working mode may also be determined from the voice modes according to the current working mode. When the current control instruction is a start instruction, the current working mode can be determined to be a start mode, the target voice mode can be determined to be a start voice mode according to the start mode and the voice mode, and the start voice mode can comprise the steps of starting voice tone and starting voice content. When the current control instruction is a closing instruction, the current working mode can be determined to be a closing mode, the target voice mode can be determined to be a voice closing mode according to the closing mode and the voice mode, and the voice closing mode can comprise voice tone closing and voice content closing. When the current control instruction is an operation instruction, the current working mode can be determined to be an operation mode, and the target voice mode can be determined to be an operation voice mode according to the operation mode and the voice mode, wherein the operation voice mode can comprise operation voice tone and operation voice content.
In this embodiment, in response to the current control instruction, the current working mode corresponding to the current control instruction may be determined from the working modes, and a target voice mode required for voice broadcast when the electronic device executes the current working mode may be determined from the voice modes according to the current working mode.
And S130, controlling the electronic equipment to run based on the current working mode, and simultaneously controlling the electronic equipment to perform voice broadcast based on the target voice mode.
Specifically, when the current working mode is the start mode, the target voice mode is a start voice mode corresponding to the start mode, and at this time, the electronic device may start up based on the start mode, and may report the start voice content included in the start voice mode based on the start voice tone included in the start voice mode. When the current working mode is the starting mode, the target voice mode is the starting voice mode corresponding to the starting mode, at the moment, the electronic equipment can be started based on the starting mode, and meanwhile, the starting voice content included in the starting voice mode can be started based on the starting voice tone report included in the starting voice mode. When the current working mode is the starting mode, the target voice mode is the starting voice mode corresponding to the starting mode, at the moment, the electronic equipment can be started based on the starting mode, and meanwhile, the starting voice content included in the starting voice mode can be reported based on the starting voice tone included in the starting voice mode.
In this embodiment, after the current working mode and the voice mode of the electronic device are determined, the electronic device may be controlled to operate based on the current working mode, and meanwhile, the electronic device may be controlled to perform voice announcement based on the target voice mode, where the current working mode of the electronic device meets the user requirement, and the matching degree between the target voice mode and the user is higher.
The method for controlling the electronic device provided by the embodiment comprises the following steps: determining attribute information according to the acquired user identification, wherein the attribute information comprises a voice mode and a working mode; determining a current working mode according to a current control instruction, and determining a target voice mode according to the current working mode and the voice mode; and controlling the electronic equipment to operate based on the current working mode, and simultaneously controlling the electronic equipment to perform voice broadcast based on the target voice mode. According to the technical scheme, after the user identification of the user is obtained, the user identification can be inquired in the corresponding relation table of the user identification and the attribute information, the attribute information corresponding to the user identification is determined, the voice mode and the working mode required by the user can be determined without voice awakening, the awakening efficiency of the electronic equipment is improved, the current working mode corresponding to the current control instruction can be determined from the working mode in response to the current control instruction, the target voice mode required by voice broadcasting can be determined when the electronic equipment executes the current working mode from the voice mode according to the current working mode, the electronic equipment is controlled to operate based on the current working mode and simultaneously perform voice broadcasting based on the target voice mode, the current working mode of the electronic equipment meets the user requirement, the matching degree of the target voice mode and the user is higher, and the user experience is improved.
Example two
Fig. 2 is a flowchart of a control method of an electronic device according to a second embodiment, which is embodied on the basis of the first embodiment. As shown in fig. 2, in this embodiment, the method may further include:
step 210, obtaining and associating the user identifier and the attribute information of the user to obtain a corresponding relation table of the user identifier and the attribute information.
Specifically, the user identifier of the user may be obtained based on a fingerprint module included in the electronic device, the attribute information of the user may be obtained based on an interaction module included in the electronic device, and the user identifier and the attribute information of the same user are associated with each other. Of course, it is only necessary for the electronic device to store the user identification and attribute information of the commonly used users.
In practical application, the user may also input the user identifier based on the terminal device and select the attribute information, and the terminal device may determine the correspondence table between the user identifier and the attribute information and directly send the correspondence table between the user identifier and the attribute information to the electronic device, or send the correspondence table between the user identifier and the attribute information to the electronic device based on the server.
In this embodiment, the relationship table of the user identifier and the attribute information is determined by acquiring the user identifier and the attribute information, and the relationship table of the user identifier and the attribute information is stored in the electronic device, so that a data basis is provided for the electronic device to determine the attribute information according to the user identifier.
And step 220, determining attribute information according to the acquired user identification.
The attribute information includes a voice mode and a working mode, the working mode is a power-on mode, a power-off mode or an operating mode, and the voice mode is a power-on voice mode corresponding to the power-on mode, a power-off voice mode corresponding to the power-off mode, and an operating voice mode corresponding to the operating mode.
In one embodiment, step 220 may specifically include:
and inquiring the user identification in the corresponding relation table of the user identification and the attribute information, and determining the attribute information corresponding to the user identification.
Specifically, the user identifier may be fingerprint information of the user, that is, a correspondence table between the fingerprint information and the attribute information stored in the electronic device. At this time, the electronic device may include a fingerprint module, and may acquire fingerprint information of the user based on the fingerprint module. Further, the fingerprint information may be queried in a correspondence table between the fingerprint information and the attribute information to determine the attribute information corresponding to the fingerprint information.
In this embodiment, after the fingerprint information of the user is acquired, the fingerprint information is queried in the correspondence table between the fingerprint information and the attribute information, so as to determine the voice mode and the working mode corresponding to the fingerprint information of the user.
And step 230, determining the current control instruction according to the acquired trigger information.
The triggering information is key triggering information or voice triggering information.
The electronic device may include an interaction module and a voice module.
The electronic equipment can determine the key triggering information according to the key triggered by the user based on the interactive module contained in the electronic equipment, and further can determine the current control instruction corresponding to the key triggering information. For example, when the user triggers the power-on key based on the interaction module, the electronic device may determine that the key trigger information is power-on trigger according to the power-on key, and may further determine that the current control instruction is a power-on instruction.
The voice module contained in the electronic equipment can receive voice information sent by a user, and determines the voice trigger information according to the voice information, so that the current control instruction corresponding to the voice trigger information can be determined. For example, when the voice module receives a "power off" voice sent by the user, it may determine that the voice trigger information is a power off trigger, and further may determine that the current control instruction is a power off instruction.
The electronic equipment is a water heater, when a voice module of the water heater receives 'temperature-down' voice sent by a user, the voice trigger information can be determined to be temperature-adjusting trigger, and then the current control instruction can be determined to be an operation instruction, wherein the operation instruction is specifically a temperature-adjusting control instruction.
In this embodiment, the electronic device may determine the current control instruction according to the trigger information triggered by the user, and the current control instruction may be used to determine the working mode of the electronic device.
And 240, determining a current working mode according to the current control instruction, and determining a target voice mode according to the current working mode and the voice mode.
When the electronic device is a water heater, the operation mode may include temperature information, humidity information, and water amount information, that is, after determining that the current operation mode is the operation mode according to the current control instruction, the temperature information, humidity information, and water amount information of the water heater when operating based on the operation mode may be determined. The temperature information can be adjusted according to the temperature adjusting control instruction, the humidity information can be adjusted according to the humidity adjusting control instruction, and the water quantity information can be adjusted according to the quantity adjusting control instruction.
As described in the first embodiment, in response to the current control instruction, the current working mode corresponding to the current control instruction may be determined from the working modes, and a target voice mode required for voice broadcast when the electronic device executes the current working mode may also be determined from the voice modes according to the current working mode.
And step 250, controlling the electronic equipment to operate based on the current working mode, and simultaneously controlling the electronic equipment to perform voice broadcast based on the target voice mode.
In one embodiment, step 250 may specifically include:
and controlling the electronic equipment to operate based on the current working mode, and simultaneously controlling the electronic equipment to broadcast the target voice content contained in the target voice mode based on the target tone contained in the target voice mode.
As described in the first embodiment, after the current working mode and the voice mode of the electronic device are determined, the electronic device may be controlled to operate based on the current working mode, and meanwhile, the electronic device is controlled to perform voice announcement based on the target voice mode, where the current working mode of the electronic device meets the user requirement, and the matching degree between the target voice mode and the user is higher.
It should be noted that, if the user needs to change the attribute information, the update trigger information may be triggered based on an update key in the interaction module of the electronic device. If the electronic equipment is connected to the server, the electronic equipment can send the updating trigger information to the server so that the server can determine attribute information to be selected according to the equipment identification contained in the updating trigger information and send the attribute information to the electronic equipment, the electronic equipment can display the attribute to be selected based on the interaction module, and determine target attribute information according to the selecting trigger information triggered by the user to update the attribute information. If the electronic equipment is not connected to the server, the electronic equipment can determine the offline attribute information as the target attribute information, and update the attribute information is achieved.
In practical application, the user can also change the attribute information based on the terminal device. Specifically, the change information may be sent to the server based on the terminal device, so that the server determines the attribute information to be selected according to the device identifier included in the change information and sends the attribute information to the terminal device, and the terminal device may display the attribute to be selected based on a preset interface, determine the target attribute information according to the selection trigger information triggered by the user, and implement updating of the attribute information.
The method for controlling the electronic device provided by the embodiment comprises the following steps: acquiring and associating user identification and attribute information of a user to obtain a corresponding relation table of the user identification and the attribute information; determining attribute information according to the acquired user identification; determining the current control instruction according to the acquired trigger information; determining a current working mode according to a current control instruction, and determining a target voice mode according to the current working mode and the voice mode; and controlling the electronic equipment to operate based on the current working mode, and simultaneously controlling the electronic equipment to perform voice broadcast based on the target voice mode. According to the technical scheme, the relation table of the user identification and the attribute information is determined by obtaining the user identification and the attribute information, the relation table of the user identification and the attribute information is stored in the electronic equipment, a data base is provided for the electronic equipment to determine the attribute information according to the user identification, the user identification can be fingerprint information of a user, the relation table of the user identification and the attribute information stored in the electronic equipment can be the relation table of the fingerprint information and the attribute information, after the fingerprint information of the user is obtained, the fingerprint information is inquired in the corresponding relation table of the fingerprint information and the attribute information, the voice mode and the working mode corresponding to the fingerprint information of the user can be determined, the voice mode and the working mode required by the user can be determined without voice awakening, the awakening efficiency of the electronic equipment is improved, the current control instruction used for determining the working mode of the electronic equipment is determined according to trigger information triggered by the user, the current working mode corresponding to the current control instruction can be determined from the working modes, the target voice broadcasting mode required by the electronic equipment can be determined according to the current working mode, the target broadcasting equipment is matched with the target voice experience of the user, and the target broadcasting equipment is improved based on the current working mode.
EXAMPLE III
Fig. 3 is a schematic structural diagram of a control device of an electronic device according to a third embodiment, where the control device is suitable for a situation that the electronic device needs to be awakened quickly. The apparatus may be implemented by software and/or hardware and is generally integrated in an electronic device.
As shown in fig. 3, the apparatus includes:
an attribute determining module 310, configured to determine attribute information according to the obtained user identifier, where the attribute information includes a voice mode and a working mode;
a mode determining module 320, configured to determine a current working mode according to a current control instruction, and determine a target voice mode according to the current working mode and the voice mode;
and the execution module 330 is configured to control the electronic device to operate based on the current working mode, and simultaneously control the electronic device to perform voice broadcast based on the target voice mode.
The control device of the electronic device provided in this embodiment determines attribute information according to an acquired user identifier, where the attribute information includes a voice mode and a working mode; determining a current working mode according to a current control instruction, and determining a target voice mode according to the current working mode and the voice mode; and controlling the electronic equipment to operate based on the current working mode, and simultaneously controlling the electronic equipment to perform voice broadcast based on the target voice mode. According to the technical scheme, after the user identification of the user is obtained, the user identification can be inquired in the corresponding relation table of the user identification and the attribute information, the attribute information corresponding to the user identification is determined, the voice mode and the working mode required by the user can be determined without voice awakening, the awakening efficiency of the electronic equipment is improved, the current working mode corresponding to the current control instruction can be determined from the working mode in response to the current control instruction, the target voice mode required by voice broadcasting can be determined when the electronic equipment executes the current working mode from the voice mode according to the current working mode, the electronic equipment is controlled to operate based on the current working mode and simultaneously perform voice broadcasting based on the target voice mode, the current working mode of the electronic equipment meets the user requirement, the matching degree of the target voice mode and the user is higher, and the user experience is improved.
In one embodiment, the apparatus further comprises:
and the acquisition module is used for acquiring and associating the user identification and the attribute information of the user to obtain a corresponding relation table of the user identification and the attribute information.
In an embodiment, the attribute determining module 310 is specifically configured to:
and querying the user identification in the corresponding relation table of the user identification and the attribute information, and determining the attribute information corresponding to the user identification.
In one embodiment, the apparatus further comprises:
and the instruction determining module is used for determining the current control instruction according to the acquired trigger information.
Optionally, the operating mode is a power-on mode, a power-off mode, or an operating mode.
Optionally, the voice mode is a power-on voice mode corresponding to the power-on mode, a power-off voice mode corresponding to the power-off mode, and an operation voice mode corresponding to the operation mode.
In one embodiment, the execution module 330 is specifically configured to:
and controlling the electronic equipment to broadcast the target voice content contained in the target voice mode based on the target tone contained in the target voice mode.
The control device for electronic equipment provided by the embodiment can execute the control method for electronic equipment provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of executing the control method for electronic equipment.
It should be noted that, in the embodiment of the control device of the electronic device, the included units and modules are only divided according to functional logic, but are not limited to the above division as long as the corresponding functions can be realized; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
Example four
Fig. 4 is a schematic structural diagram of an electronic device according to a fourth embodiment. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 4, the electronic device 4 includes at least one processor 11, and a memory communicatively connected to the at least one processor 11, such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, and the like, wherein the memory stores a computer program executable by the at least one processor, and the processor 11 can perform various suitable actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program loaded from a storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data necessary for the operation of the electronic apparatus 4 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to bus 14.
A plurality of components in the electronic device 4 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, or the like; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, an optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 4 to exchange information/data with other devices via a computer network such as the internet and/or various telecommunication networks.
The processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, or the like. The processor 11 executes the respective methods and processes described above, such as the control method of the electronic device.
In some embodiments, the control method of the electronic device may be implemented as a computer program tangibly embodied in a computer-readable storage medium, such as the storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 4 via the ROM 12 and/or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the control method of the electronic device described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured by any other suitable means (e.g. by means of firmware) to perform the control method of the electronic device.
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be performed. A computer program can execute entirely on a machine, partly on a machine, as a stand-alone software package partly on a machine and partly on a remote machine or entirely on a remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. A computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user may provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the Internet.
The computing system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical host and VPS service are overcome.
It should be understood that various forms of the flows shown above, reordering, adding or deleting steps, may be used. For example, the steps described in the present invention may be executed in parallel, sequentially, or in different orders, and are not limited herein as long as the desired result of the technical solution of the present invention can be achieved.
The above-described embodiments should not be construed as limiting the scope of the invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A method of controlling an electronic device, the method comprising:
determining attribute information according to the acquired user identification, wherein the attribute information comprises a voice mode and a working mode;
determining a current working mode according to a current control instruction, and determining a target voice mode according to the current working mode and the voice mode;
and controlling the electronic equipment to operate based on the current working mode, and simultaneously controlling the electronic equipment to perform voice broadcast based on the target voice mode.
2. The method according to claim 1, before determining the attribute information according to the obtained user identifier, further comprising:
and acquiring and associating the user identification and the attribute information of the user to obtain a corresponding relation table of the user identification and the attribute information.
3. The method according to claim 1, wherein determining attribute information according to the obtained user identifier includes:
and inquiring the user identification in the corresponding relation table of the user identification and the attribute information, and determining the attribute information corresponding to the user identification.
4. The method for controlling an electronic device according to claim 1, further comprising, before determining the current operation mode according to the current control command:
and determining the current control instruction according to the acquired trigger information.
5. The method according to claim 1, wherein the operating mode is a power-on mode, a power-off mode, or an operation mode.
6. The method according to claim 5, wherein the voice mode is a power-on voice mode corresponding to the power-on mode, a power-off voice mode corresponding to the power-off mode, or an operation voice mode corresponding to the operation mode.
7. The method for controlling the electronic device according to claim 1, wherein controlling the electronic device to perform voice announcement based on the target voice mode comprises:
and controlling the electronic equipment to broadcast the target voice content contained in the target voice mode based on the target tone contained in the target voice mode.
8. A control apparatus of an electronic device, comprising:
the attribute determining module is used for determining attribute information according to the acquired user identification, wherein the attribute information comprises a voice mode and a working mode;
the mode determining module is used for determining a current working mode according to a current control instruction and determining a target voice mode according to the current working mode and the voice mode;
and the execution module is used for controlling the electronic equipment to run based on the current working mode and simultaneously controlling the electronic equipment to perform voice broadcast based on the target voice mode.
9. An electronic device, comprising:
at least one processor; and a memory communicatively coupled to the at least one processor;
wherein the memory stores a computer program executable by the at least one processor, the computer program being executable by the at least one processor to enable the at least one processor to perform the method of controlling an electronic device of any one of claims 1-7.
10. A storage medium containing computer-executable instructions for performing the method of controlling an electronic device according to any one of claims 1-7 when executed by a computer processor.
CN202211540595.0A 2022-12-02 2022-12-02 Control method, device, equipment and storage medium of electronic equipment Pending CN115981171A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211540595.0A CN115981171A (en) 2022-12-02 2022-12-02 Control method, device, equipment and storage medium of electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211540595.0A CN115981171A (en) 2022-12-02 2022-12-02 Control method, device, equipment and storage medium of electronic equipment

Publications (1)

Publication Number Publication Date
CN115981171A true CN115981171A (en) 2023-04-18

Family

ID=85965629

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211540595.0A Pending CN115981171A (en) 2022-12-02 2022-12-02 Control method, device, equipment and storage medium of electronic equipment

Country Status (1)

Country Link
CN (1) CN115981171A (en)

Similar Documents

Publication Publication Date Title
CN113593555A (en) Method, device and program product for controlling program in voice mode
CN113655726A (en) Control method, device, equipment, medium and product of intelligent household equipment
CN115981171A (en) Control method, device, equipment and storage medium of electronic equipment
CN116545905A (en) Service health detection method and device, electronic equipment and storage medium
CN116027226A (en) Component testing method and device, electronic equipment and storage medium
CN115762503A (en) Vehicle-mounted voice system, vehicle-mounted voice autonomous learning method, device and medium
CN114051057A (en) Method and device for determining queuing time of cloud equipment, electronic equipment and medium
CN114564149A (en) Data storage method, device, equipment and storage medium
CN112631843A (en) Equipment testing method and device, electronic equipment, readable medium and product
CN113496703A (en) Method, device and program product for controlling program in voice mode
CN115127197B (en) Method and device for determining operation strategy of refrigerator, electronic equipment and storage medium
CN115563015B (en) Code heat statistics method, device, equipment and storage medium
CN115617475A (en) Method and device for setting circulating alarm clock, electronic equipment and storage medium
CN115734326A (en) Short-distance wireless communication method, device, wearable equipment and medium
CN115577228A (en) Electronic equipment use condition analysis method and device, server and storage medium
CN115456602A (en) Conference room management method, device, equipment and medium
CN115098520A (en) Device data updating method and device, electronic device and storage medium
CN115695397A (en) Communication method, device, equipment and medium based on JSON file
CN117608944A (en) Method and device for calculating weight migration volume ratio, electronic equipment and storage medium
CN114416040A (en) Page construction method, device, equipment and storage medium
CN115526568A (en) Method, device, equipment and medium for managing objects in power change station
CN115586927A (en) Off-peak power-on method, device, equipment and storage medium for server
CN114371889A (en) Event configuration method and device, electronic equipment and storage medium
CN117010908A (en) Information display method and device, electronic equipment and storage medium
CN114816174A (en) Navigation bar switching method and device, electronic equipment and storage medium

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