CN110502300A - Speech playing method, equipment and computer-readable medium - Google Patents
Speech playing method, equipment and computer-readable medium Download PDFInfo
- Publication number
- CN110502300A CN110502300A CN201910749689.0A CN201910749689A CN110502300A CN 110502300 A CN110502300 A CN 110502300A CN 201910749689 A CN201910749689 A CN 201910749689A CN 110502300 A CN110502300 A CN 110502300A
- Authority
- CN
- China
- Prior art keywords
- application
- user
- target text
- text
- shortcut 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
Links
- 238000000034 method Methods 0.000 title claims description 49
- 230000006870 function Effects 0.000 claims description 58
- 239000000725 suspension Substances 0.000 claims description 14
- 238000004590 computer program Methods 0.000 claims description 12
- 230000009471 action Effects 0.000 claims description 5
- 238000004364 calculation method Methods 0.000 claims description 3
- 238000006243 chemical reaction Methods 0.000 abstract description 6
- 238000010586 diagram Methods 0.000 description 13
- 238000003860 storage Methods 0.000 description 13
- 238000012545 processing Methods 0.000 description 11
- 230000008569 process Effects 0.000 description 9
- 238000003825 pressing Methods 0.000 description 7
- 230000033001 locomotion Effects 0.000 description 6
- 230000005291 magnetic effect Effects 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 5
- 230000003993 interaction Effects 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 5
- 230000006854 communication Effects 0.000 description 4
- 239000000203 mixture Substances 0.000 description 4
- 239000004065 semiconductor Substances 0.000 description 4
- 230000008901 benefit Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 3
- 238000012015 optical character recognition Methods 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 238000010168 coupling process Methods 0.000 description 2
- 238000005859 coupling reaction Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 229910044991 metal oxide Inorganic materials 0.000 description 2
- 150000004706 metal oxides Chemical class 0.000 description 2
- 238000013459 approach Methods 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000000295 complement effect Effects 0.000 description 1
- 238000005314 correlation function Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 230000014759 maintenance of location Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/16—Sound input; Sound output
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L13/00—Speech synthesis; Text to speech systems
- G10L13/02—Methods for producing synthetic speech; Speech synthesisers
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Computational Linguistics (AREA)
- Acoustics & Sound (AREA)
- Multimedia (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
This application provides a kind of voices to play scheme, the program generates shortcut function entrance preferentially showing, about the first application on the screen first, then the target text in the second application is determined, obtain the triggering command that user is inputted based on the shortcut function entrance, so that first application obtains the corresponding voice messaging of the target text according to the triggering command, and then play the voice messaging.Since shortcut function entrance is preferentially to be shown in screen, when user using the second application when being read, without switching to first using directly triggering command can be carried out to shortcut function entrance, to trigger voice conversion and play, therefore easy to operate, better user experience.
Description
Technical field
This application involves information technology field more particularly to a kind of speech playing methods, equipment and computer-readable Jie
Matter.
Background technique
With the development of information technology, all types of user equipment can provide more and more abundant function, and user passes through mobile phone
Information acquired in equal user equipmenies is also more and more.For example, user can be carried out by instant messaging application and other users
Interaction obtains information, checks news etc. by news category application.In these scenes, information largely can be in the form of text
It is existing, therefore user needs to obtain these information by way of reading text.But for some special populations, direct reading text
Word may have difficulties.For example, the old man of dysphotia possibly can not be seen clearly each specific text, especially be existed
When equipment lesser using this kind of screen of mobile phone, the completion that more can not be successfully is read.Also such as, the children few for character learning,
Due to not recognizing partial content therein, possibly the meaning of whole section of text can not be understood, to cause obstacle to reading.
For above situation, a kind of effective solution mode is that text is converted to the form of voice to play, even if thus
Dysphotia or character learning can also seldom hear the corresponding voice of text, and then understand the meaning of whole section of text, smoothly realize
It reads.A kind of conventional scheme is user's text that duplication needs voice to play in realizing the application read at present, then again
It is switched in the application of text-to-speech, is converted after the text of duplication is pasted, then click play.Whole process needs
Switch between two applications, and need to replicate stickup etc., it is contemplated that the program is mainly old man, youngster using crowd
Child etc., such scheme operation is excessively cumbersome, is unfavorable for the use of these crowds.
And another way is in the interior directly built-in voice play function module of application, it is possible thereby to will apply when needed
Interior text conversion is voice broadcasting, but this mode generally only exists in a small amount of application.If user needs voice to broadcast
The text in other application is put, then cannot achieve and realized based on such scheme, the built-in voice in each application is needed to play
Functional module, this can undoubtedly greatly increase the cost of application and development.
Apply for content
The purpose of the application is to provide a kind of speech playing method, equipment and computer-readable medium.
To achieve the above object, some embodiments of the present application provide a kind of speech playing method, wherein this method packet
It includes:
Shortcut function entrance preferentially showing, about the first application is generated on the screen;
Determine the target text in the second application, second application is the application in front stage operation;
The triggering command that user is inputted based on the shortcut function entrance is obtained, so that first application is according to the touching
Send instructions and obtains the corresponding voice messaging of the target text;
Play the voice messaging.
In addition, the equipment includes for storing computer journey the embodiment of the present application also provides a kind of voice playing equipment
The memory that sequence instructs and the processor for executing computer program instructions, wherein when the computer program instructions are by this
When managing device execution, triggers the equipment and execute the speech playing method.
The embodiment of the present application also provides a kind of computer-readable mediums, are stored thereon with computer program instructions, described
Computer-readable instruction can be executed by processor to realize the speech playing method.
Some embodiments of the present application provide scheme in, generate on the screen first it is preferentially showing, answered about first
Then shortcut function entrance determines target text in the second application in front stage operation, obtains user based on described
The triggering command of shortcut function entrance input, so that first application obtains the target text pair according to the triggering command
The voice messaging answered, and then play the voice messaging.Since shortcut function entrance is preferentially to be shown in screen, when user exists
When reading using the second application, triggering command directly can be carried out to shortcut function entrance without switching to the first application, thus
It triggers voice conversion and plays, while also not needing the built-in voice play function module in each application, therefore operate letter
It is single, better user experience.
Detailed description of the invention
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 a kind of process flow diagram of speech playing method provided by the embodiments of the present application;
Fig. 2 is the schematic diagram for being chosen instruction to determine the target text in the second application according to text;
Fig. 3 is the schematic diagram for being chosen instruction to determine the selected areas in the second application according to region;
Fig. 4 is operation when user enters region selected state using mobile phone and determines target text in the embodiment of the present application
Timing diagram;
Fig. 5 is flow diagram when realizing that text voice plays using one of the embodiment of the present application scheme;
Fig. 6 is flow diagram when realizing that text voice plays using another scheme in the embodiment of the present application;
Fig. 7 is the structural schematic diagram for the equipment that a kind of achievable view voice provided by the embodiments of the present application plays;
The same or similar appended drawing reference represents the same or similar component in attached drawing.
Specific embodiment
To keep the purposes, technical schemes and advantages of the embodiment of the present application clearer, below in conjunction with the embodiment of the present application
In attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is
Some embodiments of the present application, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art
Every other embodiment obtained without creative efforts, shall fall in the protection scope of this application.
In a typical configuration of this application, terminal, the equipment of service network include one or more processors
(CPU), input/output interface, network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/or
The forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable medium
Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media, can be by any side
Method or technology realize that information stores.Information can be computer readable instructions, data structure, the module of program or other numbers
According to.The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory
(SRAM), dynamic random access memory (DRAM), other kinds of random access memory (RAM), read-only memory
(ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory techniques, CD-ROM (CD-
ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storages
Equipment or any other non-transmission medium, can be used for storage can be accessed by a computing device information.
The embodiment of the present application provides a kind of speech playing method, this method can generate on the screen it is preferentially showing,
About the shortcut function entrance of the first application, since shortcut function entrance is preferentially to be shown in screen, when user is using the
It, can be directly to quick function in the case where the second application is in front stage operation state without switching to the first application when two applications are read
Energy entrance carries out triggering command, to trigger voice conversion and play, while also not needing the built-in voice in each application
Playing function module, therefore easy to operate, better user experience.
In actual scene, the executing subject of this method can be user equipment or user equipment and the network equipment is logical
It crosses network and is integrated constituted equipment.Wherein, user equipment includes input/output unit, for realizing the friendship between user
Mutually, such as the operation of user, instruction are obtained, display image, broadcasting audio-frequency information etc. are interactive.The portion of data processing involved in scheme
Dividing can locally realize in user equipment, can also realize in the network device and processing result is provided to user by network
Equipment, and it is related to the part of interaction then by only being realized by user equipment.The user equipment includes but is not limited to computer, hand
All kinds of terminal devices such as machine, tablet computer;The network equipment include but is not limited to as network host, single network server,
Multiple network server collection or the set of computers based on cloud computing etc. are realized.Here, cloud is by being based on cloud computing (Cloud
Computing a large amount of hosts or network server) are constituted, wherein cloud computing is one kind of distributed computing, loose by a group
One virtual machine of the computer set composition of coupling.
Fig. 1 shows a kind of process flow of speech playing method provided by the embodiments of the present application, the execution master of this method
Body can be user equipment, including following processing step:
Step S101 generates shortcut function entrance preferentially showing, about the first application on the screen.Described first answers
With the application program being mounted on user equipment, the shortcut function entrance can be for user's operation, with the first application of triggering
Correlation function.The function of first application described in this programme, which has been included at least, obtains the target text according to the triggering command
This corresponding voice messaging.
The preferential display refers to that the shortcut function entrance can be shown in the upper layer of screen prior to other contents, makes
Obtain no matter user can view the shortcut function entrance in which interface and can operate on it.For example, at this
In some embodiments of application, the shortcut function entrance can use the form of suspension button, thus no matter in user equipment
Which application be in front stage operation state, can this using corresponding interface upper layer creation show the suspension button, and
And user can operate the suspension button at any time, without the switching applied.
Step S102 determines the target text in the second application, and second application is the application in front stage operation.In
In the embodiment of the present application, second application is to provide the application program of target text to be processed, arbitrarily can be can be
Text information is provided for user, can be instant messaging application for the application of user's browsing, such as the second application, if user is old
People or children, when receiving the instant communication message that other users send, discovery does not recognize the text in message, then can be with
These texts are chosen by preset mode.In addition, it is described second application be also possible to read application, news application either it is clear
If desired device of looking at application etc., user play the text wherein shown by voice when reading by second application, can
By determining target text in a manner of preset.
In some embodiments of the present application, when determining the target text in the second application, available user is second
The text inputted in chooses instruction, and chooses instruction to determine the target text in the second application according to the text.It is described
Text chooses instruction to may come from the specific operation of user, such as has the user of touch screen for mobile phone, tablet computer etc.
Equipment can be the operation that user's finger selects part of text in touch screen, if for using the input units such as mouse
User equipment, then can be the operation that user executes mouse.Thus, it is possible to which obtaining text based on this generic operation chooses finger
It enables, and then determines the target text in the second application.For example, Fig. 2 shows choose instruction to determine that second answers according to the text
The schematic diagram of target text in, dash area is the target text chosen in figure, and circular portion is suspension button.
In actual scene, certain applications or webpage may not open the operating right of selection text so that user without
Method realizes the operation for choosing text in the webpage that these applications or browser are opened.Other realities of the application as a result,
It applies in example, when determining the target text in the second application, can first obtain the region that user inputs in the second application and choose
Instruction, and choose instruction to determine the selected areas in the second application according to the region, then to the image of the selected areas
Text identification is carried out, target text is obtained.
Wherein, the region chooses instruction to may come from the behaviour that user chooses the interface zone where text
Make, region can be obtained based on the operation and choose instruction, and choose instruction to determine choosing in the second application according to the region
Region.For example, the operation that user chooses the interface zone where text can be the operation similar to screenshot, thus obtain
It includes the corresponding selected scope of operation that the region obtained, which is chosen in instruction, it is possible thereby to selected areas is determined according to selected scope,
It include the target text that user needs in the selected areas.Fig. 3 is shown chooses instruction to determine in the second application according to region
Selected areas schematic diagram, closed area is the range that covers of sliding trace of finger between two finger figures in figure, is used
In determining selected scope, circular portion is suspension button.
After determining selected areas, text identification, institute in the present embodiment can be carried out to image corresponding to the selected areas
The mode for stating text identification can be using OCR (Optical Character Recognition, optical character identification), thus
It can identify acquisition target text, even if can also smoothly obtain target text in the case where text can not directly be chosen, make
The scope of application for obtaining this programme is wider.
In actual scene, user equipment can provide the side of the target text in the above two application of determination second simultaneously
Formula, by default (the case where can choosing text), user can be by former modes directly in the second application
Choose target text;And under special circumstances (the case where can not choosing text), user can be by latter approach
Selected areas is determined in two applications, text identification then is carried out to the image of the selected areas, to obtain target text.
In some embodiments of the present application, specific operation can be first passed through, so that user equipment enters corresponding to upper
The region selected state of special circumstances is stated, then detection zone chooses operation in this state.Answered in acquisition user second
When choosing instruction with the region of middle input, first trigger action can be chosen to enter region selected state, according to user's input
User is detected under the region selected state and the region that inputs chooses operation in the second application, is detecting that the region chooses
When operation, the region for operating and determining that user inputs in the second application is chosen to choose instruction according to the region.As a result, with
Family does not need to distinguish the specific movement that region chooses operation and text to choose operation, and same movement can be real under the selected state of region
Existing regional choice, then may be implemented text selecting when without under the selected state of region, reduces the learning cost of user.
Fig. 4 is shown in the embodiment of the present application, when user is entered region selected state and determined target text using mobile phone
Operation timing, include the following steps:
Step S401, user open the second application-browsing news pages.
Step S402, when user needs to play passage therein by voice, pass that long-pressing is displayed on the screen
In the suspension button of the first application, which is the operation for entering region selected state, and mobile phone enters region and chooses at this time
State.
Step S403, user slide after long-pressing on the display interface of the second application, so that sliding trace covering needs to select
In passage, the range of the sliding trace is selected areas.Mobile phone carries out at OCR the corresponding image of selected areas
Reason, identifies the text in the selected areas, as target text.
If the news pages in the second application allow user directly to choose, long-pressing in step S402 can not be executed and suspended
The operation of button, thus without entering region selected state.At this point, in non-area selected state, display circle of the second application
The operation slided after long-pressing on face can be used as the operation for choosing target text, i.e. user can the direct second display circle applied
It is slided after long-pressing on face, sliding trace covering text is chosen as target text.
In actual scene, the trigger action can be the operation of user's click function button, such as click about the
The shortcut function entrance of one application, or it is also possible to specific gesture operation.The gesture operation can include but is not limited to
Following several classes: hanging operating gesture of the user above the interface for showing shortcut function entrance, user showing it is quick
Touch operation gesture or user on the interface of functional entrance band in the state that current interface shows shortcut function entrance
The movement tendency etc. of dynamic user equipment.
Hanging operating gesture of the user above the interface for showing shortcut function entrance, can refer to that user sets in user
Hanging sliding trace within the acquisition range of standby imaging sensor, above the interface for showing shortcut function entrance.Its
In, described image sensor can be charge coupled cell (Charge Coupled Device, CCD) sensor, or may be used also
Think metal oxide semiconductor device (Complementary Metal-Oxide Semiconductor, CMOS) sensor,
The present embodiment is to this without being particularly limited to.The hanging sliding trace can include but is not limited to by several continuously slipping things
The straight line of corresponding several dwell points composition of part or the curve of arbitrary shape, the present embodiment is to this without being particularly limited to.
User can refer in current interface in the touch operation gesture on the interface for showing shortcut function entrance
In the state of showing shortcut function entrance, the contact slide track of user on the surface.In general, user equipment can basis
Display device whether have can touch-control input characteristic, be divided into two types, a seed type is touch-control device, another seed type
It is non-touch-control device.Specifically, it specifically can detecte user's name card display circle shown by the touch screen of touch-control device
Touch operation gesture on face.The contact slide track can include but is not limited to corresponding by several continuous touch events
The straight line of several touch points composition or the curve of arbitrary shape, the present embodiment is to this without being particularly limited to.For example, can be
Long press operation gesture or the slip gesture of multiple contacts of shortcut function inlet of the user on interface etc..
User drives the movement tendency of user equipment in the state that current interface shows shortcut function entrance, can be
Refer to user's hand-held consumer devices, when showing shortcut function entrance in the screen of user equipment, drives the user equipment institute
The motion profile moved, for example, shaking, overturning, being moved along particular track.Here, those skilled in the art should manage
Solution, the concrete form of above-mentioned trigger action is only for example, if the other forms based on similar principles that are existing or occurring from now on
It can be suitable for the application, also should be comprising within the scope of protection of this application, and be incorporated herein in the form of reference.
Step S103 obtains the triggering command that user is inputted based on the shortcut function entrance, so that first application
The corresponding voice messaging of the target text is obtained according to the triggering command.The triggering command may come from user to institute
The operation of shortcut function entrance execution is stated, such as when the shortcut function entrance is suspension button, corresponding operation be can be
User clicks the operation of the suspension button, i.e., the operation of the suspension button is clicked according to user, obtains triggering command.
After the target text in the second application is selected, if the second application has opened mutually inside the Pass to other application program
The reading permission or interface of appearance, then the first application directly can read target text from the second application.But actual field
Jing Zhong, it is contemplated that the safety of information, certain applications program may not provide other third-party applications these permissions or connect
Mouthful, cause the first application directly not read target text from the second application.As a result, in some embodiments of the present application,
Equipment can choose the text the corresponding target text of instruction to copy to after determining the target text in the second application
In system clipboard, then after obtaining the triggering command that user is inputted based on the shortcut function entrance, it can make described
First application reads target text, and it is corresponding to obtain the target text according to the triggering command from system clipboard
Voice messaging.
After receiving triggering command, the first application run on user equipment can be obtained according to the triggering command
The corresponding voice messaging of the target text.In some embodiments of the present application, text conversion is that the processing of voice messaging can
To be completed by the network equipment, to reduce the computational load of user equipment local, improve efficiency.It is run on user equipment as a result,
The target text can be sent to the corresponding network equipment according to the triggering command by the first application, by the network equipment root
It is handled according to target text and obtains the voice messaging return, so that the first application can obtain the target from the network equipment
The corresponding voice messaging of text.
Step S104 plays the voice messaging.In actual scene, the process of broadcasting can by the first application control,
Such as first contain corresponding processing logic in application, allows to after obtaining the corresponding voice messaging of target text,
The audio output device in equipment is called to complete the broadcasting of voice messaging.
It, can be based on the application type of the second application, in advance before playing voice messaging in some embodiments of the present application
Different play parameter, each relevant parameter when the play parameter is device plays voice messaging are first set, such as played
Sound ray plays word speed, plays tone and broadcast sound volume etc..Wherein, it is described play sound ray can be each star sound ray or
It is the sound ray etc. of preset various styles, the broadcasting word speed can be normally, at a slow speed, quickly etc..Playing voice letter as a result,
Breath is can to play voice messaging according to the play parameter, by the way that the play parameter of voice is arranged, can be provided for user
Massage voice reading mode abundant improves user experience.
Fig. 5 shows process when realizing that text voice plays using one of the embodiment of the present application scheme, this implementation
The equipment that uses of user is smart phone in example, the first application to realize application program that voice plays, the second application for for
Realize the application program of text reading, first application and the second application are respectively mounted and run in smart phone.Above-mentioned reality
Existing process the following steps are included:
Step S501, after user selects text, long-pressing to recall actions menu in the second application, selection duplication.
The text of duplication is added in system clipboard by step S502, smart phone.
Step S503, user click suspension button, which is used to start the first application for realizing that voice plays
Function.
The text in system clipboard is read in step S504, the first application.
The text read is submitted to server by step S505, the first application.
Step S506, server are translated into voice messaging according to text, and return to the first application.
Step S507, smart phone is to playing the corresponding voice messaging of text.
Fig. 6 shows process when realizing that text voice plays using another scheme in the embodiment of the present application, in fact
Existing process the following steps are included:
Step S601, user is when the application of opening second is read, the suspension button shown on long-pressing screen, into area
Domain selected state.
Step S602, user delimit the range of selected areas under the selected state of region in the second application, such as can be with
It is by the way of finger sliding, the range for being included is determined as selected areas by sliding trace.
Step S603, smart phone carry out text identification to the image of selected areas, identify text wherein included.
Step S604, the text that smart phone will identify that are added in system clipboard.
Step S605, user click suspension button, which is used to start the first application for realizing that voice plays
Function.
The text in system clipboard is read in step S606, the first application.
The text read is submitted to server by step S607, the first application.
Step S608, server are translated into voice messaging according to text, and return to the first application.
Step S609, smart phone is to playing the corresponding voice messaging of text.
Based on the same inventive concept, a kind of voice playing equipment is additionally provided in the embodiment of the present application, the equipment is corresponding
Method be speech playing method in previous embodiment, and its principle solved the problems, such as is similar to this method.The equipment packet
Include the memory for storing computer program instructions and the processor for executing computer program instructions, wherein when the meter
When calculation machine program instruction is executed by the processor, triggers the equipment and execute speech playing method above-mentioned.
The specific implementation of the voice playing equipment can be user equipment or user equipment and the network equipment passes through network
It is integrated constituted equipment.Wherein, user equipment includes input/output unit, for realizing the interaction between user, example
Such as obtain operation, the instruction of user, the interactions such as display image, broadcasting audio-frequency information.The part of data processing involved in scheme can
It is set with that can also realize in the network device and processing result is provided to user by network in user equipment locally realization
It is standby, and it is related to the part of interaction then by only being realized by user equipment.The user equipment include but is not limited to computer, mobile phone,
All kinds of terminal devices such as tablet computer;The network equipment includes but is not limited to such as network host, single network server, multiple
Network server collection or the set of computers based on cloud computing etc. are realized.Here, cloud is by being based on cloud computing (Cloud
Computing a large amount of hosts or network server) are constituted, wherein cloud computing is one kind of distributed computing, loose by a group
One virtual machine of the computer set composition of coupling.
Fig. 7 shows a kind of structure of the equipment for the method and/or technology scheme being adapted to carry out in the embodiment of the present application,
The equipment 700 include central processing unit (CPU, Central Processing Unit) 701, can according to be stored in only
It reads the program in memory (ROM, Read Only Memory) 702 or is loaded into random access storage from storage section 708
Program in device (RAM, Random Access Memory) 703 and execute various movements appropriate and processing.In RAM 703
In, also it is stored with various programs and data needed for system operatio.CPU 701, ROM 702 and RAM 703 pass through bus 704
It is connected with each other.Input/output (I/O, Input/Output) interface 705 is also connected to bus 704.
I/O interface 705 is connected to lower component: including the defeated of keyboard, mouse, touch screen, microphone, infrared sensor etc.
Enter part 706;Including such as cathode-ray tube (CRT, Cathode Ray Tube), liquid crystal display (LCD, Liquid
Crystal Display), the output par, c 707 of light-emitting diode display, OLED display etc. and loudspeaker etc.;Including hard disk, light
The storage section 708 of the one or more computer-readable medium such as disk, disk, semiconductor memory;And including such as LAN
The communications portion 709 of the network interface card of (local area network, Local Area Network) card, modem etc..Communications portion
709 execute communication process via the network of such as internet.
Particularly, the method in the embodiment of the present application and/or embodiment may be implemented as computer software programs.Example
Such as, embodiment of the disclosure includes a kind of computer program product comprising carries computer on a computer-readable medium
Program, the computer program include the program code for method shown in execution flow chart.It is central in the computer program
When processing unit (CPU) 701 executes, the above-mentioned function of limiting in the present processes is executed.
It should be noted that computer-readable medium described herein can be computer-readable signal media or meter
Calculation machine readable storage medium storing program for executing either the two any combination.Computer-readable medium for example can be --- but it is unlimited
In system, device or the device of --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, or any above combination.It calculates
The more specific example of machine readable storage medium storing program for executing can include but is not limited to: have the electrical connection, portable of one or more conducting wires
Formula computer disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable programmable read only memory
(EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device or
The above-mentioned any appropriate combination of person.In this application, computer-readable medium, which can be, any includes or storage program has
Shape medium, the program can be commanded execution system, device or device use or in connection.
And in this application, computer-readable signal media may include passing in a base band or as carrier wave a part
The data-signal broadcast, wherein carrying computer-readable program code.The data-signal of this propagation can use a variety of shapes
Formula, including but not limited to electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media may be used also
To be any computer-readable medium other than computer readable storage medium, which can send, propagate
Either transmission is for by the use of instruction execution system, device or device or program in connection.It is computer-readable
The program code for including on medium can transmit with any suitable medium, including but not limited to: wireless, electric wire, optical cable, RF etc.
Deng or above-mentioned any appropriate combination.
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+
+, it further include conventional procedural programming language-such as " C " language or similar programming language.Program code can
Fully to execute, partly execute on the user computer on the user computer, be executed as an independent software package,
Part executes on the remote computer or executes on a remote computer or server completely on the user computer for part.
In situations involving remote computers, remote computer can pass through the network of any kind --- including local area network (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).
Flowchart or block diagram in attached drawing shows the equipment according to the various embodiments of the application, method and computer program
The architecture, function and operation in the cards of product.In this regard, each box in flowchart or block diagram can represent
A part of a part of one module, program segment or code, the module, program segment or code is used for comprising one or more
The executable instruction of logic function as defined in realizing.It should also be noted that in some implementations as replacements, being marked in box
Function can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated actually may be used
To be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.It is also noted that
, 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 executing
The dedicated systems for hardware of defined functions or operations realizes, or can use specialized hardware and computer instruction
Combination is to realize.
As on the other hand, present invention also provides a kind of computer-readable medium, which be can be
Included in equipment described in above-described embodiment;It is also possible to individualism, and without in the supplying equipment.Above-mentioned calculating
Machine readable medium carries one or more computer-readable instruction, the computer-readable instruction can be executed by processor with
Realize the method and/or technology scheme of multiple embodiments of aforementioned the application.
In conclusion generating preferentially show, pass on the screen first in the scheme that some embodiments of the present application provide
In the shortcut function entrance of the first application, target text then is determined in the second application of front stage operation, user is obtained and is based on
The triggering command of the shortcut function entrance input, so that first application obtains the target text according to the triggering command
This corresponding voice messaging, and then play the voice messaging.Since shortcut function entrance is preferentially to be shown in screen, when with
Family can directly carry out shortcut function entrance under front stage operation state when being read using the second application in the second application
Triggering command to trigger voice conversion and play, while not needing the built-in voice play function mould in each application yet
Block, therefore easy to operate, better user experience.
It should be noted that the application can be carried out in the assembly of software and/or software and hardware, for example, can adopt
With specific integrated circuit (ASIC), general purpose computer or any other realized similar to hardware device.In some embodiments
In, the software program of the application can be executed by processor to realize above step or function.Similarly, the software of the application
Program (including relevant data structure) can be stored in computer readable recording medium, for example, RAM memory, magnetic or
CD-ROM driver or floppy disc and similar devices.In addition, hardware can be used to realize in some steps or function of the application, for example,
As the circuit cooperated with processor thereby executing each step or function.
It is obvious to a person skilled in the art that the application is not limited to the details of above-mentioned exemplary embodiment, Er Qie
In the case where without departing substantially from spirit herein or essential characteristic, the application can be realized in other specific forms.Therefore, no matter
From the point of view of which point, the present embodiments are to be considered as illustrative and not restrictive, and scope of the present application is by appended power
Benefit requires rather than above description limits, it is intended that all by what is fallen within the meaning and scope of the equivalent elements of the claims
Variation is included in the application.Any reference signs in the claims should not be construed as limiting the involved claims.This
Outside, it is clear that one word of " comprising " does not exclude other units or steps, and odd number is not excluded for plural number.That states in device claim is multiple
Unit or device can also be implemented through software or hardware by a unit or device.The first, the second equal words are used to table
Show title, and does not indicate any particular order.
Claims (11)
1. a kind of speech playing method, wherein this method comprises:
Shortcut function entrance preferentially showing, about the first application is generated on the screen;
Determine the target text in the second application, second application is the application in front stage operation;
The triggering command that user is inputted based on the shortcut function entrance is obtained, so that first application refers to according to the triggering
It enables and obtains the corresponding voice messaging of the target text;
Play the voice messaging.
2. according to the method described in claim 1, wherein it is determined that second application in target text, comprising:
It obtains the text that user inputs in the second application and chooses instruction, and choose instruction to determine the second application according to the text
In target text.
3. according to the method described in claim 1, wherein it is determined that second application in target text, comprising:
It obtains the region that user inputs in the second application and chooses instruction, and choose instruction to determine the second application according to the region
In selected areas;
Text identification is carried out to the image of the selected areas, obtains target text.
4. according to the method described in claim 3, wherein, obtaining the region that user inputs in the second application and choosing instruction, wrap
It includes:
Trigger action is chosen to enter region selected state according to user's input;
The region that user inputs in the second application is detected under the region selected state chooses operation.
When detecting that operation is chosen in the region, is chosen according to the region and operate what determining user inputted in the second application
Choose instruction in region.
5. method according to any one of claim 2 to 4, wherein after determining the target text in the second application, also
Include:
The corresponding target text of instruction is chosen to copy in system clipboard in the text;
The triggering command that user is inputted based on the shortcut function entrance is obtained, so that first application refers to according to the triggering
It enables and obtains the corresponding voice messaging of the target text, comprising:
The triggering command that user is inputted based on the shortcut function entrance is obtained, so that first application refers to according to the triggering
It enables, target text is read from system clipboard, and obtain the corresponding voice messaging of the target text.
6. according to the method described in claim 1, wherein, the shortcut function entrance is suspension button.
7. according to the method described in claim 6, wherein, obtaining the triggering that user is inputted based on the shortcut function entrance and referring to
It enables, comprising:
The operation of the suspension button is clicked according to user, obtains triggering command.
8. according to the method described in claim 1, wherein, obtaining the triggering that user is inputted based on the shortcut function entrance and referring to
It enables, so that first application obtains the corresponding voice messaging of the target text according to the triggering command, comprising:
The triggering command that user is inputted based on the shortcut function entrance is obtained, so that first application refers to according to the triggering
It enables and the target text is sent to the corresponding network equipment, and obtain the corresponding language of the target text from the network equipment
Message breath, wherein the voice messaging is handled according to target text by the network equipment and obtained.
9. according to the method described in claim 1, wherein, this method further include:
Based on the application type of second application, different play parameter is set;
Play the voice messaging, comprising:
The voice messaging is played according to the play parameter.
10. a kind of voice playing equipment, which includes memory by storing computer program instructions and based on executing
The processor of calculation machine program instruction, wherein when the computer program instructions are executed by the processor, trigger the equipment and execute
Method described in any one of claims 1 to 9.
11. a kind of computer-readable medium, is stored thereon with computer program instructions, the computer-readable instruction can be processed
Device is executed to realize method as claimed in any one of claims 1-9 wherein.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910749689.0A CN110502300A (en) | 2019-08-14 | 2019-08-14 | Speech playing method, equipment and computer-readable medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910749689.0A CN110502300A (en) | 2019-08-14 | 2019-08-14 | Speech playing method, equipment and computer-readable medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110502300A true CN110502300A (en) | 2019-11-26 |
Family
ID=68587503
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910749689.0A Pending CN110502300A (en) | 2019-08-14 | 2019-08-14 | Speech playing method, equipment and computer-readable medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110502300A (en) |
Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106534528A (en) * | 2016-11-04 | 2017-03-22 | 广东欧珀移动通信有限公司 | Processing method and device of text information and mobile terminal |
CN106899769A (en) * | 2017-03-30 | 2017-06-27 | 努比亚技术有限公司 | Communication of mobile terminal device and method |
CN107205095A (en) * | 2017-07-25 | 2017-09-26 | 广东欧珀移动通信有限公司 | Player method, device and the terminal of voice messaging |
CN107810468A (en) * | 2016-06-28 | 2018-03-16 | 华为技术有限公司 | A kind of switching method of application program and the electronic equipment of application this method |
CN108109636A (en) * | 2017-12-28 | 2018-06-01 | 百度在线网络技术(北京)有限公司 | Text based speech playing method, device, computer equipment and storage medium |
CN108182184A (en) * | 2017-12-27 | 2018-06-19 | 北京百度网讯科技有限公司 | Picture character interpretation method, application and computer equipment |
CN108847214A (en) * | 2018-06-27 | 2018-11-20 | 北京微播视界科技有限公司 | Method of speech processing, client, device, terminal, server and storage medium |
CN108874266A (en) * | 2018-06-27 | 2018-11-23 | 北京微播视界科技有限公司 | Text playback method, client, terminal and storage medium |
CN108874356A (en) * | 2018-05-31 | 2018-11-23 | 珠海格力电器股份有限公司 | Voice broadcasting method and device, mobile terminal and storage medium |
CN109462689A (en) * | 2018-09-30 | 2019-03-12 | 深圳壹账通智能科技有限公司 | Voice broadcast method and device, electronic device and computer readable storage medium |
CN109495814A (en) * | 2018-11-21 | 2019-03-19 | 广州市百果园信息技术有限公司 | Audio connector, acoustic signal processing method and audio signal processing |
CN109584879A (en) * | 2018-11-23 | 2019-04-05 | 华为技术有限公司 | A kind of sound control method and electronic equipment |
CN109660446A (en) * | 2018-10-31 | 2019-04-19 | 深圳壹账通智能科技有限公司 | Voice broadcast method, device, computer equipment and the storage medium of chat message |
CN109995947A (en) * | 2019-04-11 | 2019-07-09 | 上海连尚网络科技有限公司 | For the method for played voice message, electronic equipment and computer-readable medium |
CN110087133A (en) * | 2019-04-29 | 2019-08-02 | 上海连尚网络科技有限公司 | Multimedia resource playback method, device, electronic equipment and medium |
-
2019
- 2019-08-14 CN CN201910749689.0A patent/CN110502300A/en active Pending
Patent Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107810468A (en) * | 2016-06-28 | 2018-03-16 | 华为技术有限公司 | A kind of switching method of application program and the electronic equipment of application this method |
CN106534528A (en) * | 2016-11-04 | 2017-03-22 | 广东欧珀移动通信有限公司 | Processing method and device of text information and mobile terminal |
CN106899769A (en) * | 2017-03-30 | 2017-06-27 | 努比亚技术有限公司 | Communication of mobile terminal device and method |
CN107205095A (en) * | 2017-07-25 | 2017-09-26 | 广东欧珀移动通信有限公司 | Player method, device and the terminal of voice messaging |
CN108182184A (en) * | 2017-12-27 | 2018-06-19 | 北京百度网讯科技有限公司 | Picture character interpretation method, application and computer equipment |
CN108109636A (en) * | 2017-12-28 | 2018-06-01 | 百度在线网络技术(北京)有限公司 | Text based speech playing method, device, computer equipment and storage medium |
CN108874356A (en) * | 2018-05-31 | 2018-11-23 | 珠海格力电器股份有限公司 | Voice broadcasting method and device, mobile terminal and storage medium |
CN108847214A (en) * | 2018-06-27 | 2018-11-20 | 北京微播视界科技有限公司 | Method of speech processing, client, device, terminal, server and storage medium |
CN108874266A (en) * | 2018-06-27 | 2018-11-23 | 北京微播视界科技有限公司 | Text playback method, client, terminal and storage medium |
CN109462689A (en) * | 2018-09-30 | 2019-03-12 | 深圳壹账通智能科技有限公司 | Voice broadcast method and device, electronic device and computer readable storage medium |
CN109660446A (en) * | 2018-10-31 | 2019-04-19 | 深圳壹账通智能科技有限公司 | Voice broadcast method, device, computer equipment and the storage medium of chat message |
CN109495814A (en) * | 2018-11-21 | 2019-03-19 | 广州市百果园信息技术有限公司 | Audio connector, acoustic signal processing method and audio signal processing |
CN109584879A (en) * | 2018-11-23 | 2019-04-05 | 华为技术有限公司 | A kind of sound control method and electronic equipment |
CN109995947A (en) * | 2019-04-11 | 2019-07-09 | 上海连尚网络科技有限公司 | For the method for played voice message, electronic equipment and computer-readable medium |
CN110087133A (en) * | 2019-04-29 | 2019-08-02 | 上海连尚网络科技有限公司 | Multimedia resource playback method, device, electronic equipment and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11158102B2 (en) | Method and apparatus for processing information | |
CN110827378B (en) | Virtual image generation method, device, terminal and storage medium | |
EP3352438B1 (en) | User terminal device for recommending response message and method therefor | |
JP2023553101A (en) | Live streaming interaction methods, apparatus, devices and media | |
US11838251B2 (en) | Information interaction method, apparatus, device, storage medium and program product | |
US10684754B2 (en) | Method of providing visual sound image and electronic device implementing the same | |
CN108847214B (en) | Voice processing method, client, device, terminal, server and storage medium | |
CN109618177A (en) | Method for processing video frequency, device, electronic equipment and computer readable storage medium | |
WO2023066297A1 (en) | Message processing method and apparatus, and device and storage medium | |
CN110417641B (en) | Method and equipment for sending session message | |
WO2022116751A1 (en) | Interaction method and apparatus, and terminal, server and storage medium | |
KR20130026892A (en) | Mobile terminal and method for providing user interface thereof | |
US20240061560A1 (en) | Audio sharing method and apparatus, device and medium | |
JP2022520094A (en) | Interface display method and its devices, terminals and computer programs | |
CN106648535A (en) | Live client voice input method and terminal device | |
CN107870711A (en) | Page navigation method, the method and client that user interface is provided | |
CN104239381A (en) | Portable terminal and user interface method in portable terminal | |
JP2020515124A (en) | Method and apparatus for processing multimedia resources | |
CN110730387A (en) | Video playing control method and device, storage medium and electronic device | |
WO2021082637A1 (en) | Audio information processing method, apparatus, electronic equipment and storage medium | |
CN108959320A (en) | The method and apparatus of preview video search result | |
CN110276006A (en) | Methods of exhibiting, device, electronic equipment and the computer readable storage medium of painted eggshell | |
CN114564604B (en) | Media collection generation method and device, electronic equipment and storage medium | |
CN115190366B (en) | Information display method, device, electronic equipment and computer readable medium | |
WO2024140239A1 (en) | Page display method and apparatus, device, computer readable storage medium and product |
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: 20191126 |