CN115388514B - Voice broadcasting method and device, air conditioner and storage medium - Google Patents

Voice broadcasting method and device, air conditioner and storage medium Download PDF

Info

Publication number
CN115388514B
CN115388514B CN202211034941.8A CN202211034941A CN115388514B CN 115388514 B CN115388514 B CN 115388514B CN 202211034941 A CN202211034941 A CN 202211034941A CN 115388514 B CN115388514 B CN 115388514B
Authority
CN
China
Prior art keywords
voice broadcasting
signal intensity
equipment
preset
exists
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.)
Active
Application number
CN202211034941.8A
Other languages
Chinese (zh)
Other versions
CN115388514A (en
Inventor
李保水
王子
梁博
郑文成
廖海霖
李俊泽
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202211034941.8A priority Critical patent/CN115388514B/en
Publication of CN115388514A publication Critical patent/CN115388514A/en
Application granted granted Critical
Publication of CN115388514B publication Critical patent/CN115388514B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/30Control or safety arrangements for purposes related to the operation of the system, e.g. for safety or monitoring
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/50Control or safety arrangements characterised by user interfaces or communication
    • F24F11/52Indication arrangements, e.g. displays
    • F24F11/526Indication arrangements, e.g. displays giving audible indications
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/50Control or safety arrangements characterised by user interfaces or communication
    • F24F11/56Remote control
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/62Control or safety arrangements characterised by the type of control or by internal processing, e.g. using fuzzy logic, adaptive control or estimation of values
    • F24F11/63Electronic processing
    • F24F11/64Electronic processing using pre-stored data
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/62Control or safety arrangements characterised by the type of control or by internal processing, e.g. using fuzzy logic, adaptive control or estimation of values
    • F24F11/63Electronic processing
    • F24F11/65Electronic processing for selecting an operating mode
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/70Control systems characterised by their outputs; Constructional details thereof
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/88Electrical aspects, e.g. circuits
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/30Monitoring; Testing of propagation channels
    • H04B17/309Measuring or estimating channel quality parameters
    • H04B17/318Received signal strength
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals

Landscapes

  • Engineering & Computer Science (AREA)
  • Chemical & Material Sciences (AREA)
  • General Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Combustion & Propulsion (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • Fuzzy Systems (AREA)
  • Mathematical Physics (AREA)
  • Human Computer Interaction (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Databases & Information Systems (AREA)
  • Electromagnetism (AREA)
  • Quality & Reliability (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The invention discloses a voice broadcasting method, a voice broadcasting device, an air conditioner and a storage medium. It relates to the technical field of air conditioners. Wherein the method comprises the following steps: if a remote control instruction sent by a remote controller is received, controlling the air conditioner to enter a working mode corresponding to the remote control instruction; the mode codes corresponding to the working modes are sent to a cloud server; receiving voice broadcasting information sent by a cloud server; searching intelligent equipment in a working environment of the air conditioner in a preset mode to obtain a plurality of signal intensity values, and determining whether voice broadcasting equipment exists in the working environment according to the plurality of signal intensity values, a preset signal intensity threshold value and a preset broadcasting equipment library; if voice broadcasting equipment exists in the working environment, voice broadcasting information is sent to the voice broadcasting equipment to carry out voice broadcasting. The invention can enable the user to monitor the working state of the air conditioner through the voice, thereby improving the intelligent degree and the user experience of the air conditioner.

Description

Voice broadcasting method and device, air conditioner and storage medium
Technical Field
The embodiment of the invention relates to the technical field of air conditioners, in particular to a voice broadcasting method and device, an air conditioner and a storage medium.
Background
The intelligent device has been favored by people, such as intelligent control devices, intelligent broadcasting of devices and the like. Some functions of the traditional air conditioner still appear to be relatively dull, the intelligent degree is not high, for example, when a user sends a remote control instruction to the air conditioner through a remote controller to control the air conditioner to enter a corresponding working mode, most of the existing air conditioner responds to the remote control instruction of the remote controller through lamplight or a buzzer, the intelligent degree is low, the working state of the air conditioner is not easy to monitor by the user, and the user experience is reduced.
Disclosure of Invention
The embodiment of the invention provides a voice broadcasting method, a voice broadcasting device, an air conditioner and a storage medium, and aims to solve the problems that the existing air conditioner is low in intelligent degree and is not easy for a user to monitor the working state of the air conditioner.
In a first aspect, an embodiment of the present invention provides a voice broadcasting method, including:
If a remote control instruction sent by a remote controller is received, controlling the air conditioner to enter a working mode corresponding to the remote control instruction;
The mode codes corresponding to the working modes are sent to a cloud server, so that the cloud server obtains voice broadcasting information corresponding to the mode codes according to the mode code inquiry;
receiving voice broadcasting information sent by the cloud server;
Searching intelligent equipment in a working environment where the air conditioner is located in a preset mode to obtain a plurality of signal intensity values, and determining whether voice broadcasting equipment exists in the working environment according to the plurality of signal intensity values, a preset signal intensity threshold value and a preset broadcasting equipment library;
and if the voice broadcasting equipment exists in the working environment, sending the voice broadcasting information to the voice broadcasting equipment for voice broadcasting.
In a second aspect, an embodiment of the present invention further provides a voice broadcasting device, including:
the control unit is used for controlling the air conditioner to enter a working mode corresponding to the remote control instruction if the remote control instruction sent by the remote controller is received;
The first sending unit is used for sending the mode code corresponding to the working mode to a cloud server so that the cloud server can inquire and acquire voice broadcasting information corresponding to the mode code according to the mode code;
the receiving unit is used for receiving the voice broadcasting information sent by the cloud server;
The determining unit is used for searching the intelligent equipment in the working environment where the air conditioner is located in a preset mode to obtain a plurality of signal intensity values, and determining whether voice broadcasting equipment exists in the working environment according to the plurality of signal intensity values, a preset signal intensity threshold value and a preset broadcasting equipment library;
and the broadcasting unit is used for sending the voice broadcasting information to the voice broadcasting equipment for voice broadcasting if the voice broadcasting equipment exists in the working environment.
In a third aspect, an embodiment of the present invention further provides an air conditioner, where the air conditioner includes a memory and a processor, where the memory stores a computer program, and the processor implements the above method when executing the computer program.
In a fourth aspect, embodiments of the present invention also provide a computer readable storage medium storing a computer program which, when executed by a processor, implements the above method.
The embodiment of the invention provides a voice broadcasting method, a voice broadcasting device, an air conditioner and a storage medium. Wherein the method comprises the following steps: if a remote control instruction sent by a remote controller is received, controlling the air conditioner to enter a working mode corresponding to the remote control instruction; the mode codes corresponding to the working modes are sent to a cloud server, so that the cloud server obtains voice broadcasting information corresponding to the mode codes according to the mode code inquiry; receiving voice broadcasting information sent by the cloud server; searching intelligent equipment in a working environment where the air conditioner is located in a preset mode to obtain a plurality of signal intensity values, and determining whether voice broadcasting equipment exists in the working environment according to the plurality of signal intensity values, a preset signal intensity threshold value and a preset broadcasting equipment library; and if the voice broadcasting equipment exists in the working environment, sending the voice broadcasting information to the voice broadcasting equipment for voice broadcasting. According to the technical scheme, whether the voice broadcasting equipment exists in the working environment where the air conditioner is located or not is determined according to the signal intensity values, the preset signal intensity threshold value and the preset broadcasting equipment library, and when the voice broadcasting equipment exists, voice broadcasting information is sent to the voice broadcasting equipment to carry out voice broadcasting, so that a user monitors the working state of the air conditioner through voice, and the intelligent degree and user experience of the air conditioner are improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic view of a scenario of a voice broadcasting method according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a voice broadcasting method according to an embodiment of the present invention;
fig. 3 is a schematic sub-flowchart of a voice broadcasting method according to an embodiment of the present invention;
Fig. 4 is a schematic block diagram of a voice broadcasting device according to an embodiment of the present invention; and
Fig. 5 is a schematic block diagram of an air conditioner according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be understood that the terms "comprises" and "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in the present specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
As used in this specification and the appended claims, the term "if" may be interpreted as "when..once" or "in response to a determination" or "in response to detection" depending on the context. Similarly, the phrase "if a determination" or "if a [ described condition or event ] is detected" may be interpreted in the context of meaning "upon determination" or "in response to determination" or "upon detection of a [ described condition or event ]" or "in response to detection of a [ described condition or event ]".
Referring to fig. 1, fig. 1 is a schematic view of a scenario of a voice broadcasting method according to an embodiment of the present invention. In fig. 1, the intelligent device comprises a remote controller, an air conditioner, a cloud server and an intelligent device, wherein the intelligent device can be a smart sound box, a smart mobile phone, a smart fan, a sweeping robot and the like; in this embodiment, the remote controller communicates with the air conditioner to send a remote control instruction to the air conditioner; the air conditioner is communicated with the cloud server, opinion pattern codes are sent to the cloud server, and voice broadcasting information sent by the cloud server is received; the air conditioner is communicated with the intelligent equipment to determine the voice broadcasting equipment in the intelligent equipment, and the voice broadcasting information is sent to the voice broadcasting equipment to broadcast, so that a user can monitor the working state of the air conditioner through voice, and the intelligent degree and the user experience of the air conditioner are improved.
Fig. 2 is a flow chart of a voice broadcasting method according to an embodiment of the present invention. The voice broadcasting method is described in detail below. As shown in fig. 2, the method includes the following steps S100 to S140.
And S100, if a remote control instruction sent by the remote controller is received, controlling the air conditioner to enter a working mode corresponding to the remote control instruction.
In the embodiment of the invention, the remote controller sends a remote control instruction to the air conditioner, wherein the remote control instruction comprises a starting instruction, a refrigerating instruction, a heating instruction, a temperature adjusting instruction, a wind gear adjusting instruction, a fresh air instruction, a sterilization instruction and the like, and the air conditioner receives the remote control instruction and controls the air conditioner to enter a working mode corresponding to the remote control instruction, for example, if the remote control instruction is the refrigerating instruction, the air conditioner enters the refrigerating mode. It should be noted that, in this embodiment, the air conditioner includes a main control module, a communication module, and a storage module, where the main control module is configured to receive the remote control instruction and identify the remote control instruction, so that the air conditioner enters a corresponding working mode; the remote controller comprises a communication module, wherein the communication modules comprise a WiFi module and a Bluetooth module, and the Bluetooth module has the characteristics of low power consumption, short-distance communication and the like.
S110, sending a mode code corresponding to the working mode to a cloud server, so that the cloud server can inquire and acquire voice broadcasting information corresponding to the mode code according to the mode code.
In the embodiment of the invention, after the air conditioner enters the corresponding working mode according to the remote control instruction, traversing a mode code mapping table according to the working mode to obtain a mode code corresponding to the working mode, wherein the working mode and the mode code are recorded in the mode code mapping table, for example, if the working mode is a refrigerating mode, the mode code is Cold; and sending the mode code to a cloud server, so that the cloud server inquires and acquires voice broadcasting information corresponding to the mode code from a voice broadcasting library according to the mode code.
S120, receiving voice broadcasting information sent by the cloud server.
In the embodiment of the invention, after the cloud server obtains the voice broadcasting information corresponding to the mode code according to the mode code inquiry, the voice broadcasting information is sent to the air conditioner in a data packet mode, and the air conditioner receives the data packet and analyzes the data packet to obtain the voice broadcasting information.
And S130, searching the intelligent equipment in the working environment of the air conditioner in a preset mode to obtain a plurality of signal intensity values, and determining whether voice broadcasting equipment exists in the working environment according to the plurality of signal intensity values, a preset signal intensity threshold value and a preset broadcasting equipment library.
In the embodiment of the invention, after the air conditioner receives the voice broadcasting information, searching the intelligent equipment in the working environment of the air conditioner in a preset mode to obtain a plurality of signal strength values, wherein the preset mode is a Bluetooth searching mode or a WiFi searching mode; and determining whether voice broadcasting equipment exists in the working environment according to the signal intensity values, the preset signal intensity threshold value and the preset playing equipment library.
In some embodiments, such as the present embodiment, the step S130 may include steps S131-S133, as shown in fig. 3.
S131, judging whether the signal intensity value is larger than a preset signal intensity threshold value or not according to each signal intensity value in the plurality of signal intensity values;
S132, if the signal intensity value is larger than the preset signal intensity threshold value, adding the signal intensity value to a signal intensity list;
s133, determining whether voice broadcasting equipment exists in the working environment according to the signal intensity list and a preset broadcasting equipment library.
In the embodiment of the present invention, assuming that the signal strength values are Rss1, rss2, rss3, rss4 and Rss5, that is, rss i=1, 2,3,4,5, a preset signal strength threshold is Rss, and determining, for each signal strength value of the signal strength values, whether the Rss i is greater than the Rss; if the Rssi is larger than the Rss, putting the Rssi into a signal strength list; determining whether voice broadcasting equipment exists in the working environment according to the signal intensity list and a preset broadcasting equipment library, specifically, if the signal intensity list is empty, indicating that all of the Rss1, the Rss2, the Rss3, the Rss4 and the Rss5 are smaller than the Rss, namely, the signal intensity values of the intelligent equipment in the working environment where the air conditioner is located are smaller than the preset signal intensity values, namely, the distance between the air conditioner and the intelligent equipment is far, and judging that no voice broadcasting equipment exists in the working environment; if the signal strength list is not empty, it indicates that values greater than Rss exist in the Rss1, rss2, rss3, rss4 and Rss5, that is, the signal strength value of the intelligent device in the working environment where the air conditioner is located is greater than the preset signal strength value, and then determining whether the voice broadcasting device exists in the working environment according to the device ID corresponding to the signal strength value in the signal strength list and a preset broadcasting device library. It should be noted that, in this embodiment, by comparing the signal intensity values with the preset signal intensity threshold, an intelligent device with weak signal intensity may be excluded, that is, an intelligent device far away from the air conditioner may be excluded, so that in the broadcasting process of the intelligent device, it is ensured that a user may clearly hear the working state of the air conditioner broadcasted by the intelligent device.
Further, if only one signal intensity value exists in the signal intensity list, acquiring the signal intensity value, judging whether an equipment ID corresponding to the signal intensity value exists in a preset playing equipment library, if the equipment ID exists in the preset playing equipment library, indicating that the intelligent equipment corresponding to the equipment ID has a voice broadcasting function, namely has a loudspeaker and is close to the air conditioner and can perform voice broadcasting, taking the intelligent equipment corresponding to the equipment ID as the voice broadcasting equipment, and judging that the voice broadcasting equipment exists in the working environment; if there are a plurality of signal strength values in the signal strength list, which indicates that at least two values greater than Rss exist in the Rss1, rss2, rss3, rss4 and Rss5, and if the values of Rss1, rss3 and Rss4 are greater than Rss, the signal strength values in the signal strength list are sorted to obtain signal strength sorting tables of Rss3, rss1 and Rss4; and determining whether the voice broadcasting equipment exists in the working environment according to the equipment ID corresponding to the signal intensity value in the signal intensity sorting table and the preset broadcasting equipment library.
Further, setting an index number, associating the index number with the largest signal strength value Rss3 in the signal strength ordered list, and setting the initial value of the index number as a preset initial value, wherein the preset initial value is 1; judging whether the equipment ID of the signal intensity value corresponding to the index number exists in the preset playing equipment library or not; if the equipment ID exists in the preset playing equipment library, indicating that the intelligent equipment closest to the air conditioner has a voice broadcasting function, taking the intelligent equipment corresponding to the equipment ID as the voice broadcasting equipment, and judging that the voice broadcasting equipment exists in the working environment; understandably, if the device ID does not exist in the preset playback device library, adding 1 to the value of the index number, where the value of the index number is 2, the signal strength value is Rss1, and returning to execute the step of determining whether the device ID corresponding to the index number exists in the preset playback device library, and so on, until the index number does not meet a preset condition, determining that the voice broadcasting device does not exist in the working environment. For easy understanding, for example, assume that the intelligent device corresponding to Rss3 is a sweeping robot, and the preset playing device library has a device ID number of the sweeping robot, and the sweeping robot is used as the voice broadcasting device; if the intelligent device corresponding to the Rss3 is assumed to be an intelligent refrigerator, the Rss1 is an intelligent mobile phone, the Rss4 is an intelligent sound box, and the device ID number of the intelligent refrigerator is not in the preset playing device library, continuing to judge whether the device ID number corresponding to the intelligent mobile phone exists in the preset playing device library, and so on until the voice broadcasting device is determined or all the device IDs of the intelligent devices corresponding to the signal intensity values in the signal intensity sorting list are judged.
Still further, the preset condition is that the index number is not greater than a preset index number, where the value of the preset index number is the number of the signal strength values in the signal strength ordered list plus 1, for example, if the number of the signal strength values in the signal strength ordered list is 3, the value of the preset index number is 4, so as to ensure that the device IDs corresponding to all the signal strength values in the signal strength ordered list are compared with the device IDs in the preset playing device library. It should be further noted that, in this embodiment, by determining whether the device ID corresponding to the signal intensity value greater than the preset signal intensity threshold exists in the preset playback device library, the intelligent device without the voice broadcasting function is eliminated, and playback of the voice broadcasting information is ensured.
And S140, if the voice broadcasting equipment exists in the working environment, sending the voice broadcasting information to the voice broadcasting equipment for voice broadcasting.
In the embodiment of the invention, if the voice broadcasting equipment exists in the working environment, the voice broadcasting information is sent to the voice broadcasting equipment, and the voice broadcasting equipment receives the voice broadcasting information to carry out voice broadcasting; understandably, if the voice broadcasting device does not exist in the working environment, a prompt message that the voice broadcasting device does not exist is sent to the remote controller, and the prompt message is displayed on a display panel of the air conditioner, so that a user can check the prompt message conveniently.
Fig. 4 is a schematic block diagram of a voice broadcast device 200 according to an embodiment of the present invention. As shown in fig. 4, the present invention further provides a voice broadcasting device 200 corresponding to the above voice broadcasting method. The voice broadcasting apparatus 200 includes a unit for performing the above-described voice broadcasting method, and the apparatus may be configured in an air conditioner. Specifically, referring to fig. 4, the voice broadcasting device 200 includes a control unit 201, a first transmitting unit 202, a receiving unit 203, a determining unit 204, and a broadcasting unit 205.
The control unit 201 is configured to control the air conditioner to enter a working mode corresponding to a remote control command if the remote control command sent by the remote controller is received; the first sending unit 202 is configured to send a mode code corresponding to the working mode to a cloud server, so that the cloud server obtains voice broadcast information corresponding to the mode code according to the mode code query; the receiving unit 203 is configured to receive voice broadcast information sent by the cloud server; the determining unit 204 is configured to search, in a preset manner, an intelligent device in a working environment where the air conditioner is located to obtain a plurality of signal strength values, and determine whether a voice broadcast device exists in the working environment according to the plurality of signal strength values, a preset signal strength threshold value and a preset playback device library; the broadcasting unit 205 is configured to send the voice broadcasting information to the voice broadcasting device for voice broadcasting if the voice broadcasting device exists in the working environment.
In some embodiments, for example, the determining unit 204 includes a first judging unit, an adding unit, and a first determining subunit.
The first judging unit is used for judging whether the signal intensity value is larger than a preset signal intensity threshold value or not according to each signal intensity value in the plurality of signal intensity values; the adding unit is used for adding the signal intensity value to a signal intensity list if the signal intensity value is larger than the preset signal intensity threshold value; the first determining subunit is configured to determine whether a voice broadcasting device exists in the working environment according to the signal strength list and a preset playing device library.
In some embodiments, for example, in this embodiment, the first determining subunit includes a first determining unit and a second determining subunit.
The first judging unit is used for judging that no voice broadcasting equipment exists in the working environment if the signal strength list is empty; and the second determining subunit is configured to determine whether the voice broadcasting device exists in the working environment according to the device ID corresponding to the signal strength value in the signal strength list and a preset playing device library if the signal strength list is not empty.
In some embodiments, for example, in this embodiment, the second determining subunit includes a second determining unit, a sorting unit, and a third determining subunit.
The second determining unit is configured to determine that the voice broadcasting device exists in the working environment by using the intelligent device corresponding to the device ID as the voice broadcasting device if only one signal intensity value exists in the signal intensity list and the device ID corresponding to the signal intensity value exists in a preset playing device library; the sorting unit is configured to sort the plurality of signal strength values in the signal strength list to obtain a signal strength sorting table if the signal strength list includes the plurality of signal strength values; the third determining subunit is configured to determine whether the voice broadcasting device exists in the working environment according to the device ID corresponding to the signal intensity value in the signal intensity sorting table and the preset playback device library.
In some embodiments, for example, in this embodiment, the third determining subunit includes an associating unit, a second determining unit, a third determining unit, and a fourth determining unit.
The association unit is used for setting an index number, associating the index number with the maximum signal strength value in the signal strength sorting list, and setting the initial value of the index number as a preset initial value; the second judging unit is configured to judge whether the device ID of the signal intensity value corresponding to the index number exists in the preset playback device library; the third determining unit is configured to determine that the voice broadcasting device exists in the working environment by using the intelligent device corresponding to the device ID as the voice broadcasting device if the device ID exists in the preset playback device library; and the fourth determining unit is configured to, if the device ID does not exist in the preset playback device library, add 1 to the value of the index number, and return to executing the step of determining whether the device ID corresponding to the index number exists in the preset playback device library until the index number does not meet a preset condition, and determine that the voice broadcasting device does not exist in the working environment.
In some embodiments, for example, the first sending unit 202 includes an obtaining unit and a sending subunit.
The acquisition unit is used for traversing a mode code mapping table according to the working mode to acquire a mode code corresponding to the working mode; the sending subunit is configured to send the mode code to a cloud server, so that the cloud server queries and obtains, from a voice broadcast library, voice broadcast information corresponding to the mode code according to the mode code.
In some embodiments, for example, the voice broadcasting device 200 further includes a second sending unit.
And the second sending unit is used for sending prompt information that the voice broadcasting equipment does not exist to the remote controller if the voice broadcasting equipment does not exist in the working environment.
The above-described voice broadcasting apparatus may be implemented in the form of a computer program that can be run on an air conditioner as shown in fig. 5.
Referring to fig. 5, fig. 5 is a schematic block diagram of an air conditioner according to an embodiment of the present invention. The air conditioner 300 is a device having a function of transmitting voice broadcast information to a voice broadcast device.
Referring to fig. 5, the air conditioner 300 includes a processor 302, a memory, and a network interface 305, which are connected through a system bus 301, wherein the memory may include a non-volatile storage medium 303 and an internal memory 304.
The non-volatile storage medium 303 may store an operating system 3031 and a computer program 3032. The computer program 3032, when executed, may cause the processor 302 to perform a voice broadcast method.
The processor 302 is used to provide computing and control capabilities to support the operation of the overall air conditioner 300.
The internal memory 304 provides an environment for the execution of a computer program 3032 in the non-volatile storage medium 303, which computer program 3032, when executed by the processor 302, causes the processor 302 to perform a voice broadcast method.
The network interface 305 is used for network communication with other devices. It will be appreciated by those skilled in the art that the structure shown in fig. 5 is merely a block diagram of a portion of the structure associated with the present invention and is not intended to limit the air conditioner 300 to which the present invention is applied, and that a particular air conditioner 300 may include more or fewer components than shown, or may combine certain components, or may have a different arrangement of components.
The processor 302 is configured to execute a computer program 3032 stored in a memory to implement any embodiment of the above-mentioned voice broadcast method.
It should be appreciated that in embodiments of the present invention, the Processor 302 may be a central processing unit (Central Processing Unit, CPU), the Processor 302 may also be other general purpose processors, digital signal processors (DIGITAL SIGNAL processors, DSPs), application SPECIFIC INTEGRATED Circuits (ASICs), off-the-shelf Programmable gate arrays (Field-Programmable GATE ARRAY, FPGA) or other Programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. Wherein the general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
Those skilled in the art will appreciate that all or part of the flow in a method embodying the above described embodiments may be accomplished by computer programs instructing the relevant hardware. The computer program may be stored in a storage medium that is a computer readable storage medium. The computer program is executed by at least one processor in the computer system to implement the flow steps of the embodiments of the method described above.
Accordingly, the present invention also provides a storage medium. The storage medium may be a computer readable storage medium. The storage medium stores a computer program. The computer program, when executed by a processor, causes the processor to perform any of the embodiments of the voice broadcast method described above.
The storage medium may be a U-disk, a removable hard disk, a Read-Only Memory (ROM), a magnetic disk, or an optical disk, or other various computer-readable storage media that can store program codes.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps described in connection with the embodiments disclosed herein may be embodied in electronic hardware, in computer software, or in a combination of the two, and that the elements and steps of the examples have been generally described in terms of function in the foregoing description to clearly illustrate the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the several embodiments provided by the present invention, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the device embodiments described above are merely illustrative. For example, the division of each unit is only one logic function division, and there may be another division manner in actual implementation. For example, multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed.
The steps in the method of the embodiment of the invention can be sequentially adjusted, combined and deleted according to actual needs. The units in the device of the embodiment of the invention can be combined, divided and deleted according to actual needs. In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The integrated unit may be stored in a storage medium if implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, the technical solution of the present invention is essentially or partly contributing to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium, comprising several instructions for causing an air conditioner to perform all or part of the steps of the method according to the embodiments of the present invention.
In the foregoing embodiments, the descriptions of the embodiments are focused on, and for those portions of one embodiment that are not described in detail, reference may be made to the related descriptions of other embodiments.
It will be apparent to those skilled in the art that various modifications and variations can be made to the present invention without departing from the spirit or scope of the invention. Thus, it is intended that the present invention also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.
While the invention has been described with reference to certain preferred embodiments, it will be understood by those skilled in the art that various changes and substitutions of equivalents may be made and equivalents will be apparent to those skilled in the art without departing from the scope of the invention. Therefore, the protection scope of the invention is subject to the protection scope of the claims.

Claims (6)

1. A voice broadcasting method, comprising:
If a remote control instruction sent by a remote controller is received, controlling the air conditioner to enter a working mode corresponding to the remote control instruction;
The mode codes corresponding to the working modes are sent to a cloud server, so that the cloud server obtains voice broadcasting information corresponding to the mode codes according to the mode code inquiry;
receiving voice broadcasting information sent by the cloud server;
Searching intelligent equipment in a working environment where the air conditioner is located in a preset mode to obtain a plurality of signal intensity values, and determining whether voice broadcasting equipment exists in the working environment according to the plurality of signal intensity values, a preset signal intensity threshold value and a preset broadcasting equipment library;
if the voice broadcasting equipment exists in the working environment, sending the voice broadcasting information to the voice broadcasting equipment for voice broadcasting;
The step of determining whether the voice broadcasting device exists in the working environment according to the plurality of signal intensity values, the preset signal intensity threshold value and the preset playing device library comprises the following steps:
Judging whether the signal intensity value is larger than a preset signal intensity threshold value or not according to each signal intensity value in the plurality of signal intensity values;
If the signal strength value is greater than the preset signal strength threshold, adding the signal strength value to a signal strength list;
determining whether voice broadcasting equipment exists in the working environment according to the signal intensity list and a preset broadcasting equipment library;
The step of determining whether the voice broadcasting equipment exists in the working environment according to the signal strength list and a preset broadcasting equipment library comprises the following steps:
if the signal strength list is empty, judging that no voice broadcasting equipment exists in the working environment;
If the signal intensity list is not empty, determining whether the voice broadcasting equipment exists in the working environment according to the equipment ID corresponding to the signal intensity value in the signal intensity list and a preset broadcasting equipment library;
The step of determining whether the voice broadcasting device exists in the working environment according to the device ID corresponding to the signal intensity value in the signal intensity list and a preset broadcasting device library comprises the following steps:
If only one signal intensity value exists in the signal intensity list and the equipment ID corresponding to the signal intensity value exists in a preset playing equipment library, the intelligent equipment corresponding to the equipment ID is used as the voice broadcasting equipment, and the voice broadcasting equipment exists in the working environment;
If a plurality of signal intensity values exist in the signal intensity list, sorting the signal intensity values in the signal intensity list to obtain a signal intensity sorting table;
Determining whether the voice broadcasting equipment exists in the working environment according to the equipment ID corresponding to the signal intensity value in the signal intensity sorting table and the preset broadcasting equipment library;
the step of determining whether the voice broadcasting device exists in the working environment according to the device ID corresponding to the signal intensity value in the signal intensity sorting table and the preset broadcasting device library includes:
Setting an index number, associating the index number with the maximum signal strength value in the signal strength sorting list, and setting the initial value of the index number as a preset initial value;
judging whether the equipment ID of the signal intensity value corresponding to the index number exists in the preset playing equipment library or not;
If the equipment ID exists in the preset playing equipment library, the intelligent equipment corresponding to the equipment ID is used as the voice broadcasting equipment, and the existence of the voice broadcasting equipment in the working environment is judged;
And if the equipment ID does not exist in the preset playing equipment library, adding 1 to the value of the index number, and returning to the step of executing the judgment of whether the equipment ID corresponding to the index number exists in the preset playing equipment library until the index number does not meet the preset condition, and judging that the voice broadcasting equipment does not exist in the working environment.
2. The method of claim 1, wherein the step of sending the mode code corresponding to the operation mode to a cloud server, so that the cloud server obtains the voice broadcast information corresponding to the mode code according to the mode code query includes:
Traversing a mode code mapping table according to the working mode to obtain a mode code corresponding to the working mode;
And sending the mode code to a cloud server, so that the cloud server inquires and acquires voice broadcasting information corresponding to the mode code from a voice broadcasting library according to the mode code.
3. The method according to claim 1, wherein the method further comprises:
and if the voice broadcasting equipment does not exist in the working environment, sending prompt information that the voice broadcasting equipment does not exist to the remote controller.
4. A voice broadcasting device, comprising:
the control unit is used for controlling the air conditioner to enter a working mode corresponding to the remote control instruction if the remote control instruction sent by the remote controller is received;
The first sending unit is used for sending the mode code corresponding to the working mode to a cloud server so that the cloud server can inquire and acquire voice broadcasting information corresponding to the mode code according to the mode code;
the receiving unit is used for receiving the voice broadcasting information sent by the cloud server;
The determining unit is used for searching the intelligent equipment in the working environment where the air conditioner is located in a preset mode to obtain a plurality of signal intensity values, and determining whether voice broadcasting equipment exists in the working environment according to the plurality of signal intensity values, a preset signal intensity threshold value and a preset broadcasting equipment library;
The broadcasting unit is used for sending the voice broadcasting information to the voice broadcasting equipment for voice broadcasting if the voice broadcasting equipment exists in the working environment;
wherein the determining unit includes:
a first judging unit, configured to judge, for each of the plurality of signal strength values, whether the signal strength value is greater than a preset signal strength threshold;
The adding unit is used for adding the signal intensity value to a signal intensity list if the signal intensity value is larger than the preset signal intensity threshold value;
The first determining subunit is used for determining whether voice broadcasting equipment exists in the working environment according to the signal intensity list and a preset playing equipment library;
the first determination subunit includes:
the first judging unit is used for judging that the voice broadcasting equipment does not exist in the working environment if the signal strength list is empty;
a second determining subunit, configured to determine whether the voice broadcasting device exists in the working environment according to a device ID corresponding to the signal strength value in the signal strength list and a preset playback device library if the signal strength list is not empty;
The second determination subunit includes:
The second judging unit is used for judging that the voice broadcasting equipment exists in the working environment by taking the intelligent equipment corresponding to the equipment ID as the voice broadcasting equipment if only one signal intensity value exists in the signal intensity list and the equipment ID corresponding to the signal intensity value exists in a preset broadcasting equipment library;
A sorting unit, configured to sort the plurality of signal strength values in the signal strength list to obtain a signal strength sorting table if the signal strength list includes the plurality of signal strength values;
A third determining subunit, configured to determine whether the voice broadcasting device exists in the working environment according to the device ID corresponding to the signal strength value in the signal strength sorting table and the preset playback device library;
The third determination subunit includes:
The association unit is used for setting an index number, associating the index number with the maximum signal strength value in the signal strength sorting list, and setting the initial value of the index number as a preset initial value;
A second judging unit, configured to judge whether the device ID of the signal intensity value corresponding to the index number exists in the preset playback device library;
a third determining unit, configured to determine that the voice broadcasting device exists in the working environment by using the intelligent device corresponding to the device ID as the voice broadcasting device if the device ID exists in the preset playback device library;
And a fourth determining unit, configured to add 1 to the value of the index number if the device ID does not exist in the preset playback device library, and return to executing the step of determining whether the device ID corresponding to the index number exists in the preset playback device library until the index number does not meet a preset condition, and determine that the voice broadcasting device does not exist in the working environment.
5. An air conditioner comprising a memory and a processor, the memory having a computer program stored thereon, the processor implementing the method of any of claims 1-3 when executing the computer program.
6. A computer readable storage medium, characterized in that the storage medium stores a computer program which, when executed by a processor, implements the method according to any of claims 1-3.
CN202211034941.8A 2022-08-26 2022-08-26 Voice broadcasting method and device, air conditioner and storage medium Active CN115388514B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211034941.8A CN115388514B (en) 2022-08-26 2022-08-26 Voice broadcasting method and device, air conditioner and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211034941.8A CN115388514B (en) 2022-08-26 2022-08-26 Voice broadcasting method and device, air conditioner and storage medium

Publications (2)

Publication Number Publication Date
CN115388514A CN115388514A (en) 2022-11-25
CN115388514B true CN115388514B (en) 2024-06-25

Family

ID=84123264

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211034941.8A Active CN115388514B (en) 2022-08-26 2022-08-26 Voice broadcasting method and device, air conditioner and storage medium

Country Status (1)

Country Link
CN (1) CN115388514B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104007729A (en) * 2014-05-22 2014-08-27 美的集团股份有限公司 Broadcast control method and broadcast control device
CN110956963A (en) * 2019-11-20 2020-04-03 歌尔股份有限公司 Interaction method realized based on wearable device and wearable device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6282516B2 (en) * 2014-04-08 2018-02-21 パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカPanasonic Intellectual Property Corporation of America Multi-device voice operation system, voice operation method, and program
KR102528466B1 (en) * 2017-12-19 2023-05-03 삼성전자주식회사 Method for processing speech signal of plurality of speakers and electric apparatus thereof

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104007729A (en) * 2014-05-22 2014-08-27 美的集团股份有限公司 Broadcast control method and broadcast control device
CN110956963A (en) * 2019-11-20 2020-04-03 歌尔股份有限公司 Interaction method realized based on wearable device and wearable device

Also Published As

Publication number Publication date
CN115388514A (en) 2022-11-25

Similar Documents

Publication Publication Date Title
CN107101326B (en) Method and system for controlling intelligent air conditioner based on mobile terminal and mobile terminal
CN109450747B (en) Method and device for awakening smart home equipment and computer storage medium
WO2014048317A1 (en) Control method and system for air conditioning
CN108981072B (en) Environmental comfort push method
CN108375168B (en) Method for adjusting air conditioning equipment
US10681200B2 (en) Message processing method and system, and related device
CN111442459A (en) Control method of air conditioner, storage medium and air conditioner
JP4871331B2 (en) System and method for promoting eco activities
CN105627510A (en) Wearable equipment-based air conditioner energy saving control method and air conditioner
CN110555981B (en) Response method and device, search method and device, remote controller, terminal and medium
CN114120996A (en) Voice interaction method and device
CN115202228A (en) Control method and device of intelligent household electrical appliance, remote controller and storage medium
CN115388514B (en) Voice broadcasting method and device, air conditioner and storage medium
CN112600897B (en) Multi-user access control method and device for intelligent equipment
CN109214497A (en) Demographic method and device, intelligent home equipment control method and device, air-conditioning
CN110753308B (en) Positioning device and method for positioning device
WO2023231894A1 (en) Wake-up method, apparatus and system based on collaborative error correction, and medium and device
CN114353255B (en) Air conditioner control method and device, air conditioner and readable storage medium
CN111629389A (en) Method, device and storage medium for improving wireless performance of network equipment
CN108836265B (en) Sleep state detection method, household appliance and computer readable storage medium
CN115560520A (en) Temperature control method, device and equipment, electronic equipment and readable storage medium
CN113915912A (en) Refrigerator and refrigerator noise reduction method
CN113864995A (en) Air conditioner control processing method and device, air conditioner, server and system
US8744358B2 (en) Portable communication terminal
CN112015090A (en) Electronic equipment control method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant