CN106055416A - Cross-application data transfer method and apparatus - Google Patents

Cross-application data transfer method and apparatus Download PDF

Info

Publication number
CN106055416A
CN106055416A CN201610348809.2A CN201610348809A CN106055416A CN 106055416 A CN106055416 A CN 106055416A CN 201610348809 A CN201610348809 A CN 201610348809A CN 106055416 A CN106055416 A CN 106055416A
Authority
CN
China
Prior art keywords
application
graph
word
input
storage
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.)
Granted
Application number
CN201610348809.2A
Other languages
Chinese (zh)
Other versions
CN106055416B (en
Inventor
高欢欢
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Meizu Technology Co Ltd
Original Assignee
Meizu 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 Meizu Technology Co Ltd filed Critical Meizu Technology Co Ltd
Priority to CN201610348809.2A priority Critical patent/CN106055416B/en
Publication of CN106055416A publication Critical patent/CN106055416A/en
Application granted granted Critical
Publication of CN106055416B publication Critical patent/CN106055416B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/543Local

Abstract

The present invention relates to a cross-application data transfer method and apparatus. The method comprises determining a first graph in a first application; performing screen shot on the first graph, generating a second graph, and storing the second graph; receiving an instruction of inputting the first graph to a second application; and inputting the stored second graph to the second application according to the instruction of inputting the first graph to the second application. The problem that the first graph cannot be displayed when the first graph is directly transferred to the second application is solved by transferring the first graph in the first application to the second application in a screen short data form.

Description

Data are across the method and apparatus of application transfer
Technical field
The present invention relates to Computer Applied Technology field, particularly relate to a kind of data across method and the dress applying transfer Put.
Background technology
For record, preserving and the purpose such as editor, user it is frequently necessary to shift data.In conventional art, data Transfer is usually to carry out data replicating pastes, but for based on the data in application-specific, replicates and be likely to out when pasting Under non-application, data can not be identified now, and then the problem that cannot show.
Summary of the invention
Based on this, it is necessary to the problem can not being identified after application transfer for data, it is provided that a kind of data are across application The method and apparatus of transfer.
A kind of data are across the method for application transfer, and described method includes:
Determine the first figure in the first application;
Described first figure is carried out sectional drawing, generates second graph, and store described second graph;
Receive the instruction of described first figure input to the second application;
According to the described instruction by the first figure input to the second application, by the described second graph input of storage to described Second application.
Wherein in an embodiment, described the first figure determined in the first application, including:
Receive the duplicate instructions to the first figure applied;
Described first figure is determined according to described duplicate instructions;
Described first figure is inputted the instruction to the second application by described reception, including:
Receive the instruction pasting the first figure in the editor position of the second application;
The described described second graph by storage inputs the most described second application, including:
The second graph of described storage is affixed to the described editor position of described second application.
Wherein in an embodiment, also include determining first while described the first figure determined in the first application Word in application;
Described method also includes: obtain described first figure positional information in described word;
Before or after the step of the described second graph of described storage, also include storing described word;
The described described second graph by storage inputs the most described second application, including:
By in the described word input of storage to the second application;
According to described positional information by the described second graph input of storage to described word.
Wherein in an embodiment, described first figure is the visual emotion symbol in social networking application.
Wherein in an embodiment, described second application is applied for text-processing;Described described second figure by storage Shape input is applied to described second, including:
Obtain the text formatting of the currently active word processing page of described text-processing application;
The size of described second graph is adjusted according to described text formatting;
During described second graph input after adjusting is applied to described text-processing.
A kind of data are across the device of application transfer, and described device includes:
Data determining module, for determining the first figure in the first application;
Screen capture module, for described first figure carries out sectional drawing, generates second graph, and stores described second graph;
Transfer command acquisition module, for receiving the instruction of described first figure input to the second application;
Shift module, for according to the described instruction by the first figure input to the second application, by described the second of storage Figure input is to described second application.
Wherein in an embodiment, described data determining module, it is additionally operable to receive the duplication of the figure to the first application Instruction;Described first figure is determined according to described duplicate instructions;
Described transfer command acquisition module, is additionally operable to receive the finger pasting the first figure in the editor position of the second application Order;
Described shift module, is additionally operable to affix to the second graph of described storage the described edit bit of described second application Put.
Wherein in an embodiment, described data determining module, be additionally operable to described determine in the first application first The word in the first application is determined while figure;
Described device also includes:
Locating module, for obtaining described first figure positional information in described word;
Word memory module, is used for storing described word;
Described shift module, for by the described word input of storage to the second application;Will according to described positional information In the described second graph input extremely described word of storage.
Wherein in an embodiment, described first figure is the visual emotion symbol in social networking application.
Wherein in an embodiment, described second application is applied for text-processing;
Described shift module includes:
Text formatting acquisition module, for obtaining the word of the currently active word processing page of described text-processing application Form;
Adjusting module, for adjusting the size of described second graph according to described text formatting;
Input module, during the described second graph input after adjusting is applied to described text-processing.
Above-mentioned data are across the method and apparatus of application transfer, the first figure being determined by the first application;To described One figure carries out sectional drawing, generates second graph, and stores described second graph;Receiving should to second by described first figure input Instruction;According to the described instruction by the first figure input to the second application, the described second graph of storage is inputted to institute State the second application.The first figure that above-mentioned method and apparatus is applied by sectional drawing first, and by the first image with sectional drawing data Form is transferred in the second application, and the first figure solved under applying first is directly transferred in the second application that figure cannot The problem of display.
Accompanying drawing explanation
Fig. 1 is the flow chart of the method that data shift across application in an embodiment;
Fig. 2 is the flow chart of the method that data shift across application in another embodiment;
Fig. 3 is the flow chart of the method that word shifts across application with figure in an embodiment;
Fig. 4 is the flow chart adjusting transfer data in an embodiment;
Fig. 5 is the structured flowchart of the device that data shift across application in an embodiment;
Fig. 6 is the structured flowchart relating to character processor in an embodiment;
Fig. 7 is the structured flowchart of shift module in an embodiment.
Detailed description of the invention
In order to make the purpose of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, right The present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, and It is not used in the restriction present invention.
In the embodiment shown in fig. 1, it is provided that a kind of data are across the method for application transfer, and described method includes:
Step S102: determine the first figure in the first application.
First application is the software program for user being arranged on software platform, can based on Andord answer With, website application etc..It is mutual with realize with user that application program has visual page.
First figure refers to show the image in the first application, and the first figure essence of the first application is figure pictograph Number, such as in QQ applies, the essence of expression figure is emoticon "/abc ".
Wherein in an embodiment, can be by the display of selected first application such as mouse or keyboard or touch screen etc. First figure at interface, and then can determine that the regional extent at the first figure place.
Step S104: described first figure carries out sectional drawing, generates second graph, and stores described second graph.
After the regional extent determining the first figure, the figure in regional extent is carried out sectional drawing, generate second graph, and Second graph is stored in server.During server storage second graph, storage second graph and the tying up of the first figure simultaneously Determine relation.
The attribute of this second graph is picture attribute, if second graph form is BMP form, JPG form, GIF form etc..
Step S106: receive the instruction of described first figure input to the second application.
The operation being acted on the second application by applying generates instruction, this instruction for instruction by the first figure input to the In two application, i.e. establish corresponding relation between this instruction and the first figure.
Step S108: according to the described instruction by the first figure input to the second application, by the described second graph of storage Input is to described second application.
Due to the corresponding relation between this instruction one figure, second graph, according to above-mentioned instruction, server can inquire phase The second graph answered also transmits to the second application.
Data in such as the embodiment of Fig. 1 across application transfer method, by the first figure to be transferred is carried out cut Figure, is transferred to the sectional drawing figure-second graph of the first figure in the second application, owing to second graph is sectional drawing figure, and non-the One applies exclusive figure, and second graph may be displayed in the second application, solve directly the first figure is transferred to second should The problem that cannot show in.
Wherein in an embodiment, as in figure 2 it is shown, step S102 includes:
Step S202: receive the duplicate instructions to the first figure applied.
Step S204: determine described first figure according to described duplicate instructions.
After step s 204 for step S206: described first figure to be carried out sectional drawing, generate second graph, and replicate institute State second graph.
Step S106 is in the present embodiment for step S208: receives and pastes the first figure in the editor position of the second application Instruction.
The determination being defined as user of this editor position, user can pass through the input equipments such as mouse, keyboard or touch screen Specify editor position.
Step S108 is in the present embodiment for step S210: the second graph of described storage affixes to described second application Described editor position.
Above-described embodiment shifts for realizing data by duplication stickup.Replicate the sectional drawing figure-second graph of the first figure, During stickup second graph is applied to second, owing to second graph is sectional drawing figure, non-first applies exclusive figure, and second graph can In applying second with display, solve the problem directly affixing to cannot show in the second application by the first figure.
Wherein in an embodiment, the first figure is for the visual emotion symbol in social networking application.Such as, chat application In emoticon.The emoticon that sectional drawing first shows in applying, generates expression figure, and pasting this expression figure should to second In with, the second application can show this expression figure.In conventional art, the emoticon in the first application is directly replicated, When affixing to the second application, the display character string corresponding for emoticon on the second application interface, due to the second application not Can identify that this character string, described emoticon can not show.It is directed in conventional art can not show after emoticon transfer The problem shown, above-described embodiment solves emoticon by the way of transfer sectional drawing can not be across the problem of application display.
Wherein in an embodiment, as it is shown on figure 3, in step S102: described the first figure determined in the first application While also include step S302: determine the word in the first application.
The method determining the first figure and word is: receiving the duplicate instructions of user's input, duplicate instructions is with user couple Answering the selection of reproducting content, wherein, reproducting content includes figure and word.
Described method also includes: step S304: obtain described first figure positional information in described word.
Wherein in an embodiment, described first figure is visual emotion symbol emoji expression.Emoji expression has Specifically being different from the form of word, such as, QQ application emoji emoticon is "/abc " form.Obtain the first figure in institute Stating the positional information in word can be: the emoticon of inquiry emoji expression, the emoticon of location emoji expression, according to Location obtains emoji expression positional information in the literature.
Before or after step S200, also include: store described word.
Wherein in an embodiment, storage word is for replicating word to clipbook.
Step S108 is step S306 in the present embodiment: according to described positional information by defeated for the described second graph of storage Enter to described word.
Wherein in an embodiment, from clipbook, obtain word, in the word that stickup gets to second application, from Clipbook obtains second graph, according to the positional information of the first figure got, by the sectional drawing second graph of the first figure Paste the position that this positional information is corresponding.When the first figure is emoji expression, and second graph is then the table of this emoji expression Feelings image.During data transfer, in applying first, the emoji expression of corresponding position replaces to the expression of corresponding emoji expression Image, facial expression image is picture format, and the specific format under non-first application, therefore, the expression after transfer may be displayed on the In two application.
Wherein in an embodiment, described second application is applied for text-processing.
An embodiment wherein, the text processes application for word processor word.
As shown in Figure 4, step S108 includes:
Step S402: obtain the text formatting of the currently active word processing page of described text-processing application.
Wherein in an embodiment, specifically, obtain the text formatting of the current editing interface of word, wherein, word lattice Formula includes: font size, between word spacing, line space.
Step S404: adjust the size of described second graph according to described text formatting.
Specifically, amplify second graph or entirety reduces second graph so that second graph is defeated according to text formatting entirety Can mate with the text formatting of the other guide in this application when entering to the second application.
Step S406: during the described second graph input after adjusting is applied to described text-processing.
In the present embodiment, the second graph after adjusting is input in text-processing application, it is to avoid directly input intercepting The figure that may bring of second graph excessive or too small problem, it is to avoid user's follow-up cost substantial amounts of adjustment time.
In one embodiment, as shown in Figure 5, it is provided that a kind of data are across the device of application transfer, and described device includes:
Data determining module 510, for determining the first figure in the first application.
Screen capture module 520, for described first figure carries out sectional drawing, generates second graph, and stores described second figure Shape.
Transfer command acquisition module 530, for receiving the instruction of described first figure input to the second application.
Shift module 540, for according to the described instruction by the first figure input to the second application, by described the of storage Two figure inputs are to described second application.
Wherein in an embodiment, described data determining module 510, it is additionally operable to receive answering the first figure applied System instruction;Described first figure is determined according to described duplicate instructions.
Described transfer command acquisition module 530, is additionally operable to receive the editor position in the second application and pastes the first figure Instruction.
Described shift module 540, is additionally operable to affix to the second graph of described storage the described volume of described second application Collect position.
Wherein in an embodiment, described data determining module 510, be additionally operable to described determine in the first application The word in the first application is determined while one figure.
As shown in Figure 6, described device also includes:
Locating module 610, for obtaining described first figure positional information in described word.
Word memory module 620, is used for storing described word.
Described shift module 540, for by the described word input of storage to the second application;According to described positional information By in the described second graph input of storage to described word.
Wherein in an embodiment, described first figure is the visual emotion symbol in social networking application.
Wherein in an embodiment, described second application is applied for text-processing.
As it is shown in fig. 7, described shift module 540 includes:
Text formatting acquisition module 710, for obtaining the currently active word processing page of described text-processing application Text formatting.
Adjusting module 720, for adjusting the size of described second graph according to described text formatting.
Input module 730, during the described second graph input after adjusting is applied to described text-processing.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method, be permissible Instructing relevant hardware by computer program to complete, program can be stored in a computer read/write memory medium, as In the embodiment of the present invention, this program can be stored in the storage medium of computer system, and by this computer system at least One processor performs, to realize including the flow process of the embodiment such as above-mentioned each method.Wherein, storage medium can be magnetic disc, light Dish, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc..
Each technical characteristic of embodiment described above can combine arbitrarily, for making description succinct, not to above-mentioned reality The all possible combination of each technical characteristic executed in example is all described, but, as long as the combination of these technical characteristics is not deposited In contradiction, all it is considered to be the scope that this specification is recorded.
Embodiment described above only have expressed the several embodiments of the present invention, and it describes more concrete and detailed, but also Can not therefore be construed as limiting the scope of the patent.It should be pointed out that, come for those of ordinary skill in the art Saying, without departing from the inventive concept of the premise, it is also possible to make some deformation and improvement, these broadly fall into the protection of the present invention Scope.Therefore, the protection domain of patent of the present invention should be as the criterion with claims.

Claims (10)

1. data are across a method for application transfer, and described method includes:
Determine the first figure in the first application;
Described first figure is carried out sectional drawing, generates second graph, and store described second graph;
Receive the instruction of described first figure input to the second application;
According to the described instruction by the first figure input to the second application, by the described second graph input of storage to described second Application.
Method the most according to claim 1, it is characterised in that:
Described the first figure determined in the first application, including:
Receive the duplicate instructions to the first figure applied;
Described first figure is determined according to described duplicate instructions;
Described first figure is inputted the instruction to the second application by described reception, including:
Receive the instruction pasting the first figure in the editor position of the second application;
The described described second graph by storage inputs the most described second application, including:
The second graph of described storage is affixed to the described editor position of described second application.
Method the most according to claim 1, it is characterised in that:
Also include determining the word in the first application while described the first figure determined in the first application;
Described method also includes: obtain described first figure positional information in described word;
Before or after the step of the described second graph of described storage, also include storing described word;
The described described second graph by storage inputs the most described second application, including:
By in the described word input of storage to the second application;
According to described positional information by the described second graph input of storage to described word.
Method the most according to claim 1, it is characterised in that described first figure is the visual emotion symbol in social networking application Number.
Method the most according to claim 1, it is characterised in that described second application is applied for text-processing;Described will deposit The described second graph input of storage is applied to described second, including:
Obtain the text formatting of the currently active word processing page of described text-processing application;
The size of described second graph is adjusted according to described text formatting;
During described second graph input after adjusting is applied to described text-processing.
6. the device that data shift across application, it is characterised in that described device includes:
Data determining module, for determining the first figure in the first application;
Screen capture module, for described first figure carries out sectional drawing, generates second graph, and stores described second graph;
Transfer command acquisition module, for receiving the instruction of described first figure input to the second application;
Shift module, for according to the described instruction by the first figure input to the second application, by the described second graph of storage Input is to described second application.
Device the most according to claim 1, it is characterised in that:
Described data determining module, is additionally operable to receive the duplicate instructions of the figure to the first application;True according to described duplicate instructions Fixed described first figure;
Described transfer command acquisition module, is additionally operable to receive the instruction pasting the first figure in the editor position of the second application;
Described shift module, is additionally operable to affix to the second graph of described storage the described editor position of described second application.
Device the most according to claim 1, it is characterised in that:
Described data determining module, is additionally operable to while described the first figure determined in the first application determine in the first application Word;
Described device also includes:
Locating module, for obtaining described first figure positional information in described word;
Word memory module, is used for storing described word;
Described shift module, for by the described word input of storage to the second application;Will storage according to described positional information The input of described second graph in described word.
Device the most according to claim 1, it is characterised in that described first figure is the visual emotion symbol in social networking application Number.
Device the most according to claim 1, it is characterised in that described second application is applied for text-processing;
Described shift module includes:
Text formatting acquisition module, for obtaining the word lattice of the currently active word processing page of described text-processing application Formula;
Adjusting module, for adjusting the size of described second graph according to described text formatting;
Input module, during the described second graph input after adjusting is applied to described text-processing.
CN201610348809.2A 2016-05-23 2016-05-23 Method and device for data cross-application transfer Active CN106055416B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610348809.2A CN106055416B (en) 2016-05-23 2016-05-23 Method and device for data cross-application transfer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610348809.2A CN106055416B (en) 2016-05-23 2016-05-23 Method and device for data cross-application transfer

Publications (2)

Publication Number Publication Date
CN106055416A true CN106055416A (en) 2016-10-26
CN106055416B CN106055416B (en) 2020-08-18

Family

ID=57175144

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610348809.2A Active CN106055416B (en) 2016-05-23 2016-05-23 Method and device for data cross-application transfer

Country Status (1)

Country Link
CN (1) CN106055416B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108363536A (en) * 2018-02-27 2018-08-03 维沃移动通信有限公司 A kind of expression packet application method and terminal device
CN111061530A (en) * 2019-12-05 2020-04-24 维沃移动通信有限公司 Image processing method, electronic device and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1832608A (en) * 2005-03-07 2006-09-13 Lg电子株式会社 Method and apparatus for converting sms message into mms compliant image file in mobile communications
CN101252550A (en) * 2008-03-31 2008-08-27 腾讯科技(深圳)有限公司 User-defined information management apparatus, method and system
CN103345493A (en) * 2013-06-27 2013-10-09 广州市动景计算机科技有限公司 Method, device and system for text content displaying on mobile terminal
CN103608779A (en) * 2011-06-15 2014-02-26 阿玛得斯两合公司 Improvements in or relating to pasting data
CN105160033A (en) * 2015-09-30 2015-12-16 北京奇虎科技有限公司 Expression character string processing method and device
US20160055370A1 (en) * 2014-08-21 2016-02-25 Futurewei Technologies, Inc. System and Methods of Generating User Facial Expression Library for Messaging and Social Networking Applications

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1832608A (en) * 2005-03-07 2006-09-13 Lg电子株式会社 Method and apparatus for converting sms message into mms compliant image file in mobile communications
CN101252550A (en) * 2008-03-31 2008-08-27 腾讯科技(深圳)有限公司 User-defined information management apparatus, method and system
CN103608779A (en) * 2011-06-15 2014-02-26 阿玛得斯两合公司 Improvements in or relating to pasting data
CN103345493A (en) * 2013-06-27 2013-10-09 广州市动景计算机科技有限公司 Method, device and system for text content displaying on mobile terminal
US20160055370A1 (en) * 2014-08-21 2016-02-25 Futurewei Technologies, Inc. System and Methods of Generating User Facial Expression Library for Messaging and Social Networking Applications
CN105160033A (en) * 2015-09-30 2015-12-16 北京奇虎科技有限公司 Expression character string processing method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108363536A (en) * 2018-02-27 2018-08-03 维沃移动通信有限公司 A kind of expression packet application method and terminal device
CN111061530A (en) * 2019-12-05 2020-04-24 维沃移动通信有限公司 Image processing method, electronic device and storage medium

Also Published As

Publication number Publication date
CN106055416B (en) 2020-08-18

Similar Documents

Publication Publication Date Title
CN107256109B (en) Information display method and device and terminal
CN108595445A (en) Interpretation method, device and terminal
CN104598901A (en) Method and system for identifying picture characters and typesetting and displaying picture characteristics according to original style by mobile terminal
CN105278818B (en) Content copying methods and device in a kind of instant message applications
CN104392474B (en) A kind of method and device for generating, showing animation
CN104834645B (en) Method and apparatus for showing format document
CN111476209B (en) Handwriting input recognition method, handwriting input recognition equipment and computer storage medium
US11237848B2 (en) View playback to enhance collaboration and comments
JP2017531849A (en) Character editing method and apparatus for screen display device
JP2018116496A (en) Difference detection device and program
US11895076B2 (en) Electronic messaging platform that allows users to edit and delete messages after sending
CN104915186B (en) A kind of method and apparatus making the page
CN103207918B (en) Animation effect management method, system and the device of a kind of PowerPoint
CN106601254A (en) Information inputting method, information inputting device and calculation equipment
CN108140174A (en) Dialogue and Version Control for object in communication
US20170344247A1 (en) Touch screen device enabling entity to be shifted or copied based on touch input, and operating method thereof
CN106933887A (en) A kind of data visualization method and device
KR101687828B1 (en) System and method for generating electronic document
CN104835105B (en) Picture processing method and device
CN106055416A (en) Cross-application data transfer method and apparatus
CN110443772A (en) Image processing method, device, computer equipment and storage medium
CN106502680A (en) A kind of method that pel extension is carried out by visualization interface
CN109271607A (en) User Page layout detection method and device, electronic equipment
US20140337709A1 (en) Method and apparatus for displaying web page
CN106293671B (en) Method and device for generating component template

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant