Nothing Special   »   [go: up one dir, main page]

CN108600559B - Control method and device of mute mode, storage medium and electronic equipment - Google Patents

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

Info

Publication number
CN108600559B
CN108600559B CN201810805444.0A CN201810805444A CN108600559B CN 108600559 B CN108600559 B CN 108600559B CN 201810805444 A CN201810805444 A CN 201810805444A CN 108600559 B CN108600559 B CN 108600559B
Authority
CN
China
Prior art keywords
information
preset
electronic device
mute
electronic equipment
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.)
Expired - Fee Related
Application number
CN201810805444.0A
Other languages
Chinese (zh)
Other versions
CN108600559A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810805444.0A priority Critical patent/CN108600559B/en
Publication of CN108600559A publication Critical patent/CN108600559A/en
Application granted granted Critical
Publication of CN108600559B publication Critical patent/CN108600559B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72457User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to geographic location
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • H04M1/72415User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories for remote control of appliances
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/74Details of telephonic subscriber devices with voice recognition means

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Telephonic Communication Services (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the application discloses a control method and device of a silent mode, a storage medium and electronic equipment, wherein the embodiment of the application acquires position information of a plurality of second electronic equipment; determining second electronic equipment with the position information matched with the preset position information as target electronic equipment; detecting voice information of a user; and when the voice information is judged to be matched with the preset voice information, sending a mute instruction to the target electronic equipment so that the target electronic equipment enters a mute mode according to the mute instruction. Therefore, the second electronic equipment in the preset position is determined as the target electronic equipment, after the voice information is verified, the mute instruction is directly sent to the target electronic equipment, the target electronic equipment is uniformly set to be in the mute mode, and the control efficiency of the mute mode of the electronic equipment is improved.

Description

Control method and device of mute mode, storage medium and electronic equipment
Technical Field
The present application relates to the field of electronic devices, and in particular, to a method and an apparatus for controlling a mute mode, a storage medium, and an electronic device.
Background
With the continuous development of electronic technology, electronic devices such as mobile phones have increasingly powerful functions, users can easily realize a plurality of functions such as electronic shopping and entertainment through mobile phones, and mobile phones have become essential tools for people going out, so that the dependence of users on mobile phones is also increasingly strong.
At present, a user often needs to set a mobile phone to be in a mute state when a meeting is carried out, so as to avoid interference on the meeting. Because the user needs to manually adjust the working state of the mobile phone, and the number of conference members is large, the situation that the conference members forget to set the mobile phone to be silent can easily occur, and inconvenience is brought to the conference.
Disclosure of Invention
The embodiment of the application provides a control method and device of a mute mode, a storage medium and an electronic device, which can improve the control efficiency of the mute mode of the electronic device.
In a first aspect, an embodiment of the present application provides a method for controlling a mute mode, where the method is applied to a first electronic device, where the first electronic device is connected to a plurality of second electronic devices, and the method includes:
acquiring position information of the plurality of second electronic devices;
determining second electronic equipment with the position information matched with the preset position information as target electronic equipment;
detecting voice information of a user;
and when the voice information is judged to be matched with the preset voice information, sending a mute instruction to the target electronic equipment so that the target electronic equipment enters a mute mode according to the mute instruction.
In a second aspect, an embodiment of the present application provides a control device for a mute mode, which is applied to a first electronic device, where a plurality of second electronic devices are connected to the first electronic device, and the control device includes:
an acquisition unit configured to acquire position information of the plurality of second electronic devices;
the determining unit is used for determining the second electronic equipment with the position information matched with the preset position information as target electronic equipment;
the detection unit is used for detecting voice information of a user;
and the sending unit is used for sending a mute instruction to the target electronic equipment when the voice information is judged to be matched with the preset voice information, so that the target electronic equipment enters a mute mode according to the mute instruction.
In a third aspect, a storage medium is provided in an embodiment of the present application, and has a computer program stored thereon, where the computer program is enabled to execute a control method for a mute mode according to any embodiment of the present application when the computer program runs on a computer.
In a fourth aspect, an electronic device provided in an embodiment of the present application includes a processor and a memory, where the memory has a computer program, and the processor is configured to execute the control method for the silent mode provided in any embodiment of the present application by calling the computer program.
The method includes the steps that position information of a plurality of second electronic devices is obtained; determining second electronic equipment with the position information matched with the preset position information as target electronic equipment; detecting voice information of a user; and when the voice information is judged to be matched with the preset voice information, sending a mute instruction to the target electronic equipment so that the target electronic equipment enters a mute mode according to the mute instruction. Therefore, the second electronic equipment in the preset position is determined as the target electronic equipment, after the voice information is verified, the mute instruction is directly sent to the target electronic equipment, the target electronic equipment is uniformly set to be in the mute mode, and the control efficiency of the mute mode of the electronic equipment is improved.
Drawings
The technical solution and other advantages of the present application will become apparent from the detailed description of the embodiments of the present application with reference to the accompanying drawings.
Fig. 1 is a schematic application environment of speech detection provided in an embodiment of the present application.
Fig. 2 is a flowchart illustrating a method for controlling a mute mode according to an embodiment of the present application.
Fig. 3 is another flowchart illustrating a method for controlling a mute mode according to an embodiment of the present application.
Fig. 4 is a block diagram illustrating a control device for a mute mode according to an embodiment of the present disclosure.
Fig. 5 is a schematic block diagram of a control device for a mute mode according to an embodiment of the present disclosure.
Fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Fig. 7 is another schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
Referring to the drawings, wherein like reference numbers refer to like elements, the principles of the present application are illustrated as being implemented in a suitable computing environment. The following description is based on illustrated embodiments of the application and should not be taken as limiting the application with respect to other embodiments that are not detailed herein.
The term "module" as used herein may be considered a software object executing on the computing system. The various components, modules, engines, and services described herein may be viewed as objects implemented on the computing system. The apparatus and method described herein are preferably implemented in software, but may also be implemented in hardware, and are within the scope of the present application.
The following is a detailed description of the analysis.
In the present embodiment, the control device of the mute mode will be described in terms of the control device of the mute mode, and the control device of the mute mode may be specifically integrated in an electronic device, such as a mobile phone, a tablet computer, a Personal Digital Assistant (PDA), and the like.
Referring to fig. 1, fig. 1 is a schematic view of an application environment of voice detection according to an embodiment of the present invention. The application environment includes a user 11, a first electronic device 12 and a plurality of second electronic devices 13, where the plurality of second electronic devices 13 may be connected to the first electronic device 11 through a wired network, a wireless network, bluetooth or an infrared manner, so as to receive an instruction sent by the first electronic device 11.
The first electronic device 12 at least comprises a Microphone for detecting the voice of the user 11, wherein the Microphone, known as a Microphone, is an energy conversion device for converting a voice signal into an electric signal, and is translated by the english word "Microphone". Also known as a microphone or a microphone, the first electronic device 12 may be a mobile phone, a tablet computer, a palm computer, etc.
Further, when the first electronic device 12 is in a voice wake-up state, the user 11 makes a specific sound, such as "little europe enters a conference mode" or the like, the first electronic device 12 performs voice detection 121 through a microphone to obtain the specific sound of the user, converts the specific sound into an electrical signal, and performs noise suppression 122 on the electrical signal, where the noise suppression is to eliminate, weaken, or suppress random variation interference in an image. And performing feature extraction 123 on the electric signal subjected to the noise suppression 122, wherein the feature extraction 123 specifically refers to voiceprint feature extraction, and since the voiceprint feature has characteristics of specificity and relative stability. After the adult, the voice of the human can be kept relatively stable and unchanged for a long time. Experiments prove that whether a speaker intentionally imitates the voice and tone of other people or speaks with whisper and whisper, even if the imitation is vivid, the voiceprint characteristics are different all the time. Therefore, voiceprint matching 124 is performed on the extracted voiceprint features and preset voiceprint features to obtain corresponding similarity 125, when the similarity 125 is larger than a certain threshold, voiceprint feature verification is passed, the first electronic device 12 extracts keyword information in the electric signal after noise suppression 122, and when the keyword information "small ohm conference entering mode" is matched with the preset keyword information "conference mode", the first electronic device 12 sends a mute instruction to the plurality of second electronic devices 13, so that the plurality of second electronic devices 13 uniformly enter the mute mode according to the mute instruction.
The embodiment of the present application provides a method for controlling a mute mode, which can be applied to the above-mentioned first electronic device, where the first electronic device is connected to a plurality of second electronic devices. As shown in fig. 2, the method for controlling the mute mode may include the following steps:
in step S101, position information of a plurality of second electronic devices is acquired.
The plurality of second electronic devices may send the location information to the first electronic device at regular time, for example, send the current location information to the first electronic device every 10 seconds, and the first electronic device may cache the location information in a preset space of the first electronic device when receiving the location information of the second electronic device.
Furthermore, the first electronic device can quickly acquire the position information of the plurality of second electronic devices by accessing the preset space.
In an embodiment, when the second electronic device sends the location information to the first electronic device, the Identification information of the second electronic device may be additionally sent, where the Identification information may be an International Mobile Equipment Identity (IMEI) or a Subscriber Identity Module (SIM) number of the second electronic device, so that the first electronic device may identify and distinguish the second electronic device according to the Identification information.
In step S102, a second electronic device whose position information matches the preset position information is determined as a target electronic device.
The first electronic device compares the acquired position information of the plurality of second electronic devices with preset position information respectively, the preset position information may be meeting room position range information, examination room position range information or exhibition room position range information, and the like, the first electronic device determines the second electronic device of which the position information is located in the preset position information as a target electronic device, and the second electronic device of which the position information is not located in the preset position information is a non-target electronic device.
In some embodiments, the determining the second electronic device whose location information matches the preset location information as the target electronic device may include:
(1) acquiring preset position information;
(2) calculating the distance difference between the position information and the preset position information;
(3) and determining the second electronic equipment with the distance difference smaller than the preset distance threshold value as the target electronic equipment.
The preset position information may be a positioning point, such as a center point of a conference room, a center point of a classroom, or a center point of an exhibition room, and a preset distance threshold is set as a radius range, and a circle with the preset position information as the center point and the preset distance threshold as the radius is defined as the whole preset range.
Further, a distance difference between each piece of location information and the preset location information is calculated, and the distance difference is smaller than a preset distance threshold, that is, the second electronic device in the circle is determined as the target electronic device.
In step S103, voice information of the user is detected.
The first electronic device detects voice information of a user through a microphone according to a preset frequency, such as 50 milliseconds, the user can make a specific sound to the microphone, such as 'enter a mute mode in a small europe' and the like, the microphone collects the specific sound, converts the specific sound into an electric signal, performs noise reduction processing, and determines the electric signal after the noise reduction processing as the voice information.
In step S104, when it is determined that the voice information matches the preset voice information, a mute instruction is sent to the target electronic device.
The condition that the voice information and the preset voice information are matched to pass can be two: the first step is to extract the voiceprint features in the voice information, carry out voiceprint matching on the voiceprint features and preset voiceprint features, and when the similarity is larger than a certain threshold value, the voiceprint verification is passed.
Further, after the first condition is verified, extracting keyword information in the voice information, and when the keyword information is matched with the preset keyword information, if the keyword information 'Xiao Euro enter mute mode' includes the preset keyword information 'mute mode', the keyword information is matched with the preset keyword information. And when the two conditions are verified, judging that the voice information is matched with the preset voice information, executing the operation of sending a mute instruction to the target electronic equipment, and executing the operation of entering a mute mode after the target electronic equipment receives the mute instruction.
In some embodiments, before sending the mute instruction to the target electronic device, determining whether the voice information matches the preset voice information, and when it is determined that the voice information matches the preset voice information, indicating that the voice verification is passed, executing step S104. And when the voice information is judged not to be matched with the preset voice information, the voice verification is not passed, and the step S103 is returned to be executed.
In some embodiments, the step of sending the mute instruction to the target electronic device may include:
(1) acquiring identification information of target electronic equipment;
(2) acquiring authority information corresponding to the target electronic equipment according to the identification information;
(3) and selecting a corresponding mute instruction according to the permission information, and sending the mute instruction to the target electronic equipment.
The mute mode can be a mute mode with vibration and a mute mode without vibration, so that corresponding authority information can be set for each second electronic device, the authority information can be two, namely first authority information and second authority information, the first authority information can correspond to the mute mode with vibration, and the second authority information can correspond to the mute mode without vibration. If in the examination room environment, the invigilator teacher needs to communicate with other invigilators, and the examinee does not need to communicate with other people, so that first permission information can be set for the second electronic equipment of the invigilator teacher, the first permission information corresponds to a mute instruction with vibration, second permission information is set for the second electronic equipment of the student, and the second permission information corresponds to a mute instruction without vibration.
Therefore, the identification information (such as IMEI) of each target electronic device can be acquired, the identification information is matched with the database, the authority information corresponding to each target electronic device is acquired, the corresponding mute instruction, namely the mute instruction with vibration and the mute instruction without vibration, is selected according to the authority information, and the corresponding mute instruction is sent to the specified target electronic device.
As can be seen from the above, in the control method of the mute mode provided by this embodiment, the position information of the plurality of second electronic devices is obtained; determining second electronic equipment with the position information matched with the preset position information as target electronic equipment; detecting voice information of a user; and when the voice information is judged to be matched with the preset voice information, sending a mute instruction to the target electronic equipment so that the target electronic equipment enters a mute mode according to the mute instruction. Therefore, the second electronic equipment in the preset position is determined as the target electronic equipment, after the voice information is verified, the mute instruction is directly sent to the target electronic equipment, the target electronic equipment is uniformly set to be in the mute mode, and the control efficiency of the mute mode of the electronic equipment is improved.
The method described in the above embodiments is further illustrated in detail by way of example.
Referring to fig. 3, fig. 3 is another schematic flow chart of a method for controlling a mute mode according to an embodiment of the present application.
Specifically, the method comprises the following steps:
in step S201, location information of a plurality of second electronic devices is acquired.
The plurality of second electronic devices may send current location information to the first electronic device at intervals of 12 seconds, and the first electronic device may cache the location information in a preset folder of the first electronic device when receiving the location information of the second electronic device.
Furthermore, the first electronic device can access the preset folder, and the position information of the second electronic devices can be quickly retrieved.
In step S202, preset position information is obtained, and a distance difference between the position information and the preset position information is calculated.
The preset position information may be a positioning point of a set position, and for example, if the preset position information is a central point of a certain conference room, a preset distance threshold may be set for the central point of the conference room, and the preset distance threshold may be understood as a radius value, for example, 5 meters, then a circle with the central point of the conference room as a center of the circle and a circle with a radius value within 5 meters is a conference room range.
Further, the distance difference between the position information of each second electronic device and the center point of the conference room can be calculated respectively.
In step S203, the second electronic device whose distance difference is smaller than the preset distance threshold is determined as the target electronic device.
And determining the second electronic equipment with the distance difference smaller than the radius value by 5 meters as target electronic equipment, namely determining the second electronic equipment within the range of the meeting room as the target electronic equipment, and determining the second electronic equipment not within the range of the meeting room as non-target electronic equipment.
In step S204, voice information of the user is detected.
The microphone can collect specific sound of a user according to a frequency of 60 milliseconds, such as 'enter a conference mode in small europe', and the like, and the microphone can collect the specific sound, convert the specific sound into an electric signal, perform noise reduction processing, and determine the electric signal after the noise reduction processing as voice information.
In step S205, the voice information is analyzed to extract keyword information in the voice information.
The first electronic device analyzes the voice information and extracts keyword information 'Xiao Euro enter conference mode' from the voice information.
In step S206, it is determined whether the keyword information matches the preset keyword information.
The preset keyword information is a basic condition for passing verification, and may be a "conference mode", and when the keyword information extracted from the voice information includes the preset keyword information, the step S207 is executed for the keyword information and the preset keyword information being successfully matched. And when the keyword information extracted from the voice information does not contain the preset keyword information, returning to execute the step S204 to continuously detect the voice information of the user if the keyword information is unsuccessfully matched with the preset keyword information.
In step S207, identification information of the target electronic device is acquired.
When the keyword information is judged to be matched with the preset keyword information, if the keyword information 'Xiao Europe conference mode entering' includes the preset keyword information 'conference mode', the voice verification is passed, the identification information of the target electronic equipment is obtained, the identification information is used as the user identity identification card number, and the target electronic equipment is three, namely, the first target electronic equipment, the second electronic equipment and the third electronic equipment are used as examples for explanation. The user identification card number '133' of the first target electronic device, the user identification card number '134' of the second target electronic device and the user identification card number '135' of the third target electronic device are obtained.
In step S208, the authority information corresponding to the target electronic device is obtained according to the identification information.
The authority information comprises first authority information and second authority information, the first authority information corresponds to a mute mode with vibration, and the second authority information corresponds to a mute mode without vibration. In a conference room, a boss may be set as first authority information and an employee may be set as second authority information. The user identification card number '133' of the first target electronic equipment is a boss identity, so that first permission information is correspondingly obtained, the user identification card number '134' of the second target electronic equipment is an employee identity, so that second permission information is correspondingly obtained, and the user identification card number '135' of the third target electronic equipment is an employee identity, so that second permission information is correspondingly obtained.
In step S209, a corresponding mute instruction is selected according to the authority information, and the mute instruction is sent to the target electronic device.
The first authority information corresponds to a mute instruction with vibration, the second authority information corresponds to a mute instruction without vibration, namely the mute instruction with vibration is selected according to the first authority information of the first target electronic equipment, and the mute instruction with vibration is sent to the first target electronic equipment. And selecting a mute instruction without vibration according to the second authority information of the second target electronic equipment, and sending the mute instruction without vibration to the second target electronic equipment. And selecting a mute instruction without vibration according to the second authority information of the third target electronic equipment, and sending the mute instruction without vibration to the third target electronic equipment, so that the first target electronic equipment enters the mute instruction with vibration, the second target electronic equipment enters the mute instruction without vibration, and the third target electronic equipment enters the mute instruction without vibration.
In step S210, when it is detected that the distance between the position information of the target electronic device and the preset position information is not less than the preset distance threshold, a cancel instruction is sent to the target electronic device.
When the position information of the first target electronic device, the second target electronic device or the third target electronic device is detected not to be in the meeting room range, a cancel instruction is sent to the target electronic device not in the meeting room range, so that the target electronic device not in the meeting room range cancels the mute mode according to the cancel instruction.
As can be seen from the above, in the method for controlling a mute mode provided in this embodiment, position information of a plurality of second electronic devices is obtained, the second electronic device whose distance difference between the position information and preset position information is smaller than a preset distance threshold is determined as a target electronic device, voice information of a user is detected, the voice information is analyzed, keyword information in the voice information is extracted, when it is determined that the keyword information matches the preset keyword information, corresponding authority information is obtained according to identification information of the target electronic device, and a mute instruction corresponding to the authority information is sent to the target electronic device, so that the target electronic device enters a corresponding mute mode according to the corresponding mute instruction. Therefore, the second electronic equipment in the preset position is determined as the target electronic equipment, after the voice information is verified, the mute instruction is directly sent to the target electronic equipment, the target electronic equipment is uniformly set to be in the mute mode, and the control efficiency of the mute mode of the electronic equipment is improved.
In order to better implement the method for controlling the mute mode provided in the embodiments of the present application, an embodiment of the present application further provides a device based on the method for controlling the mute mode. The terms are the same as those in the above-described mute mode control method, and details of implementation may refer to the description in the method embodiment.
Referring to fig. 4, fig. 4 is a block diagram illustrating a control device for a mute mode according to an embodiment of the present disclosure. Specifically, the mute mode control device 300 includes: an acquisition unit 31, a determination unit 32, a detection unit 33, and a transmission unit 34.
An obtaining unit 31, configured to obtain location information of the plurality of second electronic devices.
The plurality of second electronic devices may send the location information to the first electronic device at regular time, for example, send the current location information to the first electronic device every 10 seconds, and the first electronic device may cache the location information in a preset space of the first electronic device when receiving the location information of the second electronic device.
Further, the acquiring unit 31 may quickly acquire the location information of the plurality of second electronic devices by accessing the preset space.
A determining unit 32, configured to determine a second electronic device whose position information matches the preset position information as a target electronic device.
The determining unit 32 compares the acquired location information of the plurality of second electronic devices with preset location information, where the preset location information may be meeting room location range information, examination room location range information, or exhibition room location range information, and the determining unit 32 determines the second electronic device whose location information is located in the preset location information as a target electronic device, and the second electronic device whose location information is not located in the preset location information is a non-target electronic device.
A detecting unit 33 for detecting voice information of the user.
The detecting unit 33 detects the voice information of the user through the microphone according to a preset frequency, such as 50 milliseconds, the user can make a specific sound to the microphone, such as "enter a mute mode in a small europe" and the like, the microphone collects the specific sound, converts the specific sound into an electrical signal, performs noise reduction processing, and determines the electrical signal after the noise reduction processing as the voice information.
And a sending unit 34, configured to send a mute instruction to the target electronic device when it is determined that the voice information matches preset voice information, so that the target electronic device enters a mute mode according to the mute instruction.
The condition that the voice information and the preset voice information are matched to pass can be two: first, the sending unit 34 extracts the voiceprint feature in the voice message, performs voiceprint matching on the voiceprint feature and the preset voiceprint feature, and if the similarity is greater than a certain threshold, it is that the voiceprint verification is passed.
Further, after the first condition is verified, the sending unit 34 extracts the keyword information in the voice information, and when the keyword information matches the preset keyword information, if the keyword information "enter silent mode in kou" includes the preset keyword information "silent mode", that is, the keyword information matches the preset keyword information. When both conditions are verified, the sending unit 34 determines that the voice information matches the preset voice information, and executes an operation of sending a mute instruction to the target electronic device, and when the target electronic device receives the mute instruction, executes an operation of entering a mute mode.
Referring to fig. 5, fig. 5 is a schematic block diagram of a mute mode control apparatus according to an embodiment of the present application, where the mute mode control apparatus 300 further includes:
the sending unit 34 may include a first obtaining subunit 341, a second obtaining subunit 342, and a selecting unit 343.
Further, the first obtaining subunit 341 is configured to obtain the identification information of the target electronic device. The second obtaining subunit 342 is configured to obtain, according to the identification information, authority information corresponding to the target electronic device. The selecting unit 343 is configured to select a corresponding mute instruction according to the permission information, and send the mute instruction to the target electronic device.
And a judging unit 35, configured to judge whether the voice information matches with preset voice information.
The determining unit 35 is specifically configured to analyze the voice information to extract keyword information in the voice information; judging whether the keyword information is matched with preset keyword information; when the keyword information is judged to be matched with the preset keyword information, judging that the voice information is matched with the preset voice information; and when the keyword information is judged not to be matched with the preset keyword information, judging that the voice information is not matched with the preset voice information.
As can be seen from the above, in the control device of the mute mode provided in this embodiment, the obtaining unit 31 obtains the location information of the plurality of second electronic devices; the determination unit 32 determines the second electronic device whose position information matches the preset position information as the target electronic device; the detection unit 33 detects voice information of the user; when it is determined that the voice information matches the preset voice information, the sending unit 34 sends a mute instruction to the target electronic device, so that the target electronic device enters a mute mode according to the mute instruction. Therefore, the second electronic equipment in the preset position is determined as the target electronic equipment, after the voice information is verified, the mute instruction is directly sent to the target electronic equipment, the target electronic equipment is uniformly set to be in the mute mode, and the control efficiency of the mute mode of the electronic equipment is improved.
The embodiment of the application also provides the electronic equipment. Referring to fig. 6, an electronic device 500 includes a processor 501 and a memory 502. The processor 501 is electrically connected to the memory 502.
The processor 500 is a control center of the electronic device 500, connects various parts of the whole electronic device using various interfaces and lines, performs various functions of the electronic device 500 by running or loading a computer program stored in the memory 502, and calls data stored in the memory 502, and processes the data, thereby performing overall monitoring of the electronic device 500.
The memory 502 may be used to store software programs and modules, and the processor 501 executes various functional applications and data processing by running the computer programs and modules stored in the memory 502. The memory 502 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, a computer program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data created according to use of the electronic device, and the like. Further, the memory 502 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 502 may also include a memory controller to provide the processor 501 with access to the memory 502.
In this embodiment, the processor 501 in the electronic device 500 loads instructions corresponding to one or more processes of the computer program into the memory 502, and the processor 501 runs the computer program stored in the memory 502, so as to implement various functions as follows:
acquiring position information of the plurality of second electronic devices;
determining second electronic equipment with the position information matched with the preset position information as target electronic equipment;
detecting voice information of a user;
and when the voice information is judged to be matched with the preset voice information, sending a mute instruction to the target electronic equipment so that the target electronic equipment enters a mute mode according to the mute instruction.
In some embodiments, when sending the mute instruction to the target electronic device, the processor 501 may specifically perform the following steps:
acquiring identification information of target electronic equipment;
acquiring authority information corresponding to the target electronic equipment according to the identification information;
and selecting a corresponding mute instruction according to the permission information, and sending the mute instruction to the target electronic equipment.
In some embodiments, before sending the mute instruction to the target electronic device, the processor 501 may specifically perform the following steps:
judging whether the voice information is matched with preset voice information or not;
the step of judging whether the voice message is matched with the preset voice message includes:
analyzing the voice information to extract keyword information in the voice information;
judging whether the keyword information is matched with preset keyword information;
when the keyword information is judged to be matched with the preset keyword information, judging that the voice information is matched with the preset voice information;
and when the keyword information is judged not to be matched with the preset keyword information, judging that the voice information is not matched with the preset voice information.
In some embodiments, when the second electronic device whose position information matches the preset position information is determined as the target electronic device, the processor 501 may specifically perform the following steps:
acquiring preset position information;
calculating the distance difference between the position information and the preset position information;
and determining the second electronic equipment with the distance difference smaller than the preset distance threshold value as the target electronic equipment.
In some embodiments, after sending the mute instruction to the target electronic device, the processor 501 may further specifically perform the following steps:
when the fact that the distance difference between the position information of the target electronic equipment and the preset position information is not smaller than a preset distance threshold value is detected, a cancel instruction is sent to the target electronic equipment, and the target electronic equipment cancels the mute mode according to the cancel instruction.
As can be seen from the above, in the electronic device according to the embodiment of the present application, the position information of the plurality of second electronic devices is obtained; determining second electronic equipment with the position information matched with the preset position information as target electronic equipment; detecting voice information of a user; and when the voice information is judged to be matched with the preset voice information, sending a mute instruction to the target electronic equipment so that the target electronic equipment enters a mute mode according to the mute instruction. Therefore, the second electronic equipment in the preset position is determined as the target electronic equipment, after the voice information is verified, the mute instruction is directly sent to the target electronic equipment, the target electronic equipment is uniformly set to be in the mute mode, and the control efficiency of the mute mode of the electronic equipment is improved.
Referring to fig. 7, in some embodiments, the electronic device 500 may further include: a display 503, radio frequency circuitry 504, audio circuitry 505, and a power supply 506. The display 503, the rf circuit 504, the audio circuit 505, and the power source 506 are electrically connected to the processor 501.
The display 503 may be used to display information entered by or provided to the user as well as various graphical user interfaces, which may be made up of graphics, text, icons, video, and any combination thereof. The Display 503 may include a Display panel, and in some embodiments, the Display panel may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The rf circuit 504 may be used for transceiving rf signals to establish wireless communication with a network device or other electronic devices via wireless communication, and for transceiving signals with the network device or other electronic devices.
The audio circuit 505 may be used to provide an audio interface between a user and an electronic device through a speaker, microphone.
The power source 506 may be used to power various components of the electronic device 500. In some embodiments, power supply 506 may be logically coupled to processor 501 through a power management system, such that functions of managing charging, discharging, and power consumption are performed through the power management system.
Although not shown in fig. 7, the electronic device 500 may further include a camera, a bluetooth module, and the like, which are not described in detail herein.
An embodiment of the present application further provides a storage medium, where the storage medium stores a computer program, and when the computer program runs on a computer, the computer is caused to execute the method for controlling a mute mode in any of the above embodiments, for example: acquiring position information of a plurality of second electronic devices; determining second electronic equipment with the position information matched with the preset position information as target electronic equipment; detecting voice information of a user; and when the voice information is judged to be matched with the preset voice information, sending a mute instruction to the target electronic equipment so that the target electronic equipment enters a mute mode according to the mute instruction.
In the embodiment of the present application, the storage medium may be a magnetic disk, an optical disk, a Read Only Memory (ROM), a Random Access Memory (RAM), or the like.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
It should be noted that, for the method for controlling a mute mode in the embodiment of the present application, it can be understood by a person skilled in the art that all or part of the process of implementing the method for controlling a mute mode in the embodiment of the present application can be completed by controlling related hardware through a computer program, where the computer program can be stored in a computer readable storage medium, such as a memory of an electronic device, and executed by at least one processor in the electronic device, and the process of implementing the embodiment of the method for controlling a mute mode can be included in the execution process. The storage medium may be a magnetic disk, an optical disk, a read-only memory, a random access memory, etc.
In the mute mode control device according to the embodiment of the present application, each functional module may be integrated into one processing chip, each module may exist alone physically, or two or more modules may be integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium, such as a read-only memory, a magnetic or optical disk, or the like.
The foregoing describes in detail a method, an apparatus, a storage medium, and an electronic device for controlling a mute mode provided in an embodiment of the present application, and a specific example is applied in the present application to explain the principle and the implementation of the present application, and the description of the foregoing embodiment is only used to help understand the method and the core idea of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (7)

1. A control method of a mute mode is applied to a first electronic device, and the first electronic device is connected with a plurality of second electronic devices, and the control method comprises the following steps:
the plurality of second electronic devices send position information to the first electronic device at regular time, the first electronic device caches the position information to a preset space of the first electronic device when receiving the position information of the plurality of second electronic devices, and the first electronic device obtains the position information of the plurality of second electronic devices by accessing the preset space;
the first electronic device obtains preset position information, calculates the distance difference between the position information of each second electronic device and the preset position information, and determines a plurality of second electronic devices with the distance difference smaller than a preset distance threshold value as a plurality of target electronic devices;
detecting voice information of a user;
when the voiceprint features in the voice information are matched with preset voiceprint features and the keyword information in the voice information is matched with preset keyword information, the first electronic equipment acquires the identification information of the target electronic equipment;
when first authority information corresponding to the target electronic devices is obtained according to the identification information, selecting corresponding mute instructions with vibration according to the first authority information;
or when second authority information corresponding to the plurality of target electronic devices is acquired according to the identification information, selecting corresponding mute instructions without vibration according to the second authority information;
and sending a mute instruction to the target electronic equipment.
2. The method for controlling a mute mode according to claim 1, wherein the step of sending the mute instruction to the target electronic device is preceded by the step of:
judging whether the voice information is matched with preset voice information or not;
the step of judging whether the voice information is matched with the preset voice information comprises the following steps:
analyzing the voice information to extract keyword information in the voice information;
judging whether the keyword information is matched with preset keyword information or not;
when the keyword information is judged to be matched with preset keyword information, judging that the voice information is matched with preset voice information;
and when the keyword information is judged to be not matched with the preset keyword information, judging that the voice information is not matched with the preset voice information.
3. The method for controlling a mute mode according to claim 1, wherein after the step of sending the mute instruction to the target electronic device, further comprising:
when the fact that the distance difference between the position information of the target electronic equipment and the preset position information is not smaller than a preset distance threshold value is detected, a cancel instruction is sent to the target electronic equipment, and the target electronic equipment cancels the mute mode according to the cancel instruction.
4. A control device of a mute mode is applied to a first electronic device, and the first electronic device is connected with a plurality of second electronic devices, and the control device comprises:
the acquiring unit is used for the plurality of second electronic devices to send position information to the first electronic device at regular time, the first electronic device caches the position information to a preset space of the first electronic device when receiving the position information of the plurality of second electronic devices, and the first electronic device acquires the position information of the plurality of second electronic devices by accessing the preset space;
the determining unit is used for the first electronic device to obtain preset position information, the first electronic device calculates the distance difference between the position information of each second electronic device and the preset position information, and a plurality of second electronic devices with the distance difference smaller than a preset distance threshold are determined as a plurality of target electronic devices;
the detection unit is used for detecting voice information of a user;
a sending unit, configured to, when a voiceprint feature in the voice information matches a preset voiceprint feature and keyword information in the voice information passes, obtain, by the first electronic device, identification information of the multiple target electronic devices;
the sending unit is further configured to: when first authority information corresponding to the target electronic devices is obtained according to the identification information, selecting corresponding mute instructions with vibration according to the first authority information; or when second authority information corresponding to the plurality of target electronic devices is acquired according to the identification information, selecting corresponding mute instructions without vibration according to the second authority information; and sending a mute instruction to the target electronic equipment.
5. The apparatus for controlling a mute mode according to claim 4, wherein the apparatus further comprises:
the judging unit is used for judging whether the voice information is matched with preset voice information or not;
the judging unit is specifically configured to:
analyzing the voice information to extract keyword information in the voice information;
judging whether the keyword information is matched with preset keyword information or not;
when the keyword information is judged to be matched with preset keyword information, judging that the voice information is matched with preset voice information;
and when the keyword information is judged to be not matched with the preset keyword information, judging that the voice information is not matched with the preset voice information.
6. A storage medium having stored thereon a computer program, characterized in that when the computer program runs on a computer, the computer is caused to execute the control method of the silent mode according to any one of claims 1 to 3.
7. An electronic device comprising a processor and a memory, said memory having a computer program, wherein said processor is adapted to execute the method of controlling a muting mode according to any one of claims 1 to 3 by calling said computer program.
CN201810805444.0A 2018-07-20 2018-07-20 Control method and device of mute mode, storage medium and electronic equipment Expired - Fee Related CN108600559B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810805444.0A CN108600559B (en) 2018-07-20 2018-07-20 Control method and device of mute mode, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810805444.0A CN108600559B (en) 2018-07-20 2018-07-20 Control method and device of mute mode, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN108600559A CN108600559A (en) 2018-09-28
CN108600559B true CN108600559B (en) 2021-03-02

Family

ID=63617930

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810805444.0A Expired - Fee Related CN108600559B (en) 2018-07-20 2018-07-20 Control method and device of mute mode, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN108600559B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110418017A (en) * 2019-07-25 2019-11-05 中国联合网络通信集团有限公司 No.1 multiple terminals contextual model control method, the network equipment, terminal and device
CN113177816A (en) * 2020-01-08 2021-07-27 阿里巴巴集团控股有限公司 Information processing method and device
CN114363458A (en) * 2022-01-04 2022-04-15 北京金山云网络技术有限公司 Device control method, device, storage medium, and electronic device
CN115801948B (en) * 2022-09-28 2024-06-21 维沃软件技术有限公司 Operation method, device, electronic equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106686219A (en) * 2016-12-16 2017-05-17 广州杰赛科技股份有限公司 Method for controlling intelligent wearable equipment to start silent mode, and terminal equipment
CN108061358A (en) * 2017-11-08 2018-05-22 珠海格力电器股份有限公司 Control method and device and air conditioner

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4217412B2 (en) * 2002-02-21 2009-02-04 東芝テック株式会社 Telephone device with personal authentication function
CN103856798A (en) * 2012-12-04 2014-06-11 联想(北京)有限公司 Operation method and electronic equipment
CN105050045B (en) * 2015-07-23 2019-05-14 深圳市金立通信设备有限公司 A kind of control method and terminal of the SOT state of termination
CN106293064A (en) * 2016-07-25 2017-01-04 乐视控股(北京)有限公司 A kind of information processing method and equipment
CN107240161A (en) * 2017-05-23 2017-10-10 巧夺天宫(深圳)科技有限公司 A kind of roll-call method, mobile terminal, server and storage medium
CN107371144B (en) * 2017-08-11 2021-02-02 深圳传音通讯有限公司 Method and device for intelligently sending information

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106686219A (en) * 2016-12-16 2017-05-17 广州杰赛科技股份有限公司 Method for controlling intelligent wearable equipment to start silent mode, and terminal equipment
CN108061358A (en) * 2017-11-08 2018-05-22 珠海格力电器股份有限公司 Control method and device and air conditioner

Also Published As

Publication number Publication date
CN108600559A (en) 2018-09-28

Similar Documents

Publication Publication Date Title
US11393472B2 (en) Method and apparatus for executing voice command in electronic device
CN108600559B (en) Control method and device of mute mode, storage medium and electronic equipment
CN109903773B (en) Audio processing method, device and storage medium
CN108108142A (en) Voice information processing method, device, terminal device and storage medium
CN106528545B (en) Voice information processing method and device
CN108810280B (en) Voice acquisition frequency processing method and device, storage medium and electronic equipment
US9854439B2 (en) Device and method for authenticating a user of a voice user interface and selectively managing incoming communications
CN108665889B (en) Voice signal endpoint detection method, device, equipment and storage medium
CN110097895B (en) Pure music detection method, pure music detection device and storage medium
CN110364156A (en) Voice interactive method, system, terminal and readable storage medium storing program for executing
CN108052818B (en) Application starting method and device, storage medium and electronic equipment
CN109003607B (en) Voice recognition method, voice recognition device, storage medium and electronic equipment
CN108922520B (en) Voice recognition method, voice recognition device, storage medium and electronic equipment
CN113744736B (en) Command word recognition method and device, electronic equipment and storage medium
CN113225624B (en) Method and device for determining time consumption of voice recognition
CN108989551B (en) Position prompting method and device, storage medium and electronic equipment
CN112259076A (en) Voice interaction method and device, electronic equipment and computer readable storage medium
CN109064720B (en) Position prompting method and device, storage medium and electronic equipment
CN107154996B (en) Incoming call interception method and device, storage medium and terminal
CN106782614B (en) Sound quality detection method and device
CN111739493B (en) Audio processing method, device and storage medium
CN107645604B (en) Call processing method and mobile terminal
CN117012202B (en) Voice channel recognition method and device, storage medium and electronic equipment
CN106910505B (en) Voice response method and system based on mobile terminal
CN112802471B (en) Voice voice zone switching method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20210302