CN108040171A - Voice operating method, apparatus and computer-readable recording medium - Google Patents

Voice operating method, apparatus and computer-readable recording medium Download PDF

Info

Publication number
CN108040171A
CN108040171A CN201711244424.2A CN201711244424A CN108040171A CN 108040171 A CN108040171 A CN 108040171A CN 201711244424 A CN201711244424 A CN 201711244424A CN 108040171 A CN108040171 A CN 108040171A
Authority
CN
China
Prior art keywords
phonetic order
amplitude
objective function
accommodation
function
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201711244424.2A
Other languages
Chinese (zh)
Inventor
钱庄
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201711244424.2A priority Critical patent/CN108040171A/en
Publication of CN108040171A publication Critical patent/CN108040171A/en
Pending legal-status Critical Current

Links

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/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/165Management of the audio stream, e.g. setting of volume, audio stream path
    • 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)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Environmental & Geological Engineering (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

The disclosure is directed to a kind of voice operating method, apparatus and computer-readable recording medium, and function point analysis is carried out according to phonetic order with fixed amplitude to solve existing electronic equipment, and causes cumbersome technical problem.The voice operating method is applied to the electronic equipment with speech identifying function, including:Phonetic order is obtained, which is used to indicate that electronic equipment carries out amplitude adjusted to objective function;Determine the frequency that phonetic order has occurred;The target amplitude of accommodation is determined according to the frequency, wherein, the different frequencys correspond to the different amplitudes of accommodation;Objective function is adjusted according to phonetic order and the target amplitude of accommodation.

Description

Voice operating method, apparatus and computer-readable recording medium
Technical field
This disclosure relates to field of communication technology, more particularly to a kind of voice operating method, apparatus and computer-readable storage Medium.
Background technology
As the high speed development of science and technology, the life of people are more and more intelligent.Wherein, voice control technology is one Widely used human-computer interaction technology, compared to traditional by way of touch screen or button operate electronic equipment, Voice operating mode seems more convenient lively.In the related art, user can pass through voice after electronic equipment is waken up Objective function is adjusted in the mode of operation, for example, the volume exported to the audio component of electronic equipment is adjusted.So And by electronic equipment perform every time the volume amplitude that phonetic order adjusted be it is fixed, electronic equipment current volume with Target volume difference it is larger when, it is necessary to repeat phonetic order repeatedly could be by the volume adjustment of electronic equipment to target volume.
The content of the invention
It is a general object of the present disclosure to provide a kind of voice operating method, apparatus and computer-readable recording medium, to Solve existing electronic equipment and function point analysis is carried out with fixed amplitude according to phonetic order, and cause cumbersome technical problem.
To reach above-mentioned purpose, the first aspect of the embodiment of the present disclosure, there is provided a kind of voice operating method, applied to The electronic equipment of speech identifying function, the described method includes:
Phonetic order is obtained, the phonetic order is used to indicate that the electronic equipment carries out amplitude adjusted to objective function;
Determine the frequency that the phonetic order has occurred;
The target amplitude of accommodation is determined according to the frequency, wherein, the different frequencys correspond to the different amplitudes of accommodation;
The objective function is adjusted according to the phonetic order and the target amplitude of accommodation.
Alternatively, the frequency for determining the phonetic order and having occurred, including:
Record the type of the phonetic order;
Judge whether the type of the phonetic order of last record is identical with the type of the phonetic order;
If the type of the phonetic order of last time record is identical with the type of the phonetic order, by the counting of counter Add 1;
If the type and the type of the phonetic order of the phonetic order of last time record differ, by the meter of counter Number puts 1;
It is the frequency that the phonetic order has occurred to determine the current count value of the counter.
Alternatively, it is described that the target amplitude of accommodation is determined according to the frequency, including:
According to default non-linear relation between the frequency and the amplitude of accommodation, the target amplitude of accommodation is determined.
Alternatively, it is described that the objective function is adjusted according to the phonetic order and the target amplitude of accommodation Section, including:
When the phonetic order is the phonetic order of instruction function amplitude increase, the objective function is increased into the mesh Mark the amplitude of accommodation;
When the phonetic order is the phonetic order that instruction function amplitude reduces, the objective function is reduced into the mesh Mark the amplitude of accommodation.
Alternatively, the method further includes:
When getting the phonetic order, judge whether the electronic equipment is stored with the multiple normal of the objective function Use range value;
When the electronic equipment is stored with multiple common range values of the objective function, if the phonetic order refers to Show the phonetic order of function amplitude increase, then the objective function is adjusted arrive be more than the current range value of the objective function and The common range value of the range value difference minimum current with the objective function, if the phonetic order is instruction function width Spend the phonetic order reduced, then the objective function is adjusted arrive be less than the current range value of the objective function and with the mesh Mark the common range value of the current range value difference minimum of function.
The second aspect of the embodiment of the present disclosure, there is provided a kind of voice operating device, applied to speech identifying function Electronic equipment, described device include:
Instruction acquisition module, is configured as obtaining phonetic order, the phonetic order is used to indicate the electronic equipment pair Objective function carries out amplitude adjusted;
Frequency determining module, is configured to determine that the frequency that the phonetic order has occurred;
Amplitude determination modules, are configured as determining the target amplitude of accommodation according to the frequency, wherein, the different frequencys correspond to not The same amplitude of accommodation;
First adjustment module, is configured as according to the phonetic order and the target amplitude of accommodation to the target work( It can be adjusted.
Alternatively, the frequency determining module includes:
Record sub module, is configured as recording the type of the phonetic order;
Judging submodule, be configured as judging last record phonetic order type whether with the phonetic order Type is identical;
Counting submodule, is configured as the type phase of the type and the phonetic order in the upper phonetic order once recorded Meanwhile then by counter, count is incremented;
The counting submodule is additionally configured to, in type and the phonetic order of the upper phonetic order once recorded When type differs, then the counting of counter is put 1;
Determination sub-module, it is the frequency that the phonetic order has occurred to be configured to determine that the current count value of the counter It is secondary.
Alternatively, the amplitude determination modules are configured as according to default non-linear between the frequency and the amplitude of accommodation Relation, determines the target amplitude of accommodation.
Alternatively, first adjustment module, including:
First adjusts submodule, is configured as when the phonetic order is the phonetic order of instruction function amplitude increase, The objective function is increased into the target amplitude of accommodation;
Second adjusts submodule, is configured as when the phonetic order is the phonetic order that instruction function amplitude reduces, The objective function is reduced into the target amplitude of accommodation.
Alternatively, described device further includes:
Judgment module, is configured as, when getting the phonetic order, judging whether the electronic equipment stores State multiple common range values of objective function;
Second adjustment module, is configured as being stored with multiple common range values of the objective function in the electronic equipment When, if the phonetic order is the phonetic order of instruction function amplitude increase, the objective function is adjusted and is arrived more than described The common range value of the current range value of objective function and the range value difference minimum current with the objective function, if institute It is the phonetic order that instruction function amplitude reduces to state phonetic order, then arrives objective function adjusting and be less than the objective function Current range value and the common range value of the range value difference minimum current with the objective function.
The third aspect of the embodiment of the present disclosure, there is provided a kind of voice operating device, applied to speech identifying function Electronic equipment, including:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:
Phonetic order is obtained, the phonetic order is used to indicate that the electronic equipment carries out amplitude adjusted to objective function;
Determine the frequency that the phonetic order has occurred;
The target amplitude of accommodation is determined according to the frequency, wherein, the different frequencys correspond to the different amplitudes of accommodation;
The objective function is adjusted according to the phonetic order and the target amplitude of accommodation.
The fourth aspect of the embodiment of the present disclosure, there is provided a kind of computer-readable recording medium, is stored thereon with computer journey Sequence instructs, which realizes the voice operating method that the first aspect of the embodiment of the present disclosure is provided when being executed by processor The step of.
The technical scheme provided by this disclosed embodiment can include the following benefits:
In the above-mentioned technical solutions, the phonetic order of the different frequencys corresponds to the different amplitudes of accommodation, by knowing with voice The electronic equipment of other function obtains phonetic order, and determines the frequency that the phonetic order has occurred, so as to obtain target tune Section amplitude, electronic equipment are then adjusted objective function according to phonetic order and the target amplitude of accommodation.So, electronics The amplitude of accommodation that equipment performs phonetic order every time changes with the frequency of phonetic order, breaches the limit of amplitude of accommodation fixation System, objective function also can be quickly adjusted even if degree of regulation higher to perfect condition, operating procedure is effectively reduced, reduces and pass through Phonetic order adjusts the complexity of objective function.
It should be appreciated that the general description and following detailed description of the above are only exemplary and explanatory, not The disclosure can be limited.
Brief description of the drawings
Attached drawing is for providing further understanding of the disclosure, and a part for constitution instruction, with following tool Body embodiment is used to explain the disclosure together, but does not form the limitation to the disclosure.In the accompanying drawings:
Fig. 1 is a kind of implement scene schematic diagram according to an exemplary embodiment.
Fig. 2 is a kind of flow chart of voice operating method according to an exemplary embodiment.
Fig. 3 is a kind of flow chart of voice operating method according to an exemplary embodiment.
Fig. 4 is a kind of flow chart of voice operating method according to an exemplary embodiment.
Fig. 5 is a kind of block diagram of voice operating device according to an exemplary embodiment.
Fig. 6 is a kind of block diagram of voice operating device according to an exemplary embodiment.
Fig. 7 is a kind of block diagram of voice operating device according to an exemplary embodiment.
Fig. 8 is a kind of block diagram of voice operating device according to an exemplary embodiment.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to During attached drawing, unless otherwise indicated, the same numbers in different attached drawings represent the same or similar key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with it is such as appended The example of the consistent apparatus and method of some aspects be described in detail in claims, the disclosure.
It is well known that voice control technology is widely used in terminal device and Intelligent hardware field, during with internet Growing day by day for human-computer interaction demand, interactive voice has become the main way of human-computer interaction.Fig. 1 is according to an exemplary implementation A kind of implement scene schematic diagram exemplified, as shown in Figure 1, implement scene involved in the disclosure can include electronic equipment 100, which can be mobile phone, can also be tablet computer, desktop computer and PDA (Personal Digital Assistant, personal digital assistant) etc. electronic equipment, the electronic equipment 100 there is speech identifying function, user Interacted by way of voice operating with electronic equipment 100, electronic equipment 100 receive user phonetic order it Afterwards, corresponding operation performs objective function according to the command content.For example, the objective function adjusted can be electronic equipment 100 screen intensity, the output volume of audio component or font show size etc., and Fig. 1 is illustrated that user is grasped by voice The mode of work carries out electronic equipment 100 in the schematic diagram of volume adjustment.
Fig. 2 is a kind of flow chart of voice operating method according to an exemplary embodiment, applied to voice The electronic equipment of identification function, such as the electronic equipment 100 in Fig. 1, as shown in Fig. 2, this method comprises the following steps:
Step 201, phonetic order is obtained, which is used to indicate electronic equipment to objective function into line amplitude tune Section.
Illustratively, user is interacted by way of voice with electronic equipment, and electronic equipment is extracted from voice messaging The crucial words and phrases being adjusted for control targe function, i.e. phonetic order.
Step 202, the frequency that phonetic order has occurred is determined.
Wherein, the frequency refers to the number that same type of phonetic order repeats.
Step 203, the target amplitude of accommodation is determined according to the frequency.
Since the amplitude of accommodation corresponding to the phonetic order of the different frequencys is different, phonetic order has been determined in step 202 After the frequency of appearance, it may be determined that the corresponding target amplitude of accommodation of the phonetic order.For example, in a kind of possible correspondence In, when phonetic order A occurs for the 1st time, the target amplitude of accommodation is 5 units, and when phonetic order A occurs for the 2nd time, target adjusts width Spending for 10 units, when phonetic order A occurs for the 3rd time, the target amplitude of accommodation is 20 units, and so on;Phonetic order B When occurring for 1 time, the target amplitude of accommodation is 3 units, and when phonetic order B occurs for the 2nd time, the target amplitude of accommodation is 7 units, language When sound instruction B occurs for the 3rd time, the target amplitude of accommodation is 15 units.It follows that the corresponding pass between the frequency and the amplitude of accommodation System can be linear relationship, or non-linear relation, and the correspondence between the frequency and the amplitude of accommodation can be according to reality Border needs to be set.
Step 204, objective function is adjusted according to phonetic order and the target amplitude of accommodation.
Wherein, user adjusts objective function by way of voice operating, which can be electronic equipment Screen intensity, the output volume of audio component, font show size and the intensity of illumination of flash lamp etc..
Illustratively, the volume exported by the audio component of phonetic order adjusting electronic equipment, in the related art, often The secondary amplitude of accommodation is fixed, i.e., it is identical to perform the amplitude that phonetic order is adjusted every time.If it follows that electronic equipment Current volume be 20 decibels, the amplitude of accommodation is fixed as 10 decibels, is intended to the volume adjustment of electronic equipment to 80 decibels, it is necessary to weight Phonetic order 6 times again.However, according to step 203, the phonetic order of the different frequencys corresponds to the different amplitudes of accommodation, can in one kind Can embodiment in, when phonetic order occurs for the 1st time, the target amplitude of accommodation is 10 decibels, when phonetic order occurs for the 2nd time, The target amplitude of accommodation is 20 decibels, and when phonetic order occurs for the 3rd time, the target amplitude of accommodation is 30 decibels, and so on, it is known that will The volume of electronic equipment is adjusted to 80 decibels from 20 decibels to be needed to perform phonetic order 3 times.
Using the above method, the phonetic order obtained for electronic equipment, the frequency that can be occurred according to the phonetic order Default correspondence between the secondary amplitude of accommodation with target, carries out objective function the adjusting of non-constant-amplitude, effectively reduces behaviour Make step, reduce the complexity that objective function is adjusted by phonetic order.
, below will be with user in order to make those skilled in the art be easier to understand the technical solution of embodiment of the present disclosure offer Exemplified by the volume exported by phonetic order to the audio component of electronic equipment is adjusted, above-mentioned steps are lifted in detail Example explanation.
Fig. 3 is a kind of flow chart of voice operating method according to an exemplary embodiment, applied to voice The electronic equipment of identification function, such as the electronic equipment 100 in Fig. 1, as shown in figure 3, this method comprises the following steps:
Step 301, phonetic order is obtained, which is used to indicate electronic equipment to objective function into line amplitude tune Section.
Step 302, the type of phonetic order is recorded.
After electronic equipment gets phonetic order, classified according to phonetic order content to phonetic order, and remember Record the type of the phonetic order.Illustratively, user adjusts what the audio component of electronic equipment was exported in a manner of voice operating Volume, wherein, it is determined as a kind of instruction with the increase relevant phonetic order of volume, is two with reducing the relevant phonetic order of volume Class instructs, and the classification and recording method of other objective function regulating commands are similar.
Step 303, judge whether the type of the phonetic order of last record is identical with the type of phonetic order.
Specifically, this phonetic order got is after type is determined, the class with the phonetic order of last time record Type is contrasted, and judges whether both are identical.If the type and the type of this phonetic order of the phonetic order of last time record Identical, then by counter, count is incremented;If the type of type and this phonetic order of the phonetic order of last time record not phase Together, then the counting of counter is put 1.For example, the phonetic order type of last record instructs to be a kind of, counter current count It is worth for 4, this phonetic order got is identical with the type of the phonetic order of last time record through being judged as a kind of instruction, Then counter adds 1, and count value is updated to 5, represents a kind of and instructs the current frequency as 5;If this phonetic order got is through sentencing Break and instructed for two classes, different from the type of the phonetic order of last time record, then counter puts 1, and count value is updated to 1, represents It is 1 that two classes, which instruct the current frequency,.
Step 304, the current count value of determines counting device is the frequency that phonetic order has occurred.
From step 303, counter current count value is the frequency of this phonetic order type got, may be used also To know, the maximum of the same type of phonetic order frequency is counter before another type of phonetic order first appears Count value.
Step 305, according to default non-linear relation between the frequency and the amplitude of accommodation, the target amplitude of accommodation is determined.
In a kind of possible embodiment, the preset relation between the frequency and the amplitude of accommodation is non-linear relation, true The target amplitude of accommodation corresponding to this phonetic order can be determined according to preset relation after determining the frequency of phonetic order appearance.Example Such as, the frequency of phonetic order and the correspondence of the target amplitude of accommodation meet calculation formula Y=X2, wherein, X represents phonetic order The frequency, Y represent the target amplitude of accommodation, electronic equipment current volume be 30 decibels, the phonetic order frequency be 3 when, target tune Section amplitude is 9 decibels, if phonetic order instruction function amplitude increase, the volume of electronic equipment is updated to 39 decibels, if voice Instruction instruction function amplitude reduces, and the volume of electronic equipment is then updated to 21 decibels.
Step 306, objective function is adjusted according to phonetic order and the target amplitude of accommodation.
Specifically, when phonetic order is the phonetic order of instruction function amplitude increase, objective function is increased into target tune Section amplitude;When phonetic order is the phonetic order that instruction function amplitude reduces, objective function is reduced into the target amplitude of accommodation.Example Such as, user adjusts the volume that the audio component of electronic equipment is exported in a manner of voice operating, and the phonetic order got is When indicating the phonetic order of function amplitude increase, the volume that the audio component of electronic equipment is currently exported is 50 decibels, if language The frequency of sound instruction is 3, and the target amplitude of accommodation corresponding with the frequency is 15 decibels, then is exported the audio component of electronic equipment Volume increase to 65 decibels.It is corresponding, if the phonetic order got is the phonetic order that instruction function amplitude reduces, electricity The volume that the audio component of sub- equipment is exported then is decreased to 35 decibels.
Using the above method, specific preset relation is non-linear relation between phonetic order and the amplitude of accommodation, is breached The limitation that the amplitude of accommodation is fixed when objective function is adjusted, objective function also can be quickly adjusted even if degree of regulation higher to preferable shape State, effectively reduces operating procedure, reduces the complexity that objective function is adjusted by phonetic order.
Fig. 4 is a kind of flow chart of voice operating method according to an exemplary embodiment, applied to voice The electronic equipment of identification function, such as the electronic equipment 100 in Fig. 1, as shown in figure 4, this method comprises the following steps:
Step 401, phonetic order is obtained, which is used to indicate electronic equipment to objective function into line amplitude tune Section.
Step 402, judge whether electronic equipment is stored with multiple common range values of objective function.
, can be according to the use habit of user usually, in the relevant mode of objective function in a kind of possible embodiment Block stores the common range value of multiple objective functions.For example, the objective function that user needs to adjust is the audio of electronic equipment The volume that component is exported, wherein, the common range value of volume is 40 decibels, 50 decibels and 75 decibels.Refer to getting voice After order, judge whether be stored with common range value with the relevant objective function of the phonetic order, be "Yes" in judging result In the case of, step 403 is performed, in the case where judging result is "No", performs step 404.
Step 403, the common range value according to phonetic order type adjustment objective function to difference minimum.
Specifically, when electronic equipment is stored with multiple common range values of objective function, if phonetic order is indicated work Can amplitude increase phonetic order, then objective function is adjusted to arrive and is more than the current range value of objective function and works as with objective function The common range value of preceding range value difference minimum, if phonetic order is the phonetic order that instruction function amplitude reduces, by mesh Function point analysis is marked to the common width of the range value and with objective function current range value difference minimum current less than objective function Angle value.For example, with reference to step 402, when the audio component current volume of electronic equipment is 55 decibels, if the voice got refers to Order instruction function amplitude increase, then by volume adjustment to 75 decibels, if the phonetic order instruction function amplitude got reduces, By volume adjustment to 50 decibels.
What deserves to be explained is if the phonetic order instruction function amplitude increase got, the current volume width of electronic equipment Degree is more than the maximum of common range value, or the phonetic order instruction function amplitude reduction got, electronic equipment it is current Volume amplitude is less than the minimum value of common range value, then is handled according to the embodiment shown in Fig. 3 or correlation technique.This Outside, the method for being accustomed to adjusting other objective functions according to user is similar, and details are not described herein again.
Step 404, the frequency that phonetic order has occurred is determined.
Step 405, the target amplitude of accommodation is determined according to the frequency.
Step 406, objective function is adjusted according to phonetic order and the target amplitude of accommodation.
Using above method step, by storing multiple common range values of objective function, objective function adjusting is being carried out When, it is extremely minimum with current range value difference correspondingly to increase or reduce the current range value of objective function according to phonetic order Common range value, achieveed the purpose that quickly to adjust objective function to perfect condition, reduced and adjusted by phonetic order The complexity of objective function.
Fig. 5 is a kind of block diagram of voice operating device 500 according to an exemplary embodiment.Applied to voice The electronic equipment of identification function, voice operating device 500 can be implemented in combination with setting as electronics by software, hardware or both Standby is some or all of.As shown in figure 5, the device 500 can include:
Instruction acquisition module 501, is configured as obtaining phonetic order, phonetic order is used to indicate electronic equipment to target work( It can carry out amplitude adjusted;
Frequency determining module 502, is configured to determine that the frequency that phonetic order has occurred;
Amplitude determination modules 503, are configured as determining the target amplitude of accommodation according to the frequency, wherein, the different frequencys correspond to not The same amplitude of accommodation;
First adjustment module 504, is configured as adjusting objective function according to phonetic order and the target amplitude of accommodation Section.
Alternatively, amplitude determination modules 503 are configured as according to default non-linear relation between the frequency and the amplitude of accommodation, Determine the target amplitude of accommodation.
Using above device, the phonetic order got for instruction acquisition module 501, passes through frequency determining module 502 The corresponding target amplitude of accommodation of the phonetic order is determined with amplitude determination modules 503, then by the first adjustment module 504 to mesh The adjusting that function carries out non-constant-amplitude is marked, can effectively reduce operating procedure, reduces and objective function is adjusted by phonetic order Complexity.
Fig. 6 is a kind of block diagram of voice operating device 500 according to an exemplary embodiment.Applied to voice The electronic equipment of identification function, voice operating device 500 can be implemented in combination with setting as electronics by software, hardware or both Standby is some or all of.As shown in fig. 6, the frequency determining module 502 of the device 500 includes:
Record sub module 5021, is configured as the type of record phonetic order;
Judging submodule 5022, be configured as judging last record phonetic order type whether with phonetic order Type is identical;
Counting submodule 5023, is configured as the type phase of the type and phonetic order in the upper phonetic order once recorded Meanwhile then by counter, count is incremented;
Wherein, counting submodule 5023 is additionally configured to, in the type and phonetic order of the upper phonetic order once recorded Type when differing, then the counting of counter is put 1;
Determination sub-module 5024, it is the frequency that phonetic order has occurred to be configured to determine that the current count value of counter.
Alternatively, the first adjustment module 504 includes:First adjusts submodule 5041, is configured as referring in phonetic order When showing the phonetic order of function amplitude increase, objective function is increased into the target amplitude of accommodation;Second adjust submodule 5042, by with It is set to when phonetic order is the phonetic order that instruction function amplitude reduces, objective function is reduced into the target amplitude of accommodation.
Using above device, the phonetic order got by frequency determining module 502 to instruction acquisition module 501 carries out Count and record, and objective function is adjusted according to default non-linear relation between phonetic order and the amplitude of accommodation, dash forward The limitation that the amplitude of accommodation is fixed when objective function is adjusted has been broken, objective function famous dictum also can be quickly adjusted even if degree of regulation higher Think state, effectively reduce operating procedure, reduce the complexity that objective function is adjusted by phonetic order.
Fig. 7 is a kind of block diagram of voice operating device 500 according to an exemplary embodiment.Applied to voice The electronic equipment of identification function, voice operating device 500 can be implemented in combination with setting as electronics by software, hardware or both Standby is some or all of.As shown in fig. 7, the device 500 further includes:
Judgment module 505, is configured as, when getting phonetic order, judging whether electronic equipment is stored with objective function Multiple common range values;
Second adjustment module 506, is configured as when electronic equipment is stored with multiple common range values of objective function, if Phonetic order is the phonetic order of instruction function amplitude increase, then adjusts objective function and arrive the amplitude current more than objective function The common range value of value and the range value difference minimum current with objective function, if phonetic order is instruction, function amplitude reduces Phonetic order, then arrive objective function adjusting and be less than the current range value of objective function and the amplitude value difference current with objective function It is worth minimum common range value.
Using above device, by storing multiple common range values of objective function, when carrying out objective function adjusting, lead to Cross judgment module 505 and determine whether electronic equipment is stored with multiple common range values of objective function, and mould is adjusted by second Block 506 adjusts objective function, can achieve the purpose that quickly to adjust objective function to perfect condition, reduce and referred to by voice Order adjusts the complexity of objective function.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in related this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
The disclosure also provides a kind of computer-readable recording medium, is stored thereon with computer program instructions, which refers to The step of voice operating method that the disclosure provides, is realized in order when being executed by processor.
Fig. 8 is a kind of block diagram of voice operating device 800 according to an exemplary embodiment.For example, device 800 can To be mobile phone, computer, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices, are good for Body equipment, personal digital assistant etc..
With reference to Fig. 8, device 800 can include following one or more assemblies:Processing component 802, memory 804, electric power Component 806, multimedia component 808, audio component 810, the interface 812 of input/output (I/O), sensor component 814, and Communication component 816.
The integrated operation of the usual control device 800 of processing component 802, such as with display, call, data communication, phase The operation that machine operates and record operation is associated.Processing component 802 can refer to including one or more processors 820 to perform Order, to complete all or part of step of voice operating method.In addition, processing component 802 can include one or more modules, Easy to the interaction between processing component 802 and other assemblies.For example, processing component 802 can include multi-media module, with convenient Interaction between multimedia component 808 and processing component 802.
Memory 804 is configured as storing various types of data to support the operation in device 800.These data are shown Example includes the instruction of any application program or method for being operated on device 800, and contact data, telephone book data, disappears Breath, picture, video etc..Memory 804 can be by any kind of volatibility or non-volatile memory device or their group Close and realize, as static RAM (SRAM), electrically erasable programmable read-only memory (EEPROM) are erasable to compile Journey read-only storage (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash Device, disk or CD.
Electric power assembly 806 provides electric power for the various assemblies of device 800.Electric power assembly 806 can include power management system System, one or more power supplys, and other components associated with generating, managing and distributing electric power for device 800.
Multimedia component 808 is included in the screen of one output interface of offer between device 800 and user.In some realities Apply in example, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen can To be implemented as touch-screen, to receive input signal from the user.Touch panel include one or more touch sensors with Gesture on sensing touch, slip and touch panel.Touch sensor can not only sense the boundary of a touch or slide action, and And also detection and touch or the relevant duration and pressure of slide.In certain embodiments, multimedia component 808 includes One front camera and/or rear camera.It is preceding during such as screening-mode or video mode when device 800 is in operator scheme The multi-medium data of outside can be received by putting camera and/or rear camera.Each front camera and rear camera can To be a fixed optical lens system or there is focusing and optical zoom capabilities.
Audio component 810 is configured as output and/or input audio signal.For example, audio component 810 includes a Mike Wind (MIC), when device 800 is in operator scheme, during such as call model, logging mode and speech recognition mode, microphone by with It is set to reception external audio signal.The received audio signal can be further stored in memory 804 or via communication set Part 816 is sent.In certain embodiments, audio component 810 further includes a loudspeaker, for exports audio signal.
I/O interfaces 812 provide interface between processing component 802 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor component 814 includes one or more sensors, and the state for providing various aspects for device 800 is commented Estimate.For example, sensor component 814 can detect opening/closed mode of device 800, the relative positioning of component, such as component For the display and keypad of device 800, sensor component 814 can be with the position of 800 1 components of detection device 800 or device Put change, the existence or non-existence that user contacts with device 800,800 orientation of device or acceleration/deceleration and the temperature of device 800 Change.Sensor component 814 can include proximity sensor, be configured to detect without any physical contact near The presence of object.Sensor component 814 can also include optical sensor, such as CMOS or ccd image sensor, for should in imaging With middle use.In certain embodiments, which can also include acceleration transducer, gyro sensor, magnetic Sensor, pressure sensor or temperature sensor.
Communication component 816 is configured to facilitate the communication of wired or wireless way between device 800 and other equipment.Device 800 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.In an exemplary implementation In example, communication component 816 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, communication component 816 further includes near-field communication (NFC) module, to promote junction service.For example, Radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, bluetooth can be based in NFC module (BT) technology and other technologies are realized.
In the exemplary embodiment, device 800 can be believed by one or more application application-specific integrated circuit (ASIC), numeral Number processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for performing above-mentioned voice operating method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided Such as include the memory 804 of instruction, above-metioned instruction can be performed by the processor 820 of device 800 to complete above-mentioned voice operating side Method.For example, non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, Floppy disk and optical data storage devices etc..
Those skilled in the art will readily occur to other embodiment party of the disclosure after considering specification and putting into practice the disclosure Case.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or adaptability Change follows the general principle of the disclosure and including the undocumented common knowledge in the art of the disclosure or usual skill Art means.Description and embodiments are considered only as exemplary, and the true scope and spirit of the disclosure are by following claim Point out.
It should be appreciated that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by appended claim.

Claims (10)

  1. A kind of 1. voice operating method, applied to the electronic equipment with speech identifying function, it is characterised in that the method bag Include:
    Phonetic order is obtained, the phonetic order is used to indicate that the electronic equipment carries out amplitude adjusted to objective function;
    Determine the frequency that the phonetic order has occurred;
    The target amplitude of accommodation is determined according to the frequency, wherein, the different frequencys correspond to the different amplitudes of accommodation;
    The objective function is adjusted according to the phonetic order and the target amplitude of accommodation.
  2. 2. according to the method described in claim 1, it is characterized in that, described determine the target amplitude of accommodation according to the frequency, bag Include:
    According to default non-linear relation between the frequency and the amplitude of accommodation, the target amplitude of accommodation is determined.
  3. 3. according to the method described in claim 1, it is characterized in that, described adjusted according to the phonetic order and the target The objective function is adjusted in amplitude, including:
    When the phonetic order is the phonetic order of instruction function amplitude increase, the objective function is increased into the target tune Section amplitude;
    When the phonetic order is the phonetic order that instruction function amplitude reduces, the objective function is reduced into the target tune Section amplitude.
  4. 4. according to the method described in claim 1, it is characterized in that, the method further includes:
    When getting the phonetic order, judge whether the electronic equipment is stored with multiple common width of the objective function Angle value;
    When the electronic equipment is stored with multiple common range values of the objective function, if the phonetic order is indicated work Can amplitude increase phonetic order, then the objective function is adjusted arrive be more than the current range value of the objective function and with institute The common range value of the current range value difference minimum of objective function is stated, function amplitude subtracts if the phonetic order is instruction Small phonetic order, then the objective function is adjusted arrive be less than the current range value of the objective function and with the target work( The common range value of range value difference minimum that can be current.
  5. A kind of 5. voice operating device, applied to the electronic equipment with speech identifying function, it is characterised in that described device bag Include:
    Instruction acquisition module, is configured as obtaining phonetic order, the phonetic order is used to indicate the electronic equipment to target Function carries out amplitude adjusted;
    Frequency determining module, is configured to determine that the frequency that the phonetic order has occurred;
    Amplitude determination modules, are configured as determining the target amplitude of accommodation according to the frequency, wherein, the different frequencys correspond to different The amplitude of accommodation;
    First adjustment module, be configured as according to the phonetic order and the target amplitude of accommodation to the objective function into Row is adjusted.
  6. 6. device according to claim 5, it is characterised in that the amplitude determination modules are configured as according to the frequency The default non-linear relation between the amplitude of accommodation, determines the target amplitude of accommodation.
  7. 7. device according to claim 5, it is characterised in that first adjustment module, including:
    First adjusts submodule, is configured as when the phonetic order is the phonetic order of instruction function amplitude increase, by institute State objective function and increase the target amplitude of accommodation;
    Second adjusts submodule, is configured as when the phonetic order is the phonetic order that instruction function amplitude reduces, by institute State objective function and reduce the target amplitude of accommodation.
  8. 8. device according to claim 5, it is characterised in that described device further includes:
    Judgment module, is configured as, when getting the phonetic order, judging whether the electronic equipment is stored with the mesh Mark multiple common range values of function;
    Second adjustment module, is configured as when the electronic equipment is stored with multiple common range values of the objective function, If the phonetic order is the phonetic order of instruction function amplitude increase, objective function adjusting is arrived and is more than the target The common range value of the current range value of function and the range value difference minimum current with the objective function, if institute's predicate Sound instruction is the phonetic order that instruction function amplitude reduces, then adjusts the objective function current to the objective function is less than Range value and the range value difference minimum current with the objective function the common range value.
  9. A kind of 9. voice operating device, applied to the electronic equipment with speech identifying function, it is characterised in that including:
    Processor;
    For storing the memory of processor-executable instruction;
    Wherein, the processor is configured as:
    Phonetic order is obtained, the phonetic order is used to indicate that the electronic equipment carries out amplitude adjusted to objective function;
    Determine the frequency that the phonetic order has occurred;
    The target amplitude of accommodation is determined according to the frequency, wherein, the different frequencys correspond to the different amplitudes of accommodation;
    The objective function is adjusted according to the phonetic order and the target amplitude of accommodation.
  10. 10. a kind of computer-readable recording medium, is stored thereon with computer program instructions, it is characterised in that the programmed instruction The step of method any one of Claims 1 to 4 is realized when being executed by processor.
CN201711244424.2A 2017-11-30 2017-11-30 Voice operating method, apparatus and computer-readable recording medium Pending CN108040171A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711244424.2A CN108040171A (en) 2017-11-30 2017-11-30 Voice operating method, apparatus and computer-readable recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711244424.2A CN108040171A (en) 2017-11-30 2017-11-30 Voice operating method, apparatus and computer-readable recording medium

Publications (1)

Publication Number Publication Date
CN108040171A true CN108040171A (en) 2018-05-15

Family

ID=62094740

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711244424.2A Pending CN108040171A (en) 2017-11-30 2017-11-30 Voice operating method, apparatus and computer-readable recording medium

Country Status (1)

Country Link
CN (1) CN108040171A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108800074A (en) * 2018-06-25 2018-11-13 西安蜂语信息科技有限公司 Device operational method and lighting apparatus
CN108920129A (en) * 2018-07-27 2018-11-30 联想(北京)有限公司 Information processing method and information processing system
CN109065064A (en) * 2018-08-09 2018-12-21 歌尔科技有限公司 A kind of method, the method for audio output and output equipment generating EQ curve
CN112185369A (en) * 2019-07-04 2021-01-05 百度在线网络技术(北京)有限公司 Volume adjusting method, device, equipment and medium based on voice control
CN113596540A (en) * 2021-07-28 2021-11-02 深圳创维-Rgb电子有限公司 Display size adjusting method, device, equipment and storage medium
CN113971954A (en) * 2021-12-23 2022-01-25 广州小鹏汽车科技有限公司 Voice interaction method and device, vehicle and storage medium
CN113990299A (en) * 2021-12-24 2022-01-28 广州小鹏汽车科技有限公司 Voice interaction method and device, server and readable storage medium thereof
CN113990298A (en) * 2021-12-24 2022-01-28 广州小鹏汽车科技有限公司 Voice interaction method and device, server and readable storage medium thereof

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140086236A1 (en) * 2011-02-18 2014-03-27 Bae Systems Plc Application of a non-secure warning tone to a packetised voice signal
CN104145304A (en) * 2012-03-08 2014-11-12 Lg电子株式会社 An apparatus and method for multiple device voice control
CN106506809A (en) * 2016-10-11 2017-03-15 合网络技术(北京)有限公司 A kind of based on the method for dialog context automatic regulating volume, system and equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140086236A1 (en) * 2011-02-18 2014-03-27 Bae Systems Plc Application of a non-secure warning tone to a packetised voice signal
CN104145304A (en) * 2012-03-08 2014-11-12 Lg电子株式会社 An apparatus and method for multiple device voice control
CN106506809A (en) * 2016-10-11 2017-03-15 合网络技术(北京)有限公司 A kind of based on the method for dialog context automatic regulating volume, system and equipment

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108800074A (en) * 2018-06-25 2018-11-13 西安蜂语信息科技有限公司 Device operational method and lighting apparatus
CN108920129A (en) * 2018-07-27 2018-11-30 联想(北京)有限公司 Information processing method and information processing system
US11086590B2 (en) 2018-07-27 2021-08-10 Lenovo (Beijing) Co., Ltd. Method and system for processing audio signals
CN109065064A (en) * 2018-08-09 2018-12-21 歌尔科技有限公司 A kind of method, the method for audio output and output equipment generating EQ curve
CN112185369A (en) * 2019-07-04 2021-01-05 百度在线网络技术(北京)有限公司 Volume adjusting method, device, equipment and medium based on voice control
CN112185369B (en) * 2019-07-04 2024-04-26 百度在线网络技术(北京)有限公司 Volume adjusting method, device, equipment and medium based on voice control
CN113596540A (en) * 2021-07-28 2021-11-02 深圳创维-Rgb电子有限公司 Display size adjusting method, device, equipment and storage medium
CN113971954A (en) * 2021-12-23 2022-01-25 广州小鹏汽车科技有限公司 Voice interaction method and device, vehicle and storage medium
WO2023116502A1 (en) * 2021-12-23 2023-06-29 广州小鹏汽车科技有限公司 Speech interaction method and apparatus, and vehicle and storage medium
CN113990299A (en) * 2021-12-24 2022-01-28 广州小鹏汽车科技有限公司 Voice interaction method and device, server and readable storage medium thereof
CN113990298A (en) * 2021-12-24 2022-01-28 广州小鹏汽车科技有限公司 Voice interaction method and device, server and readable storage medium thereof
WO2023116500A1 (en) * 2021-12-24 2023-06-29 广州小鹏汽车科技有限公司 Speech interaction method and apparatus, server, and readable storage medium

Similar Documents

Publication Publication Date Title
CN108040171A (en) Voice operating method, apparatus and computer-readable recording medium
CN104991789B (en) Application program open method and device
CN107919123A (en) More voice assistant control method, device and computer-readable recording medium
US20170344192A1 (en) Method and device for playing live videos
CN106791921A (en) The processing method and processing device of net cast
US20170308353A1 (en) Method and apparatus for triggering execution of operation instruction
EP3125512A1 (en) Silent ring indication while listening music over a headset
CN107944447A (en) Image classification method and device
CN105354017B (en) Information processing method and device
WO2018000710A1 (en) Method and device for displaying wifi signal icon and mobile terminal
CN107219992A (en) Open the method and device of split screen function
CN106959807A (en) View angle switch method and device
CN107105517A (en) Method for connecting network and device
CN107506246A (en) Information displaying method, device and computer-readable recording medium
CN107295190A (en) Working mode switching method, device and protective case
CN107301242A (en) Method, device and the storage medium of page jump
CN107896355A (en) The control method and device of AI audio amplifiers
CN107368280A (en) Method for controlling volume, device and the interactive voice equipment of interactive voice
CN105611172B (en) The reminding method and device that countdown is taken pictures
CN107566750A (en) Control method, device and the storage medium of flash lamp
CN106484296A (en) Mobile terminal prevents processing method, device and the equipment of false touch
CN108037987A (en) application control method, device, storage medium
CN107908346A (en) For controlling the method and device of screen display
CN107295099A (en) PUSH message processing method, device and storage medium
CN105119984B (en) Send the method and device of file

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20180515

RJ01 Rejection of invention patent application after publication