CN107122208A - A kind of method and terminal of data transfer - Google Patents
A kind of method and terminal of data transfer Download PDFInfo
- Publication number
- CN107122208A CN107122208A CN201710253472.1A CN201710253472A CN107122208A CN 107122208 A CN107122208 A CN 107122208A CN 201710253472 A CN201710253472 A CN 201710253472A CN 107122208 A CN107122208 A CN 107122208A
- Authority
- CN
- China
- Prior art keywords
- terminal
- data
- application program
- read
- target data
- 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.)
- Withdrawn
Links
Classifications
-
- 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/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
- G06F9/4451—User profiles; Roaming
-
- 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/445—Program loading or initiating
- G06F9/44521—Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
- G06F9/44526—Plug-ins; Add-ons
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The embodiments of the invention provide the method and terminal of a kind of data transfer, wherein method includes:The data read and write interface of application program is realized according to preparatory condition;Obtain the target data of application program described in first terminal;The target data got is sent to second terminal;The destination application for being imported the target data in the second terminal by the read-write interface.By realizing the data read and write interface to application program in end application, after the target data for obtaining end application, in the application program that target data after transfer is imported to another terminal using read-write interface, root authority, which need not be obtained, just can carry out data transfer, be that the data transfer of terminal room is brought convenience.
Description
Technical field
The present invention relates to the method and terminal of electronic technology field, more particularly to a kind of transfer of data.
Background technology
With the development of technology, the speed that the intelligent terminal such as mobile phone, tablet personal computer updates is more and more faster, and people also get over
To be more accustomed to the intelligent terminal quickly more renewed.But, it have purchased after new terminal, by the data in the old terminal replaced
The fussy degree and degree of difficulty for being directed into new terminal allow most people to feel headache.
In order to solve the data branch problem during changes terminal, occur many softwares of changing planes, but these on the market
Software of changing planes typically all deposits the safety breath manner of breathing of the problem of needing to obtain the Root authority of intelligent terminal, Root authority and terminal
Close, existing intelligent terminal obtains Root authority and is also increasingly difficult to.
The content of the invention
The method that the embodiment of the present invention provides a kind of transfer of data, can effectively solve the above problems, when shifting data without
Root authority need to be obtained, is more facilitated.
In a first aspect, the embodiments of the invention provide a kind of method of data transfer, this method includes:
The data read and write interface of application program is realized according to preparatory condition;
Obtain the target data of application program described in first terminal;
The target data got is sent to second terminal;
The destination application for being imported the target data in the second terminal by the read-write interface.
On the other hand, the embodiments of the invention provide a kind of terminal, the terminal includes:
Unit is realized, the data read and write interface for realizing application program according to preparatory condition;
Acquiring unit, the target data for obtaining application program described in first terminal;
Transmitting element, for the target data got to be sent to second terminal;
Import unit, the target for being imported the target data in the second terminal by the read-write interface should
Use program.
The method and terminal of the data transfer of the embodiment of the present invention, by being realized in end application to application program
Data read and write interface, obtain end application target data after, the target data after transfer is led using read-write interface
In the application program for entering another terminal, data transfer just can be carried out without obtaining root authority, is the data transition zone of terminal room
To facilitate.
Brief description of the drawings
Technical scheme, is used required in being described below to embodiment in order to illustrate the embodiments of the present invention more clearly
Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the present invention, general for this area
For logical technical staff, on the premise of not paying creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of schematic flow diagram of the method for data transfer that the embodiment of the present invention one is provided;
Fig. 2 is a kind of schematic flow diagram of the method for data transfer that the embodiment of the present invention two is provided;
Fig. 3 is a kind of schematic flow diagram of the method for data transfer that the embodiment of the present invention three is provided;
Fig. 4 is the schematic block diagram for the terminal that the embodiment of the present invention one is provided;
Fig. 5 is the schematic block diagram for the terminal that the embodiment of the present invention two is provided;
Fig. 6 is the schematic block diagram for the terminal that the embodiment of the present invention one is provided;
Fig. 7 is the schematic block diagram that the embodiment of the present invention four is provided.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is a part of embodiment of the invention, rather than whole embodiments.Based on this hair
Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made
Example, belongs to the scope of protection of the invention.
It should be appreciated that ought be in this specification and in the appended claims in use, term " comprising " and "comprising" be indicated
Described feature, entirety, step, operation, the presence of element and/or component, but be not precluded from one or more of the other feature, it is whole
Body, step, operation, element, component and/or its presence or addition for gathering.
It is also understood that the term used in this description of the invention is merely for the sake of the mesh for describing specific embodiment
And be not intended to limit the present invention.As used in description of the invention and appended claims, unless on
Other situations are hereafter clearly indicated, otherwise " one " of singulative, " one " and "the" are intended to include plural form.
As used in this specification and in the appended claims, term " if " can be according to context quilt
Be construed to " when ... " or " once " or " in response to determining " or " in response to detecting ".Similarly, phrase " if it is determined that " or
" if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true
It is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
In the specific implementation, the terminal described in the embodiment of the present invention is including but not limited to such as with touch sensitive surface
The mobile phone, laptop computer or tablet PC of (for example, touch-screen display and/or touch pad) etc it is other just
Portable device.It is to be further understood that in certain embodiments, the equipment not portable communication device, but with touching
Touch the desktop computer of sensing surface (for example, touch-screen display and/or touch pad).
In discussion below, the terminal including display and touch sensitive surface is described.It is, however, to be understood that
It is that terminal can include one or more of the other physical user-interface device of such as physical keyboard, mouse and/or control-rod.
Terminal supports various application programs, such as one or more of following:Drawing application program, demonstration application journey
Sequence, word-processing application, website create application program, disk imprinting application program, spreadsheet applications, game application
Program, telephony application, videoconference application, email application, instant messaging applications, exercise
Support application program, photo management application program, digital camera application program, digital camera application program, web-browsing application
Program, digital music player application and/or video frequency player application program.
The various application programs that can be performed in terminal can use such as touch sensitive surface at least one is public
Physical user-interface device.It can adjust and/or change among applications and/or in corresponding application programs and touch sensitive table
The corresponding information shown in the one or more functions and terminal in face.So, the public physical structure of terminal is (for example, touch
Sensing surface) the various application programs with user interface directly perceived and transparent for a user can be supported.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, can also
It is that unit is individually physically present or two or more units are integrated in a unit.It is above-mentioned integrated
Unit can both be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
It should be appreciated that in embodiments of the present invention, alleged processor can be CPU (Central
Processing Unit, CPU), the processor can also be other general processors, digital signal processor (Digital
Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit,
ASIC), ready-made programmable gate array (Field-Programmable GateArray, FPGA) or other programmable logic devices
Part, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or the processing
Device can also be any conventional processor etc..
It should be appreciated that terminal is only an example of portable multifunction device, and terminal can have than
The shown more or less components of component, two or more components can be combined or can have different component Configuration or cloth
Put.Can be with the combination of the hardware including one or more signal transactings and/or application specific integrated circuit, software or hardware and software
To realize various parts.
It will also be understood that although term first, second etc. can be used for describing various elements herein, these elements should not
This is limited to these terms.These terms are only used for these elements being distinguished from each other out.For example, not departing from the scope of the invention
Under the premise of, first terminal can be referred to as second terminal, and similarly, second terminal can be referred to as first terminal.First
Terminal and second terminal are terminal, but their not same terminals.
It is a kind of schematic flow diagram of the method for data transfer that the embodiment of the present invention one is provided, such as figure institute referring to Fig. 1
Show, this method comprises the following steps S11~S15:
Step S11:Data read and write interface to application program is realized according to preparatory condition.
Specifically, the data read and write interface to application is realized in the application program of terminal in advance, realizes reading and writing data
Just the data of application can be obtained after interface directly at read-write interface.
It is implemented as follows:
The plug-in unit for being available for reading and writing data is realized in the application program of terminal first, end application needs what is realized
Card i/f explanation:
First, following service is configured in AndroidManifest:
2nd, aidl (Android Interface Definition Language) interface in jar bags is realized:
Step S12:Read the profile information of application program in first terminal.
Specifically, data transfer procedures provide configuration file structure, and matching somebody with somebody of reading that application program in first terminal provides
Put fileinfo.
Profile information is for example:
packageName:Bag name
versionCode_src:Source version number
srcPath:Need the file of transmission or the path of catalogue
isFile_src:Whether source path is file
isSystemData_src:Whether source path is system data
Data configuration file example is as follows:
[{"packageName":"com.gionee.account","pathlist":[{"srcPath":"/data/
data/com.gionee.account/shared_prefs/GNAccount.xml","targetPath":"amihuanji/ownapp/com.gionee.account","file_src":true,"file_tar":false,"systemData_src":
true,"systemData_tar":false}],"versionCode_src":0,"versionCode_tar":
2004000020}]。
Step S13:The target data of application program in first terminal is obtained according to profile information.
Specifically, data transfer procedures obtain application program in first terminal by the profile information read
Data.
Step S14:The target data got is sent to second terminal;
Specifically, data transfer procedures get after target data by available data transfer techniques (such as wireless transfer or
Data wire is shifted) send target data to second terminal.
Step S15:The destination application for being imported target data in second terminal by read-write interface.
Specifically, second terminal finds the corresponding application program of target data, passes through reality after target data is received
Existing data read and write interface is imported data in application program, so as to realize the data transfer of terminal room.
By realizing the data read and write interface to application program in end application, the mesh of end application is obtained
Mark after data, in the application program that the target data after transfer is imported to another terminal using read-write interface, without obtaining root
Authority just can carry out data transfer, only require that the application program of second terminal realizes that data plug-in unit can be completed in the present embodiment
Change planes, compatible can be not carried out the application of legacy version in the first terminal of data read and write interface.
It is a kind of schematic flow diagram of the method for data transfer that the embodiment of the present invention two is provided, such as figure institute referring to Fig. 2
Show, this method comprises the following steps S21~S25:
Step S21:Reading and writing data plug-in unit is realized in the application, and the skill of read-write plug-in unit is realized in data transfer procedures
Art framework and data read and write interface.
Specifically, plug-in part technology framework and data read and write interface are provided by data transfer procedures, application program turns for data
Shifting program provides the plug-in unit of read-write data.
Step S22:Data transfer procedures call reading and writing data plug-in unit to realize the data read and write interface to application program.
Specifically, data transfer procedures call the plug-in unit of the read-write data of application program offer to realize the number of application program
According to read-write interface, so as to read data from application program, or application program is imported data to.
It is implemented as follows:
The plug-in unit for being available for reading and writing data is realized in the application program of terminal first, end application needs what is realized
Card i/f explanation:
First, following service is configured in AndroidManifest:
2nd, aidl (Android Interface Definition Language) interface in jar bags is realized:
Step S23:The target data of application program in first terminal is obtained by read-write interface.
Specifically, after the read-write interface that data are realized in first terminal, read by read-write interface in first terminal
The target data of application program.
Step S24:The target data got is sent to second terminal;
Specifically, data transfer procedures get after target data by available data transfer techniques (such as wireless transfer or
Data wire is shifted) send target data to second terminal.
Step S25:The destination application for being imported target data in second terminal by read-write interface.
Specifically, second terminal finds the corresponding application program of target data, passes through reality after target data is received
Existing data read and write interface is imported data in application program, so as to realize the data transfer of terminal room.
The present embodiment realizes the read-write interface of data transfer in the first and second terminals, more square during transfer data
Just, while the data obtained the read-write interface that application program is realized in first terminal is directly provided, the data of transfer are by applying
Oneself configuration, so compatibility is optimal, while data are provided by application, perfect can support that system area data and SD card data are same
Step transfer.
It is a kind of schematic flow diagram of the method for data transfer that the embodiment of the present invention three is provided, such as figure institute referring to Fig. 3
Show, this method comprises the following steps S31~S36:
Step S31:Data read and write interface to application program is realized according to preparatory condition.
Specifically, the data read and write interface to application is realized in the application program of terminal in advance, realizes reading and writing data
Just the data of application can be obtained after interface directly at read-write interface.
It is implemented as follows:
The plug-in unit for being available for reading and writing data is realized in the application program of terminal first, end application needs what is realized
Card i/f explanation:
First, following service is configured in AndroidManifest:
2nd, aidl (Android Interface Definition Language) interface in jar bags is realized:
Step S32:Obtain the target data of application program in first terminal.
Specifically, it can be applied in this embodiment by the method in above-mentioned two embodiment to get in first terminal
The target data of program.
Step S33:The target data got is sent to second terminal.
Specifically, data transfer procedures get after target data by available data transfer techniques (such as wireless transfer or
Data wire is shifted) send target data to second terminal.
Step S34:If getting target data, the characteristic information of target data is recognized.
Specifically, when getting target data, (target data that gets herein can be obtained in data transfer procedures
When getting target data, or when second terminal application program gets target data), to the spy of target data
Reference breath is identified, for example, judge the corresponding user of target data, use time or whether be need deletion data
Deng.
Step S35:Whether judging characteristic information meets the preparatory condition for importing second terminal application program.
Specifically, the preparatory condition of second terminal application program can be imported by presetting, for example, the data correspondence imported
User whom should be, which time corresponding to the data of importing should be time, or set some needs and delete
The data characteristics removed.After the characteristic information of target data is recognized, its preparatory condition for whether meeting importing is judged.
Step S36:If meeting the preparatory condition for importing second terminal application program, target data is imported into second terminal
Application program.
Specifically, if meeting the preparatory condition for importing second terminal application program, by target data by realizing
Data read and write interface import application program, realize the transfer of data.
By setting preparatory condition to be screened come the data to transfer, so that data transmission is more efficiently, purposefully
Property, it is to avoid the data sent are not required, so as to shorten the time of data transfer.
It is a kind of schematic block diagram for terminal that the embodiment of the present invention one is provided, as illustrated, the terminal bag referring to Fig. 4
Include:
Unit 10 is realized, the data read and write interface for realizing application program according to preparatory condition;
Acquiring unit 20, includes reading unit 21 and acquisition for obtaining the target data of application program in first terminal
Unit 22:
Reading unit 21, the profile information for reading application program in first terminal;
Subelement 22 is obtained, the target data for obtaining application program in first terminal according to profile information;
Transmitting element 30, for the target data got to be sent to second terminal;
Import unit 40, for the destination application for being imported target data in second terminal by read-write interface.
Specifically, before data transfer, terminal 99 realizes that unit 10 realizes the number of application program according to preparatory condition
According to read-write interface, reading unit 21 is read in first terminal after the profile information of application program, by 22, acquisition subelement
The target data of application program in first terminal is obtained according to profile information, is got after target data, transmitting element 30 will
The target data got is sent to second terminal, in second terminal by import unit 40 by read-write interface by target data
The destination application imported in second terminal.
Specifically, by realizing the data read and write interface to application program in end application, terminal applies are obtained
After the target data of program, in the application program that the target data after transfer is imported to another terminal using read-write interface, without
Obtaining root authority just can carry out data transfer, only require that the application program of second terminal realizes data plug-in unit in the present embodiment
It can complete to change planes, compatible can be not carried out the application of legacy version in the first terminal of data read and write interface.
It is a kind of schematic block diagram for terminal that the embodiment of the present invention two is provided, as illustrated, the terminal bag referring to Fig. 5
Include:
Unit 10 is realized, unit is realized for realizing the data read and write interface of application program according to preparatory condition including first
11 and second realize unit 12:
First realizes unit 11, for realizing reading and writing data plug-in unit in the application, is realized in data transfer procedures
Read and write the technological frame and data read and write interface of plug-in unit;
Second realizes unit 12, for calling reading and writing data plug-in unit to realize the number of application program by data transfer procedures
According to read-write interface;
Acquiring unit 20, the target data for obtaining application program in first terminal by read-write interface;
Transmitting element 30, for the target data got to be sent to second terminal;
Import unit 40, for the destination application for being imported target data in second terminal by read-write interface.
Specifically, first realize that unit 11 realizes reading and writing data plug-in unit in the application in terminal 99, in data transfer
The technological frame and data read and write interface of read-write plug-in unit are realized in program, second realizes that unit 12 is called by data transfer procedures
Reading and writing data plug-in unit realizes the data read and write interface of application program, and acquiring unit 20 obtains first eventually by the read-write interface of realization
The target data of application program in end, and sent the target data got to second terminal by transmitting element 30, second
The destination application for being imported target data in second terminal by read-write interface by import unit 40 in terminal.
Specifically, the present embodiment realizes the read-write interface of data transfer in the first and second terminals, shifts data
Shi Gengjia is convenient, while the data obtained the read-write interface that application program is realized in first terminal is directly provided, the number of transfer
According to by application oneself configuration, so compatibility is optimal, while data are provided by application, perfect system area data and SD can be supported
Card data syn-chronization is shifted.
It is a kind of schematic block diagram for terminal that the embodiment of the present invention three is provided, as illustrated, the terminal bag referring to Fig. 6
Include:
Unit 10 is realized, the data read and write interface for realizing application program according to preparatory condition;
Acquiring unit 20, the target data for obtaining application program in first terminal;
Transmitting element 30, for the target data got to be sent to second terminal;
Import unit 40, for the destination application bag for being imported target data in second terminal by read-write interface
Include:
Recognition unit 41, if for getting target data, recognizing the characteristic information of target data;
Whether judging unit 42, the preparatory condition for importing second terminal application program is met for judging characteristic information;
Execution unit 43, if importing the preparatory condition of second terminal application program for meeting, the is imported by target data
The application program of two terminals.
Specifically, terminal 99 realizes that unit 10 realizes the data read and write interface of application program according to preparatory condition, obtains
Unit 20 gets in first terminal and sent after the target data of application program by transmitting element 30 to second terminal, gets mesh
When marking data, the characteristic information of target data is identified recognition unit 41, and is by the judging characteristic information of judging unit 42
It is no to meet the preparatory condition for importing second terminal application program, if meeting the preparatory condition for importing second terminal application program,
Target data is then imported to the application program of second terminal by execution unit 43.
Specifically, by setting preparatory condition to be screened come the data to transfer, so that data transmission is more efficiently,
It is purposive, it is to avoid the data sent are not required, so as to shorten the time of data transfer.
Fig. 7 is the structure composition schematic diagram of the example IV of the terminal of the present invention.As shown in fig. 7, it may include:At least one
Individual input equipment 101, at least one output equipment 102, bus 103, transceiver 104, memory 105 and processor 100,
Above-mentioned input equipment 101, output equipment 102, transceiver 104, memory 105 and processor 100 are connected by bus 103,
Wherein:
Input equipment 101, the input data for receiving outside input terminal 99.In the specific implementation, the embodiment of the present invention
Input equipment 101 may include keyboard, mouse, opto-electronic input device, audio input device, touch input device, scanner
Deng.
Output equipment 102, the output data for external output terminal.In the specific implementation, the output of the embodiment of the present invention
Equipment 102 may include display, loudspeaker, printer etc..
Bus 103, for being communicated with other equipment.Passed in the specific implementation, the bus 103 of the embodiment of the present invention can be
Broadcast an example of medium.Propagation medium typically can be by computer-readable instruction, data structure, program module or other modulation
Other data materializations of data-signal (such as carrier wave or other transfer mechanisms) form, for example, propagation medium may include
Wired media, such as priority network or straight line connection, propagation medium may also include wireless medium, such as sound wave, radio frequency, infrared ray
Deng.In the specific implementation, the bus 103 of the embodiment of the present invention can be used for receiving the access request for accessing terminal.
Transceiver 104, for sending data to other equipment by bus 103 or receiving data from other equipment.
In the specific implementation, the transceiver 104 of the embodiment of the present invention may include the transceiving devices such as radio-frequency antenna.
Memory 105, for storing the routine data with various functions.Memory 105 is stored in the embodiment of the present invention
Data include Internet Service Provider's data available and the unavailable data of Internet Service Provider, and other can call and transport
Capable routine data.In the specific implementation, the memory 105 of the embodiment of the present invention can be system storage, such as it is, volatile
(such as RAM), the combination of non-volatile (such as ROM, flash memory etc.), or both.In the specific implementation, the embodiment of the present invention
Memory 105 can also be the external memory storage outside system, such as, disk, CD, tape etc..
Processor 100, such as CPU, for calling the routine data stored in memory 105, and perform following operation:
Data read and write interface to application program is realized according to preparatory condition;Read the configuration of application program in first terminal
Fileinfo;The target data of application program in first terminal is obtained according to profile information;By the target data got
Send to second terminal;The destination application for being imported target data in second terminal by read-write interface.
Application program provides reading and writing data plug-in unit, and data transfer procedures provide the technological frame and reading and writing data of read-write plug-in unit
Interface;Data transfer procedures call reading and writing data plug-in unit to realize the data read and write interface to application program;Obtained by read-write interface
Take the target data of application program in first terminal;The target data got is sent to second terminal;Pass through read-write interface
The destination application that target data is imported in second terminal.
The data read and write interface of application program is realized according to preparatory condition;Obtain the mesh of application program described in first terminal
Mark data;The target data got is sent to second terminal;If getting target data, the feature letter of identification target data
Breath;Whether judging characteristic information meets the preparatory condition for importing second terminal application program;Second terminal application is imported if meeting
The preparatory condition of program, target data is imported the application program of second terminal.
It is only schematical in several embodiments provided herein, it should be understood that disclosed method,
It can realize by another way.
It should be noted that the step in present invention method can the adjustment of carry out order, conjunction according to actual needs
And and delete.
Unit in terminal of the embodiment of the present invention can be combined, divided and deleted according to actual needs.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any
Those familiar with the art the invention discloses technical scope in, various equivalent modifications can be readily occurred in or replaced
Change, these modifications or substitutions should be all included within the scope of the present invention.Therefore, protection scope of the present invention should be with right
It is required that protection domain be defined.
Claims (10)
1. a kind of method of data transfer, it is characterised in that including:
The data read and write interface of application program is realized according to preparatory condition;
Obtain the target data of application program described in first terminal;
The target data got is sent to second terminal;
The destination application for being imported the target data in the second terminal by the read-write interface.
2. the method for data transfer according to claim 1, it is characterised in that applied described in the acquisition first terminal
The target data of program includes:
Read the profile information of application program described in the first terminal;
The target data of application program described in the first terminal is obtained according to the profile information.
3. the method for data transfer according to claim 1, it is characterised in that applied described in the acquisition first terminal
The target data of program includes:
The target data of application program described in first terminal is obtained by the read-write interface.
4. the method for data transfer according to claim 3, it is characterised in that described realized according to preparatory condition applies journey
The data read and write interface of sequence includes:
The application program provides reading and writing data plug-in unit, and data transfer procedures provide the technological frame and data of the read-write plug-in unit
Read-write interface;
The data transfer procedures call the reading and writing data plug-in unit to realize the data read and write interface of the application program.
5. the method for the data transfer according to any one of claim 1-4, it is characterised in that described to pass through the read-write
Interface includes the destination application that the target data is imported in the second terminal:
If getting the target data, the characteristic information of the target data is recognized;
Judge whether the characteristic information meets the preparatory condition for importing the second terminal application program;
If meeting the preparatory condition for importing the second terminal application program, the target data is imported to the application of second terminal
Program.
6. a kind of terminal, it is characterised in that including:
Unit is realized, the data read and write interface for realizing application program according to preparatory condition;
Acquiring unit, the target data for obtaining application program described in first terminal;
Transmitting element, for the target data got to be sent to second terminal;
Import unit, for the intended application journey for being imported the target data in the second terminal by the read-write interface
Sequence.
7. terminal according to claim 6, it is characterised in that the acquiring unit obtains first by the read-write interface
The target data of application program described in terminal includes:
Reading unit, the profile information for reading application program described in the first terminal;
Subelement is obtained, the number of targets for obtaining application program described in the first terminal according to the profile information
According to.
8. terminal according to claim 6, it is characterised in that the acquiring unit obtains first by the read-write interface
The target data of application program described in terminal includes:
The acquiring unit obtains the target data of application program described in first terminal by the read-write interface.
9. terminal according to claim 8, it is characterised in that described to realize that unit realizes application program according to preparatory condition
Data read and write interface include:
First realizes unit, for realizing reading and writing data plug-in unit in the application program, real in data transfer procedures offer
Now read and write the technological frame and data read and write interface of plug-in unit;
Second realizes unit, for calling the reading and writing data plug-in unit to realize the application program by the data transfer procedures
Data read and write interface.
10. the terminal according to any one of claim 6-9, it is characterised in that the import unit passes through the read-write
Interface includes the destination application that the target data is imported in the second terminal:
Recognition unit, if for getting the target data, recognizing the characteristic information of the target data;
Judging unit, the preparatory condition of the second terminal application program is imported for judging whether the characteristic information meets;
Execution unit, if importing the preparatory condition of the second terminal application program for meeting, the target data is imported
The application program of second terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710253472.1A CN107122208A (en) | 2017-04-18 | 2017-04-18 | A kind of method and terminal of data transfer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710253472.1A CN107122208A (en) | 2017-04-18 | 2017-04-18 | A kind of method and terminal of data transfer |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107122208A true CN107122208A (en) | 2017-09-01 |
Family
ID=59724805
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710253472.1A Withdrawn CN107122208A (en) | 2017-04-18 | 2017-04-18 | A kind of method and terminal of data transfer |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107122208A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111581098A (en) * | 2020-05-09 | 2020-08-25 | 深圳市朱墨科技有限公司 | Interface data transfer storage method, device, server and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130007216A1 (en) * | 2011-06-29 | 2013-01-03 | Microsoft Corporation | Virtual machine migration tool |
CN104063250A (en) * | 2014-07-02 | 2014-09-24 | 深圳市中兴移动通信有限公司 | Method and system for transferring terminal application and terminal equipment |
CN106445663A (en) * | 2016-09-14 | 2017-02-22 | 广东欧珀移动通信有限公司 | Application data migration method and device |
CN106488392A (en) * | 2016-09-23 | 2017-03-08 | 北京奇虎科技有限公司 | The method and device of data transfer |
-
2017
- 2017-04-18 CN CN201710253472.1A patent/CN107122208A/en not_active Withdrawn
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130007216A1 (en) * | 2011-06-29 | 2013-01-03 | Microsoft Corporation | Virtual machine migration tool |
CN104063250A (en) * | 2014-07-02 | 2014-09-24 | 深圳市中兴移动通信有限公司 | Method and system for transferring terminal application and terminal equipment |
CN106445663A (en) * | 2016-09-14 | 2017-02-22 | 广东欧珀移动通信有限公司 | Application data migration method and device |
CN106488392A (en) * | 2016-09-23 | 2017-03-08 | 北京奇虎科技有限公司 | The method and device of data transfer |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111581098A (en) * | 2020-05-09 | 2020-08-25 | 深圳市朱墨科技有限公司 | Interface data transfer storage method, device, server and storage medium |
CN111581098B (en) * | 2020-05-09 | 2024-02-23 | 深圳市朱墨科技有限公司 | Method, device, server and storage medium for transferring and storing interface data |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20170235435A1 (en) | Electronic device and method of application data display therefor | |
KR102187255B1 (en) | Display method of electronic apparatus and electronic appparatus thereof | |
EP3206110B1 (en) | Method of providing handwriting style correction function and electronic device adapted thereto | |
US10095380B2 (en) | Method for providing information based on contents and electronic device thereof | |
US8661502B2 (en) | Determining a sensitivity label of document information in real time | |
US20230129384A1 (en) | Method for Browsing Application Folder and Electronic Device | |
CN106982403A (en) | Detection method and terminal that a kind of earphone is worn | |
US20150128068A1 (en) | Method for operating message application and electronic device implementing the same | |
US20170185248A1 (en) | Electronic device and method of managing application programs thereof | |
US9986082B2 (en) | Interface device and method between electronic device and external device using ear jack of the electronic device | |
US10235030B2 (en) | Electronic device and user interface display method for the same | |
WO2021115113A1 (en) | Data processing method and device, and storage medium | |
CN106685997A (en) | Method and terminal for transmitting data | |
KR102128088B1 (en) | Broadcasting cheannel information sharing method of electronic apparatus and electronic appparatus thereof | |
CN107480001A (en) | System recovery method and device | |
KR20150075140A (en) | Message control method of electronic apparatus and electronic apparatus thereof | |
US10540415B2 (en) | Apparatus and method for managing history information in an electronic device | |
JP2023529956A (en) | INTERFACE DISPLAY METHOD, APPARATUS AND ELECTRONIC DEVICE | |
AU2020203975A1 (en) | Information display method, terminal, and server | |
CN106446802A (en) | Fingerprint identification method and terminal | |
US20200082130A1 (en) | Dynamic screen filtering | |
CN107122208A (en) | A kind of method and terminal of data transfer | |
CN108460128B (en) | Document management method and device, electronic device and readable storage medium | |
CN109491687A (en) | A kind of hot update method, device, terminal and the readable medium of application software | |
CN112784076B (en) | Slide remark acquisition method and device and electronic equipment |
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 | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20170901 |
|
WW01 | Invention patent application withdrawn after publication |