CN104615662B - A kind of method, apparatus and terminal device handling data - Google Patents

A kind of method, apparatus and terminal device handling data Download PDF

Info

Publication number
CN104615662B
CN104615662B CN201510006114.1A CN201510006114A CN104615662B CN 104615662 B CN104615662 B CN 104615662B CN 201510006114 A CN201510006114 A CN 201510006114A CN 104615662 B CN104615662 B CN 104615662B
Authority
CN
China
Prior art keywords
data
specified data
storage region
corresponding storage
specified
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.)
Active
Application number
CN201510006114.1A
Other languages
Chinese (zh)
Other versions
CN104615662A (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.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen 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 Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN201510006114.1A priority Critical patent/CN104615662B/en
Publication of CN104615662A publication Critical patent/CN104615662A/en
Application granted granted Critical
Publication of CN104615662B publication Critical patent/CN104615662B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1448Management of the data involved in backup or backup restore

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the invention discloses a kind of method, apparatus and terminal device for handling data, are related to electronic information technical field, can reduce the probability that data are leaked or lose.It include key message in the specified data the method comprise the steps that obtaining the specified data in the corresponding storage region of second system when running the first system;The associated data of the specified data is obtained, the key message for including in the associated data and the key message for including in the specified data are identical;The specified data and the associated data are shifted or copied in the corresponding storage region of the first system from the corresponding storage region of the second system.

Description

A kind of method, apparatus and terminal device handling data
Technical field
The present invention relates to electronic information technical field more particularly to a kind of method, apparatus and terminal device for handling data.
Background technique
With the development of electronic information technology, terminal device can support multiple operating systems, and most of terminal is set The standby safety in order to guarantee user data, can be set the higher operating system of safety in multiple operating systems, And when the higher operating system of terminal device safety in operation, the data that are stored in the corresponding storage region of other operating systems It is visible, and when other lower operating systems of terminal device safety in operation, the higher operating system of safety is corresponding Storage region in the data that store be sightless.
User significant data can be shifted or be copied to from the corresponding storage region of other operating systems safety compared with In the corresponding storage region of high operating system, in practical applications, user can will be related to the data of individual privacy, such as: The total data communicated between user and contact person A is transferred to from the corresponding storage region of other operating systems safety compared with In the corresponding storage region of high operating system, wherein total data include the name of contact person A, contact method and with contact The information of people's A dealing, specific implementation procedure include: that user can be by the higher behaviour of safety in operation after authentication information Make system, and by choosing contact person A by the name of contact person A and contact method from other operating systems pair in address list It is transferred in the storage region answered in the corresponding storage region of the higher operating system of safety;User exits address list later, And short message is opened, by choosing all and contact person A dealing information in all information, by the letter with contact person's A dealing Breath from being transferred in the corresponding storage region of other operating systems in the corresponding storage region of the higher operating system of safety, from And complete the transfer of the total data communicated between user and contact person A.
It can be seen that user needs to frequently execute unlatching application, turns when the data type for needing to shift or copy is more Data are moved or copied, and close the operation of application, so increase behaviour of user during shifting or copying data Make step, increases user's time spent during shifting or copying data, therefore, the data for making user need to shift It is exposed in the corresponding storage region of other lower operating systems of safety for a long time, or the data for making user need to copy are not It can timely backup in the corresponding storage region of the higher operating system of safety, be leaked or lose to increase data Probability.
Summary of the invention
The embodiment of the present invention provides a kind of method, apparatus and terminal device for handling data, can reduce the important number of user According to the probability for being leaked or losing.
In order to achieve the above objectives, the embodiment of the present invention adopts the following technical scheme that
In a first aspect, the embodiment of the present invention provides a kind of method for handling data, which comprises
When running the first system, the specified data in the corresponding storage region of second system, the specified data are obtained In include key message;
Obtain the associated data of the specified data, the key message for including in the associated data and the specified data In include key message it is identical;
The specified data and the associated data are shifted or copied from the corresponding storage region of the second system Into the corresponding storage region of the first system.
Second aspect, the embodiment of the present invention provide a kind of device for handling data, and described device includes:
Module is obtained, for when running the first system, obtaining the specified data in the corresponding storage region of second system, It include key message in the specified data;
The acquisition module is also used to obtain the associated data of the specified data, the pass for including in the associated data The key message for including in key information and the specified data is identical;
Processing module, for by the specified data and the associated data from the corresponding storage region of the second system Middle transfer copies in the corresponding storage region of the first system.
The third aspect, the embodiment of the present invention provide a kind of terminal device, and the terminal device includes at least the second party Any one described device in face.
A kind of method, apparatus and terminal device handling data provided in an embodiment of the present invention, when running the first system, The associated data of the specified data comprising key message and specified data in the corresponding storage region of second system is obtained, it Specified data and associated data are shifted or are copied to afterwards the first system is corresponding deposits from the corresponding storage region of second system In storage area domain, wherein the key message for including in associated data and the key message for including in specified data are identical.It is compared to The prior art, the embodiment of the present invention can obtain the specified data in the corresponding storage region of second system, and specified number According to associated data after, specified data and associated data are shifted or are copied to from the corresponding storage region of second system In the corresponding storage region of one system, avoids user and frequently execute unlatching application, transfer or copy data, and close application Operation shift or copy various types of data.Therefore, by the way that specified data and associated data are shifted or copied together Mode, reduce operating time of the user in transfer or copy procedure, avoid safety it is lower other operation system In corresponding storage region of uniting, exposure user needs the data shifted for a long time, and cannot need to copy by user in time Data backup in the corresponding storage region of the higher operating system of safety, are leaked or lose several to reduce data Rate.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to needed in the embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for ability For the those of ordinary skill of domain, without creative efforts, it can also be obtained according to these attached drawings other attached Figure.
Fig. 1 is a kind of concrete application scene schematic diagram provided in an embodiment of the present invention;
Fig. 2 is a kind of method flow diagram for handling data provided in an embodiment of the present invention;
Fig. 3 is the method flow diagram of another processing data provided in an embodiment of the present invention;
Fig. 4 is the method flow diagram of another processing data provided in an embodiment of the present invention;
Fig. 5 is the method flow diagram of another processing data provided in an embodiment of the present invention;
Fig. 6 is a kind of apparatus structure schematic diagram for handling data provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts all other Embodiment shall fall within the protection scope of the present invention.
The embodiment of the present invention can be used for a kind of terminal device, such as: terminal device may include the first system and second System, when running second system, the data in the corresponding storage region of the first system are invisible for second system, such as: There are two operating systems, i.e. the first system and second system and two sheet smart cards, i.e. smart card 1 for setting in smart phone With smart card 2, wherein when smart phone runs second system, user can not check first by the display screen of smart phone Data in the corresponding storage region of system.After user is using smart phone operation the first system and opens address list, lead to It crosses contact person's importing shortcut key and shifts or copy to the first system pair to execute data from the corresponding storage region of second system The operation in storage region answered, as shown in Figure 1, the display screen of smart phone shows the corresponding storage region of the first system at this time In the corresponding storage region of data and second system in data, wherein the data in the corresponding storage region of second system, That is the contact data that is locally stored of smart card 1, the contact data in the corresponding storage region of smart card 2 and smart phone, And the associated data of contact data, such as: name, the contact method of contact person A can be contact data, with contact person The message registration of A, dealing information can be the associated data of contact data;Data in the corresponding storage region of the first system The data for shifting or copying from the corresponding storage region of second system before can be user.
The embodiment of the present invention provides a kind of method for handling data, as shown in Figure 2, comprising:
101, when running the first system, the specified data in the corresponding storage region of second system are obtained.
It wherein, include key message in the specified data.
User can manually select second system by touch display screen when using terminal equipment runs the first system The specified data comprising key message for shifting or copying are needed in corresponding storage region, terminal device can pass through biography later Sensor obtains the specified data for needing to shift or copy in the corresponding storage region of the selected second system of user, wherein refers to Fixed number evidence can be the personal information of contact person, such as: the information such as name, contact method.
102, the associated data of the specified data is obtained.
Wherein, the key message for including in the associated data and the key message for including in the specified data are identical.
Terminal device, can be according to acquired after obtaining the specified data in the corresponding storage region of second system The key message for including in specified data, finding in the corresponding storage region of second system has identical pass with specified data The associated data of key information, and obtain associated data.By taking specified data is the personal information of contact person as an example, associated data can be with It is the associated data of the message registration of contact person, dealing information and the personal information of other contact persons.
103, the specified data and the associated data are shifted from the corresponding storage region of the second system or It copies in the corresponding storage region of the first system.
Terminal device gets the specified data in the corresponding storage region of second system by above-mentioned 101 and 102, with And after the associated data of specified data, if specified data and associated data are shifted from the corresponding storage region of second system Into the corresponding storage region of the first system, then when user's using terminal equipment runs second system, the display of terminal device Screen can not show transferred specified data and associated data;If specified data and associated data are corresponding from second system It is copied in storage region in the corresponding storage region of the first system, then the specified number in the corresponding storage region of second system According to and/or associated data because being damaged in second system there are wooden horse or other malicious application softwares when, user still can be with The first system is run by using terminal device to check specified data and/or associated data.
A kind of method handling data provided in an embodiment of the present invention obtains second system pair when running the first system The associated data of specified data and specified data in the storage region answered comprising key message, later by specified data and Associated data is shifted or is copied in the corresponding storage region of the first system from the corresponding storage region of second system, wherein The key message for including in associated data and the key message for including in specified data are identical.It is compared to the prior art, this hair Bright embodiment can the associated data for obtaining specified data and specified data in the corresponding storage region of second system it Afterwards, specified data and associated data are shifted or are copied to that the first system is corresponding deposits from the corresponding storage region of second system In storage area domain, avoid user and frequently execute unlatching application, transfer or copy data, and close the operation of application shifting or Copy various types of data.Therefore, in such a way that specified data and associated data are shifted or copied together, reduce use Operating time of the family in transfer or copy procedure avoids storage region corresponding in other lower operating systems of safety In, exposure user needs the data shifted for a long time, and the data copied cannot be needed to backup to safety user in time In the corresponding storage region of higher operating system, to reduce the probability that data are leaked or lose.
It in the embodiment of the present invention, can be identified for specified data, later according to the mark for specifying data, obtain specified Therefore the associated data of data may include 104 before 101, and 102 can on the basis of implementation as shown in Figure 2 To be implemented as 1021-1022 as shown in Figure 3:
104, the specified data are stored, and are identified for the specified data.
When by the storage of specified data to corresponding storage region, or by specified data storage to corresponding storage region Later, it is identified for specified data.It should be noted that mark can pass through letter by each application program in terminal device Breath interaction is held consultation, and unified rule is arranged and is identified to specified data and associated data;Alternatively, user can basis The demand of different business scene is identified specified data and associated data, in order to need to shift or copy data as user When, terminal device quickly accurately can find corresponding contents in the corresponding storage region of second system and execute subsequent Operation.
1021, the mark of the specified data is obtained.
1022, the pass with the specified data with like-identified in the corresponding storage region of the second system is determined Join data.
Each application program of terminal device can be according to the pre-set mark rule of user, during storing data Setting identification, such as: mark rule is to be placed on number for the phone number of contact person as mark during storing data The front position for the title named when according to storage;Control centre is set in terminal device, wherein control centre is accessible The corresponding storage region of each application program for storing data, such as: the corresponding storage region of application program is database, After the mark of the specified data stored in obtaining database, it can be answered according to identifier lookup to as each of associated data With the data in the corresponding database of program.
Such as: the phone number of contact person A is 13011112222, and the message registration with contact person A can in storing process To be named with " phone number+space+initial time ", such as: with " 30 minutes 20 12 points of 13,011,112,222 2014 on January 1, Second " is named;The phone number of the available contact person A in control centre later, and conversed according to the phone number of contact person A The associated data of contact person A is searched in record.It should be noted that the identification means of specified data and associated data are in the present invention It is not construed as limiting in embodiment, is not limited only to above-mentioned identification means.
A kind of method handling data provided in an embodiment of the present invention obtains second system pair when running the first system Has the associated data of tagged specified data and specified data in the storage region answered, later by specified data and association Data are shifted or are copied in the corresponding storage region of the first system from the corresponding storage region of second system;Associated data Mark is identical as the mark of specified data, and the mode identified is preset before storing specified data.It is compared to existing Technology, the embodiment of the present invention can in the mark for obtaining the specified data in the corresponding storage region of second system, and with finger After fixed number is according to the associated data with like-identified, by specified data and associated data from the corresponding storage region of second system Middle transfer copies in the corresponding storage region of the first system, avoids user and frequently executes unlatching application, transfer or copy Data, and the operation of application is closed to shift or copy various types of data.Therefore, by by specified data and incidence number According to the mode for shifting or copying together, reduces operating time of the user in transfer or copy procedure, avoid in safety In the corresponding storage region of lower other operating systems, exposure user needs the data shifted for a long time, and cannot be timely The data copied are needed to backup in the corresponding storage region of the higher operating system of safety user, to reduce data The probability for being leaked or losing.
In the embodiment of the present invention, on the basis of implementation as shown in Figure 2 or Figure 3, with realization side as shown in Figure 2 For formula, it is also implemented as implementation as shown in Figure 4:
105, the specified data in the corresponding storage region of the first system are deleted.
106, the key message in the associated data of the specified data in the corresponding storage region of the first system is deleted.
Such as: the personal information of contact person A refers to fixed number evidence, and the telephone number of contact person A is used as mark, contact person A's Name is key message, and the dealing information with contact person A is associated data, if above-mentioned data are deposited from second system is corresponding It is transferred in storage area domain in the corresponding storage region of the first system, then uses smart phone operation the first system and unlatching in user Short message is in application, user can view the dealing information with contact person A by display screen, wherein each dealing information is not Mark when only the phone number of contact person A is as storage, can also show the name of contact person A;Intelligence is used in user When mobile phone runs the first system and deletes the personal information of contact person A in the corresponding storage region of the first system, smart phone meeting The key message in the associated data of the specified data in the corresponding storage region of the first system is deleted simultaneously, at this point, when using Family is again turned on short message in application, a plurality of dealing information without phone number as mark can be viewed by display screen, and The name of contact person is no longer shown in dealing information.It should be noted that user is when deleting specified data, it can also be by dispatching Center is deleted by the associated data of specified data;The key message for including in specified data can be with the complete phase of content of mark It is identical or completely not identical with, part.
A kind of method handling data provided in an embodiment of the present invention obtains second system pair when running the first system The associated data of specified data and specified data in the storage region answered comprising key message, later by specified data and Associated data is shifted or is copied in the corresponding storage region of the first system from the corresponding storage region of second system, wherein The key message for including in associated data and the key message for including in specified data are identical;From the corresponding storage of the first system When deleting specified data in region, terminal device can arrive associated data according to the identifier lookup of specified data, while deletion the The key message in associated data in the corresponding storage region of one system.It is compared to the prior art, the embodiment of the present invention can Will specify after the associated data for obtaining specified data and specified data in the corresponding storage region of second system Data and associated data are shifted or are copied in the corresponding storage region of the first system from the corresponding storage region of second system, It avoids user to frequently execute unlatching application, transfer or copy data, and the operation of closing application is various to shift or copy The data of type.Therefore, in such a way that specified data and associated data are shifted or copied together, reduce user and shifting Or the operating time in copy procedure, it avoids in the corresponding storage region of other lower operating systems of safety, when long Between exposure user need the data that shift, and the data copied cannot be needed to backup to safety higher behaviour user in time Make in the corresponding storage region of system, to reduce the probability that data are leaked or lose;Also, corresponding from the first system Storage region in when deleting specified data, terminal device can be according to the identifier lookup of specified data to associated data, simultaneously The key message in associated data is deleted, the data being deleted is avoided also to remain in other application, and is shown in apply and deposit In the associated data of storage.
In the embodiment of the present invention, on the basis of implementation as shown in Figure 2 or Figure 3, with realization side as shown in Figure 2 For formula, it is also implemented as implementation as shown in Figure 5:
107, the specified data with identical key message in the corresponding storage region of the first system are obtained.
108, the repeated data in the specified data with identical key message is deleted.
And/or
109, the associated data of the specified data with identical key message is obtained.
110, the repeated data in the associated data of the specified data with identical key message is deleted.
It should be noted that 107-108 can be performed simultaneously with 109-110, or according to 107-108 is first carried out, later The sequence for executing 109-110 executes;During deleting duplicated data, the repeated data in specified data can be only deleted, Or repeated data in associated data is only deleted, in the repeated data deleted in specified data and then association can also be deleted Repeated data in data.
By taking the terminal device is smart phone as an example, when being provided with multiple smart cards in smart phone, such as: intelligence Two sheet smart cards, respectively smart card 1 and smart card 2, and smart card 1 and the corresponding memory block of smart card 2 are provided in mobile phone The personal information that store contact person A in domain uses smart phone operation the first system transfer or copy contact person A in user Personal information after, since the personal information of the contact person A in smart card 1 and the corresponding storage region of smart card 2 turns respectively It moves or copies in the corresponding storage region of the first system, cause to store two parts of contents in the corresponding storage region of the first system Identical data, the i.e. personal information of contact person A, user can be by deleting in the corresponding storage region of the first system The personal information of duplicate contact person A reduces the storage resource of occupancy;User can also be in the corresponding memory block of the first system In domain, by the repetition in the associated data of the personal information of the contact person A in smart card 1 and the corresponding storage region of smart card 2 Data are deleted, such as: the dealing information of contact person A and smart card 1 is 5, and the dealing information with smart card 2 is 10, wherein Having 2 information is sending bulk message, and content is identical, smart phone can the personal information for deleting duplicate contact person A it Afterwards, by with identical 2 information deletions of content in the information of 2 dealing of the information of 1 dealing of smart card and smart card, such as: The dealing information of contact person A and smart card 1 is 3, and the dealing information with smart card 2 is 10;Alternatively, contact person A and intelligence The dealing information of card 1 is 5, and the dealing information with smart card 2 is 8;Alternatively, contact person A and the dealing information of smart card 1 are 4, be 9 with the dealing information of smart card 2, and will delete the associated data after duplicate associated data as contact person The associated data of the personal information of A.It should be noted that specified data to be deleted can be not exactly the same, and such as: key letter Breath is the name of contact person A, and the telephone number of the contact person A stored in the corresponding storage region of smart card 1 is The telephone number of 13011112222, the contact person A stored in the corresponding storage region of smart card 2 are 13011112220, then The personal information of contact person A after deleting duplicated data is the name and above-mentioned two telephone number of contact person A.
A kind of method handling data provided in an embodiment of the present invention obtains second system pair when running the first system The associated data of specified data and specified data in the storage region answered comprising key message, later by specified data and Associated data is shifted or is copied in the corresponding storage region of the first system from the corresponding storage region of second system, wherein The key message for including in associated data and the key message for including in specified data are identical;By specified data and associated data After shifting or copying in the corresponding storage region of the first system in the corresponding storage region of second system, terminal device can It, will be in the specified data with identical key message in the corresponding storage region of the first system with when running the first system Data de-duplication, and/or by the data de-duplication in the associated data of specified data.It is compared to the prior art, this hair Bright embodiment can the associated data for obtaining specified data and specified data in the corresponding storage region of second system it Afterwards, specified data and associated data are shifted or are copied to that the first system is corresponding deposits from the corresponding storage region of second system In storage area domain, avoid user and frequently execute unlatching application, transfer or copy data, and close the operation of application shifting or Copy various types of data.Therefore, in such a way that specified data and associated data are shifted or copied together, reduce use Operating time of the family in transfer or copy procedure avoids storage region corresponding in other lower operating systems of safety In, exposure user needs the data shifted for a long time, and the data copied cannot be needed to backup to safety user in time In the corresponding storage region of higher operating system, to reduce the probability that data are leaked or lose;Also, it will specify Data and associated data are shifted or are copied in the corresponding storage region of the first system from the corresponding storage region of second system Later, terminal device can will have identical crucial letter in the corresponding storage region of the first system when running the first system Data de-duplication in the specified data of breath, and/or by the data de-duplication in the associated data of specified data, avoid phase Same data occupy more parts of storage resources.
The embodiment of the present invention provides a kind of device 20 for handling data, as shown in fig. 6, described device 20 includes:
Module 21 is obtained, for when running the first system, obtaining the specified number in the corresponding storage region of second system According to comprising key message in the specified data.
The acquisition module 21 is also used to obtain the associated data of the specified data, includes in the associated data The key message for including in key message and the specified data is identical.
Processing module 22, for by the specified data and the associated data from the corresponding memory block of the second system It shifts or copies in domain in the corresponding storage region of the first system.
In the embodiment of the present invention, described device 20 includes:
Memory module 23, for storing the specified data.
The processing module 22 is also used to be identified for the specified data.
The acquisition module 21, specifically for obtaining the mark of the specified data;
Determine the incidence number with the specified data with like-identified in the corresponding storage region of the second system According to.
In the embodiment of the present invention, the processing module 22 is also used to delete in the corresponding storage region of the first system Specified data.
The processing module 22 is also used to delete the association of the specified data in the corresponding storage region of the first system Key message in data.
In the embodiment of the present invention, the acquisition module 21 is also used to obtain in the corresponding storage region of the first system The specified data with identical key message.
The processing module 22 is also used to delete the repeated data in the specified data with identical key message.
And/or
The acquisition module 21 is also used to obtain the associated data of the specified data with identical key message.
The processing module 22, in the associated data for being also used to delete the specified data with identical key message Repeated data.
A kind of device handling data provided in an embodiment of the present invention obtains second system pair when running the first system The associated data of specified data and specified data in the storage region answered comprising key message, later by specified data and Associated data is shifted or is copied in the corresponding storage region of the first system from the corresponding storage region of second system, wherein The key message for including in associated data and the key message for including in specified data are identical.It is compared to the prior art, this hair Bright embodiment can the associated data for obtaining specified data and specified data in the corresponding storage region of second system it Afterwards, specified data and associated data are shifted or are copied to that the first system is corresponding deposits from the corresponding storage region of second system In storage area domain, avoid user and frequently execute unlatching application, transfer or copy data, and close the operation of application shifting or Copy various types of data.Therefore, in such a way that specified data and associated data are shifted or copied together, reduce use Operating time of the family in transfer or copy procedure avoids storage region corresponding in other lower operating systems of safety In, exposure user needs the data shifted for a long time, and the data copied cannot be needed to backup to safety user in time In the corresponding storage region of higher operating system, to reduce the probability that data are leaked or lose.
The embodiment of the invention provides a kind of terminal device, the terminal device is included at least and is filled described in above-mentioned any one 20 are set, the terminal device includes at least: processor, network interface, memory and communication bus;The communication bus is for real Existing connection communication between the processor, the network interface and the memory;The memory, for storing the end End equipment in the process of running involved in data.
In some embodiments, memory stores following element, executable modules or data structures or he Subset or their superset:
Wherein operating system includes various system programs, hardware based for realizing various basic businesses and processing Task;Application program includes various application programs, for realizing various applied business.
In the embodiment of the present invention, the network interface, for obtaining when running the first system, second system is corresponding to be deposited Specified data in storage area domain include key message in the specified data.
The network interface is also used to obtain the associated data of the specified data, the pass for including in the associated data The key message for including in key information and the specified data is identical.
The processor, for by the specified data and the associated data from the corresponding memory block of the second system It shifts or copies in domain in the corresponding storage region of the first system.
In the embodiment of the present invention, described when running the first system, obtain in the corresponding storage region of second system Before specified data, the memory is identified for storing the specified data, and for the specified data.
The network interface, specifically for obtaining the mark of the specified data;
Determine the incidence number with the specified data with like-identified in the corresponding storage region of the second system According to.
In the embodiment of the present invention, the processor is also used to delete the finger in the corresponding storage region of the first system Fixed number evidence.
The processor is also used to delete the associated data of the specified data in the corresponding storage region of the first system In key message.
In the embodiment of the present invention, described that the specified data and the associated data are corresponding from the second system After shifting or copy in storage region in the corresponding storage region of the first system, the network interface is also used to obtain Take the specified data with identical key message in the corresponding storage region of the first system.
The processor is also used to delete the repeated data in the specified data with identical key message.
And/or
The network interface is also used to obtain the associated data of the specified data with identical key message.
The processor is also used to delete the repetition in the associated data of the specified data with identical key message Data.
A kind of terminal device provided in an embodiment of the present invention obtains that second system is corresponding deposits when running the first system The associated data of specified data and specified data in storage area domain comprising key message, later by specified data and incidence number It shifts or copies in the corresponding storage region of the first system according to from the corresponding storage region of second system, wherein incidence number The key message for including in and the key message for including in specified data are identical.It is compared to the prior art, the present invention is implemented Example can be after the associated data for obtaining specified data and specified data in the corresponding storage region of second system, will Specified data and associated data shift or copy to the corresponding memory block of the first system from the corresponding storage region of second system In domain, avoids user and frequently execute unlatching application, transfer or copy data, and close the operation of application to shift or copy Various types of data.Therefore, in such a way that specified data and associated data are shifted or copied together, reduce user and exist It operating time in transfer or copy procedure, avoids in the corresponding storage region of other lower operating systems of safety, Exposure user needs the data that shift for a long time, and the data copied cannot to be needed to backup to safety user in time higher The corresponding storage region of operating system in, to reduce the probability that data are leaked or lose.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for equipment reality For applying example, since it is substantially similar to the method embodiment, so describing fairly simple, related place is referring to embodiment of the method Part explanation.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any In the technical scope disclosed by the present invention, any changes or substitutions that can be easily thought of by those familiar with the art, all answers It is included within the scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.

Claims (7)

1. a kind of method for handling data, which is characterized in that the described method includes:
When running the first system, the specified data in the corresponding storage region of second system are obtained, are wrapped in the specified data Containing key message;
It obtains the associated data of the specified data, the key message for including in the associated data and is wrapped in the specified data The key message contained is identical;
The specified data and the associated data are shifted or are copied to institute from the corresponding storage region of the second system It states in the corresponding storage region of the first system;
Obtain the specified data with identical key message in the corresponding storage region of the first system;
Delete the repeated data in the specified data with identical key message;
And/or
Obtain the associated data of the specified data with identical key message;
Delete the repeated data in the associated data of the specified data with identical key message.
2. the method according to claim 1, wherein obtaining second system described when running the first system Before specified data in corresponding storage region, which comprises
The specified data are stored, and are identified for the specified data;
The associated data for obtaining the specified data, comprising:
Obtain the mark of the specified data;
Determine the associated data with the specified data with like-identified in the corresponding storage region of the second system.
3. method according to claim 1 or 2, which is characterized in that the described method includes:
Delete the specified data in the corresponding storage region of the first system;
Delete the key message in the associated data of the specified data in the corresponding storage region of the first system.
4. a kind of device for handling data, which is characterized in that described device includes:
Module is obtained, it is described for when running the first system, obtaining the specified data in the corresponding storage region of second system It include key message in specified data;
The acquisition module is also used to obtain the associated data of the specified data, the crucial letter for including in the associated data It ceases identical as the key message for including in the specified data;
Processing module, for by the specified data and the associated data from the corresponding storage region transfer of the second system It moves or copies in the corresponding storage region of the first system;
The acquisition module is also used to obtain the finger with identical key message in the corresponding storage region of the first system Fixed number evidence;
The processing module is also used to delete the repeated data in the specified data with identical key message;
And/or
The acquisition module is also used to obtain the associated data of the specified data with identical key message;
The processing module is also used to delete the repeat number in the associated data of the specified data with identical key message According to.
5. device according to claim 4, which is characterized in that described device includes:
Memory module, for storing the specified data;
The processing module is also used to be identified for the specified data;
The acquisition module, is specifically used for:
Obtain the mark of the specified data;
Determine the associated data with the specified data with like-identified in the corresponding storage region of the second system.
6. device according to claim 4 or 5, which is characterized in that the processing module is also used to delete first system Specified data in corresponding storage region of uniting;
The processing module, in the associated data for being also used to delete the specified data in the corresponding storage region of the first system Key message.
7. a kind of terminal device, which is characterized in that the terminal device includes at least any one in the claims 4 to 6 Item described device.
CN201510006114.1A 2015-01-05 2015-01-05 A kind of method, apparatus and terminal device handling data Active CN104615662B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510006114.1A CN104615662B (en) 2015-01-05 2015-01-05 A kind of method, apparatus and terminal device handling data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510006114.1A CN104615662B (en) 2015-01-05 2015-01-05 A kind of method, apparatus and terminal device handling data

Publications (2)

Publication Number Publication Date
CN104615662A CN104615662A (en) 2015-05-13
CN104615662B true CN104615662B (en) 2019-05-14

Family

ID=53150105

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510006114.1A Active CN104615662B (en) 2015-01-05 2015-01-05 A kind of method, apparatus and terminal device handling data

Country Status (1)

Country Link
CN (1) CN104615662B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105608355A (en) * 2015-07-08 2016-05-25 宇龙计算机通信科技(深圳)有限公司 Biological information verification method, biological information verification system and terminal
CN106412275A (en) * 2016-09-26 2017-02-15 北京珠穆朗玛移动通信有限公司 Contact information processing method based on dual system sand mobile terminal thereof
CN108322307B (en) * 2017-01-16 2021-02-09 中标软件有限公司 Inter-container communication system and method based on kernel memory sharing
CN108153839B (en) * 2017-12-15 2021-12-21 北京小米移动软件有限公司 File processing method and device
CN109685190B (en) * 2018-12-28 2022-04-12 江苏恒宝智能系统技术有限公司 Power-down protection method and device for IC card
CN112688941B (en) * 2020-12-23 2022-05-31 湖北工业大学 Electronic medical authentication and key agreement method, terminal equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102959548A (en) * 2012-08-22 2013-03-06 华为技术有限公司 Data storage method, search method and device
CN103412913A (en) * 2013-08-05 2013-11-27 北京永信至诚科技有限公司 Associated search method and associated search system
CN104091135A (en) * 2014-02-24 2014-10-08 电子科技大学 Safety system and safety storage method of intelligent terminal
CN104199791A (en) * 2014-08-15 2014-12-10 深圳市中兴移动通信有限公司 Mobile terminal and dual-system file transfer method and device thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9063792B2 (en) * 2012-04-18 2015-06-23 Entrata Systems, Inc. Managing mobile execution environments

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102959548A (en) * 2012-08-22 2013-03-06 华为技术有限公司 Data storage method, search method and device
CN103412913A (en) * 2013-08-05 2013-11-27 北京永信至诚科技有限公司 Associated search method and associated search system
CN104091135A (en) * 2014-02-24 2014-10-08 电子科技大学 Safety system and safety storage method of intelligent terminal
CN104199791A (en) * 2014-08-15 2014-12-10 深圳市中兴移动通信有限公司 Mobile terminal and dual-system file transfer method and device thereof

Also Published As

Publication number Publication date
CN104615662A (en) 2015-05-13

Similar Documents

Publication Publication Date Title
CN104615662B (en) A kind of method, apparatus and terminal device handling data
CN108898390A (en) Intelligent contract call method and device, electronic equipment based on block chain
KR102238954B1 (en) Traversing the smart contract database through logic maps
CN109003078A (en) Intelligent contract call method and device, electronic equipment based on block chain
CN106815530A (en) Data deposit card method, data verification method and device
CN107276775A (en) A kind of enterprise group sets up cube method and device
CN106648903A (en) Method and system for calling distributed file system
CN103139761B (en) The method and communication terminal of a kind of information real-time show
CN106095814A (en) Contact person's processing method and server
CN110489676A (en) Webpage evidence collecting method, device, storage medium and server based on block chain
CN104168309A (en) Data backup and operation method based on cloud service
CN109088812A (en) Information processing method, device, computer equipment and storage medium
US20170359289A1 (en) Establishing social network connections
CN109919142A (en) Personnel monitoring's method, apparatus, server and storage medium
CN105678625A (en) Method and equipment for determining identity information of user
CN106803032A (en) Realize method, device and client device that website fingerprint is logged in
CN110334160A (en) Relationship binding method, device and equipment based on block chain
CN108984339A (en) Data reconstruction method and Related product
CN109829821A (en) A kind of abnormal processing method of digital asset address transfer, apparatus and system
CN107451036A (en) Input reminding method, device and equipment
CN107315934A (en) Communication message processing method, mobile terminal and storage device
CN109670793A (en) A kind of method and device of the digital asset validity period processing based on block chain
CN109388558A (en) A kind of method, apparatus, equipment and storage medium managing electronic equipment
CN104601442B (en) A kind of information updating method and device
CN111177171A (en) Service data authentication and management method and system based on block chain

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