CN111726383A - Sound box control method and system and server control method and system - Google Patents

Sound box control method and system and server control method and system Download PDF

Info

Publication number
CN111726383A
CN111726383A CN201910220017.0A CN201910220017A CN111726383A CN 111726383 A CN111726383 A CN 111726383A CN 201910220017 A CN201910220017 A CN 201910220017A CN 111726383 A CN111726383 A CN 111726383A
Authority
CN
China
Prior art keywords
list
voice information
information
target
electronic devices
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
CN201910220017.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.)
iFlytek Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
iFlytek Co Ltd
Beijing Jingdong Shangke Information 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 iFlytek Co Ltd, Beijing Jingdong Shangke Information Technology Co Ltd filed Critical iFlytek Co Ltd
Priority to CN201910220017.0A priority Critical patent/CN111726383A/en
Publication of CN111726383A publication Critical patent/CN111726383A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • 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)
  • Health & Medical Sciences (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The present disclosure provides a control method for a sound box, comprising obtaining voice information, wherein the voice information is used for indicating to realize a target function; acquiring a state list, wherein the state list comprises state information of a plurality of electronic devices, and the state information is used for representing whether the electronic devices are connected with a target network; and sending the state list and the voice information to a server, so that the server can send a control instruction to a target device capable of realizing the target function according to the state list and the voice information, wherein the target device is one or more of the electronic devices. The present disclosure also provides a control method for a server, a control system for a speaker, a control system for a server, and a computer-readable storage medium.

Description

Sound box control method and system and server control method and system
Technical Field
The present disclosure relates to the field of intelligent hardware technologies, and more particularly, to a control method for a sound box, a control method for a server, a control system for a sound box, a control system for a server, and a computer-readable storage medium.
Background
Along with the rapid development of the technology, the intelligent sound box can be used as a center console to control the work of a plurality of intelligent devices so as to realize the effect of automatically controlling the devices.
For example, a user can interact with the intelligent sound box in a voice interaction mode to control a plurality of air conditioners in a home to work, for example, the home comprises 2 air conditioners including 'air conditioners in a living room' and 'air conditioners in a bedroom', an instruction 'adjust the temperature to 27 degrees' is given to the intelligent sound box through voice, the intelligent sound box sends the instruction to the server, and the server controls all the air conditioners to adjust the temperature to 27 degrees according to the instruction.
However, in the course of implementing the disclosed concept, the inventors found that there are at least the following problems in the related art:
the technical problem that the control instruction cannot be accurately sent to the corresponding electronic equipment can be caused by adopting the related technology to control the electronic equipment through the server.
Disclosure of Invention
In view of the above, the present disclosure provides a control method for a sound box, a control method for a server, a control system for a sound box, a control system for a server, and a computer-readable storage medium.
One aspect of the present disclosure provides a control method for a sound box, including obtaining voice information, where the voice information is used to indicate that a target function is implemented; acquiring a state list, wherein the state list comprises state information of a plurality of electronic devices, and the state information is used for representing whether the electronic devices are connected with a target network; and sending the status list and the voice information to a server so that the server can send a control instruction to a target device capable of realizing the target function according to the status list and the voice information, wherein the target device is one or more of the plurality of electronic devices.
According to an embodiment of the present disclosure, acquiring the status list includes acquiring a physical address of each of the plurality of electronic devices; acquiring state information of corresponding electronic equipment according to the physical address of each piece of electronic equipment; and generating the state list according to the acquired state information of each piece of electronic equipment.
According to an embodiment of the present disclosure, the status list includes a first list including status information of electronic devices connected to the target network and a second list including status information of electronic devices not connected to the target network, and the transmitting the status list and the voice information to a server includes transmitting the first list and the voice information to the server.
Another aspect of the present disclosure provides a control method for a server, including obtaining voice information and a status list, where the voice information is used to indicate that a target function is implemented, and the status list includes status information of a plurality of electronic devices, and the status information is used to indicate whether the electronic devices are connected to a target network; and sending a control instruction to a target device capable of realizing the target function according to the state list and the voice information, wherein the target device is one or more of the plurality of electronic devices.
According to an embodiment of the present disclosure, the status list includes the first list and a second list, the first list includes status information of electronic devices connected to the target network, and the second list includes status information of electronic devices not connected to the target network, where: the voice information and the state list which are sent by the sound box are acquired, and the method comprises the following steps: acquiring voice information sent by the sound box and the first list; transmitting a control command to a target device capable of implementing the target function based on the status list and the voice information may include transmitting a control command to a target device capable of implementing the target function based on the first list and the voice information.
According to an embodiment of the present disclosure, sending a control instruction to a target device capable of implementing the target function according to the first list and the voice information includes: determining a target device for realizing the target function from the first list; recognizing the voice information and generating the control instruction according to a recognition result; and sending the control instruction to the target device.
Another aspect of the present disclosure provides a control system for a sound box, including a first obtaining module, configured to obtain voice information, where the voice information is used to indicate that a target function is implemented; the second acquisition module is used for acquiring a state list, wherein the state list comprises state information of a plurality of electronic devices, and the state information is used for representing whether the electronic devices are connected with a target network or not; and a first sending module, configured to send the status list and the voice information to a server, so that the server can send a control instruction to a target device capable of implementing the target function according to the status list and the voice information, where the target device is one or more of the plurality of electronic devices.
According to an embodiment of the present disclosure, the second obtaining module includes a first obtaining unit, configured to obtain a physical address of each of the plurality of electronic devices; a second obtaining unit, configured to obtain status information of each electronic device according to the physical address of the corresponding electronic device; and the generating unit is used for generating the state list according to the acquired state information of each piece of electronic equipment.
According to an embodiment of the present disclosure, the status list includes a first list and a second list, where the first list includes status information of electronic devices connected to the target network, the second list includes status information of electronic devices not connected to the target network, and the first sending module is configured to send the first list and the voice information to the server.
Another aspect of the present disclosure provides a control system for a server, including a third obtaining module, configured to obtain voice information and a status list, where the voice information is used to indicate that a target function is implemented, the status list includes status information of a plurality of electronic devices, and the status information is used to indicate whether the electronic devices are connected to a target network; and a second sending module, configured to send a control instruction to a target device capable of implementing the target function according to the status list and the voice message, where the target device is one or more of the electronic devices.
According to an embodiment of the present disclosure, the status list includes the first list and a second list, the first list includes status information of electronic devices connected to the target network, and the second list includes status information of electronic devices not connected to the target network, where: the third obtaining module is used for obtaining the voice information sent by the sound box and the first list; the second sending module is configured to send a control instruction to a target device capable of implementing the target function according to the first list and the voice message.
According to an embodiment of the present disclosure, the second sending module includes a determining unit, configured to determine, from the first list, a target device for implementing the target function; a recognition unit for recognizing the voice information and generating the control command according to the recognition result; and a transmitting unit configured to transmit the control instruction to the target device.
Another aspect of the disclosure provides a computer-readable storage medium having stored thereon executable instructions that, when executed by a processor, cause the processor to implement the method as described above.
Another aspect of the disclosure provides a computer program comprising computer executable instructions for implementing the method as described above when executed.
Through the embodiment of the disclosure, the state list is directly acquired through the loudspeaker box, and the state list and the voice information are sent to the server together, because the loudspeaker box can acquire the state list of the electronic equipment more timely, whether the electronic equipment is online or not can be known timely through the state list, wherein the electronic equipment is online and can mean that the electronic equipment is connected with a target network or is in a state capable of working, so that the technical problem that the control instruction cannot be accurately sent to the corresponding electronic equipment due to the fact that the electronic equipment is controlled through the server by adopting the related technology is at least partially overcome, and the technical effect that the voice information and the state list are received through the loudspeaker box and the control instruction can be accurately sent to the online electronic equipment is achieved. Furthermore, compared with the problem that the information acquisition delay occurs when the state information of the electronic equipment is directly acquired through the server, whether the electronic equipment is on line can be determined more timely and accurately, and therefore the technical effect that the control instruction can be sent to the on-line electronic equipment more timely is achieved.
Drawings
The above and other objects, features and advantages of the present disclosure will become more apparent from the following description of embodiments of the present disclosure with reference to the accompanying drawings, in which:
fig. 1 schematically illustrates an exemplary system architecture to which a control method for a sound box and a control method for a server may be applied according to an embodiment of the present disclosure;
FIG. 2 schematically illustrates a flow chart of a control method for an enclosure according to an embodiment of the present disclosure;
FIG. 3 schematically illustrates a flow diagram for obtaining a status list according to an embodiment of the disclosure;
FIG. 4 schematically illustrates an application scenario diagram according to an embodiment of the present disclosure;
FIG. 5 schematically illustrates a flow chart for sending control instructions to a target device capable of implementing a target function based on a first list and voice information, according to an embodiment of the disclosure;
FIG. 6 schematically illustrates a block diagram of a control system for a loudspeaker according to an embodiment of the present disclosure;
FIG. 7 schematically illustrates a block diagram of a second acquisition module according to an embodiment of the disclosure;
FIG. 8 schematically illustrates a block diagram of a control system for a server, in accordance with an embodiment of the present disclosure;
FIG. 9 schematically shows a block diagram of a second sending module according to an embodiment of the disclosure; and
fig. 10 schematically illustrates a block diagram of an acoustic enclosure suitable for implementing the above-described method according to an embodiment of the present disclosure.
Detailed Description
Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. It should be understood that the description is illustrative only and is not intended to limit the scope of the present disclosure. In the following detailed description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the embodiments of the disclosure. It may be evident, however, that one or more embodiments may be practiced without these specific details. Moreover, in the following description, descriptions of well-known structures and techniques are omitted so as to not unnecessarily obscure the concepts of the present disclosure.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. The terms "comprises," "comprising," and the like, as used herein, specify the presence of stated features, steps, operations, and/or components, but do not preclude the presence or addition of one or more other features, steps, operations, or components.
All terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art unless otherwise defined. It is noted that the terms used herein should be interpreted as having a meaning that is consistent with the context of this specification and should not be interpreted in an idealized or overly formal sense.
Where a convention analogous to "at least one of A, B and C, etc." is used, in general such a construction is intended in the sense one having skill in the art would understand the convention (e.g., "a system having at least one of A, B and C" would include but not be limited to systems that have a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.). Where a convention analogous to "A, B or at least one of C, etc." is used, in general such a construction is intended in the sense one having skill in the art would understand the convention (e.g., "a system having at least one of A, B or C" would include but not be limited to systems that have a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.).
Embodiments of the present disclosure provide a control method for a sound box, a control method for a server, a control system for a sound box, a control system for a server, and a computer-readable storage medium. The control method for the sound box comprises the steps of obtaining voice information, wherein the voice information is used for indicating the realization of a target function; acquiring a state list, wherein the state list comprises state information of a plurality of electronic devices, and the state information is used for representing whether the electronic devices are connected with a target network; and sending the state list and the voice information to a server, so that the server can send a control instruction to a target device capable of realizing the target function according to the state list and the voice information, wherein the target device is one or more of the electronic devices. The control method for the server comprises the steps of obtaining voice information and a state list sent by a sound box, wherein the voice information is used for indicating the realization of a target function, the state list comprises state information of a plurality of electronic devices, and the state information is used for representing whether the electronic devices are connected with a target network or not; and sending a control instruction to a target device capable of realizing the target function according to the state list and the voice information, wherein the target device is one or more of the plurality of electronic devices.
Fig. 1 schematically shows an exemplary system architecture to which a control method for a sound box and a control method for a server according to an embodiment of the present disclosure can be applied. It should be noted that fig. 1 is only an example of a system architecture to which the embodiments of the present disclosure may be applied to help those skilled in the art understand the technical content of the present disclosure, and does not mean that the embodiments of the present disclosure may not be applied to other devices, systems, environments or scenarios.
As shown in fig. 1, the system architecture 100 according to this embodiment may include an audio box 101, an air conditioner 102, a router 103, and a cloud 104, where the cloud 104 may include one or more servers. The router 103 is configured to provide a communication link between the sound box 101, the air conditioner 102, and the cloud 104, and the sound box 101 and the air conditioner 102 can be located in the same local area network through the router 103.
It should be understood that the number of servers in speakers 101, air conditioners 102, routers 103, and cloud 104 in fig. 1 is merely illustrative. There may be any number of speakers 101, air conditioners 102, routers 103, and servers in the cloud 104, as desired for implementation.
According to the embodiment of the disclosure, the sound box 101 may acquire the state information of the air conditioner 102 through the router 103, and send the acquired state information to the cloud 104, and the sound box 101 may also receive the voice information used by the user to control the air conditioner, and send the voice information to the cloud 104 through the router 103, so that the cloud 104 generates a corresponding control instruction.
The server in the cloud 104 may be a server providing various services, such as a background management server (for example only) that analyzes and performs other processing on voice information sent by the user by using the sound box 101, and sends a processing result to a control instruction capable of implementing a function corresponding to the voice information.
Through the embodiment of the disclosure, the state list is directly acquired through the loudspeaker box, and the state list and the voice information are sent to the server together, because the loudspeaker box can acquire the state list of the electronic equipment more timely, whether the electronic equipment is online or not can be known timely through the state list, wherein the electronic equipment is online and can mean that the electronic equipment is connected with a target network or is in a working state, the technical problem that the control instruction cannot be accurately sent to the corresponding electronic equipment due to the fact that the electronic equipment is controlled through the server by adopting the related technology is at least partially overcome, and the technical effect that the voice information and the state list are received through the loudspeaker box and the control instruction can be accurately sent to the online electronic equipment is achieved. Furthermore, compared with the problem that the information acquisition delay occurs when the state information of the electronic equipment is directly acquired through the server, whether the electronic equipment is on line can be determined more timely and accurately, and therefore the technical effect that the control instruction can be sent to the on-line electronic equipment more timely is achieved.
Fig. 2 schematically shows a flow chart of a control method for a loudspeaker according to an embodiment of the present disclosure.
As shown in fig. 2, the control method for a sound box includes operations S210 to S230.
In operation S210, voice information is acquired, wherein the voice information is used to indicate that a target function is implemented.
According to the embodiment of the present disclosure, the voice information may be, for example, "turn up the air conditioner temperature to 28 degrees," turn up the refrigerator temperature to 28 degrees, "or may be voice information that is apt to generate semantic divergence such as" turn down the temperature, "wherein the semantic divergence voice information refers to content that can make different types of electronic devices all respond to the voice information. For example, "turn down the temperature" may cause the operating temperature of both the refrigerator and the air conditioner to be turned down.
In operation S220, a status list is obtained, where the status list includes status information of a plurality of electronic devices, and the status information is used to characterize whether the electronic devices are connected to a target network.
According to the embodiment of the present disclosure, the plurality of electronic devices may include electronic devices of the same type, and may also include electronic devices of different types that can provide the same function, for example, a plurality of refrigerators are electronic devices of the same type, and a refrigerator and an air conditioner are electronic devices of different types that can provide a function of adjusting temperature. The target network may be a local area network in a home or a company, or a local area network in a public area.
In operation S230, a status list and voice information are transmitted to a server, so that the server can transmit a control command to a target device capable of implementing a target function according to the status list and the voice information, wherein the target device is one or more of a plurality of electronic devices.
According to the embodiment of the disclosure, the sound box directly acquires the state list and the voice information, then the state list and the voice information are sent to the server, the server acquires the voice information and the state list sent by the sound box, wherein the voice information is used for indicating the realization of a target function, the state list comprises the state information of a plurality of electronic devices, and the state information is used for representing whether the electronic devices are connected with a target network or not. The server can send a control instruction to a target device capable of realizing the target function according to the state list and the voice information, wherein the target device is one or more of the electronic devices.
According to the embodiment of the present disclosure, for example, taking the case that the voice information is "timed for 30 minutes", the sound box may acquire the electronic device information that is online and the electronic device information that is not online. The "timing 30 minutes" and the online electronic device information, or the "timing 30 minutes", the online electronic device information and the offline electronic device information are sent to the server, and the server can generate a control instruction based on the "timing 30 minutes" and send the control instruction to the online electronic device. So that the electronic equipment on line executes the control instruction of 'timing 30 minutes'.
However, the inventor found that in the related art, if a user wants to control a certain online networked air conditioner to operate, the server sends a control command to all other air conditioners, even if the other air conditioners are not online, for example, the user actually wants to control "air conditioner in living room", but if the home includes "air conditioner in living room" and "air conditioner in bedroom", the server still sends the control command to "air conditioner in living room" and "air conditioner in bedroom" at the same time even if the "air conditioner in bedroom" is not online, which results in waste of resources. Therefore, in the case where there are a plurality of smart devices in the related art, in the case where one or more smart devices capable of implementing the target function are controlled by the control command, the server transmits the control command to all devices capable of implementing the target function, even if there are devices that cannot receive the control command, the control command is transmitted, thereby causing a waste of resources.
Through the embodiment of the disclosure, the state list is directly acquired through the loudspeaker box, and the state list and the voice information are sent to the server together, because the loudspeaker box can acquire the state list of the electronic equipment more timely, whether the electronic equipment is online or not can be known timely through the state list, the technical problem that the control instruction cannot be accurately sent to the corresponding electronic equipment when the electronic equipment is controlled through the server by adopting the related technology is at least partially overcome, and the technical effect that the voice information and the state list are received through the loudspeaker box, and the control instruction can be accurately sent to the online electronic equipment is achieved. Furthermore, compared with the problem that the information acquisition delay occurs when the state information of the electronic equipment is directly acquired through the server, whether the electronic equipment is on line can be determined more timely and accurately, and therefore the technical effect that the control instruction can be sent to the on-line electronic equipment more timely is achieved.
The method shown in fig. 2 is further described with reference to fig. 3-5 in conjunction with specific embodiments.
Fig. 3 schematically illustrates a flow chart of obtaining a status list according to an embodiment of the present disclosure.
As shown in fig. 3, acquiring the status list includes operations S221 to S223.
In operation S221, a physical address of each of a plurality of electronic devices is acquired.
In operation S222, status information of each electronic device is acquired according to a physical address of the corresponding electronic device.
In operation S223, a status list is generated according to the acquired status information of each electronic device.
According to the embodiment of the disclosure, the sound box may acquire the status list before acquiring the voice information or may acquire the status list after acquiring the voice information. The loudspeaker box can actively inquire the online state of the electronic equipment according to the physical address (namely the MAC address).
According to the embodiment of the disclosure, the MAC addresses of different electronic devices can be maintained in the loudspeaker box, and the online state of the electronic devices can be inquired in real time or according to the preset time interval. Specifically, in the same local area network, the sound box can quickly and timely acquire the online state of the electronic device through a router and the like, and the problem of information delay when the server directly acquires the state information of the electronic device can be effectively solved.
Through the embodiment of the disclosure, the sound box can inquire the online state of the equipment according to the MAC address, the information acquisition efficiency can be improved, and the problem of information delay of directly acquiring the state information of the electronic equipment by the server is solved.
Fig. 4 schematically shows an application scenario diagram according to an embodiment of the present disclosure.
As shown in fig. 4, in the home of the user, the sound box 201, the television 202, the air conditioner 203 and the refrigerator 204 may be included in the same lan, and the sound box 201 may quickly and timely obtain the online status of the television 202, the air conditioner 203 and the refrigerator 204 through a router and the like. The user can output the "turn down temperature" through voice, the sound box 201 can acquire the voice information "turn down temperature", and the sound box 201 can send the "turn down temperature" and the status list to the server. The server may send control instructions to the air conditioner 203 and/or refrigerator 204 that enable the temperature turn down according to the status list and the "turn down temperature". If the refrigerator 204 is not on-line, a control instruction is sent to the air conditioner 203 capable of achieving temperature reduction, and if the air conditioner 203 is not on-line, a control instruction is sent to the refrigerator 204 capable of achieving temperature reduction.
According to the embodiment of the disclosure, the status list comprises a first list and a second list, wherein the first list comprises status information of electronic equipment connected with a target network, the second list comprises status information of electronic equipment not connected with the target network, and the sound box sends the status list and the voice information to the server comprises the first list and the voice information to the server.
According to the embodiment of the disclosure, the server can acquire the voice information and the first list sent by the loudspeaker box, and then send a control instruction to the target device capable of realizing the target function according to the first list and the voice information.
According to the embodiment of the disclosure, only the first list and the voice information are sent to the server, but the second list is not sent, so that the cost for maintaining the information by the server can be reduced, and the processing efficiency of the server can be improved.
Fig. 5 schematically illustrates a flowchart for sending a control instruction to a target device capable of implementing a target function according to a first list and voice information according to an embodiment of the present disclosure.
As shown in fig. 5, transmitting a control instruction to a target device capable of implementing a target function according to a first list and voice information includes operations S240 to S260.
In operation S240, a target device for implementing a target function is determined from the first list.
In operation S250, voice information is recognized, and a control command is generated according to the recognition result.
In operation S260, a control instruction is transmitted to the target device.
According to an embodiment of the present disclosure, for example, when the first list includes a television, an air conditioner, and a refrigerator online, a target device for implementing a target function may be determined from the first list according to voice information. Specifically, for example, the voice information includes playing a television show, and it is determined from the online television, the air conditioner, and the refrigerator that the television can play the television show.
According to the embodiment of the disclosure, when the voice information is recognized in the server, the voice information can be converted into text information, and the control instruction is generated according to the text information.
With the embodiments of the present disclosure, since the server can clarify the situation of the online device from the first list, directly determining the target device for implementing the target function from the online device can improve the processing efficiency.
Fig. 6 schematically illustrates a block diagram of a control system for a loudspeaker according to an embodiment of the disclosure.
As shown in fig. 6, the control system 300 for a sound box includes a first obtaining module 310, a second obtaining module 320, and a first sending module 330.
The first obtaining module 310 is configured to obtain voice information, where the voice information is used to indicate that a target function is implemented.
The second obtaining module 320 is configured to obtain a status list, where the status list includes status information of a plurality of electronic devices, and the status information is used to represent whether the electronic devices are connected to a target network.
The first sending module 330 is configured to send the status list and the voice information to a server, so that the server can send a control instruction to a target device capable of implementing a target function according to the status list and the voice information, where the target device is one or more of the plurality of electronic devices.
Through the embodiment of the disclosure, the state list is directly acquired through the loudspeaker box, and the state list and the voice information are sent to the server together, because the loudspeaker box can acquire the state list of the electronic equipment more timely, whether the electronic equipment is online or not can be known timely through the state list, the technical problem that the control instruction cannot be accurately sent to the corresponding electronic equipment when the electronic equipment is controlled through the server by adopting the related technology is at least partially overcome, and the technical effect that the voice information and the state list are received through the loudspeaker box, and the control instruction can be accurately sent to the online electronic equipment is achieved. Furthermore, compared with the problem that the information acquisition delay occurs when the state information of the electronic equipment is directly acquired through the server, whether the electronic equipment is on line can be determined more timely and accurately, and therefore the technical effect that the control instruction can be sent to the on-line electronic equipment more timely is achieved.
Fig. 7 schematically illustrates a block diagram of a second acquisition module according to an embodiment of the disclosure.
As shown in fig. 7, the second obtaining module 320 includes a first obtaining unit 321, a second obtaining unit 322, and a generating unit 323.
The first acquiring unit 321 is configured to acquire a physical address of each of the plurality of electronic devices.
The second obtaining unit 322 is configured to obtain status information of each electronic device according to a physical address of the corresponding electronic device.
The generating unit 323 is configured to generate a status list according to the acquired status information of each electronic device.
Through the embodiment of the disclosure, the sound box can inquire the online state of the equipment according to the MAC address, the information acquisition efficiency can be improved, and the problem of information delay of directly acquiring the state information of the electronic equipment by the server is solved.
According to an embodiment of the present disclosure, the status list includes a first list and a second list, where the first list includes status information of electronic devices connected to the target network, the second list includes status information of electronic devices not connected to the target network, and the first sending module 330 is configured to send the first list and the voice information to the server.
According to the embodiment of the disclosure, only the first list and the voice information are sent to the server, but the second list is not sent, so that the cost for maintaining the information by the server can be reduced, and the processing efficiency of the server can be improved.
Fig. 8 schematically illustrates a block diagram of a control system for a server according to an embodiment of the present disclosure.
As shown in fig. 8, the control system 400 for a server includes a third acquisition module 410 and a second transmission module 420.
The third obtaining module 410 is configured to obtain voice information and a status list, where the voice information is used to indicate that a target function is implemented, the status list includes status information of a plurality of electronic devices, and the status information is used to indicate whether the electronic devices are connected to a target network.
The second sending module 420 is configured to send a control instruction to a target device capable of implementing a target function according to the status list and the voice information, where the target device is one or more of the plurality of electronic devices.
Through the embodiment of the disclosure, the state list is directly acquired through the loudspeaker box, and the state list and the voice information are sent to the server together, because the loudspeaker box can acquire the state list of the electronic equipment more timely, whether the electronic equipment is online or not can be known timely through the state list, the technical problem that the control instruction cannot be accurately sent to the corresponding electronic equipment when the electronic equipment is controlled through the server by adopting the related technology is at least partially overcome, and the technical effect that the voice information and the state list are received through the loudspeaker box, and the control instruction can be accurately sent to the online electronic equipment is achieved. Furthermore, compared with the problem that the information acquisition delay occurs when the state information of the electronic equipment is directly acquired through the server, whether the electronic equipment is on line can be determined more timely and accurately, and therefore the technical effect that the control instruction can be sent to the on-line electronic equipment more timely is achieved.
According to an embodiment of the present disclosure, the status list includes a first list including status information of electronic devices connected to the target network and a second list including status information of electronic devices not connected to the target network.
The third obtaining module 410 is further configured to obtain the voice information and the first list sent by the speaker.
The second sending module 420 is further configured to send a control instruction to a target device capable of implementing the target function according to the first list and the voice information.
According to the embodiment of the disclosure, only the first list and the voice information are sent to the server, but the second list is not sent, so that the cost for maintaining the information by the server can be reduced, and the processing efficiency of the server can be improved.
Fig. 9 schematically illustrates a block diagram of a second transmitting module according to an embodiment of the present disclosure.
As shown in fig. 9, the second transmitting module 420 includes a determining unit 421, an identifying unit 422, and a transmitting unit 423.
The determining unit 421 is configured to determine a target device for implementing the target function from the first list.
The recognition unit 422 is used for recognizing the voice information and generating a control instruction according to the recognition result.
The sending unit 423 is configured to send a control instruction to the target device.
With the embodiments of the present disclosure, since the server can clarify the situation of the online device from the first list, directly determining the target device for implementing the target function from the online device can improve the processing efficiency.
Any number of modules, sub-modules, units, sub-units, or at least part of the functionality of any number thereof according to embodiments of the present disclosure may be implemented in one module. Any one or more of the modules, sub-modules, units, and sub-units according to the embodiments of the present disclosure may be implemented by being split into a plurality of modules. Any one or more of the modules, sub-modules, units, sub-units according to embodiments of the present disclosure may be implemented at least in part as a hardware circuit, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system on a chip, a system on a substrate, a system on a package, an Application Specific Integrated Circuit (ASIC), or may be implemented in any other reasonable manner of hardware or firmware by integrating or packaging a circuit, or in any one of or a suitable combination of software, hardware, and firmware implementations. Alternatively, one or more of the modules, sub-modules, units, sub-units according to embodiments of the disclosure may be at least partially implemented as a computer program module, which when executed may perform the corresponding functions.
For example, any number of the first obtaining module 310, the second obtaining module 320 and the first sending module 330, or any number of the third obtaining module 410 and the second sending module 420 may be combined and implemented in one module/unit/sub-unit, or any one of the modules/units/sub-units may be split into multiple modules/units/sub-units. Alternatively, at least part of the functionality of one or more of these modules/units/sub-units may be combined with at least part of the functionality of other modules/units/sub-units and implemented in one module/unit/sub-unit. According to an embodiment of the present disclosure, at least one of the first obtaining module 310, the second obtaining module 320, and the first sending module 330, or at least one of the third obtaining module 410 and the second sending module 420 may be at least partially implemented as a hardware circuit, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system on a chip, a system on a substrate, a system on a package, an Application Specific Integrated Circuit (ASIC), or may be implemented by hardware or firmware in any other reasonable manner of integrating or packaging a circuit, or implemented by any one of three implementations of software, hardware, and firmware, or in a suitable combination of any of them. Alternatively, at least one of the first obtaining module 310, the second obtaining module 320 and the first sending module 330, or at least one of the third obtaining module 410 and the second sending module 420 may be at least partially implemented as a computer program module, which when executed, may perform the corresponding functions.
Fig. 10 schematically illustrates a block diagram of an acoustic enclosure suitable for implementing the above-described method according to an embodiment of the present disclosure. The sound box shown in fig. 10 is merely an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 10, the sound box 500 according to the embodiment of the present disclosure includes a processor 501, which can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)502 or a program loaded from a storage section 508 into a Random Access Memory (RAM) 503. The processor 501 may comprise, for example, a general purpose microprocessor (e.g., a CPU), an instruction set processor and/or associated chipset, and/or a special purpose microprocessor (e.g., an Application Specific Integrated Circuit (ASIC)), among others. The processor 501 may also include onboard memory for caching purposes. Processor 501 may include a single processing unit or multiple processing units for performing different actions of a method flow according to embodiments of the disclosure.
In the RAM 503, various programs and data necessary for the operation of the audio amplifier 500 are stored. The processor 501, the ROM502, and the RAM 503 are connected to each other by a bus 504. The processor 501 performs various operations in fig. 2 and 3 according to an embodiment of the present disclosure by executing programs in the ROM502 and/or the RAM 503. Note that the programs may also be stored in one or more memories other than the ROM502 and the RAM 503. The processor 501 may also perform various operations in fig. 2 and 3 according to embodiments of the present disclosure by executing programs stored in the one or more memories.
According to an embodiment of the present disclosure, the sound box 500 may further include an input/output (I/O) interface 505, the input/output (I/O) interface 505 also being connected to the bus 504. The loudspeaker 500 may also include one or more of the following components connected to the I/O interface 505: an input portion 506 including a keyboard, a mouse, and the like; an output portion 507 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage portion 508 including a hard disk and the like; and a communication section 509 including a network interface card such as a LAN card, a modem, or the like. The communication section 509 performs communication processing via a network such as the internet. The driver 510 is also connected to the I/O interface 505 as necessary. A removable medium 511 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 510 as necessary, so that a computer program read out therefrom is mounted into the storage section 508 as necessary.
According to embodiments of the present disclosure, method flows according to embodiments of the present disclosure may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable storage medium, the computer program containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 509, and/or installed from the removable medium 511. The computer program, when executed by the processor 501, performs the above-described functions defined in the loudspeaker of the embodiments of the present disclosure. The modules, units, etc. described above may be implemented by computer program modules according to embodiments of the present disclosure.
The present disclosure also provides a computer-readable storage medium that may be contained in the device/apparatus/sound box described in the above embodiments; or may be separate and not fitted into the device/apparatus/sound box. The computer-readable storage medium carries one or more programs which, when executed, implement the method according to an embodiment of the disclosure.
According to an embodiment of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium. Examples may include, but are not limited to: 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), a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution enclosure, apparatus, or device.
For example, according to embodiments of the present disclosure, a computer-readable storage medium may include ROM502 and/or RAM 503 and/or one or more memories other than ROM502 and RAM 503 described above.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Those skilled in the art will appreciate that various combinations and/or combinations of features recited in the various embodiments and/or claims of the present disclosure can be made, even if such combinations or combinations are not expressly recited in the present disclosure. In particular, various combinations and/or combinations of the features recited in the various embodiments and/or claims of the present disclosure may be made without departing from the spirit or teaching of the present disclosure. All such combinations and/or associations are within the scope of the present disclosure.
The embodiments of the present disclosure have been described above. However, these examples are for illustrative purposes only and are not intended to limit the scope of the present disclosure. Although the embodiments are described separately above, this does not mean that the measures in the embodiments cannot be used in advantageous combination. The scope of the disclosure is defined by the appended claims and equivalents thereof. Various alternatives and modifications can be devised by those skilled in the art without departing from the scope of the present disclosure, and such alternatives and modifications are intended to be within the scope of the present disclosure.

Claims (13)

1. A control method for a loudspeaker box, comprising:
acquiring voice information, wherein the voice information is used for indicating that a target function is realized;
acquiring a state list, wherein the state list comprises state information of a plurality of electronic devices, and the state information is used for representing whether the electronic devices are connected with a target network; and
and sending the state list and the voice information to a server so that the server can send a control instruction to a target device capable of realizing the target function according to the state list and the voice information, wherein the target device is one or more of the plurality of electronic devices.
2. The method of claim 1, wherein obtaining a list of statuses comprises:
acquiring a physical address of each of the plurality of electronic devices;
acquiring state information of corresponding electronic equipment according to the physical address of each piece of electronic equipment;
and generating the state list according to the acquired state information of each piece of electronic equipment.
3. The method of claim 1, wherein the status list comprises a first list including status information of electronic devices connected to the target network and a second list including status information of electronic devices not connected to the target network, and wherein sending the status list and the voice information to a server comprises:
and sending the first list and the voice information to the server.
4. A control method for a server, comprising:
acquiring voice information and a state list sent by a sound box, wherein the voice information is used for indicating the realization of a target function, the state list comprises state information of a plurality of electronic devices, and the state information is used for representing whether the electronic devices are connected with a target network or not; and
and sending a control instruction to target equipment capable of realizing the target function according to the state list and the voice information, wherein the target equipment is one or more of the plurality of electronic equipment.
5. The method of claim 4, wherein the status list comprises the first list including status information of electronic devices connected to the target network and a second list including status information of electronic devices not connected to the target network, wherein:
the voice information and the state list which are sent by the sound box are acquired, and the method comprises the following steps: acquiring voice information sent by the sound box and the first list;
sending a control instruction to a target device capable of realizing the target function according to the state list and the voice information comprises: and sending a control instruction to target equipment capable of realizing the target function according to the first list and the voice information.
6. The method of claim 5, wherein sending control instructions to a target device capable of implementing the target functionality based on the first list and the voice information comprises:
determining a target device for implementing the target function from the first list;
recognizing the voice information, and generating the control instruction according to a recognition result; and
and sending the control instruction to the target equipment.
7. A control system for an enclosure, comprising:
the device comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring voice information, and the voice information is used for indicating the realization of a target function;
the second acquisition module is used for acquiring a state list, wherein the state list comprises state information of a plurality of electronic devices, and the state information is used for representing whether the electronic devices are connected with a target network or not; and
a first sending module, configured to send the status list and the voice information to a server, so that the server can send a control instruction to a target device capable of implementing the target function according to the status list and the voice information, where the target device is one or more of the plurality of electronic devices.
8. The system of claim 7, wherein the second acquisition module comprises:
a first acquisition unit configured to acquire a physical address of each of the plurality of electronic devices;
the second acquisition unit is used for acquiring the state information of the corresponding electronic equipment according to the physical address of each electronic equipment;
and the generating unit is used for generating the state list according to the acquired state information of each piece of electronic equipment.
9. The system of claim 7, wherein the status list comprises a first list including status information of electronic devices connected to the target network and a second list including status information of electronic devices not connected to the target network, and the first sending module is configured to send the first list and the voice information to the server.
10. A control system for a server, comprising:
the third acquisition module is used for acquiring voice information and a state list sent by the sound box, wherein the voice information is used for indicating the realization of a target function, the state list comprises state information of a plurality of electronic devices, and the state information is used for representing whether the electronic devices are connected with a target network or not;
and a second sending module, configured to send a control instruction to a target device capable of implementing the target function according to the status list and the voice information, where the target device is one or more of the plurality of electronic devices.
11. The system of claim 10, wherein the status list comprises the first list including status information of electronic devices connected to the target network and a second list including status information of electronic devices not connected to the target network, wherein:
the third acquisition module is used for acquiring the voice information sent by the sound box and the first list;
and the second sending module is used for sending a control instruction to target equipment capable of realizing the target function according to the first list and the voice information.
12. The system of claim 11, wherein the second transmitting module comprises:
a determining unit, configured to determine, from the first list, a target device for implementing the target function;
the recognition unit is used for recognizing the voice information and generating the control instruction according to a recognition result; and
a sending unit, configured to send the control instruction to the target device.
13. A computer readable storage medium having stored thereon executable instructions which, when executed by a processor, cause the processor to carry out the method of any one of claims 1 to 3 or claims 4 to 6.
CN201910220017.0A 2019-03-21 2019-03-21 Sound box control method and system and server control method and system Pending CN111726383A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910220017.0A CN111726383A (en) 2019-03-21 2019-03-21 Sound box control method and system and server control method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910220017.0A CN111726383A (en) 2019-03-21 2019-03-21 Sound box control method and system and server control method and system

Publications (1)

Publication Number Publication Date
CN111726383A true CN111726383A (en) 2020-09-29

Family

ID=72562722

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910220017.0A Pending CN111726383A (en) 2019-03-21 2019-03-21 Sound box control method and system and server control method and system

Country Status (1)

Country Link
CN (1) CN111726383A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112492023A (en) * 2020-11-25 2021-03-12 青岛海尔科技有限公司 Device control method, device, storage medium, and electronic apparatus
CN115913787A (en) * 2023-02-16 2023-04-04 国网浙江省电力有限公司 File encryption and decryption transmission method suitable for electric power data

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120150775A1 (en) * 2010-12-14 2012-06-14 Electronics And Telecommunications Research Institute System for semantic home network management, cloud inference apparatus for semantic home network management, semantic home network, and semantic home network connection device
CN105913847A (en) * 2016-06-01 2016-08-31 北京灵隆科技有限公司 Voice control system, user end device, server and central control unit
CN106292321A (en) * 2016-08-30 2017-01-04 无锡小天鹅股份有限公司 Washing machine and control method thereof and control system
CN108199938A (en) * 2018-03-07 2018-06-22 佛山市云米电器科技有限公司 A kind of voice control formula intelligent sound box
CN109379261A (en) * 2018-11-30 2019-02-22 北京小米智能科技有限公司 Control method, device, system, equipment and the storage medium of smart machine

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120150775A1 (en) * 2010-12-14 2012-06-14 Electronics And Telecommunications Research Institute System for semantic home network management, cloud inference apparatus for semantic home network management, semantic home network, and semantic home network connection device
CN105913847A (en) * 2016-06-01 2016-08-31 北京灵隆科技有限公司 Voice control system, user end device, server and central control unit
CN106292321A (en) * 2016-08-30 2017-01-04 无锡小天鹅股份有限公司 Washing machine and control method thereof and control system
CN108199938A (en) * 2018-03-07 2018-06-22 佛山市云米电器科技有限公司 A kind of voice control formula intelligent sound box
CN109379261A (en) * 2018-11-30 2019-02-22 北京小米智能科技有限公司 Control method, device, system, equipment and the storage medium of smart machine

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112492023A (en) * 2020-11-25 2021-03-12 青岛海尔科技有限公司 Device control method, device, storage medium, and electronic apparatus
CN115913787A (en) * 2023-02-16 2023-04-04 国网浙江省电力有限公司 File encryption and decryption transmission method suitable for electric power data

Similar Documents

Publication Publication Date Title
CN108269567B (en) Method, apparatus, computing device, and computer-readable storage medium for generating far-field speech data
JP2019207710A (en) Interaction method between smart voice apparatuses, device, apparatus, and storage medium
US20200090654A1 (en) Medium selection for providing information corresponding to voice request
US20200168058A1 (en) Vibration Method, Electronic Device and Computer Readable Storage Medium
WO2021057448A1 (en) Information display method and apparatus
US20120317243A1 (en) Audio processing method and device for remote desktop protocol
CN111726383A (en) Sound box control method and system and server control method and system
WO2019128829A1 (en) Action execution method and apparatus, storage medium and electronic apparatus
WO2022001027A1 (en) Projection screen picture self-adaption method and apparatus in network teaching
US20170155692A1 (en) Playing method and playing device
CN110890094A (en) Voice control method of Internet of things equipment and voice server
US11339989B2 (en) Communication method and device for air conditioner, outdoor unit, indoor unit, and air conditioner
US9081912B2 (en) Method and apparatus for node hot-swapping
WO2021042584A1 (en) Full duplex voice chatting method
EP3659274B1 (en) Dynamic calibration for audio data transfer
EP2942711A2 (en) Dynamic generation of proxy connections
CN105578135A (en) Video on-demand method and device
WO2019036092A1 (en) Dynamic audio data transfer masking
US20150229700A1 (en) Protocol translation for media player device control
US20110270970A1 (en) Network device testing system and method
US20220199108A1 (en) Information processing device, information processing method, and program
US10783886B2 (en) Cognitive agent disambiguation
CN109688049B (en) Information processing method and electronic device
CN114125684B (en) Smart speaker testing method and device, electronic equipment and storage medium
JP6877487B2 (en) Equipment control device, equipment control method and equipment control program

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: 20200929