CN109545221B - Parameter adjustment method, mobile terminal and computer readable storage medium - Google Patents

Parameter adjustment method, mobile terminal and computer readable storage medium Download PDF

Info

Publication number
CN109545221B
CN109545221B CN201910067339.6A CN201910067339A CN109545221B CN 109545221 B CN109545221 B CN 109545221B CN 201910067339 A CN201910067339 A CN 201910067339A CN 109545221 B CN109545221 B CN 109545221B
Authority
CN
China
Prior art keywords
parameter
value
parameter adjustment
adjustment instruction
parameter value
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
CN201910067339.6A
Other languages
Chinese (zh)
Other versions
CN109545221A (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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201910067339.6A priority Critical patent/CN109545221B/en
Publication of CN109545221A publication Critical patent/CN109545221A/en
Application granted granted Critical
Publication of CN109545221B publication Critical patent/CN109545221B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L17/00Speaker identification or verification
    • G10L17/22Interactive procedures; Man-machine interfaces
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • G10L2015/223Execution procedure of a spoken command

Abstract

The invention discloses a parameter adjustment method, a mobile terminal and a computer readable storage medium, wherein the method comprises the following steps: receiving parameter adjustment instruction voice of a user; identifying the content in the parameter adjustment instruction voice, and obtaining a parameter adjustment instruction according to keywords in the content; acquiring parameters to be adjusted and target parameter values according to the parameter adjustment instruction; and adjusting the parameter value of the parameter to be adjusted to the target parameter value. According to the invention, the parameter adjustment instruction is obtained from the parameter adjustment instruction voice of the user, and the parameter to be adjusted is adjusted according to the parameter adjustment instruction, so that the parameter adjustment flow is simplified, and the parameter adjustment difficulty is reduced.

Description

Parameter adjustment method, mobile terminal and computer readable storage medium
Technical Field
The present invention relates to the field of mobile terminals, and in particular, to a parameter adjustment method, a mobile terminal, and a computer readable storage medium.
Background
Currently, if parameters of a mobile terminal such as a mobile phone need to be adjusted, a corresponding adjustment page needs to be opened according to a preset adjustment method of the mobile terminal, and the adjustment pages are operated step by step. And different mobile phones have different adjustment methods. If some unusual parameters need to be adjusted, it is often difficult to find a corresponding adjustment method, especially for the elderly users, they often cannot adjust the parameters themselves, and it is difficult to set each parameter to the most suitable parameter value. Therefore, the current parameter adjustment flow is complex and difficult.
Disclosure of Invention
The invention provides a parameter adjustment method, a mobile terminal and a computer readable storage medium, which aim to simplify a parameter adjustment process and reduce parameter adjustment difficulty.
To achieve the above object, the present invention provides a parameter adjustment method, including:
receiving parameter adjustment instruction voice of a user;
identifying the content in the parameter adjustment instruction voice, and obtaining a parameter adjustment instruction according to keywords in the content;
acquiring parameters to be adjusted and target parameter values according to the parameter adjustment instruction;
and adjusting the parameter value of the parameter to be adjusted to the target parameter value.
Preferably, the step of identifying the content in the parameter adjustment instruction voice and obtaining the parameter adjustment instruction according to the keywords in the content further includes:
extracting voiceprint information in the parameter adjustment instruction voice, and comparing the voiceprint information with prestored voiceprint information;
if the voiceprint information is consistent with the prestored voiceprint information, executing the steps of: identifying the content in the parameter adjustment instruction voice, and obtaining a parameter adjustment instruction according to keywords in the content;
and if the voiceprint information is inconsistent with the pre-stored voiceprint information, ignoring the parameter adjustment instruction voice.
Preferably, the step of identifying the content in the parameter adjustment instruction voice and obtaining the parameter adjustment instruction according to the keyword in the content includes:
preprocessing the parameter adjustment instruction voice, cutting off silence of the head and tail ends in the parameter adjustment instruction voice, and framing the parameter adjustment instruction voice to obtain a plurality of frames;
extracting feature vectors in a plurality of frames;
inputting the feature vector into a preset voice recognition model, and outputting corresponding characters by the voice recognition model according to the feature vector;
acquiring a plurality of keywords in the text;
and filling the keywords into a preset parameter adjustment instruction template respectively to obtain the parameter adjustment instruction.
Preferably, before the step of filling the plurality of keywords into the preset parameter adjustment instruction templates, the method further includes:
counting the number of the keywords, and judging whether the number of the keywords is the same as the number of preset keywords;
if the number of the keywords is the same as the number of the preset keywords, executing the steps: filling a plurality of keywords into preset parameter adjustment instructions respectively;
and if the number of the keywords is different from the number of the preset keywords, outputting a prompt of incomplete command.
Preferably, before the step of obtaining the parameter to be adjusted and the target parameter value according to the parameter adjustment instruction, the method further includes:
acquiring a current parameter value and a parameter threshold of the parameter value;
judging whether the target parameter value is reasonable or not according to the current parameter value and the parameter threshold value;
if the target parameter value is reasonable, executing the steps of: adjusting the parameter value of the parameter to be adjusted to the target parameter value according to a preset flow;
if the target parameter value is unreasonable, outputting prompt information that the target parameter value is unreasonable to be set.
Preferably, the step of adjusting the parameter value of the parameter to be adjusted to the target parameter value includes:
judging whether the target parameter value is an accurate value or a fuzzy value;
if the target parameter value is an accurate value, directly setting the parameter value of the parameter to be adjusted as the target parameter;
and if the target parameter value is a fuzzy value, adjusting the parameter value of the parameter to be adjusted according to a preset gradient until a determined instruction is obtained, and storing the adjusted final parameter value.
Preferably, the step of determining whether the target parameter value is an accurate value or a fuzzy value includes:
if the target parameter value comprises a specific value or a preset accurate vocabulary, judging that the target parameter value is an accurate value;
and if the target parameter value comprises a preset fuzzy vocabulary, judging that the target parameter value is a fuzzy value.
Preferably, the step of receiving the parameter adjustment instruction voice of the user further comprises:
and displaying a voice input prompt through a display screen of the mobile terminal so that a user can input voice by referring to the voice input prompt.
In order to achieve the above object, the present invention also provides a mobile terminal including a memory and a processor, wherein the memory stores a parameter adjustment program, and the parameter adjustment program is executed by the processor to implement the steps of the parameter adjustment method as described above.
To achieve the above object, the present invention also provides a computer-readable storage medium having stored thereon a parameter adjustment program which, when executed by a processor, implements the steps of the parameter adjustment method as described above.
Compared with the prior art, the invention discloses a parameter adjustment method, a mobile terminal and a computer readable storage medium, wherein the method comprises the following steps: receiving parameter adjustment instruction voice of a user; identifying the content in the parameter adjustment instruction voice, and obtaining a parameter adjustment instruction according to keywords in the content; acquiring parameters to be adjusted and target parameter values according to the parameter adjustment instruction; and adjusting the parameter value of the parameter to be adjusted to the target parameter value. According to the invention, the parameter adjustment instruction is obtained from the parameter adjustment instruction voice of the user, and the parameter to be adjusted is adjusted according to the parameter adjustment instruction, so that the parameter adjustment flow is simplified, and the parameter adjustment difficulty is reduced.
Drawings
Fig. 1 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention;
fig. 2 is a schematic diagram of a communication network system according to an embodiment of the present invention;
FIG. 3 is a flowchart of a first embodiment of a parameter adjustment method according to the present invention;
FIG. 4 is a schematic diagram of a scenario of an embodiment of a parameter adjustment method according to the present invention;
FIG. 5 is a flowchart of a second embodiment of the parameter adjustment method of the present invention;
fig. 6 is a schematic view of a scenario of another embodiment of the parameter adjustment method of the present invention.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
In the following description, suffixes such as "module", "component", or "unit" for representing elements are used only for facilitating the description of the present invention, and have no specific meaning per se. Thus, "module," "component," or "unit" may be used in combination.
The terminal may be implemented in various forms. For example, the terminals described in the present invention may include mobile terminals such as cell phones, tablet computers, notebook computers, palm computers, personal digital assistants (Personal Digital Assistant, PDA), portable media players (Portable Media Player, PMP), navigation devices, wearable devices, smart bracelets, pedometers, and fixed terminals such as digital TVs, desktop computers, and the like.
The following description will be given taking a mobile terminal as an example, and those skilled in the art will understand that the configuration according to the embodiment of the present invention can be applied to a fixed type terminal in addition to elements particularly used for a moving purpose.
Referring to fig. 1, which is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention, the mobile terminal 100 may include: an RF (Radio Frequency) unit 101, a WiFi module 102, an audio output unit 103, an a/V (audio/video) input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, a processor 110, and a power supply 111. Those skilled in the art will appreciate that the mobile terminal structure shown in fig. 1 is not limiting of the mobile terminal and that the mobile terminal may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
The following describes the components of the mobile terminal in detail with reference to fig. 1:
the radio frequency unit 101 may be used for receiving and transmitting signals during the information receiving or communication process, specifically, after receiving downlink information of the base station, processing the downlink information by the processor 110; and, the uplink data is transmitted to the base station. Typically, the radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication, global System for Mobile communications), GPRS (General Packet Radio Service ), CDMA2000 (Code Division Multiple Access, CDMA 2000), WCDMA (Wideband Code Division Multiple Access ), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, time Division synchronous code Division multiple Access), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, frequency Division Duplex Long term evolution), and TDD-LTE (Time Division Duplexing-Long Term Evolution, time Division Duplex Long term evolution), etc.
WiFi belongs to a short-distance wireless transmission technology, and a mobile terminal can help a user to send and receive e-mails, browse web pages, access streaming media and the like through the WiFi module 102, so that wireless broadband Internet access is provided for the user. Although fig. 1 shows a WiFi module 102, it is understood that it does not belong to the necessary constitution of a mobile terminal, and can be omitted entirely as required within a range that does not change the essence of the invention.
The audio output unit 103 may convert voice data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the mobile terminal 100 is in a call signal reception mode, a talk mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output (e.g., a call signal reception sound, a message reception sound, etc.) related to a specific function performed by the mobile terminal 100. The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive an audio or video signal. The a/V input unit 104 may include a graphics processor (Graphics Processing Unit, GPU) 1041 and a microphone 1042, the graphics processor 1041 processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphics processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 can receive sound (voice data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, and the like, and can process such sound into voice data. The processed audio (voice) data may be converted into a format output that can be transmitted to the mobile communication base station via the radio frequency unit 101 in the case of a telephone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting the audio signal.
The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and the proximity sensor can turn off the display panel 1061 and/or the backlight when the mobile terminal 100 moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the acceleration in all directions (generally three axes), and can detect the gravity and direction when stationary, and can be used for applications of recognizing the gesture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and knocking), and the like; as for other sensors such as fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc. that may also be configured in the mobile phone, the detailed description thereof will be omitted.
The display unit 106 is used to display information input by a user or information provided to the user. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the mobile terminal. In particular, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect touch operations thereon or thereabout by a user (e.g., operations of the user on the touch panel 1071 or thereabout by using any suitable object or accessory such as a finger, a stylus, etc.) and drive the corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch azimuth of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts it into touch point coordinates, and sends the touch point coordinates to the processor 110, and can receive and execute commands sent from the processor 110. Further, the touch panel 1071 may be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. The user input unit 107 may include other input devices 1072 in addition to the touch panel 1071. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, mouse, joystick, etc., as specifically not limited herein.
Further, the touch panel 1071 may overlay the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or thereabout, the touch panel 1071 is transferred to the processor 110 to determine the type of touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of touch event. Although in fig. 1, the touch panel 1071 and the display panel 1061 are two independent components for implementing the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 may be integrated with the display panel 1061 to implement the input and output functions of the mobile terminal, which is not limited herein.
The interface unit 108 serves as an interface through which at least one external device can be connected with the mobile terminal 100. For example, the external devices may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and an external device.
Memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area that may store an operating system, application programs required for at least one function (such as a sound playing function, an image playing function, etc.), and a storage data area; the storage data area may store data (such as voice data, phonebook, etc.) created according to the use of the handset, etc. In addition, memory 109 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.
The processor 110 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by running or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the mobile terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor that primarily handles operating systems, user interfaces, applications, etc., with a modem processor that primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
Further, in the mobile terminal 100 shown in fig. 1, the processor 110 is configured to call the parameter adjustment program stored in the memory 109 to perform the following operations:
receiving parameter adjustment instruction voice of a user;
identifying the content in the parameter adjustment instruction voice, and obtaining a parameter adjustment instruction according to keywords in the content;
acquiring parameters to be adjusted and target parameter values according to the parameter adjustment instruction;
and adjusting the parameter value of the parameter to be adjusted to the target parameter value.
Further, the processor 110 is configured to call the parameter adjustment program stored in the memory 109 to further perform the following operations:
extracting voiceprint information in the parameter adjustment instruction voice, and comparing the voiceprint information with prestored voiceprint information;
if the voiceprint information is consistent with the prestored voiceprint information, executing the steps of: identifying the content in the parameter adjustment instruction voice, and obtaining a parameter adjustment instruction according to keywords in the content;
and if the voiceprint information is inconsistent with the pre-stored voiceprint information, ignoring the parameter adjustment instruction voice.
Further, the processor 110 is configured to call the parameter adjustment program stored in the memory 109 to further perform the following operations:
preprocessing the parameter adjustment instruction voice, cutting off silence of the head and tail ends in the parameter adjustment instruction voice, and framing the parameter adjustment instruction voice to obtain a plurality of frames;
extracting feature vectors in a plurality of frames;
inputting the feature vector into a preset voice recognition model, and outputting corresponding characters by the voice recognition model according to the feature vector;
acquiring a plurality of keywords in the text;
and filling the keywords into a preset parameter adjustment instruction template respectively to obtain the parameter adjustment instruction.
Further, the processor 110 is configured to call the parameter adjustment program stored in the memory 109 to further perform the following operations:
counting the number of the keywords, and judging whether the number of the keywords is the same as the number of preset keywords;
if the number of the keywords is the same as the number of the preset keywords, executing the steps: filling a plurality of keywords into preset parameter adjustment instructions respectively;
and if the number of the keywords is different from the number of the preset keywords, outputting a prompt of incomplete command.
Further, the processor 110 is configured to call the parameter adjustment program stored in the memory 109 to further perform the following operations:
acquiring a current parameter value and a parameter threshold of the parameter value;
judging whether the target parameter value is reasonable or not according to the current parameter value and the parameter threshold value;
if the target parameter value is reasonable, executing the steps of: adjusting the parameter value of the parameter to be adjusted to the target parameter value according to a preset flow;
if the target parameter value is unreasonable, outputting prompt information that the target parameter value is unreasonable to be set.
Further, the processor 110 is configured to call the parameter adjustment program stored in the memory 109 to further perform the following operations: judging whether the target parameter value is an accurate value or a fuzzy value;
if the target parameter value is an accurate value, directly setting the parameter value of the parameter to be adjusted as the target parameter;
and if the target parameter value is a fuzzy value, adjusting the parameter value of the parameter to be adjusted according to a preset gradient until a determined instruction is obtained, and storing the adjusted final parameter value.
Further, the processor 110 is configured to call the parameter adjustment program stored in the memory 109 to further perform the following operations:
if the target parameter value comprises a specific value or a preset accurate vocabulary, judging that the target parameter value is an accurate value;
and if the target parameter value comprises a preset fuzzy vocabulary, judging that the target parameter value is a fuzzy value.
The step of adjusting the parameter value of the parameter to be adjusted to the target parameter value includes:
further, the processor 110 is configured to call the parameter adjustment program stored in the memory 109 to further perform the following operations:
and displaying a voice input prompt through a display screen of the mobile terminal so that a user can input voice by referring to the voice input prompt.
In addition, the mobile terminal 100 may further include a power source 111 (such as a battery) for supplying power to each component, and preferably, the power source 111 may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, power consumption management, and the like through the power management system.
Although not shown in fig. 1, the mobile terminal 100 may further include a bluetooth module or the like, which is not described herein.
In order to facilitate understanding of the embodiments of the present invention, a communication network system on which the mobile terminal of the present invention is based will be described below.
Referring to fig. 2, fig. 2 is a schematic diagram of a communication network system according to an embodiment of the present invention, where the communication network system is an LTE system of a general mobile communication technology, and the LTE system includes a UE (User Equipment) 201, an e-UTRAN (Evolved UMTS Terrestrial Radio Access Network ) 202, an epc (Evolved Packet Core, evolved packet core) 203, and an IP service 204 of an operator that are sequentially connected in communication.
Specifically, the UE201 may be the mobile terminal 100 described above, and will not be described herein.
The E-UTRAN202 includes eNodeB2021 and other eNodeB2022, etc. The eNodeB2021 may be connected with other eNodeB2022 by a backhaul (e.g., an X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide access from the UE201 to the EPC 203.
EPC203 may include MME (Mobility Management Entity ) 2031, hss (Home Subscriber Server, home subscriber server) 2032, other MMEs 2033, SGW (Serving Gate Way) 2034, pgw (PDN Gate Way) 2035 and PCRF (Policy and Charging Rules Function, policy and tariff function entity) 2036, and so on. The MME2031 is a control node that handles signaling between the UE201 and EPC203, providing bearer and connection management. HSS2032 is used to provide registers to manage functions such as home location registers (not shown) and to hold user specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034 and PGW2035 may provide IP address allocation and other functions for UE201, PCRF2036 is a policy and charging control policy decision point for traffic data flows and IP bearer resources, which selects and provides available policy and charging control decisions for a policy and charging enforcement function (not shown).
IP services 204 may include the internet, intranets, IMS (IP Multimedia Subsystem ), or other IP services, etc.
Although the LTE system is described above as an example, it should be understood by those skilled in the art that the present invention is not limited to LTE systems, but may be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems.
Based on the above-mentioned terminal hardware structure and communication network system, various embodiments of the parameter adjustment method of the present invention are proposed.
Referring to fig. 3, fig. 3 is a flowchart illustrating a first embodiment of a parameter adjustment method according to the present invention.
In this embodiment, the parameter adjustment method includes the following steps:
step S101, receiving parameter adjustment instruction voice of a user;
in this embodiment, in order to simplify the operation difficulty of the user, the recording function of the mobile terminal is directly utilized to receive the parameter adjustment instruction voice of the user, where the parameter adjustment instruction voice includes the parameter to be adjusted and the target reference value.
Further, before the step of receiving the parameter adjustment instruction voice of the user, the method further comprises:
and displaying a voice input prompt through a display screen of the mobile terminal so that a user can input voice by referring to the voice input prompt. When the user is detected to need to carry out parameter adjustment instruction voice, a voice input prompt is displayed through a display screen of the mobile terminal, or a parameter adjustment instruction voice example is played in a voice mode. Referring to fig. 4, fig. 4 is a schematic view of a scenario of an embodiment of a parameter adjustment method according to the present invention, where the voice input prompt may be: the XX parameter is set to XX, for example, brightness is set to 90%, font is set to large size, and the like.
Step S102, identifying the content in the parameter adjustment instruction voice, and obtaining a parameter adjustment instruction according to keywords in the content;
in this embodiment, the step of identifying the content in the parameter adjustment instruction voice and obtaining the parameter adjustment instruction according to the keyword in the content includes:
step S102a, preprocessing the parameter adjustment instruction voice, cutting off silence of the head and tail ends in the parameter adjustment instruction voice, and framing the parameter adjustment instruction voice to obtain a plurality of frames;
specifically, silence at the head end and the tail end in the parameter adjustment instruction voice is cut off, so that interference to subsequent steps is reduced. The muted parameter adjustment instruction speech is then framed to obtain a plurality of frames, which may be implemented generally using a moving window function, and adjacent frames may have overlapping portions.
Step S102b, extracting feature vectors in a plurality of frames;
in particular, the modes of each frame may be converted to feature vectors containing voice mail using one of the linear prediction cepstral coefficients (Linear Prediction Cepstrum Coefficient, LPCC) or MeI cepstral coefficients (MeI-Freguency Cepstrum Coefficients, MFCC).
Step S102c, inputting the feature vector into a preset voice recognition model, and outputting corresponding characters by the voice recognition model according to the feature vector;
in this embodiment, training is performed on a large amount of voice data in advance to obtain an acoustic model, the feature vector is input into the acoustic model, and factor information is output by the acoustic model. And inquiring the words and/or the words corresponding to the factor information from the dictionary. And analyzing the inquired characters and/or words through language processing flows such as NLP and the like, and outputting characters with reasonable word order, wherein the characters correspond to the feature vectors.
Step S102d, a plurality of keywords in the characters are obtained;
since there may be redundant text in the text, keywords need to be screened from the text. In this embodiment, a keyword library is preset, where the keyword library includes related words related to parameter adjustment, parameter names, parameter states, command vocabulary, and the like, where the parameter names include software and hardware parameters, such as a camera, sound, brightness, fonts, bluetooth, wiFi, cache, database, and an application program, and if the words have the same words as those in the keyword library, the same files are marked as keywords.
Step S102e, filling a plurality of keywords into a preset parameter adjustment instruction template respectively to obtain the parameter adjustment instruction.
In this embodiment, a parameter adjustment instruction template is preset so as to fill in the keywords, and a corresponding parameter adjustment instruction is obtained. The parameter adjustment instruction template at least includes parameters to be adjusted to be filled in and target parameter values, for example, the parameter adjustment instruction template may be: the (parameter to be adjusted) is set to (target parameter value).
Further, before the step of filling the plurality of keywords into the preset parameter adjustment instruction templates, the method further includes: counting the number of the keywords, and judging whether the number of the keywords is the same as the number of preset keywords; if the number of the keywords is the same as the number of the preset keywords, executing the steps: filling a plurality of keywords into preset parameter adjustment instructions respectively; and if the number of the keywords is different from the number of the preset keywords, outputting a prompt of incomplete command. It can be appreciated that if the keyword is absent, the complete parameter adjustment instruction cannot be obtained, and further, the subsequent steps cannot be performed continuously.
Step S103, parameters to be adjusted and target parameter values are obtained according to the parameter adjustment instruction;
in this embodiment, first, a current parameter value and a parameter threshold of the parameter value are obtained; for example, if the parameter to be adjusted is brightness, the current brightness is obtained, for example, 50, and the parameter thresholds corresponding to the brightness are 0 and 100. For another example, if the parameter to be adjusted is WiFi, the current parameter value of the WiFi is one of on or off, and the corresponding parameter threshold is on and off.
Judging whether the target parameter value is reasonable or not according to the current parameter value and the parameter threshold value; it will be appreciated that if the target parameter value is consistent with the current parameter value, no adjustment is required, and if the target parameter value is not within the parameter threshold, it is indicated that the target parameter value is unreasonably set, and cannot be adjusted.
Specifically, comparing the target parameter value with the current parameter value; if the target parameter value is consistent with the current parameter value, judging that the target parameter value is unreasonable;
if the target parameter value is inconsistent with the current parameter value, further judging whether the target parameter value is within the parameter threshold range;
if the target parameter value is within the parameter threshold range, judging that the target parameter value is reasonable; and if the target parameter value is not in the parameter threshold range, judging that the target parameter value is unreasonable.
If the target parameter value is reasonable, executing the steps of: adjusting the parameter value of the parameter to be adjusted to the target parameter value according to a preset flow; otherwise, if the target parameter value is unreasonable, outputting prompt information that the target parameter value is unreasonable to be set.
Step S104, the parameter value of the parameter to be adjusted is adjusted to the target parameter value.
Specifically, the step of adjusting the parameter value of the parameter to be adjusted to the target parameter value includes:
judging whether the target parameter value is an accurate value or a fuzzy value;
if the target parameter value comprises a specific value or a preset accurate vocabulary, judging that the target parameter value is an accurate value; the preset accurate vocabulary refers to specific values or specific states, for example, 60% of sound, turning on Bluetooth, turning off alarm, etc. And if the target parameter value comprises a preset fuzzy vocabulary, judging that the target parameter value is a fuzzy value. The preset fuzzy vocabulary means that the target parameter value is set with uncertainty, such as brightness is highlighted, fonts are enlarged, and storage space is released.
Further, if the target parameter value is an accurate value, directly setting the parameter value of the parameter to be adjusted as the target parameter;
and if the target parameter value is a fuzzy value, adjusting the parameter value of the parameter to be adjusted according to a preset gradient until a determined instruction is obtained, and storing the adjusted final parameter value. The preset gradient corresponds to the parameter to be adjusted, for example, for brightness, 10 can be used as the preset gradient; the word size can be gradually adjusted to the upper level or the lower level according to the word size supported by the mobile terminal. Specifically, after each adjustment, keeping the preset time for 3s, displaying a determined bullet frame on a display screen of the mobile terminal, and if the click operation of the user on the determined bullet frame is received within the preset time, judging that the adjustment is completed; if the click operation of the user on the determined bullet frame is not received within the preset time, continuing to press the preset gradient until the click operation of the user on the determined bullet frame is received, and judging that the adjustment is completed; or until the adjustable parameter threshold value of the parameter to be adjusted is adjusted, displaying a prompt of no adjustable section on a display interface of the mobile terminal, or performing cyclic adjustment again until the click operation of the user on the determined bullet frame is received.
According to the embodiment, through the scheme, parameter adjustment instruction voice of a user is received; identifying the content in the parameter adjustment instruction voice, and obtaining a parameter adjustment instruction according to keywords in the content; acquiring parameters to be adjusted and target parameter values according to the parameter adjustment instruction; and adjusting the parameter value of the parameter to be adjusted to the target parameter value. Therefore, the parameter adjustment instruction is obtained from the parameter adjustment instruction voice of the user, and the parameter to be adjusted is adjusted according to the parameter adjustment instruction, so that the parameter adjustment flow is simplified, and the parameter adjustment difficulty is reduced.
Referring to fig. 5, fig. 5 is a flowchart illustrating a second embodiment of the parameter adjustment method according to the present invention. Based on the first embodiment described above, the present embodiment differs from the first embodiment described above in that:
the step of identifying the content in the parameter adjustment instruction voice and obtaining the parameter adjustment instruction according to the keywords in the content further comprises the following steps:
step S1011, extracting voiceprint information in the parameter adjustment instruction voice, and comparing the voiceprint information with prestored voiceprint information;
in this embodiment, one or more pieces of pre-stored voiceprint information are collected in advance, and parameter adjustment permissions are configured for the pre-stored voiceprint information. Referring to fig. 6, fig. 6 is a schematic view of a scene of another embodiment of the parameter adjustment method of the present invention. The mobile terminal stores a plurality of pieces of pre-stored voiceprint information, including pre-stored voiceprint information A, pre-stored voiceprint information B, pre-stored voiceprint information C, pre-stored voiceprint information D and the like.
After receiving parameter adjustment instruction voice of a user, firstly extracting voiceprint information in the parameter adjustment instruction voice, and comparing the voiceprint information with prestored voiceprint information.
If the voiceprint information is consistent with the prestored voiceprint information, executing the steps of: identifying the content in the parameter adjustment instruction voice, and obtaining a parameter adjustment instruction according to keywords in the content;
and if the voiceprint information is inconsistent with the pre-stored voiceprint information, ignoring the parameter adjustment instruction voice. It can be understood that if the voiceprint information is inconsistent with the pre-stored voiceprint information, it is indicated that the user inputting the parameter adjustment instruction voice does not have the corresponding parameter adjustment authority, and the parameter adjustment instruction voice is ignored.
According to the technical scheme, voiceprint information in the parameter adjustment instruction voice is extracted, and the voiceprint information is compared with prestored voiceprint information; if the voiceprint information is consistent with the prestored voiceprint information, executing the steps of: identifying the content in the parameter adjustment instruction voice, and obtaining a parameter adjustment instruction according to keywords in the content; and if the voiceprint information is inconsistent with the pre-stored voiceprint information, ignoring the parameter adjustment instruction voice. Therefore, the parameter adjustment process is simplified, and the parameter adjustment difficulty is reduced.
The embodiment of the invention also provides a computer readable storage medium.
In this embodiment, the computer-readable storage medium stores a parameter adjustment program that, when executed by a processor, implements the steps of the parameter adjustment method described above.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The embodiments of the present invention have been described above with reference to the accompanying drawings, but the present invention is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present invention and the scope of the claims, which are to be protected by the present invention.

Claims (4)

1. A method of parameter adjustment, the method comprising:
receiving parameter adjustment instruction voice of a user;
identifying the content in the parameter adjustment instruction voice, and obtaining a parameter adjustment instruction according to keywords in the content;
acquiring parameters to be adjusted and target parameter values according to the parameter adjustment instruction;
adjusting the parameter value of the parameter to be adjusted to the target parameter value;
the step of identifying the content in the parameter adjustment instruction voice and obtaining the parameter adjustment instruction according to the keywords in the content further comprises the following steps:
extracting voiceprint information in the parameter adjustment instruction voice, and comparing the voiceprint information with prestored voiceprint information;
if the voiceprint information is consistent with the prestored voiceprint information, executing the steps of: identifying the content in the parameter adjustment instruction voice, and obtaining a parameter adjustment instruction according to keywords in the content;
if the voiceprint information is inconsistent with the prestored voiceprint information, ignoring the parameter adjustment instruction voice;
the step of identifying the content in the parameter adjustment instruction voice and obtaining the parameter adjustment instruction according to the keywords in the content comprises the following steps:
preprocessing the parameter adjustment instruction voice, cutting off silence of the head and tail ends in the parameter adjustment instruction voice, and framing the parameter adjustment instruction voice to obtain a plurality of frames;
extracting feature vectors in a plurality of frames;
inputting the feature vector into a preset voice recognition model, and outputting corresponding characters by the voice recognition model according to the feature vector;
acquiring a plurality of keywords in the text; a keyword library is preset, wherein the keyword library comprises related characters for parameter adjustment, parameter names, parameter states and command words, the parameter names comprise software and hardware parameters, and if the characters are the same as the characters in the keyword library, the same characters are marked as keywords;
filling a plurality of keywords into a preset parameter adjustment instruction template respectively to obtain the parameter adjustment instruction, wherein the parameter adjustment instruction template comprises parameters to be adjusted to be filled and target parameter values;
before the step of filling the keywords into the preset parameter adjustment instruction templates, the method further comprises the following steps:
counting the number of the keywords, and judging whether the number of the keywords is the same as the number of preset keywords;
if the number of the keywords is the same as the number of the preset keywords, executing the steps: filling a plurality of keywords into preset parameter adjustment instructions respectively;
if the number of the keywords is different from the number of the preset keywords, outputting a prompt of incomplete command;
before the step of obtaining the parameter to be adjusted and the target parameter value according to the parameter adjustment instruction, the method further comprises the following steps:
acquiring a current parameter value and a parameter threshold of the parameter value;
judging whether the target parameter value is reasonable or not according to the current parameter value and the parameter threshold value;
if the target parameter value is reasonable, executing the steps of: adjusting the parameter value of the parameter to be adjusted to the target parameter value according to a preset flow;
if the target parameter value is unreasonable, outputting prompt information that the target parameter value is unreasonable to be set;
the step of adjusting the parameter value of the parameter to be adjusted to the target parameter value includes:
judging whether the target parameter value is an accurate value or a fuzzy value;
if the target parameter value is an accurate value, directly setting the parameter value of the parameter to be adjusted as the target parameter;
if the target parameter value is a fuzzy value, adjusting the parameter value of the parameter to be adjusted according to a preset gradient until a determined instruction is obtained, and storing the adjusted final parameter value;
wherein,
if the target parameter value is consistent with the current parameter value, the target parameter value is reasonable and does not need to be adjusted;
if the target parameter value is not within the parameter threshold, the target parameter value is unreasonable and cannot be adjusted;
the step of judging whether the target parameter value is an accurate value or a fuzzy value includes:
if the target parameter value comprises a specific value or a preset accurate vocabulary, judging that the target parameter value is an accurate value;
if the target parameter value comprises a preset fuzzy vocabulary, judging that the target parameter value is a fuzzy value;
wherein,
the preset accurate vocabulary refers to a specific numerical value or a specific state;
the preset fuzzy vocabulary means that the target parameter value is set with uncertainty;
the preset gradient corresponds to the parameter to be adjusted.
2. The method of claim 1, wherein the step of receiving the user's parameter adjustment instruction speech further comprises, prior to:
and displaying a voice input prompt through a display screen of the mobile terminal so that a user can input voice by referring to the voice input prompt.
3. A mobile terminal comprising a memory and a processor, the memory having stored thereon a parameter adjustment program which, when executed by the processor, implements the steps of the parameter adjustment method of claim 1 or 2.
4. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a parameter adjustment program, which when executed by a processor, implements the steps of the parameter adjustment method according to claim 1 or 2.
CN201910067339.6A 2019-01-23 2019-01-23 Parameter adjustment method, mobile terminal and computer readable storage medium Active CN109545221B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910067339.6A CN109545221B (en) 2019-01-23 2019-01-23 Parameter adjustment method, mobile terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910067339.6A CN109545221B (en) 2019-01-23 2019-01-23 Parameter adjustment method, mobile terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN109545221A CN109545221A (en) 2019-03-29
CN109545221B true CN109545221B (en) 2024-03-19

Family

ID=65838390

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910067339.6A Active CN109545221B (en) 2019-01-23 2019-01-23 Parameter adjustment method, mobile terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109545221B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110136710A (en) * 2019-04-29 2019-08-16 上海力声特医学科技有限公司 Artificial cochlea's control method
CN110298463A (en) * 2019-05-21 2019-10-01 深圳壹账通智能科技有限公司 Meeting room preordering method, device, equipment and storage medium based on speech recognition
CN111026376B (en) * 2019-11-11 2023-09-29 贝壳技术有限公司 Function configuration method and device, storage medium and electronic equipment
CN113223496A (en) * 2021-06-22 2021-08-06 北京字节跳动网络技术有限公司 Voice skill testing method, device and equipment

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1165611A (en) * 1997-08-26 1999-03-09 Ishikawajima Harima Heavy Ind Co Ltd Automatic adjusting method for control parameter
JP2004077601A (en) * 2002-08-12 2004-03-11 Konica Minolta Holdings Inc Operating apparatus with speech input function
CN104105031A (en) * 2014-06-27 2014-10-15 中科创达软件股份有限公司 Volume adjusting method and device
CN105068515A (en) * 2015-07-16 2015-11-18 华南理工大学 Intelligent household equipment voice control method based on self-learning algorithm
CN106319833A (en) * 2015-06-17 2017-01-11 青岛海尔洗衣机有限公司 Remote control method of washing machine and washing machine
CN106649253A (en) * 2015-11-02 2017-05-10 涂悦 Auxiliary control method and system based on post verification
CN106851393A (en) * 2017-02-24 2017-06-13 深圳创维-Rgb电子有限公司 The collocation method and device of a kind of channel parameter
CN107168677A (en) * 2017-03-30 2017-09-15 联想(北京)有限公司 Audio-frequency processing method and device, electronic equipment, storage medium
CN107272432A (en) * 2017-07-20 2017-10-20 深圳源广安智能科技有限公司 Intelligent home device intelligence control system
CN107395899A (en) * 2017-08-25 2017-11-24 珠海市魅族科技有限公司 Terminal control method, device, computer installation and computer-readable recording medium
WO2018016666A1 (en) * 2016-07-21 2018-01-25 한화테크윈 주식회사 Method and apparatus for setting parameter
CN107726539A (en) * 2017-09-18 2018-02-23 广东美的制冷设备有限公司 Terminal operating parameter regulation means, device and computer-readable recording medium
CN108008808A (en) * 2017-12-21 2018-05-08 维沃移动通信有限公司 The method of adjustment and mobile terminal of operating parameter
CN108320748A (en) * 2018-04-26 2018-07-24 广东美的厨房电器制造有限公司 Cooking pot acoustic-controlled method, cooking pot and computer readable storage medium
CN108377297A (en) * 2018-01-31 2018-08-07 努比亚技术有限公司 shooting parameter adjustment method, mobile terminal and computer readable storage medium

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1165611A (en) * 1997-08-26 1999-03-09 Ishikawajima Harima Heavy Ind Co Ltd Automatic adjusting method for control parameter
JP2004077601A (en) * 2002-08-12 2004-03-11 Konica Minolta Holdings Inc Operating apparatus with speech input function
CN104105031A (en) * 2014-06-27 2014-10-15 中科创达软件股份有限公司 Volume adjusting method and device
CN106319833A (en) * 2015-06-17 2017-01-11 青岛海尔洗衣机有限公司 Remote control method of washing machine and washing machine
CN105068515A (en) * 2015-07-16 2015-11-18 华南理工大学 Intelligent household equipment voice control method based on self-learning algorithm
CN106649253A (en) * 2015-11-02 2017-05-10 涂悦 Auxiliary control method and system based on post verification
WO2018016666A1 (en) * 2016-07-21 2018-01-25 한화테크윈 주식회사 Method and apparatus for setting parameter
CN106851393A (en) * 2017-02-24 2017-06-13 深圳创维-Rgb电子有限公司 The collocation method and device of a kind of channel parameter
CN107168677A (en) * 2017-03-30 2017-09-15 联想(北京)有限公司 Audio-frequency processing method and device, electronic equipment, storage medium
CN107272432A (en) * 2017-07-20 2017-10-20 深圳源广安智能科技有限公司 Intelligent home device intelligence control system
CN107395899A (en) * 2017-08-25 2017-11-24 珠海市魅族科技有限公司 Terminal control method, device, computer installation and computer-readable recording medium
CN107726539A (en) * 2017-09-18 2018-02-23 广东美的制冷设备有限公司 Terminal operating parameter regulation means, device and computer-readable recording medium
CN108008808A (en) * 2017-12-21 2018-05-08 维沃移动通信有限公司 The method of adjustment and mobile terminal of operating parameter
CN108377297A (en) * 2018-01-31 2018-08-07 努比亚技术有限公司 shooting parameter adjustment method, mobile terminal and computer readable storage medium
CN108320748A (en) * 2018-04-26 2018-07-24 广东美的厨房电器制造有限公司 Cooking pot acoustic-controlled method, cooking pot and computer readable storage medium

Also Published As

Publication number Publication date
CN109545221A (en) 2019-03-29

Similar Documents

Publication Publication Date Title
CN108289244B (en) Video subtitle processing method, mobile terminal and computer readable storage medium
CN109545221B (en) Parameter adjustment method, mobile terminal and computer readable storage medium
CN108572764B (en) Character input control method and device and computer readable storage medium
CN109036420B (en) Voice recognition control method, terminal and computer readable storage medium
CN108512625B (en) Anti-interference method for camera, mobile terminal and storage medium
CN110033769B (en) Recorded voice processing method, terminal and computer readable storage medium
CN110827826B (en) Method for converting words by voice and electronic equipment
CN109256151B (en) Call voice regulation and control method and device, mobile terminal and readable storage medium
CN109840444B (en) Code scanning identification method, equipment and computer readable storage medium
CN109584897B (en) Video noise reduction method, mobile terminal and computer readable storage medium
CN109302528B (en) Photographing method, mobile terminal and computer readable storage medium
CN108897846B (en) Information searching method, apparatus and computer readable storage medium
CN109040444B (en) Call recording method, terminal and computer readable storage medium
CN109992753B (en) Translation processing method and terminal equipment
CN109686359B (en) Voice output method, terminal and computer readable storage medium
CN109453526B (en) Sound processing method, terminal and computer readable storage medium
CN109740121B (en) Search method of mobile terminal, mobile terminal and storage medium
CN110826098B (en) Information processing method and electronic equipment
CN110069320B (en) Classification correction method, terminal, system and storage medium for application program
CN109948368B (en) Privacy authority control method, device and computer readable storage medium
CN109669819B (en) Webpage opening method and device, mobile terminal and computer readable storage medium
CN108255389B (en) Image editing method, mobile terminal and computer readable storage medium
CN109543172B (en) Editing object regulation and control method, equipment and computer readable storage medium
CN111476231B (en) Image area identification method, device and computer readable storage medium
CN109656658B (en) Editing object processing method and device and computer readable 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