CN108305626A - The sound control method and device of application program - Google Patents

The sound control method and device of application program Download PDF

Info

Publication number
CN108305626A
CN108305626A CN201810095330.1A CN201810095330A CN108305626A CN 108305626 A CN108305626 A CN 108305626A CN 201810095330 A CN201810095330 A CN 201810095330A CN 108305626 A CN108305626 A CN 108305626A
Authority
CN
China
Prior art keywords
instruction
text message
target keyword
destination application
application
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
CN201810095330.1A
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.)
Baidu Online Network Technology Beijing Co Ltd
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201810095330.1A priority Critical patent/CN108305626A/en
Publication of CN108305626A publication Critical patent/CN108305626A/en
Pending legal-status Critical Current

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
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/26Speech to text systems
    • 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 embodiment of the present application discloses the sound control method and device of application program.One specific implementation mode of this method includes:Voice messaging input by user is received, converts voice messaging to text message;In response to determining that text message includes the mark word of destination application, at least one target keyword is obtained from text message, and acquired target keyword is matched in preset instruction set, wherein instruction set includes multiple keywords and the instruction bound with keyword;In response to being matched to target keyword from preset instruction set, the instruction with target keyword binding is obtained, control targe application program is run according to acquired instruction.The embodiment reduces the operation complexity of destination application.

Description

The sound control method and device of application program
Technical field
The invention relates to field of computer technology, and in particular to the sound control method and device of application program.
Background technology
Currently, the application installed on terminal device emerges one after another, it is many in order to meet many-sided demand of user as far as possible Using integrating various functions.And these more and complicated functions inevitably lead to user's operation inconvenience.For example, purchase Object platform class application program, searching class tool applications, network operator customer end etc. would generally provide a variety of application functions. In these application programs, certain functions or setting options may need user repeatedly to click, successively enter after sub-interface It can find.In addition, even if user knows the position where some " deep layer " function, uses before the function or need more every time Grade is clicked and is redirected.
Invention content
The embodiment of the present application proposes the sound control method and device of application program.
In a first aspect, the embodiment of the present application provides a kind of sound control method of application program, this method includes:It receives Voice messaging input by user converts voice messaging to text message;In response to determining that text message includes that target is answered With the mark word of program, at least one target keyword is obtained from text message, and match and obtained in preset instruction set The target keyword taken, wherein instruction set includes multiple keywords and the instruction bound with keyword;In response to from preset finger It enables concentrating and is matched to target keyword, obtain the instruction with target keyword binding, control targe application program is acquired in Instruction run.
In some embodiments, before receiving voice messaging input by user, method further includes:In response to receiving mesh The open instructions for marking application program, starts the destination application to call speech recognition interface.
In some embodiments, the predeterminated position for the character string that mark lexeme is formed in text message.
In some embodiments, method further includes:For destination application, corresponding mark word is set;And it obtains and constitutes At least one instruction of destination application, at least one keyword for instruction binding for triggering the instruction are formed default Instruction set.
In some embodiments, method further includes:The operation knot with the instruction bound in target keyword is sent to user Fruit.
Second aspect, the embodiment of the present application provide a kind of phonetic controller of application program, and device includes:Conversion is single Member is configured to receive voice messaging input by user, converts voice messaging to text message;Matching unit is configured to In response to determining that text message includes the mark word of destination application, at least one target is obtained from text message and is closed Keyword, and match in preset instruction set acquired target keyword, wherein instruction set include multiple keywords and with pass The instruction of keyword binding;Control unit, is configured in response to being matched to target keyword from preset instruction set, obtain with The instruction of target keyword binding, control targe application program are run according to acquired instruction.
In some embodiments, device further includes:Call unit is configured in response to receiving destination application Open instructions starts the destination application to call speech recognition interface.
In some embodiments, the predeterminated position for the character string that mark lexeme is formed in text message.
In some embodiments, device further includes:Setting unit is configured to that corresponding mark is arranged for destination application Know word;And instruction set forms unit, is configured to obtain at least one instruction for constituting destination application, be bound for instruction At least one keyword for triggering the instruction, forms preset instruction set.
In some embodiments, device further includes:Transmission unit is configured to send to user and be tied up with target keyword The operation result of fixed instruction.
The sound control method and device of application program provided by the embodiments of the present application can input the user received Voice messaging be converted into text message, then in response to determining that text message includes the mark word of destination application, At least one target keyword can be obtained from text information, and is matched acquired target in preset instruction set and closed Keyword can obtain the finger bound with target keyword finally in response to being matched to target keyword from preset instruction set It enables, and control targe application program is run according to acquired instruction, to realize the voice control to destination application System, reduces the operation complexity of destination application.
Description of the drawings
By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, the application's is other Feature, objects and advantages will become more apparent upon:
Fig. 1 is that this application can be applied to exemplary system architecture figures therein;
Fig. 2 is the flow chart according to one embodiment of the sound control method of the application program of the application;
Fig. 3 is the flow chart according to another embodiment of the sound control method of the application program of the application;
Fig. 4 is the schematic diagram according to an application scenarios of the sound control method of the application program of the application;
Fig. 5 is the structural schematic diagram according to one embodiment of the phonetic controller of the application program of the application;
Fig. 6 is adapted for the structural schematic diagram of the computer system for realizing the embodiment of the present application electronic equipment.
Specific implementation mode
The application is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining related invention, rather than the restriction to the invention.It also should be noted that in order to Convenient for description, is illustrated only in attached drawing and invent relevant part with related.
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase Mutually combination.The application is described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
Fig. 1 shows the voice control dress of the sound control method or application program that can apply the application program of the application The exemplary system architecture 100 for the embodiment set.
As shown in Figure 1, system architecture 100 may include terminal device 101,102,103, network 104 and server 105. Network 104 between terminal device 101,102,103 and server 105 provide communication link medium.Network 104 can be with Including various connection types, such as wired, wireless communication link or fiber optic cables etc..
User can be interacted by network 104 with server 105 with using terminal equipment 101,102,103, to receive or send out It delivers letters breath etc..Various telecommunication customer end applications, such as searching class application, purchase can be installed on terminal device 101,102,103 Species application, the application of weather class, instant messaging tools, mailbox client, social platform software etc..
Terminal device 101,102,103 can be the various electronic equipments for having display screen and voice being supported to input, packet Include but be not limited to smart mobile phone, tablet computer, E-book reader, MP3 player (Moving Picture Experts Group Audio Layer III, dynamic image expert's compression standard audio level 3), MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert's compression standard audio level 4) it is player, on knee portable Computer and desktop computer etc..
Server 105 can be to provide the server of various services, such as to being inputted on terminal device 101,102,103 The background server that voice messaging is identified and converts.Background server can be to voice messaging for receiving etc. into row information The processing such as conversion, matching, search, and handling result (such as result of page searching) is fed back into terminal device.
It should be noted that the sound control method for the application program that the embodiment of the present application is provided is generally by server 105 execute, and correspondingly, the phonetic controller of application program is generally positioned in server 105.
It may also be noted that the sound control method of application program can also be executed by terminal device 101,102,103, Correspondingly, the phonetic controller of application program can also be set in terminal device 101,102,103.
It should be understood that the number of the terminal device, network and server in Fig. 1 is only schematical.According to realization need It wants, can have any number of terminal device, network and server.
With continued reference to Fig. 2, the stream of one embodiment of the sound control method of the application program according to the application is shown Journey 200.The sound control method of the application program, includes the following steps:
Step 201, voice messaging input by user is received, converts voice messaging to text message.
In the present embodiment, the electronic equipment of the sound control method operation of application program thereon is (such as shown in FIG. 1 Server 105) can by wired connection mode or radio connection from be equipped with application program terminal device (such as Terminal device shown in FIG. 1 101,102,103) receive voice messaging input by user.Then, which can utilize each Kind means carry out text to the voice messaging being connected to and convert to generate text message corresponding with the voice messaging.It may be noted that , above-mentioned radio connection can include but is not limited to 3G/4G connections, WiFi connections, bluetooth connection, WiMAX connections, Zigbee connections, UWB (ultra wideband) connections and other currently known or exploitation in the future radio connections.
As an example, acoustic model can be trained using a large amount of voice messaging and voice messaging corresponding text message (such as hidden Markov model), can in the case where receiving voice messaging input by user after the completion of acoustic training model Voice messaging to be identified using trained acoustic model, text corresponding with voice messaging input by user is obtained Information.Alternatively, above-mentioned electronic equipment can also utilize existing speech recognition product, the voice messaging of the acquisition is directly converted For text message.
In general, multiple application programs can be installed on terminal device where user, such as search can be installed on mobile phone The multiple mobile phones softwares such as class application, shopping class application.Herein, when the destination application installed on user opens a terminal equipment Afterwards, the voice input hardware equipment (such as microphone) that user can utilize terminal device to provide inputs language in destination application Message ceases, and pre-stored voice messaging can also be inputted by way of copy.Voice messaging may come from using above-mentioned The user of terminal device, can be from other users.The content of voice messaging can include number, letter, word Equal characters, and the languages of voice messaging and text message are not intended to limit in this application, such as can be Chinese and/or English Deng.
Step 202, it in response to determining that text message includes the mark word of destination application, is obtained from text message At least one target keyword is taken, and matches acquired target keyword in preset instruction set.
In the present embodiment, for destination application, above-mentioned electronic equipment can pre-establish corresponding instruction Collection, the instruction set may include multiple keywords and the instruction bound with keyword.Obtained text envelope is converted based on step 201 Breath, above-mentioned electronic equipment can carry out text identification in text information first, to judge whether wrapped in text information Include the mark word (such as the mark word of " A electric business platform " can be " small A ") of destination application.It is understood that target Application program can be corresponding with one or more mark words, at this point, wherein whether electronic equipment can detect in text message There are any one or more mark words of the destination application.Here, the mark word of destination application can be used In voice control functions such as phonetic search, the system settings for waking up the destination application.Then, above-mentioned electronic equipment can profit The above-mentioned text message obtained to conversion is handled with various analysis means, to obtain one or more target criticals Word.Finally, acquired each target keyword is matched in the instruction set pre-established.
It can be semantic point to the processing mode of above-mentioned text message in some optional realization methods of the present embodiment Analysis mode.As an example, the processing such as full cutting method can be carried out to text message, the content segmentation of text message at word; Using full cutting method, can be syncopated as first with the matched all possible word of language dictionary, then use statistical language model Determine optimal cutting result.For converting obtained information " weather forecast in concern Shanghai ", language can be carried out first Dictionary matches, and finds matched all words --- concern, Shanghai, weather forecast, upper, extra large, weather, forecast;These words with Word grid (word lattices) form indicates that then word-based grid does route searching, then is based on statistical language model (example Such as N-Gram models) find optimal path.If result shows the language model scores of " weather forecast in concern Shanghai " most Height, then " weather forecast in concern Shanghai " is the optimal cutting of " weather forecast in concern Shanghai ".Herein, N-Gram models Chinese language model (CLM, Chinese Language can be referred to as Chinese by being a kind of common language model Model).The N-Gram models based on it is such a it is assumed that n-th word appearance only it is related to the word of front N-1, and with it is other Any word is all uncorrelated, and the probability of whole sentence is exactly the product of each word probability of occurrence, and these probability can be by directly from language N number of word is counted in material while the number occurred obtains.After text message is divided into word using full cutting method, Ke Yicong The noises words such as auxiliary word, function word are rejected in each word, to obtain the target keyword of text message.Therefore, text message " is closed Note the weather forecast in Shanghai " target keyword " concern Shanghai weather forecast " can be obtained.
It should be noted that the various methods of above-mentioned semantic analysis mode are the known skills studied and applied extensively at present Art, details are not described herein.
Step 203, it in response to being matched to target keyword from preset instruction set, obtains and target keyword binding Instruction, control targe application program are run according to acquired instruction.
In the present embodiment, after acquired target keyword is matched in preset instruction set based on step 202, on The matched result of target keyword can be obtained by stating electronic equipment.And it is determining to be matched to from preset instruction set After target keyword, above-mentioned electronic equipment can obtain and the instruction bound in target keyword.Then, which can be with Acquired instruction is sent to destination application, can be carried out according to acquired instruction to control the destination application Operation.As an example, for the weather forecast APP (Application, cell phone software) installed on mobile phone, above-mentioned electronic equipment It, can be from pre- after the target keyword " concern Shanghai weather forecast " for obtaining the text message weather forecast of Shanghai " concern " If instruction set in obtain with target keyword " concern Shanghai weather forecast " binding for weather forecast concern city to be arranged Instruction, and above-mentioned weather forecast APP can be controlled and run the concern city that the instruction sets Shanghai to weather forecast.It is optional , when in determining preset instruction set in the presence of the keyword for being more than predetermined threshold value with the similarity of target keyword, then may be used To think that above-mentioned electronic equipment can be matched to target keyword from preset instruction set.
In some optional realization methods of the present embodiment, if above-mentioned electronic equipment is not matched from preset instruction set To acquired target keyword, prompt user's operation mistake or the impossible prompt letter of operation can be returned to user Breath.
The sound control method for the application program that above-described embodiment of the application provides, can input the user received Voice messaging be converted into text message, then in response to determining that text message includes the mark word of destination application, At least one target keyword can be obtained from text information, and is matched acquired target in preset instruction set and closed Keyword can obtain the finger bound with target keyword finally in response to being matched to target keyword from preset instruction set It enables, and control targe application program is run according to acquired instruction, to realize the voice control to destination application System, reduces the operation complexity of destination application.
Referring next to Fig. 3, it illustrates another realities according to the sound control method of the application program of the application Apply the flow 300 of example.The sound control method of the application program, includes the following steps:
Step 301, it is that corresponding mark word is arranged in destination application.
In the present embodiment, program is used for for target, the sound control method of application program runs electronics thereon Equipment (such as server 105 shown in FIG. 1) can be that corresponding mark word is arranged in the destination application.For example, target is answered With the developer of program during exploitation, corresponding shell script can be added in the destination application, so that electric Corresponding mark word can be arranged for the destination application by running added shell script in sub- equipment.In general, mesh The mark word for marking application program can be positioned at the predeterminated position in the character string that text message is formed.For example, mark word can be with Positioned at the original position of text message character string.
Step 302, at least one instruction for constituting destination application is obtained, is that instruction is bound for triggering the instruction At least one keyword forms preset instruction set.
In the present embodiment, it is by a series of computer numbers according to particular order tissue that application program, which is generally understood that, According to the set with instruction.As it can be seen that above-mentioned destination application may include at least one instruction.Therefore, above-mentioned electronic equipment is first At least one instruction for constituting the destination application can be first obtained, can be then that acquired each instruction binding is corresponding Keyword forms instruction set.In the instruction set, it can be used for triggering the execution of the instruction with the keyword of any instruction binding. Therefore, when the keyword triggering that a certain instruction in instruction set is mutually bound therewith, above-mentioned electronic equipment can be with control targe Application program runs the instruction, so that destination application may be implemented, function interface redirects, system is arranged, search result The different functions such as display.
It is understood that during destination application is developed, developer can be flexible according to actual demand Ground is the keyword that acquired each instruction setting is bound with it, and for different instructions, needs to bind different keys Word.Further, for any instruction, the required keyword bound can be one or more.Then, above-mentioned electronics is set It is standby the instruction set of formation to be stored into database.
Step 303, in response to receiving the open instructions of destination application, start the destination application to call language Sound identifies interface.
In the present embodiment, when user needs using destination application, user can input the mesh to terminal device The open instructions of application program is marked, for example, carrying out long press operation to the screen where terminal.Above-mentioned electronic equipment is receiving mesh After the open instructions for marking application program, the destination application can be started.Then, in order to realize the language of destination application Sound control function, above-mentioned electronic equipment can call the speech recognition interface of the destination application.
Step 304, voice messaging input by user is received, converts voice messaging to text message.
In the present embodiment, the speech recognition interface called based on step 303, above-mentioned electronic equipment can be where users Terminal device receive voice messaging input by user.Then, the language which can be using various means to being connected to Message breath carries out text conversion, to generate text message corresponding with the voice messaging.
Step 305, it in response to determining that text message includes the mark word of destination application, is obtained from text message At least one target keyword is taken, and matches acquired target keyword in preset instruction set.
In the present embodiment, for above-mentioned destination application, above-mentioned electronic equipment can pre-establish the intended application The instruction set of program, the instruction set may include multiple keywords and the instruction bound with keyword.It is converted based on step 304 The text message arrived, above-mentioned electronic equipment can carry out text identification in text information first, to judge that the text is believed Whether the mark word of destination application is included in breath.It is understood that destination application can correspond to there are one or it is more A mark word, at this point, electronic equipment can detect in text message wherein whether there is any one of the destination application A or multiple mark words.Here, the mark word of destination application can be used for waking up the voice of the destination application The voice control functions such as search, system setting.Then, above-mentioned electronic equipment can utilize various analysis means to above-mentioned to conversion Obtained text message is handled, to obtain one or more target keywords.Finally, in the instruction set pre-established The acquired each target keyword of matching.
Step 306, it in response to being matched to target keyword from preset instruction set, obtains and target keyword binding Instruction, control targe application program are run according to acquired instruction.
In the present embodiment, after acquired target keyword is matched in preset instruction set based on step 305, on The matched result of target keyword can be obtained by stating electronic equipment.And it is determining to be matched to from preset instruction set After target keyword, above-mentioned electronic equipment can obtain and the instruction bound in target keyword.Then, which can be with Acquired instruction is sent to destination application, can be carried out according to acquired instruction to control the destination application Operation.
Step 307, the operation result with the instruction bound in target critical phrase is sent to user.
In the present embodiment, above-mentioned electronic equipment is after control targe application program is according to acquired instruction operation, It can obtain the operation result of the instruction, and the operation result of the instruction is sent to terminal device, so that the terminal device Operation result can be shown to each user.In this way, user realizes using the voice messaging of input come control targe application program Operation.
In conclusion exploit person is during development and application program, can by for application program be arranged mark word come The function of the voice control for being used for program is waken up, and voice is realized by binding keyword for the instruction in application program The function of control reduces so that user can utilize inputted voice messaging to directly control the operation of application program The operation complexity of application program.It is understood that this method can be applied in different application, different are answered With program, developer can only need to simply change configuration parameter accordingly on the basis of overall architecture is constant and (such as answer With the mark word of program and instruction set etc.) can so that application program realize voice control function, so as to reduce weight Multiple exploitation, reduces the development cost of application program.
It it is one according to the application scenarios of the sound control method of the application program of the present embodiment with continued reference to Fig. 4, Fig. 4 Schematic diagram.In the application scenarios of Fig. 4, for D weather forecast platforms, one section of voice that user inputs to mobile terminal first is believed Breath;Later, background server is converted to text message from this section of voice messaging of the acquisition for mobile terminal, and by this section of voice messaging " the small small D of D, I wants to pay close attention to the weather forecast in Shanghai ";Then, in response to determining that the original position of text information includes D The mark word " small D " of weather forecast platform, above-mentioned electronic equipment can " the small small D of D, I wants to pay close attention to the day in Shanghai from text message Target keyword " concern Shanghai weather forecast " is obtained in gas forecast ", and acquired target is matched in preset instruction set Keyword;Finally, in response to being matched to target keyword " concern Shanghai weather forecast ", above-mentioned background server in instruction set The instruction bound with the target keyword can be obtained, and controls D weather forecasts platform and can run the instruction and Shanghai is arranged To pay close attention to the city of weather forecast, here, sets the five-pointed star of 401 marks in Fig. 4 to black and show that it is to close that Shanghai, which is arranged, City is noted, and the result being provided with is shown to user by terminal device, as shown in Figure 4.
The method that above-described embodiment of the application provides is by being arranged mark word for destination application and being answered with the target The keyword bound with the instruction in program, so that user may be implemented to navigate to destination application by voice messaging In be difficult to find that, need the specific location of function by repeatedly redirecting, improve the effect that user uses destination application Rate.
With further reference to Fig. 5, as the realization to method shown in above-mentioned each figure, this application provides a kind of application programs One embodiment of phonetic controller, the device embodiment is corresponding with embodiment of the method shown in Fig. 2, which specifically may be used To be applied in various electronic equipments.
As shown in figure 5, the phonetic controller 500 of the application program of the present embodiment includes:Conversion unit 501, matching are single Member 502 and control unit 503.Wherein, conversion unit 501 is configured to receive voice messaging input by user, by voice messaging It is converted into text message;Matching unit 502 is configured in response to determining that text message includes the mark of destination application Know word, at least one target keyword is obtained from text message, and matches acquired target in preset instruction set and close Keyword, wherein instruction set includes multiple keywords and the instruction bound with keyword;Control unit 503 be configured in response to It is matched to target keyword from preset instruction set, obtains the instruction with target keyword binding, control targe application program It is run according to acquired instruction.
In some optional realization methods of the present embodiment, the phonetic controller 500 of application program further includes:It calls Unit (not shown) is configured to the open instructions in response to receiving destination application, start the destination application with Call speech recognition interface.
In some optional realization methods of the present embodiment, character string that above-mentioned mark lexeme is formed in text message Predeterminated position.
In some optional realization methods of the present embodiment, the phonetic controller 500 of application program further includes:Setting Unit is configured to that corresponding mark word is arranged for destination application;And instruction set forms unit, is configured to obtain structure At at least one instruction of destination application, at least one keyword for instruction binding for triggering the instruction is formed pre- If instruction set.
In some optional realization methods of the present embodiment, the phonetic controller 500 of application program further includes:It sends Unit is configured to send the operation result with the instruction bound in target keyword to user.
Below with reference to Fig. 6, it illustrates the computer systems 600 suitable for the electronic equipment for realizing the embodiment of the present application Structural schematic diagram.Electronic equipment shown in Fig. 6 is only an example, to the function of the embodiment of the present application and should not use model Shroud carrys out any restrictions.
As shown in fig. 6, computer system 600 includes central processing unit (CPU) 601, it can be read-only according to being stored in Program in memory (ROM) 602 or be loaded into the program in random access storage device (RAM) 603 from storage section 608 and Execute various actions appropriate and processing.In RAM 603, also it is stored with system 600 and operates required various programs and data. CPU 601, ROM 602 and RAM 603 are connected with each other by bus 604.Input/output (I/O) interface 605 is also connected to always Line 604.
It is connected to I/O interfaces 605 with lower component:Importation 606 including keyboard, mouse etc.;It is penetrated including such as cathode The output par, c 607 of spool (CRT), liquid crystal display (LCD) etc. and loud speaker etc.;Storage section 608 including hard disk etc.; And the communications portion 609 of the network interface card including LAN card, modem etc..Communications portion 609 via such as because The network of spy's net executes communication process.Driver 610 is also according to needing to be connected to I/O interfaces 605.Detachable media 611, such as Disk, CD, magneto-optic disk, semiconductor memory etc. are mounted on driver 610, as needed in order to be read from thereon Computer program be mounted into storage section 608 as needed.
Particularly, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description Software program.For example, embodiment of the disclosure includes a kind of computer program product comprising be carried on computer-readable medium On computer program, which includes the program code for method shown in execution flow chart.In such reality It applies in example, which can be downloaded and installed by communications portion 609 from network, and/or from detachable media 611 are mounted.When the computer program is executed by central processing unit (CPU) 601, limited in execution the present processes Above-mentioned function.It should be noted that computer-readable medium described herein can be computer-readable signal media or Computer readable storage medium either the two arbitrarily combines.Computer readable storage medium for example can be --- but Be not limited to --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or arbitrary above combination. The more specific example of computer readable storage medium can include but is not limited to:Electrical connection with one or more conducting wires, Portable computer diskette, hard disk, random access storage device (RAM), read-only memory (ROM), erasable type may be programmed read-only deposit Reservoir (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory Part or above-mentioned any appropriate combination.In this application, computer readable storage medium can any be included or store The tangible medium of program, the program can be commanded the either device use or in connection of execution system, device.And In the application, computer-readable signal media may include the data letter propagated in a base band or as a carrier wave part Number, wherein carrying computer-readable program code.Diversified forms may be used in the data-signal of this propagation, including but not It is limited to electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be computer Any computer-readable medium other than readable storage medium storing program for executing, the computer-readable medium can send, propagate or transmit use In by instruction execution system, device either device use or program in connection.Include on computer-readable medium Program code can transmit with any suitable medium, including but not limited to:Wirelessly, electric wire, optical cable, RF etc., Huo Zheshang Any appropriate combination stated.
The calculating of the operation for executing the application can be write with one or more programming languages or combinations thereof Machine program code, described program design language include object oriented program language-such as Java, Smalltalk, C+ +, further include conventional procedural programming language-such as " C " language or similar programming language.Program code can Fully to execute on the user computer, partly execute, executed as an independent software package on the user computer, Part executes or executes on a remote computer or server completely on the remote computer on the user computer for part. In situations involving remote computers, remote computer can pass through the network of any kind --- including LAN (LAN) Or wide area network (WAN)-is connected to subscriber computer, or, it may be connected to outer computer (such as utilize Internet service Provider is connected by internet).
Flow chart in attached drawing and block diagram, it is illustrated that according to the system of the various embodiments of the application, method and computer journey The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation A part for a part for one module, program segment, or code of table, the module, program segment, or code includes one or more uses The executable instruction of the logic function as defined in realization.It should also be noted that in some implementations as replacements, being marked in box The function of note can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are actually It can be basically executed in parallel, they can also be executed in the opposite order sometimes, this is depended on the functions involved.Also it to note Meaning, the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart can be with holding The dedicated hardware based system of functions or operations as defined in row is realized, or can use specialized hardware and computer instruction Combination realize.
Being described in unit involved in the embodiment of the present application can be realized by way of software, can also be by hard The mode of part is realized.Described unit can also be arranged in the processor, for example, can be described as:A kind of processor packet Include conversion unit, matching unit and control unit.Wherein, the title of these units is not constituted under certain conditions to the unit The restriction of itself, for example, conversion unit is also described as " receiving voice messaging input by user, voice messaging being converted For the unit of text message ".
As on the other hand, present invention also provides a kind of computer-readable medium, which can be Included in device described in above-described embodiment;Can also be individualism, and without be incorporated the device in.Above-mentioned calculating Machine readable medium carries one or more program, when said one or multiple programs are executed by the device so that should Device:Voice messaging input by user is received, converts voice messaging to text message;In response to determining to wrap in text message The mark word for including destination application obtains at least one target keyword from text message, and in preset instruction set The acquired target keyword of matching, wherein instruction set includes multiple keywords and the instruction bound with keyword;In response to from It is matched to target keyword in preset instruction set, obtains the instruction with target keyword binding, control targe application program root It is run according to acquired instruction.
Above description is only the preferred embodiment of the application and the explanation to institute's application technology principle.People in the art Member should be appreciated that invention scope involved in the application, however it is not limited to technology made of the specific combination of above-mentioned technical characteristic Scheme, while should also cover in the case where not departing from foregoing invention design, it is carried out by above-mentioned technical characteristic or its equivalent feature Other technical solutions of arbitrary combination and formation.Such as features described above has similar work(with (but not limited to) disclosed herein Can technical characteristic replaced mutually and the technical solution that is formed.

Claims (12)

1. a kind of sound control method of application program, including:
Voice messaging input by user is received, converts the voice messaging to text message;
In response to determining that the text message includes the mark word of destination application, from the text message obtain to A few target keyword, and acquired target keyword is matched in preset instruction set, wherein described instruction collection includes Multiple keywords and the instruction bound with keyword;
In response to being matched to the target keyword from preset described instruction concentration, obtain and target keyword binding Instruction, controls the destination application and is run according to acquired instruction.
2. according to the method described in claim 1, wherein, before receiving voice messaging input by user, the method is also wrapped It includes:
In response to receiving the open instructions of the destination application, start the destination application to call speech recognition to connect Mouthful.
3. according to the method described in claim 1, wherein, character string that the mark lexeme is formed in the text message Predeterminated position.
4. according to the method described in claim 1, wherein, the method further includes:
For the destination application, corresponding mark word is set;And
At least one instruction for constituting the destination application is obtained, is bound for described instruction for triggering the instruction at least One keyword forms preset described instruction collection.
5. according to the method described in one of claim 1-4, wherein the method further includes:
The operation result with the instruction bound in the target keyword is sent to the user.
6. a kind of phonetic controller of application program, including:
Conversion unit, is configured to receive voice messaging input by user, converts the voice messaging to text message;
Matching unit is configured in response to determining that the text message includes the mark word of destination application, from institute It states and obtains at least one target keyword in text message, and match acquired target keyword in preset instruction set, Wherein, described instruction collection includes multiple keywords and the instruction bound with keyword;
Control unit is configured in response to being matched to the target keyword, acquisition and institute from preset described instruction concentration The instruction for stating target keyword binding, controls the destination application and is run according to acquired instruction.
7. device according to claim 6, wherein described device further includes:
Call unit is configured to the open instructions in response to receiving the destination application, starts the intended application journey Sequence is to call speech recognition interface.
8. device according to claim 6, wherein the character string that the mark lexeme is formed in the text message Predeterminated position.
9. device according to claim 6, wherein described device further includes:
Setting unit is configured to that corresponding mark word is arranged for the destination application;And
Instruction set forms unit, is configured to obtain at least one instruction for constituting the destination application, is described instruction At least one keyword for triggering the instruction is bound, preset described instruction collection is formed.
10. according to the device described in one of claim 6-9, wherein described device further includes:
Transmission unit is configured to send the operation result with the instruction bound in the target keyword to the user.
11. a kind of electronic equipment, including:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors so that one or more of processors are real The now method as described in any in claim 1-5.
12. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that described program is handled The method as described in any in claim 1-5 is realized when device executes.
CN201810095330.1A 2018-01-31 2018-01-31 The sound control method and device of application program Pending CN108305626A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810095330.1A CN108305626A (en) 2018-01-31 2018-01-31 The sound control method and device of application program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810095330.1A CN108305626A (en) 2018-01-31 2018-01-31 The sound control method and device of application program

Publications (1)

Publication Number Publication Date
CN108305626A true CN108305626A (en) 2018-07-20

Family

ID=62867333

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810095330.1A Pending CN108305626A (en) 2018-01-31 2018-01-31 The sound control method and device of application program

Country Status (1)

Country Link
CN (1) CN108305626A (en)

Cited By (33)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108899025A (en) * 2018-07-24 2018-11-27 中国联合网络通信集团有限公司 Terminal equipment control method, equipment and storage medium
CN109256133A (en) * 2018-11-21 2019-01-22 上海玮舟微电子科技有限公司 A kind of voice interactive method, device, equipment and storage medium
CN109637529A (en) * 2018-11-01 2019-04-16 平安科技(深圳)有限公司 Voice-based functional localization method, apparatus, computer equipment and storage medium
CN110058916A (en) * 2019-04-23 2019-07-26 深圳创维数字技术有限公司 A kind of phonetic function jump method, device, equipment and computer storage medium
CN110349580A (en) * 2019-07-16 2019-10-18 Oppo广东移动通信有限公司 Recording configuration method, device, storage medium and electronic equipment
CN110459223A (en) * 2019-07-05 2019-11-15 中国平安财产保险股份有限公司 Data tracking processing method, equipment, storage medium and device
CN110517674A (en) * 2019-07-26 2019-11-29 视联动力信息技术股份有限公司 A kind of method of speech processing, device and storage medium
CN110534113A (en) * 2019-08-26 2019-12-03 深圳追一科技有限公司 Audio data desensitization method, device, equipment and storage medium
WO2020029673A1 (en) * 2018-08-08 2020-02-13 广东欧珀移动通信有限公司 Voice processing method and apparatus, storage medium, and electronic device
CN110797022A (en) * 2019-09-06 2020-02-14 腾讯科技(深圳)有限公司 Application control method and device, terminal and server
CN110851104A (en) * 2019-10-28 2020-02-28 爱钱进(北京)信息科技有限公司 Method, device and storage medium for voice control application program
CN110853643A (en) * 2019-11-18 2020-02-28 北京小米移动软件有限公司 Method, device, equipment and storage medium for voice recognition in fast application
CN110875940A (en) * 2018-08-31 2020-03-10 比亚迪股份有限公司 Application program calling method, device and equipment based on virtual robot
CN110928519A (en) * 2019-12-30 2020-03-27 Tcl通力电子(惠州)有限公司 Instruction generation method, intelligent keyboard and storage medium
CN110992954A (en) * 2019-12-25 2020-04-10 北京梧桐车联科技有限责任公司 Method, device, equipment and storage medium for voice recognition
CN111176618A (en) * 2019-12-10 2020-05-19 武汉学子明灯科技有限责任公司 Method and system for awakening development program by voice
CN111192578A (en) * 2019-12-28 2020-05-22 惠州Tcl移动通信有限公司 Application control method and device, storage medium and electronic equipment
CN111596895A (en) * 2020-04-07 2020-08-28 厦门极致互动网络技术股份有限公司 Software development management method and system based on communication tool and mobile terminal
CN111884887A (en) * 2020-07-01 2020-11-03 海尔优家智能科技(北京)有限公司 Voice interaction method and device, storage medium and electronic device
CN111949240A (en) * 2019-05-16 2020-11-17 阿里巴巴集团控股有限公司 Interaction method, storage medium, service program, and device
CN111966939A (en) * 2020-09-18 2020-11-20 北京百度网讯科技有限公司 Page skipping method and device
CN112147903A (en) * 2019-06-26 2020-12-29 百度在线网络技术(北京)有限公司 Equipment control method and device and computer readable storage medium
CN112201230A (en) * 2019-07-08 2021-01-08 安徽华米信息科技有限公司 Voice response method, device, equipment and storage medium
CN112199623A (en) * 2020-09-29 2021-01-08 上海博泰悦臻电子设备制造有限公司 Script execution method and device, electronic equipment and storage medium
CN112286485A (en) * 2020-12-30 2021-01-29 智道网联科技(北京)有限公司 Method and device for controlling application through voice, electronic equipment and storage medium
CN112309388A (en) * 2020-03-02 2021-02-02 北京字节跳动网络技术有限公司 Method and apparatus for processing information
CN112562670A (en) * 2020-12-03 2021-03-26 深圳市欧瑞博科技股份有限公司 Intelligent voice recognition method, intelligent voice recognition device and intelligent equipment
CN112581951A (en) * 2020-10-30 2021-03-30 小狗电器互联网科技(北京)股份有限公司 Voice control execution function method and device applied to sweeper and electronic equipment
CN112801083A (en) * 2021-01-29 2021-05-14 百度在线网络技术(北京)有限公司 Image recognition method, device, equipment and storage medium
CN113360869A (en) * 2020-03-04 2021-09-07 北京嘉诚至盛科技有限公司 Method for starting application, electronic equipment and computer readable medium
CN114882883A (en) * 2022-05-31 2022-08-09 四川虹美智能科技有限公司 Intelligent equipment control method, device and system
CN115243062A (en) * 2022-06-16 2022-10-25 科大讯飞股份有限公司 Scene display method and device, screen display equipment, electronic equipment and storage medium
WO2024001618A1 (en) * 2022-06-30 2024-01-04 比亚迪股份有限公司 Speech control method, multimedia system, vehicle, and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0598598B1 (en) * 1992-11-18 2000-02-02 Canon Information Systems, Inc. Text-to-speech processor, and parser for use in such a processor
CN103885783A (en) * 2014-04-03 2014-06-25 深圳市三脚蛙科技有限公司 Voice control method and device of application program
CN104916287A (en) * 2015-06-10 2015-09-16 青岛海信移动通信技术股份有限公司 Voice control method and device and mobile device
CN106233376A (en) * 2014-04-21 2016-12-14 高通股份有限公司 For the method and apparatus activating application program by speech input
CN107492374A (en) * 2017-10-11 2017-12-19 深圳市汉普电子技术开发有限公司 A kind of sound control method, smart machine and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0598598B1 (en) * 1992-11-18 2000-02-02 Canon Information Systems, Inc. Text-to-speech processor, and parser for use in such a processor
CN103885783A (en) * 2014-04-03 2014-06-25 深圳市三脚蛙科技有限公司 Voice control method and device of application program
CN106233376A (en) * 2014-04-21 2016-12-14 高通股份有限公司 For the method and apparatus activating application program by speech input
CN104916287A (en) * 2015-06-10 2015-09-16 青岛海信移动通信技术股份有限公司 Voice control method and device and mobile device
CN107492374A (en) * 2017-10-11 2017-12-19 深圳市汉普电子技术开发有限公司 A kind of sound control method, smart machine and storage medium

Cited By (41)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108899025A (en) * 2018-07-24 2018-11-27 中国联合网络通信集团有限公司 Terminal equipment control method, equipment and storage medium
WO2020029673A1 (en) * 2018-08-08 2020-02-13 广东欧珀移动通信有限公司 Voice processing method and apparatus, storage medium, and electronic device
CN110875940A (en) * 2018-08-31 2020-03-10 比亚迪股份有限公司 Application program calling method, device and equipment based on virtual robot
CN109637529A (en) * 2018-11-01 2019-04-16 平安科技(深圳)有限公司 Voice-based functional localization method, apparatus, computer equipment and storage medium
CN109256133A (en) * 2018-11-21 2019-01-22 上海玮舟微电子科技有限公司 A kind of voice interactive method, device, equipment and storage medium
CN110058916A (en) * 2019-04-23 2019-07-26 深圳创维数字技术有限公司 A kind of phonetic function jump method, device, equipment and computer storage medium
CN111949240A (en) * 2019-05-16 2020-11-17 阿里巴巴集团控股有限公司 Interaction method, storage medium, service program, and device
CN112147903A (en) * 2019-06-26 2020-12-29 百度在线网络技术(北京)有限公司 Equipment control method and device and computer readable storage medium
CN110459223A (en) * 2019-07-05 2019-11-15 中国平安财产保险股份有限公司 Data tracking processing method, equipment, storage medium and device
CN110459223B (en) * 2019-07-05 2024-04-02 中国平安财产保险股份有限公司 Data tracking processing method, device, storage medium and apparatus
CN112201230A (en) * 2019-07-08 2021-01-08 安徽华米信息科技有限公司 Voice response method, device, equipment and storage medium
CN110349580A (en) * 2019-07-16 2019-10-18 Oppo广东移动通信有限公司 Recording configuration method, device, storage medium and electronic equipment
CN110517674A (en) * 2019-07-26 2019-11-29 视联动力信息技术股份有限公司 A kind of method of speech processing, device and storage medium
CN110534113A (en) * 2019-08-26 2019-12-03 深圳追一科技有限公司 Audio data desensitization method, device, equipment and storage medium
CN110797022B (en) * 2019-09-06 2023-08-08 腾讯科技(深圳)有限公司 Application control method, device, terminal and server
CN110797022A (en) * 2019-09-06 2020-02-14 腾讯科技(深圳)有限公司 Application control method and device, terminal and server
CN110851104A (en) * 2019-10-28 2020-02-28 爱钱进(北京)信息科技有限公司 Method, device and storage medium for voice control application program
CN110853643A (en) * 2019-11-18 2020-02-28 北京小米移动软件有限公司 Method, device, equipment and storage medium for voice recognition in fast application
CN111176618B (en) * 2019-12-10 2023-09-01 武汉学子明灯科技有限责任公司 Method and system for developing program by voice wakeup
CN111176618A (en) * 2019-12-10 2020-05-19 武汉学子明灯科技有限责任公司 Method and system for awakening development program by voice
CN110992954A (en) * 2019-12-25 2020-04-10 北京梧桐车联科技有限责任公司 Method, device, equipment and storage medium for voice recognition
CN111192578A (en) * 2019-12-28 2020-05-22 惠州Tcl移动通信有限公司 Application control method and device, storage medium and electronic equipment
CN111192578B (en) * 2019-12-28 2023-04-07 惠州Tcl移动通信有限公司 Application control method and device, storage medium and electronic equipment
CN110928519A (en) * 2019-12-30 2020-03-27 Tcl通力电子(惠州)有限公司 Instruction generation method, intelligent keyboard and storage medium
CN112309388A (en) * 2020-03-02 2021-02-02 北京字节跳动网络技术有限公司 Method and apparatus for processing information
CN113360869A (en) * 2020-03-04 2021-09-07 北京嘉诚至盛科技有限公司 Method for starting application, electronic equipment and computer readable medium
CN111596895B (en) * 2020-04-07 2022-08-09 厦门极致互动网络技术股份有限公司 Software development management method and system based on communication tool and mobile terminal
CN111596895A (en) * 2020-04-07 2020-08-28 厦门极致互动网络技术股份有限公司 Software development management method and system based on communication tool and mobile terminal
CN111884887A (en) * 2020-07-01 2020-11-03 海尔优家智能科技(北京)有限公司 Voice interaction method and device, storage medium and electronic device
CN111966939A (en) * 2020-09-18 2020-11-20 北京百度网讯科技有限公司 Page skipping method and device
CN112199623B (en) * 2020-09-29 2024-02-27 博泰车联网科技(上海)股份有限公司 Script execution method and device, electronic equipment and storage medium
CN112199623A (en) * 2020-09-29 2021-01-08 上海博泰悦臻电子设备制造有限公司 Script execution method and device, electronic equipment and storage medium
CN112581951A (en) * 2020-10-30 2021-03-30 小狗电器互联网科技(北京)股份有限公司 Voice control execution function method and device applied to sweeper and electronic equipment
CN112562670A (en) * 2020-12-03 2021-03-26 深圳市欧瑞博科技股份有限公司 Intelligent voice recognition method, intelligent voice recognition device and intelligent equipment
CN112286485A (en) * 2020-12-30 2021-01-29 智道网联科技(北京)有限公司 Method and device for controlling application through voice, electronic equipment and storage medium
CN112801083B (en) * 2021-01-29 2023-08-08 百度在线网络技术(北京)有限公司 Image recognition method, device, equipment and storage medium
CN112801083A (en) * 2021-01-29 2021-05-14 百度在线网络技术(北京)有限公司 Image recognition method, device, equipment and storage medium
CN114882883B (en) * 2022-05-31 2023-07-25 合肥长虹美菱生活电器有限公司 Intelligent device control method, device and system
CN114882883A (en) * 2022-05-31 2022-08-09 四川虹美智能科技有限公司 Intelligent equipment control method, device and system
CN115243062A (en) * 2022-06-16 2022-10-25 科大讯飞股份有限公司 Scene display method and device, screen display equipment, electronic equipment and storage medium
WO2024001618A1 (en) * 2022-06-30 2024-01-04 比亚迪股份有限公司 Speech control method, multimedia system, vehicle, and storage medium

Similar Documents

Publication Publication Date Title
CN108305626A (en) The sound control method and device of application program
CN108022586B (en) Method and apparatus for controlling the page
US9865264B2 (en) Selective speech recognition for chat and digital personal assistant systems
CN102782751B (en) Digital media voice tags in social networks
CN100578614C (en) Semantic object synchronous understanding implemented with speech application language tags
CN100424632C (en) Semantic object synchronous understanding for highly interactive interface
US7548858B2 (en) System and method for selective audible rendering of data to a user based on user input
CN107612814A (en) Method and apparatus for generating candidate's return information
CN108428446A (en) Audio recognition method and device
CN107707745A (en) Method and apparatus for extracting information
CN108877782A (en) Audio recognition method and device
CN105931644A (en) Voice recognition method and mobile terminal
CN105657129A (en) Call information obtaining method and device
CN108447471A (en) Audio recognition method and speech recognition equipment
WO2014047270A1 (en) Method and apparatus for predicting intent in ivr using natural language queries
CN108701127A (en) Electronic equipment and its operating method
CN104050966A (en) Voice interaction method of terminal equipment and terminal equipment employing voice interaction method
CN107863108A (en) Information output method and device
CN110933225B (en) Call information acquisition method and device, storage medium and electronic equipment
CN107808007A (en) Information processing method and device
CN107943914A (en) Voice information processing method and device
CN112530408A (en) Method, apparatus, electronic device, and medium for recognizing speech
CN108900612A (en) Method and apparatus for pushed information
CN107733722A (en) Method and apparatus for configuring voice service
CN109190124A (en) Method and apparatus for participle

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180720