CN107463539A - A kind of information stickup method and device - Google Patents

A kind of information stickup method and device Download PDF

Info

Publication number
CN107463539A
CN107463539A CN201710597162.1A CN201710597162A CN107463539A CN 107463539 A CN107463539 A CN 107463539A CN 201710597162 A CN201710597162 A CN 201710597162A CN 107463539 A CN107463539 A CN 107463539A
Authority
CN
China
Prior art keywords
paste
input frame
information
default input
pasted
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
CN201710597162.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.)
Beijing Yunzhisheng Information Technology Co Ltd
Original Assignee
Beijing Yunzhisheng Information 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 Yunzhisheng Information Technology Co Ltd filed Critical Beijing Yunzhisheng Information Technology Co Ltd
Priority to CN201710597162.1A priority Critical patent/CN107463539A/en
Publication of CN107463539A publication Critical patent/CN107463539A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/151Transformation
    • 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/54Interprogram communication
    • G06F9/543User-generated data transfer, e.g. clipboards, dynamic data exchange [DDE], object linking and embedding [OLE]

Abstract

The invention discloses a kind of information stickup method and device.Method includes:During phonetic entry, when cursor appears in the default input frame of third-party application, it is determined that the paste formats that default input frame is supported;According to paste formats, the form for the information to be pasted that need to be pasted to default input frame is changed, obtains the target paste information for meeting paste formats;By target paste information stickup into default input frame.Pass through technical scheme, it can ensure effectively pasted in the default input frame in third-party application during carrying out phonetic entry as far as possible, so as to avoid as far as possible because the form of information to be pasted causes to paste situation about failing with paste formats and the mismatch of default input frame support.

Description

A kind of information stickup method and device
Technical field
The present invention relates to information stickup technical field, more particularly to a kind of information stickup method and device.
Background technology
At present, user into third-party application by voice mode when inputting information, it is often necessary to is sheared by system Plate by information stickup corresponding to the voice to the input frame of third-party application to complete phonetic entry process, but in correlation technique often Often occur paste failure or paste after there is the problem of mess code, trace it to its cause be probably third-party application input frame branch The form and mismatch for the information that the paste formats held is pasted with needs, and it is ineffective for above mentioned problem, correlation technique Solution, so as to user bring very big puzzlement.
The content of the invention
The present invention provides a kind of information stickup method and device, to during phonetic entry, when cursor appears in During the default input frame of third-party application, the paste formats that default input frame is supported can be automatically determined, and then according to paste formats, The form for the information to be pasted that need to be pasted to default input frame is changed, the target paste of above-mentioned paste formats will be met Information stickup is into default input frame, so that ensure can be in the default input of third-party application during phonetic entry is carried out Effectively pasted in frame, so as to avoid the paste formats that the form due to information to be pasted is supported with default input frame as far as possible And mismatch and cause to paste situation about failing.
The present invention provides a kind of information stickup method, including:
During phonetic entry, when cursor appears in the default input frame of third-party application, determine described default The paste formats that input frame is supported;
According to the paste formats, the form for the information to be pasted that need to be pasted to the default input frame is changed, Obtain the target paste information for meeting the paste formats;
By the target paste information stickup into the default input frame.
In one embodiment, the paste formats for determining the default input frame and supporting, including:
Generate empty copy command;
The empty copy command is sent to the operating system of current device, so that the operating system is according to the sky Copy command, send form to the third-party application and obtain order, to obtain the stickup lattice that the default input frame is supported Formula.
In one embodiment, the paste formats for determining the default input frame and supporting, including:
When the paste formats that the default input frame is supported includes a variety of, the selection target from a variety of paste formats Form, wherein, the object format is frequency of use in any of multiple format form or the multiple format Highest form.
In one embodiment, it is described by the target paste information stickup into the default input frame, including:
The target paste information is copied in the shear plate of current device;
Paste command is sent to the operating system of current device, so that the operating system will be copied to the shear plate The target paste information stickup is to the default input frame.
In one embodiment, in the letter to be pasted that according to the paste formats, need to will be pasted to the default input frame Before the form of breath is changed, methods described also includes:
According to current input voice, the information to be pasted is determined.
The present invention also provides a kind of information stickup device, including:
First determining module, for during phonetic entry, when cursor appears in the default input of third-party application During frame, the paste formats that the default input frame is supported is determined;
Format converting module, for the letter to be pasted that according to the paste formats, need to will be pasted to the default input frame The form of breath is changed, and obtains the target paste information for meeting the paste formats;
Stickup module, for by the target paste information stickup into the default input frame.
In one embodiment, first determining module includes:
Submodule is generated, for generating the copy command of sky;
First sending submodule, for the empty copy command to be sent to the operating system of current device, so that institute Operating system is stated according to the empty copy command, it is described pre- to obtain to third-party application transmission form acquisition order If the paste formats that input frame is supported.
In one embodiment, first determining module includes:
Submodule is selected, when the paste formats for being supported when the default input frame includes a variety of, from described a variety of viscous Selection target form in form is pasted, wherein, the object format is any of multiple format form or described more Frequency of use highest form in kind form.
In one embodiment, the stickup module includes:
Submodule is replicated, for the target paste information to be copied in the shear plate of current device;
Second sending submodule, for sending paste command to the operating system of current device, so that the operating system The target paste information stickup of the shear plate will be copied to the default input frame.
In one embodiment, described device also includes:
Second determining module, it is to be pasted by that need to be pasted to the default input frame for according to the paste formats Before the form of information is changed, according to current input voice, the information to be pasted is determined.
The technical scheme provided by this disclosed embodiment can include the following benefits:
During phonetic entry, when cursor appears in the default input frame of third-party application, it can automatically determine pre- If the paste formats that input frame is supported, and then according to paste formats, by the lattice for the information to be pasted that need to be pasted to default input frame Formula is changed, and will meet the target paste information stickup of above-mentioned paste formats into default input frame, to ensure carrying out Can effectively be pasted in the default input frame of third-party application during phonetic entry, so as to avoid as far as possible due to The form of information to be pasted and the paste formats of default input frame support simultaneously mismatch and cause to paste situation about failing.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification Obtain it is clear that or being understood by implementing the present invention.The purpose of the present invention and other advantages can be by the explanations write Specifically noted structure is realized and obtained in book, claims and accompanying drawing.
Below by drawings and examples, technical scheme is described in further detail.
Brief description of the drawings
Accompanying drawing is used for providing a further understanding of the present invention, and a part for constitution instruction, the reality with the present invention Apply example to be used to explain the present invention together, be not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is a kind of flow chart of information stickup method according to an exemplary embodiment.
Fig. 2 is the flow chart of another information stickup method according to an exemplary embodiment.
Fig. 3 is the flow chart of another information stickup method according to an exemplary embodiment.
Fig. 4 is a kind of block diagram of information stickup device according to an exemplary embodiment.
Fig. 5 is the block diagram of another information stickup device according to an exemplary embodiment.
Fig. 6 is the block diagram of another information stickup device according to an exemplary embodiment.
Embodiment
The preferred embodiments of the present invention are illustrated below in conjunction with accompanying drawing, it will be appreciated that described herein preferred real Apply example to be merely to illustrate and explain the present invention, be not intended to limit the present invention.
In order to solve the above-mentioned technical problem, the embodiment of the present disclosure provides a kind of information stickup method, and this method is applied to In information stickup program, system or device, as shown in figure 1, we are provided with its executive agent (i.e. current device) applies (language Sound identification application) and third-party application, the operating system of the executive agent can be Windows operating system, and this method includes Step S101 to step S103, wherein:
In step S101, during phonetic entry, when cursor appears in the default input frame of third-party application, It is determined that the paste formats that default input frame is supported;
Default input frame is the input frame at any interface in third-party application.
The speech recognition application used during phonetic entry can with varied, such as:Can be that cloud knows vocal input method Or news fly input method etc., and third-party application is for the speech recognition application, as long as should with the speech recognition Manufacturer's difference is exactly third-party application.
In step s 102, according to paste formats, the form for the information to be pasted that need to be pasted to default input frame is carried out Conversion, obtain the target paste information for meeting paste formats;
When the form (i.e. data format) of above-mentioned information to be pasted is changed, it can be entered by above-mentioned speech recognition application The form conversion of row data.
In step s 103, by target paste information stickup into default input frame.
During phonetic entry, when cursor appears in the default input frame of third-party application, it can automatically determine pre- If the paste formats that input frame is supported, and then according to paste formats, by the lattice for the information to be pasted that need to be pasted to default input frame Formula is changed, and will meet the target paste information stickup of above-mentioned paste formats into default input frame, to ensure carrying out Can effectively be pasted in the default input frame of third-party application during phonetic entry, so as to avoid as far as possible due to The form of information to be pasted and the paste formats of default input frame support simultaneously mismatch and cause to paste situation about failing.
Certainly, because the paste formats that all input frames of same application are supported is substantially the same, thus, for same Third-party application, above-mentioned steps S101 can be only performed once, i.e., appear in the input frame of above-mentioned third-party application first in cursor Shi Zhihang above-mentioned steps S102, and it is above-mentioned without performing again when cursor again appears at the input frame of above-mentioned third-party application Step S101.
As shown in Fig. 2 in one embodiment, it is determined that the paste formats that default input frame is supported, including:
In step s 201, the copy command of sky is generated;
In step S202, by sky copy command send to the operating system of current device so that operating system according to Empty copy command, send form to third-party application and obtain order, to obtain the paste formats that default input frame is supported.
When it is determined that presetting the paste formats that input frame is supported, sky can be generated by identifying the above-mentioned speech recognition application of voice Copy command, and then the empty copy command is automatically sent to the operating system of current device by above-mentioned speech recognition application, So that copy command of the operating system according to sky, sends form to third-party application and obtains order, with the default input of automatic acquisition The paste formats that frame is supported, consequently facilitating information to be pasted can be converted into the stickup lattice that the default input frame is supported afterwards Formula, cause to glue to avoid paste formats that the form due to information to be pasted supports with default input frame as far as possible and mismatch The situation of failure is pasted, and then is advantageous to improve the efficiency of phonetic entry, improves the phonetic entry experience of user.
In one embodiment, it is determined that presetting the paste formats that input frame is supported, including:
When the paste formats that default input frame is supported includes a variety of, the selection target form from a variety of paste formats, its In, object format is frequency of use highest form in any of multiple format form or multiple format, object format Including but not limited to the above situation, it can also be form more common in multiple format.
When the paste formats that default input frame is supported includes a variety of, target lattice can be automatically selected from a variety of paste formats Formula, and then the information to be pasted of input is entered by row format conversion according to above-mentioned object format, to avoid due to information to be pasted Form does not meet the paste formats of default input frame and causes to paste failure, phonetic entry procedure failure, and then is advantageous to improve The phonetic entry efficiency of voice is inputted into third-party application.
As shown in figure 3, in one embodiment, the step S103 shown in above-mentioned Fig. 1, i.e., by target paste information stickup extremely In default input frame, it can include:
In step S301, target paste information is copied in the shear plate of current device;
In step s 302, paste command is sent to the operating system of current device, is cut so that operating system will be copied to The target paste information stickup of cutting plate is to default input frame.
When by above-mentioned target paste information stickup into default input frame, worked as by the way that target paste information is first copied to In the shear plate of preceding equipment, and then paste command is sent to the operating system of current device, operating system can be made to be copied to and cut The target paste information stickup of cutting plate is to default input frame, and to complete to input the operation of voice into third-party application, this also has Beneficial to the efficiency for improving phonetic entry, the paste formats that the form due to information to be pasted is supported with default input frame is avoided not Match and cause to paste situation about failing.
In one embodiment, according to paste formats, by the form for the information to be pasted that need to be pasted to default input frame Before being changed, method also includes:
According to current input voice, information to be pasted is determined.
Before row format conversion is entered, information to be pasted first can be determined according to current input voice, in order to carry out afterwards Form is changed.
Wherein, the determination of above-mentioned information to be pasted can be determined by above-mentioned speech recognition application, i.e., above-mentioned information to be pasted It is that current input voice during phonetic entry is carried out the characters such as the text information obtained after speech recognition by speech recognition application.
As shown in figure 4, the present invention also provides a kind of information stickup device, including:
First determining module 401, is configured as during phonetic entry, when cursor appears in the pre- of third-party application If during input frame, it is determined that the paste formats that default input frame is supported;
Format converting module 402, it is configured as according to paste formats, the information to be pasted that need to will be pasted to default input frame Form changed, obtain and meet the target paste information of paste formats;
Stickup module 403, it is configured as target paste information stickup into default input frame.
As shown in figure 5, in one embodiment, the first determining module 401 can include:
Submodule 4011 is generated, is configurable to generate the copy command of sky;
First sending submodule 4012, it is configured as sending the copy command of sky to the operating system of current device, with Make copy command of the operating system according to sky, sending form to third-party application obtains order, is supported to obtain default input frame Paste formats.
In one embodiment, the first determining module includes:
Submodule is selected, when being configured as the paste formats that default input frame is supported includes a variety of, from a variety of stickup lattice Selection target form in formula, wherein, object format is frequency of use in any of multiple format form or multiple format Highest form.
As shown in fig. 6, in one embodiment, stickup module 402 can include:
Submodule 4031 is replicated, is configured as target paste information being copied in the shear plate of current device;
Second sending submodule 4032, it is configured as sending paste command to the operating system of current device, so that operation System will be copied to the target paste information stickup of shear plate to default input frame.
In one embodiment, device also includes:
Second determining module, it is configured as in the information to be pasted that according to paste formats, need to will be pasted to default input frame Form changed before, according to current input voice, determine information to be pasted.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
Finally, the information stickup device in the present invention is applied to terminal device.For example, it may be mobile phone, computer, Digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices, body-building equipment, personal digital assistant Deng.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program Product.Therefore, the present invention can use the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware Apply the form of example.Moreover, the present invention can use the computer for wherein including computer usable program code in one or more The shape for the computer program product that usable storage medium is implemented on (including but is not limited to magnetic disk storage and optical memory etc.) Formula.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided The processors of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, so as in computer or The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in individual square frame or multiple square frames.
Obviously, those skilled in the art can carry out the essence of various changes and modification without departing from the present invention to the present invention God and scope.So, if these modifications and variations of the present invention belong to the scope of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to comprising including these changes and modification.

Claims (10)

  1. A kind of 1. information stickup method, it is characterised in that including:
    During phonetic entry, when cursor appears in the default input frame of third-party application, the default input is determined The paste formats that frame is supported;
    According to the paste formats, the form for the information to be pasted that need to be pasted to the default input frame is changed, obtained Meet the target paste information of the paste formats;
    By the target paste information stickup into the default input frame.
  2. 2. according to the method for claim 1, it is characterised in that
    The paste formats for determining the default input frame and supporting, including:
    Generate empty copy command;
    The empty copy command is sent to the operating system of current device, so that the operating system is answered according to described empty System order, send form to the third-party application and obtain order, to obtain the paste formats that the default input frame is supported.
  3. 3. according to the method for claim 1, it is characterised in that
    The paste formats for determining the default input frame and supporting, including:
    When the paste formats that the default input frame is supported includes a variety of, the selection target lattice from a variety of paste formats Formula, wherein, the object format is that frequency of use is most in any of multiple format form or the multiple format High form.
  4. 4. according to the method for claim 1, it is characterised in that
    It is described by the target paste information stickup into the default input frame, including:
    The target paste information is copied in the shear plate of current device;
    Paste command is sent to the operating system of current device, so that the operating system will be copied to described in the shear plate Target paste information stickup is to the default input frame.
  5. 5. method according to any one of claim 1 to 4, it is characterised in that
    According to the paste formats, the form for the information to be pasted that need to be pasted to the default input frame is carried out changing it Before, methods described also includes:
    According to current input voice, the information to be pasted is determined.
  6. A kind of 6. information stickup device, it is characterised in that including:
    First determining module, for during phonetic entry, when cursor appears in the default input frame of third-party application, Determine the paste formats that the default input frame is supported;
    Format converting module, for according to the paste formats, by the information to be pasted that need to be pasted to the default input frame Form is changed, and obtains the target paste information for meeting the paste formats;
    Stickup module, for by the target paste information stickup into the default input frame.
  7. 7. device according to claim 6, it is characterised in that
    First determining module includes:
    Submodule is generated, for generating the copy command of sky;
    First sending submodule, for the empty copy command to be sent to the operating system of current device, so that the behaviour Make system according to the empty copy command, it is described default defeated to obtain to third-party application transmission form acquisition order Enter the paste formats of frame support.
  8. 8. device according to claim 6, it is characterised in that
    First determining module includes:
    Submodule is selected, when the paste formats for being supported when the default input frame includes a variety of, from a variety of stickup lattice Selection target form in formula, wherein, the object format is any of the multiple format form or a variety of lattice Frequency of use highest form in formula.
  9. 9. device according to claim 6, it is characterised in that
    The stickup module includes:
    Submodule is replicated, for the target paste information to be copied in the shear plate of current device;
    Second sending submodule, for sending paste command to the operating system of current device, so that the operating system will be multiple System is to the target paste information stickup of the shear plate to the default input frame.
  10. 10. the device according to any one of claim 6 to 9, it is characterised in that described device also includes:
    Second determining module, in the information to be pasted that according to the paste formats, need to will be pasted to the default input frame Form changed before, according to current input voice, determine the information to be pasted.
CN201710597162.1A 2017-07-20 2017-07-20 A kind of information stickup method and device Pending CN107463539A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710597162.1A CN107463539A (en) 2017-07-20 2017-07-20 A kind of information stickup method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710597162.1A CN107463539A (en) 2017-07-20 2017-07-20 A kind of information stickup method and device

Publications (1)

Publication Number Publication Date
CN107463539A true CN107463539A (en) 2017-12-12

Family

ID=60546877

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710597162.1A Pending CN107463539A (en) 2017-07-20 2017-07-20 A kind of information stickup method and device

Country Status (1)

Country Link
CN (1) CN107463539A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109976549A (en) * 2017-12-28 2019-07-05 北京搜狗科技发展有限公司 Data processing method, device and machine readable media

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101101592A (en) * 2006-07-04 2008-01-09 联想(北京)有限公司 File format automatic conversion method and device
CN104899087A (en) * 2015-06-16 2015-09-09 科大讯飞股份有限公司 Speech recognition achieving method and system for third-party applications
CN105739717A (en) * 2016-01-27 2016-07-06 百度在线网络技术(北京)有限公司 Information input method and device
CN105988986A (en) * 2015-02-26 2016-10-05 阿里巴巴集团控股有限公司 Information processing method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101101592A (en) * 2006-07-04 2008-01-09 联想(北京)有限公司 File format automatic conversion method and device
CN105988986A (en) * 2015-02-26 2016-10-05 阿里巴巴集团控股有限公司 Information processing method and device
CN104899087A (en) * 2015-06-16 2015-09-09 科大讯飞股份有限公司 Speech recognition achieving method and system for third-party applications
CN105739717A (en) * 2016-01-27 2016-07-06 百度在线网络技术(北京)有限公司 Information input method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109976549A (en) * 2017-12-28 2019-07-05 北京搜狗科技发展有限公司 Data processing method, device and machine readable media

Similar Documents

Publication Publication Date Title
US20150254061A1 (en) Method for user training of information dialogue system
CN106126157B (en) Pronunciation inputting method and device based on hospital information system
CN1639707A (en) System and method for concurrent multimodal communication
CN1639696A (en) System and method for concurrent multimodal communication session persistence
US20200322570A1 (en) Method and apparatus for aligning paragraph and video
EP4164232A1 (en) Information processing method, system and apparatus, and electronic device and storage medium
US20220277749A1 (en) Contextual Denormalization For Automatic Speech Recognition
CN106126080A (en) Voice management method and device
US20140225899A1 (en) Method of animating sms-messages
US11488603B2 (en) Method and apparatus for processing speech
CN107863113A (en) A kind of voice method for uploading and device
CN105263032B (en) A kind of program acquisition method and device
CN107463539A (en) A kind of information stickup method and device
US9894210B2 (en) Adjustable dual-tone multi-frequency phone system
KR20210065629A (en) Chatbot integration agent platform system and service method thereof
CN106569903A (en) Information inputting method and apparatus
CN111027332B (en) Method and device for generating translation model
CN108962246B (en) Voice control method, device and computer readable storage medium
CN106776058A (en) A kind of data inputting method and device
CN109547864B (en) Media data processing method and device
CN111128147A (en) System and method for terminal equipment to automatically access AI multi-turn conversation capability
JP2018128577A (en) Summary sentence display device, summary sentence display method, and program
US10104230B2 (en) Systems and methods for availing multiple input channels in a voice application
KR100757869B1 (en) Apparatus and Method for Providing Text To Speech Service Using Text Division Technique
CN105141500A (en) Method and device for information release

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: 20171212