CN106980519A - A kind of data processing method and electronic equipment - Google Patents

A kind of data processing method and electronic equipment Download PDF

Info

Publication number
CN106980519A
CN106980519A CN201710197553.4A CN201710197553A CN106980519A CN 106980519 A CN106980519 A CN 106980519A CN 201710197553 A CN201710197553 A CN 201710197553A CN 106980519 A CN106980519 A CN 106980519A
Authority
CN
China
Prior art keywords
memory space
file
account
application program
public
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710197553.4A
Other languages
Chinese (zh)
Inventor
贾雪涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201710197553.4A priority Critical patent/CN106980519A/en
Publication of CN106980519A publication Critical patent/CN106980519A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44557Code layout in executable memory
    • G06F9/44563Sharing

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 invention discloses a kind of data processing method, applied to electronic equipment, method includes:The first application program is run simultaneously with multiple accounts on an electronic device, wherein, each account is respectively to that should have independent sub- memory space;File destination is stored to public memory space, wherein, the file stored in public memory space can be accessed by the multiple account.The present invention can be realized in the case where application is opened more, by the way that file destination is stored to public memory space, reduce the unnecessary waste of electronic equipment memory space.The invention also discloses a kind of electronic equipment.

Description

A kind of data processing method and electronic equipment
Technical field
The present invention relates to electronic technology field, more particularly to a kind of data processing method and electronic equipment.
Background technology
At present, continuing to develop with electronic technology, it is adaptable to which the application program of electronic equipment is more and more so that electronics The function of equipment is more and more diversified.For example, current smart mobile phone turns into people's daily life and works essential Important tool, is that daily life and work bring huge facility.
Existing electronic devices can be realized to apply for one logs in an account in the same time, or different Same account is logged on electronic equipment;At present, when realizing that an application runs multiple accounts in an electronic equipment, it can use To the mode of the stored parallel of account " attending to anything else ", with " attending to anything else " increase and use time growth, space-consuming is also in line Property increase, therefore easily cause the unnecessary waste of electronic equipment memory space.
The content of the invention
In view of this, the present invention provides a kind of data processing method and electronic equipment, can realize the feelings opened more in application Under condition, by the way that file destination is stored to public memory space, the unnecessary waste of electronic equipment memory space is reduced.
To achieve these goals, the present invention provides following technical scheme:
A kind of data processing method, applied to electronic equipment, methods described includes:
The first application program is run simultaneously with multiple accounts on the electronic equipment, wherein, each account is corresponded to respectively There is independent sub- memory space;
File destination is stored to public memory space, wherein, the file stored in the public memory space can be by The multiple account is accessed.
Preferably, described store file destination to public memory space includes:
Extract same file of the different accounts when running first application program under corresponding sub- memory space;
The identical file is stored to the public memory space.
Preferably, the phase for extracting different accounts when running first application program under corresponding sub- memory space Include with file:
Different accounts are compared when running first application program, the mark letter of the file under corresponding sub- memory space Breath or checking information;
Extract same identification information or the corresponding file of checking information.
Preferably, it is described to store the identical file to the public memory space, in addition to:
The identical file is removed from the corresponding sub- memory space of respective account.
Preferably, methods described also includes:
When the file in the public memory space is changed, the file changed is removed into the common storage empty Between.
Preferably, methods described also includes:
When the file in the public memory space is changed by the first account in the multiple account, by what is changed File is transferred to the corresponding sub- memory space of first account.
A kind of electronic equipment, including:
Application program runs module, for running the first application program simultaneously on the electronic equipment with multiple accounts, Wherein, each account is respectively to that should have independent sub- memory space;
Processing module, for file destination to be stored to public memory space, wherein, stored in the public memory space File can be accessed by the multiple account.
Preferably, the processing module includes:
Extraction unit, for extract different accounts run first application program when corresponding sub- memory space under Same file;
Memory cell, for the identical file to be stored to the public memory space.
Preferably, the extraction unit includes:
Subelement is compared, for comparing different accounts when running first application program, corresponding sub- memory space Under file identification information or checking information;
Subelement is extracted, for extracting same identification information or the corresponding file of checking information.
Preferably, the electronic equipment also includes:
Remove module, for the identical file to be removed from the corresponding sub- memory space of respective account.
Preferably, the electronic equipment also includes:
Module is removed, for when the file in the public memory space is changed, the file changed to be removed into institute State public memory space.
Preferably, the electronic equipment also includes:
Shift module, for being changed when the file in the public memory space by the first account in the multiple account When, the file changed is transferred to the corresponding sub- memory space of first account.
The invention provides a kind of data processing method, in electronic equipment running, in the electronic device with multiple Account runs the first application program simultaneously, wherein, each account is respectively to that should have independent sub- memory space, then by target text Part is stored to public memory space, wherein, the file stored in public memory space can be accessed by multiple accounts, by that will obtain The file destination got is stored to public memory space, in the case where application is opened more, reduces electronic equipment memory space not It is necessary to waste.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of method flow diagram of data processing method embodiment 1 disclosed by the invention;
Fig. 2 is a kind of method flow diagram of data processing method embodiment 2 disclosed by the invention;
Fig. 3 is a kind of method flow diagram of data processing method embodiment 3 disclosed by the invention;
Fig. 4 is a kind of method flow diagram of data processing method embodiment 4 disclosed by the invention;
Fig. 5 is a kind of method flow diagram of data processing method embodiment 5 disclosed by the invention;
Fig. 6 is the structural representation of a kind of electronic equipment embodiment 1 disclosed by the invention;
Fig. 7 is the structural representation of a kind of electronic equipment embodiment 2 disclosed by the invention;
Fig. 8 is the structural representation of a kind of electronic equipment embodiment 3 disclosed by the invention;
Fig. 9 is the structural representation of a kind of electronic equipment embodiment 4 disclosed by the invention;
Figure 10 is the structural representation of a kind of electronic equipment embodiment 5 disclosed by the invention.
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 only a part of embodiment of the invention, rather than whole embodiments.It is based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made Embodiment, belongs to the scope of protection of the invention.
As shown in figure 1, being a kind of method flow diagram of data processing method embodiment 1 disclosed by the invention, applied to electricity Sub- equipment, wherein, the electronic equipment can be the intelligent terminals such as smart mobile phone, tablet personal computer;Methods described can include with Lower step:
S101, on an electronic device with multiple accounts simultaneously run the first application program, wherein, each account is corresponded to respectively There is independent sub- memory space;
During electronic equipment is run, first application program is at least run, while with the same luck of multiple accounts Row first is used for program, while each account of the first application program of operation has corresponding independent sub- memory space. For example, wechat application program is run with the first account A1 and the first account A2 simultaneously in the electronic device, wherein, the first account A1 To that should have first sub- memory space/storage/emulated/0, the second account A2 operation wechats during operation wechat application program To that should have second sub- memory space/storage/emulated/1 during application program.
It should be noted that running the first application program simultaneously on an electronic device with multiple accounts, i.e., in same electricity In sub- equipment, same application program is run with different accounts simultaneously in the same time, rather than on different electronic equipments Same application program is run with identical account, and on different electronic equipments with different account operations are same should With.
S102, file destination stored to public memory space, wherein, the file stored in public memory space can be by The multiple account is accessed.
When running the first application program simultaneously on an electronic device with multiple accounts, public memory space is obtained, wherein, Described public memory space can be pre-establish or when on electronic equipment with multiple accounts and meanwhile run first Set up in real time during application program.Wherein, the file stored in the public memory space got can be by above-mentioned motion first Multiple accounts of application program are accessed, for example, when the first account A1 runs wechat program in the electronic device, being able to access that public affairs The file stored altogether in memory space, when the second account A2 runs wechat program in the electronic device, is also able to access that public deposit The file stored in storage space.After public memory space is got, file destination is stored to public memory space, wherein, The file that described file destination is called when running the first program by multiple accounts.
In summary, in the above-described embodiments, it is same with multiple accounts in the electronic device in electronic equipment running The application programs of Shi Yunhang first, wherein, each account to that should have independent sub- memory space, then stores file destination respectively To public memory space, wherein, the file stored in public memory space can access by multiple accounts, by that will get File destination is stored to public memory space, in the case where application is opened more, reduces electronic equipment memory space unnecessary Waste.
As shown in Fig. 2 being a kind of method flow diagram of data processing method embodiment 2 disclosed by the invention, applied to electricity Sub- equipment, wherein, the electronic equipment can be the intelligent terminals such as smart mobile phone, tablet personal computer;Methods described can include with Lower step:
S201, on an electronic device with multiple accounts simultaneously run the first application program, wherein, each account is corresponded to respectively There is independent sub- memory space;
During electronic equipment is run, first application program is at least run, while with the same luck of multiple accounts Row first is used for program, while each account of the first application program of operation has corresponding independent sub- memory space. For example, wechat application program is run with the first account A1 and the first account A2 simultaneously in the electronic device, wherein, the first account A1 To that should have first sub- memory space/storage/emulated/0, the second account A2 operation wechats during operation wechat application program To that should have second sub- memory space/storage/emulated/1 during application program.
It should be noted that running the first application program simultaneously on an electronic device with multiple accounts, i.e., in same electricity In sub- equipment, same application program is run with different accounts simultaneously in the same time, rather than on different electronic equipments Same application program is run with identical account, and on different electronic equipments with different account operations are same should With.
The phase identical text of S202, the different accounts of extraction when running first application program under corresponding sub- memory space Part;
When electronic equipment runs the first application program simultaneously with multiple accounts, each account operation first is obtained first should Corresponding sub- memory space during with program, then extracts identical file under the sub- memory space of index.For example, extracting first When account A1 runs wechat application program, with the second account in corresponding first sub- memory space/storage/emulated/0 Identical file in corresponding second sub- memory space/storage/emulated/1 when A2 runs wechat application program.
S203, identical file stored to public memory space, the file stored in public memory space can be by institute Multiple accounts are stated to access.
Public memory space is obtained, wherein, described public memory space pre-establishes or works as electric Set up in real time when running the first application program simultaneously in sub- equipment with multiple accounts.Wherein, the public memory space got The file of middle storage can be accessed by multiple accounts of the above-mentioned application program of motion first, for example, when the first account A1 is in electronics When running wechat program in equipment, the file stored in public memory space is able to access that, the second account A2 is in the electronic device When running wechat program, the file stored in public memory space is also able to access that., will be from after public memory space is got The identical file extracted in the sub- memory space of different accounts is stored to public memory space.
In summary, in the above-described embodiments, it is same with multiple accounts in the electronic device in electronic equipment running The application programs of Shi Yunhang first, wherein, each account to that should have independent sub- memory space, is then extracted different accounts and existed respectively The same file under corresponding sub- memory space during first application program is run, identical file is stored to common storage Space.Wherein, the file stored in public memory space can be accessed by multiple accounts, by will be identical under sub- memory space File is stored to public memory space, in the case where application is opened more, reduces the unnecessary waste of electronic equipment memory space.
Specifically, as shown in figure 3, in the above-described embodiments, step S202 extracts different accounts and applies journey in operation first The one of which of same file during sequence under corresponding sub- memory space is realized and may comprise steps of:
S301, the different accounts of comparison are when running the first application program, the mark of the file under corresponding sub- memory space Information or checking information;
When extracting same file when different accounts are running the first application program under corresponding sub- memory space, pass through Different accounts are obtained when running the first application program, the identification information or checking letter of the file under corresponding sub- memory space Breath, then the corresponding identification information of different accounts or checking information that get is compared, when the corresponding mark of different accounts When knowing information or identical checking information, it is same file to show the identification information or the corresponding file of checking information.
S302, extraction same identification information or the corresponding file of checking information.
Found by comparing after the corresponding identical identification information of different accounts or checking information, extract like-identified Information or the corresponding file of checking information, as different accounts run the first application program when corresponding sub- memory space under Same file.
As shown in figure 4, being a kind of method flow diagram of data processing method embodiment 4 disclosed by the invention, applied to electricity Sub- equipment, wherein, the electronic equipment can be the intelligent terminals such as smart mobile phone, tablet personal computer;Methods described can include with Lower step:
S401, on an electronic device with multiple accounts simultaneously run the first application program, wherein, each account is corresponded to respectively There is independent sub- memory space;
During electronic equipment is run, first application program is at least run, while with the same luck of multiple accounts Row first is used for program, while each account of the first application program of operation has corresponding independent sub- memory space. For example, wechat application program is run with the first account A1 and the first account A2 simultaneously in the electronic device, wherein, the first account A1 To that should have first sub- memory space/storage/emulated/0, the second account A2 operation wechats during operation wechat application program To that should have second sub- memory space/storage/emulated/1 during application program.
It should be noted that running the first application program simultaneously on an electronic device with multiple accounts, i.e., in same electricity In sub- equipment, same application program is run with different accounts simultaneously in the same time, rather than on different electronic equipments Same application program is run with identical account, and on different electronic equipments with different account operations are same should With.
The phase identical text of S402, the different accounts of extraction when running first application program under corresponding sub- memory space Part;
When electronic equipment runs the first application program simultaneously with multiple accounts, each account operation first is obtained first should Corresponding sub- memory space during with program, then extracts identical file under the sub- memory space of index.For example, extracting first When account A1 runs wechat application program, with the second account in corresponding first sub- memory space/storage/emulated/0 Identical file in corresponding second sub- memory space/storage/emulated/1 when A2 runs wechat application program.
S403, identical file stored to public memory space, the file stored in public memory space can be by institute Multiple accounts are stated to access;
Public memory space is obtained, wherein, described public memory space pre-establishes or works as electric Set up in real time when running the first application program simultaneously in sub- equipment with multiple accounts.Wherein, the public memory space got The file of middle storage can be accessed by multiple accounts of the above-mentioned application program of motion first, for example, when the first account A1 is in electronics When running wechat program in equipment, the file stored in public memory space is able to access that, the second account A2 is in the electronic device When running wechat program, the file stored in public memory space is also able to access that., will be from after public memory space is got The identical file extracted in the sub- memory space of different accounts is stored to public memory space.
S404, identical file removed from the corresponding sub- memory space of respective account.
After identical file is stored to public memory space, further by identical file in multiple accounts from respective Sub- memory space in remove.
In summary, in the above-described embodiments, it is same with multiple accounts in the electronic device in electronic equipment running The application programs of Shi Yunhang first, wherein, each account to that should have independent sub- memory space, is then extracted different accounts and existed respectively The same file under corresponding sub- memory space during first application program is run, identical file is stored to common storage Space.Wherein, the file stored in public memory space can be accessed by multiple accounts, by will be identical under sub- memory space File is stored to public memory space, and identical file is removed from the corresponding sub- memory space of respective account, is being answered In the case of with open, reduce the unnecessary waste of electronic equipment memory space more.
As shown in figure 5, being a kind of method flow diagram of data processing method embodiment 5 disclosed by the invention, applied to electricity Sub- equipment, wherein, the electronic equipment can be the intelligent terminals such as smart mobile phone, tablet personal computer;Methods described can include with Lower step:
S501, on an electronic device with multiple accounts simultaneously run the first application program, wherein, each account is corresponded to respectively There is independent sub- memory space;
During electronic equipment is run, first application program is at least run, while with the same luck of multiple accounts Row first is used for program, while each account of the first application program of operation has corresponding independent sub- memory space. For example, wechat application program is run with the first account A1 and the first account A2 simultaneously in the electronic device, wherein, the first account A1 To that should have first sub- memory space/storage/emulated/0, the second account A2 operation wechats during operation wechat application program To that should have second sub- memory space/storage/emulated/1 during application program.
It should be noted that running the first application program simultaneously on an electronic device with multiple accounts, i.e., in same electricity In sub- equipment, same application program is run with different accounts simultaneously in the same time, rather than on different electronic equipments Same application program is run with identical account, and on different electronic equipments with different account operations are same should With.
The phase identical text of S502, the different accounts of extraction when running first application program under corresponding sub- memory space Part;
When electronic equipment runs the first application program simultaneously with multiple accounts, each account operation first is obtained first should Corresponding sub- memory space during with program, then extracts identical file under the sub- memory space of index.For example, extracting first When account A1 runs wechat application program, with the second account in corresponding first sub- memory space/storage/emulated/0 Identical file in corresponding second sub- memory space/storage/emulated/1 when A2 runs wechat application program.
S503, identical file stored to public memory space, the file stored in public memory space can be by institute Multiple accounts are stated to access;
Public memory space is obtained, wherein, described public memory space pre-establishes or works as electric Set up in real time when running the first application program simultaneously in sub- equipment with multiple accounts.Wherein, the public memory space got The file of middle storage can be accessed by multiple accounts of the above-mentioned application program of motion first, for example, when the first account A1 is in electronics When running wechat program in equipment, the file stored in public memory space is able to access that, the second account A2 is in the electronic device When running wechat program, the file stored in public memory space is also able to access that., will be from after public memory space is got The identical file extracted in the sub- memory space of different accounts is stored to public memory space.
S504, when the file in public memory space is changed, the file changed is removed into the common storage empty Between;
During multiple accounts run the first application program simultaneously, if the file in public memory space is repaiied Change, then remove the file changed from public memory space, to increase the memory space of public memory space.
S505, when the file in public memory space by multiple accounts the first account change when, by the text changed Part is transferred to the corresponding sub- memory space of the first account.
During multiple accounts run the first application program simultaneously, for example, the first account A1 is transported in the electronic device Row wechat program, when the second account A2 runs wechat program in the electronic device, if the first account A1 is transported in the electronic device During row wechat program, during by a certain file modification stored in public memory space, the file changed is transferred to the first account Number corresponding sub- memory spaces of A1, make not to be re-used as same file by amended file to store into public memory space, energy It is enough that timely the file stored in public memory space is managed.
As shown in fig. 6, being the structural representation of a kind of electronic equipment embodiment 1 disclosed by the invention, the electronic equipment Can be the intelligent terminals such as smart mobile phone, tablet personal computer;The electronic equipment can include:
Application program runs module 601, for running the first application program simultaneously on an electronic device with multiple accounts, its In, each account is respectively to that should have independent sub- memory space;
During electronic equipment is run, first application program is at least run, while with the same luck of multiple accounts Row first is used for program, while each account of the first application program of operation has corresponding independent sub- memory space. For example, wechat application program is run with the first account A1 and the first account A2 simultaneously in the electronic device, wherein, the first account A1 To that should have first sub- memory space/storage/emulated/0, the second account A2 operation wechats during operation wechat application program To that should have second sub- memory space/storage/emulated/1 during application program.
It should be noted that running the first application program simultaneously on an electronic device with multiple accounts, i.e., in same electricity In sub- equipment, same application program is run with different accounts simultaneously in the same time, rather than on different electronic equipments Same application program is run with identical account, and on different electronic equipments with different account operations are same should With.
Processing module 602, for file destination to be stored to public memory space, wherein, stored in public memory space File can be accessed by the multiple account.
When running the first application program simultaneously on an electronic device with multiple accounts, public memory space is obtained, wherein, Described public memory space can be pre-establish or when on electronic equipment with multiple accounts and meanwhile run first Set up in real time during application program.Wherein, the file stored in the public memory space got can be by above-mentioned motion first Multiple accounts of application program are accessed, for example, when the first account A1 runs wechat program in the electronic device, being able to access that public affairs The file stored altogether in memory space, when the second account A2 runs wechat program in the electronic device, is also able to access that public deposit The file stored in storage space.After public memory space is got, file destination is stored to public memory space, wherein, The file that described file destination is called when running the first program by multiple accounts.
In summary, in the above-described embodiments, it is same with multiple accounts in the electronic device in electronic equipment running The application programs of Shi Yunhang first, wherein, each account to that should have independent sub- memory space, then stores file destination respectively To public memory space, wherein, the file stored in public memory space can access by multiple accounts, by that will get File destination is stored to public memory space, in the case where application is opened more, reduces electronic equipment memory space unnecessary Waste.
As shown in fig. 7, being the structural representation of a kind of electronic equipment embodiment 2 disclosed by the invention, the electronic equipment Can be the intelligent terminals such as smart mobile phone, tablet personal computer;The electronic equipment can include:
Application program runs module 701, for running the first application program simultaneously on an electronic device with multiple accounts, its In, each account is respectively to that should have independent sub- memory space;
During electronic equipment is run, first application program is at least run, while with the same luck of multiple accounts Row first is used for program, while each account of the first application program of operation has corresponding independent sub- memory space. For example, wechat application program is run with the first account A1 and the first account A2 simultaneously in the electronic device, wherein, the first account A1 To that should have first sub- memory space/storage/emulated/0, the second account A2 operation wechats during operation wechat application program To that should have second sub- memory space/storage/emulated/1 during application program.
It should be noted that running the first application program simultaneously on an electronic device with multiple accounts, i.e., in same electricity In sub- equipment, same application program is run with different accounts simultaneously in the same time, rather than on different electronic equipments Same application program is run with identical account, and on different electronic equipments with different account operations are same should With.
Extraction unit 702, for extracting different accounts corresponding sub- memory space when running first application program Under same file;
When electronic equipment runs the first application program simultaneously with multiple accounts, each account operation first is obtained first should Corresponding sub- memory space during with program, then extracts identical file under the sub- memory space of index.For example, extracting first When account A1 runs wechat application program, with the second account in corresponding first sub- memory space/storage/emulated/0 Identical file in corresponding second sub- memory space/storage/emulated/1 when A2 runs wechat application program.
Memory cell 703, for identical file to be stored to public memory space, the text stored in public memory space Part can be accessed by the multiple account.
Public memory space is obtained, wherein, described public memory space pre-establishes or works as electric Set up in real time when running the first application program simultaneously in sub- equipment with multiple accounts.Wherein, the public memory space got The file of middle storage can be accessed by multiple accounts of the above-mentioned application program of motion first, for example, when the first account A1 is in electronics When running wechat program in equipment, the file stored in public memory space is able to access that, the second account A2 is in the electronic device When running wechat program, the file stored in public memory space is also able to access that., will be from after public memory space is got The identical file extracted in the sub- memory space of different accounts is stored to public memory space.
In summary, in the above-described embodiments, it is same with multiple accounts in the electronic device in electronic equipment running The application programs of Shi Yunhang first, wherein, each account to that should have independent sub- memory space, is then extracted different accounts and existed respectively The same file under corresponding sub- memory space during first application program is run, identical file is stored to common storage Space.Wherein, the file stored in public memory space can be accessed by multiple accounts, by will be identical under sub- memory space File is stored to public memory space, in the case where application is opened more, reduces the unnecessary waste of electronic equipment memory space.
Specifically, as shown in figure 8, in the above-described embodiments, extraction unit extracts different accounts and applies journey in operation first The one of which of same file during sequence under corresponding sub- memory space, which is realized, to be included:
Subelement 801 is compared, for comparing different accounts when running the first application program, under corresponding sub- memory space File identification information or checking information;
When extracting same file when different accounts are running the first application program under corresponding sub- memory space, pass through Different accounts are obtained when running the first application program, the identification information or checking letter of the file under corresponding sub- memory space Breath, then the corresponding identification information of different accounts or checking information that get is compared, when the corresponding mark of different accounts When knowing information or identical checking information, it is same file to show the identification information or the corresponding file of checking information.
Subelement 802 is extracted, for extracting same identification information or the corresponding file of checking information.
Found by comparing after the corresponding identical identification information of different accounts or checking information, extract like-identified Information or the corresponding file of checking information, as different accounts run the first application program when corresponding sub- memory space under Same file.
As shown in figure 9, being the structural representation of a kind of electronic equipment embodiment 4 disclosed by the invention, the electronic equipment Can be the intelligent terminals such as smart mobile phone, tablet personal computer;The electronic equipment can include:
Application program runs module 901, for running the first application program simultaneously on an electronic device with multiple accounts, its In, each account is respectively to that should have independent sub- memory space;
During electronic equipment is run, first application program is at least run, while with the same luck of multiple accounts Row first is used for program, while each account of the first application program of operation has corresponding independent sub- memory space. For example, wechat application program is run with the first account A1 and the first account A2 simultaneously in the electronic device, wherein, the first account A1 To that should have first sub- memory space/storage/emulated/0, the second account A2 operation wechats during operation wechat application program To that should have second sub- memory space/storage/emulated/1 during application program.
It should be noted that running the first application program simultaneously on an electronic device with multiple accounts, i.e., in same electricity In sub- equipment, same application program is run with different accounts simultaneously in the same time, rather than on different electronic equipments Same application program is run with identical account, and on different electronic equipments with different account operations are same should With.
Extraction unit 902, for extracting different accounts corresponding sub- memory space when running first application program Under same file;
When electronic equipment runs the first application program simultaneously with multiple accounts, each account operation first is obtained first should Corresponding sub- memory space during with program, then extracts identical file under the sub- memory space of index.For example, extracting first When account A1 runs wechat application program, with the second account in corresponding first sub- memory space/storage/emulated/0 Identical file in corresponding second sub- memory space/storage/emulated/1 when A2 runs wechat application program.
Memory cell 903, for identical file to be stored to public memory space, the text stored in public memory space Part can be accessed by the multiple account;
Public memory space is obtained, wherein, described public memory space pre-establishes or works as electric Set up in real time when running the first application program simultaneously in sub- equipment with multiple accounts.Wherein, the public memory space got The file of middle storage can be accessed by multiple accounts of the above-mentioned application program of motion first, for example, when the first account A1 is in electronics When running wechat program in equipment, the file stored in public memory space is able to access that, the second account A2 is in the electronic device When running wechat program, the file stored in public memory space is also able to access that., will be from after public memory space is got The identical file extracted in the sub- memory space of different accounts is stored to public memory space.
Remove module 904, for identical file to be removed from the corresponding sub- memory space of respective account.
After identical file is stored to public memory space, further by identical file in multiple accounts from respective Sub- memory space in remove.
In summary, in the above-described embodiments, it is same with multiple accounts in the electronic device in electronic equipment running The application programs of Shi Yunhang first, wherein, each account to that should have independent sub- memory space, is then extracted different accounts and existed respectively The same file under corresponding sub- memory space during first application program is run, identical file is stored to common storage Space.Wherein, the file stored in public memory space can be accessed by multiple accounts, by will be identical under sub- memory space File is stored to public memory space, and identical file is removed from the corresponding sub- memory space of respective account, is being answered In the case of with open, reduce the unnecessary waste of electronic equipment memory space more.
As shown in Figure 10, it is the structural representation of a kind of electronic equipment embodiment 5 disclosed by the invention, the electronic equipment Can be the intelligent terminals such as smart mobile phone, tablet personal computer;The electronic equipment can include:
Application program runs module 1001, for running the first application program simultaneously on an electronic device with multiple accounts, Wherein, each account is respectively to that should have independent sub- memory space;
During electronic equipment is run, first application program is at least run, while with the same luck of multiple accounts Row first is used for program, while each account of the first application program of operation has corresponding independent sub- memory space. For example, wechat application program is run with the first account A1 and the first account A2 simultaneously in the electronic device, wherein, the first account A1 To that should have first sub- memory space/storage/emulated/0, the second account A2 operation wechats during operation wechat application program To that should have second sub- memory space/storage/emulated/1 during application program.
It should be noted that running the first application program simultaneously on an electronic device with multiple accounts, i.e., in same electricity In sub- equipment, same application program is run with different accounts simultaneously in the same time, rather than on different electronic equipments Same application program is run with identical account, and on different electronic equipments with different account operations are same should With.
Extraction unit 1002, for extracting different accounts corresponding sub- memory space when running first application program Under same file;
When electronic equipment runs the first application program simultaneously with multiple accounts, each account operation first is obtained first should Corresponding sub- memory space during with program, then extracts identical file under the sub- memory space of index.For example, extracting first When account A1 runs wechat application program, with the second account in corresponding first sub- memory space/storage/emulated/0 Identical file in corresponding second sub- memory space/storage/emulated/1 when A2 runs wechat application program.
Memory cell 1003, for identical file to be stored to public memory space, is stored in public memory space File can be accessed by the multiple account;
Public memory space is obtained, wherein, described public memory space pre-establishes or works as electric Set up in real time when running the first application program simultaneously in sub- equipment with multiple accounts.Wherein, the public memory space got The file of middle storage can be accessed by multiple accounts of the above-mentioned application program of motion first, for example, when the first account A1 is in electronics When running wechat program in equipment, the file stored in public memory space is able to access that, the second account A2 is in the electronic device When running wechat program, the file stored in public memory space is also able to access that., will be from after public memory space is got The identical file extracted in the sub- memory space of different accounts is stored to public memory space.
Module 1004 is removed, for when the file in public memory space is changed, the file changed to be removed into institute State public memory space;
During multiple accounts run the first application program simultaneously, if the file in public memory space is repaiied Change, then remove the file changed from public memory space, to increase the memory space of public memory space.
Shift module 1005, for when the file in public memory space by multiple accounts the first account change when, The file changed is transferred to the corresponding sub- memory space of the first account.
During multiple accounts run the first application program simultaneously, for example, the first account A1 is transported in the electronic device Row wechat program, when the second account A2 runs wechat program in the electronic device, if the first account A1 is transported in the electronic device During row wechat program, during by a certain file modification stored in public memory space, the file changed is transferred to the first account Number corresponding sub- memory spaces of A1, make not to be re-used as same file by amended file to store into public memory space, energy It is enough that timely the file stored in public memory space is managed.
The embodiment of each in this specification is described by the way of progressive, and what each embodiment was stressed is and other Between the difference of embodiment, each embodiment identical similar portion mutually referring to.For device disclosed in embodiment For, because it is corresponded to the method disclosed in Example, so description is fairly simple, related part is said referring to method part It is bright.
Professional further appreciates that, with reference to the unit of each example of the embodiments described herein description And algorithm steps, can be realized with electronic hardware, computer software or the combination of the two, in order to clearly demonstrate hardware and The interchangeability of software, generally describes the composition and step of each example according to function in the above description.These Function is performed with hardware or software mode actually, depending on the application-specific and design constraint of technical scheme.Specialty Technical staff can realize described function to each specific application using distinct methods, but this realization should not Think beyond the scope of this invention.
Directly it can be held with reference to the step of the method or algorithm that the embodiments described herein is described with hardware, processor Capable software module, or the two combination are implemented.Software module can be placed in random access memory (RAM), internal memory, read-only deposit Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology In any other form of storage medium well known in field.
The foregoing description of the disclosed embodiments, enables professional and technical personnel in the field to realize or using the present invention. A variety of modifications to these embodiments will be apparent for those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, it is of the invention The embodiments shown herein is not intended to be limited to, and is to fit to and principles disclosed herein and features of novelty phase one The most wide scope caused.

Claims (12)

1. a kind of data processing method, it is characterised in that applied to electronic equipment, methods described includes:
The first application program is run simultaneously with multiple accounts on the electronic equipment, wherein, each account is respectively to that should have solely Vertical sub- memory space;
File destination is stored to public memory space, wherein, the file stored in the public memory space can be described Multiple accounts are accessed.
2. according to the method described in claim 1, it is characterised in that described to store file destination to public memory space bag Include:
Extract same file of the different accounts when running first application program under corresponding sub- memory space;
The identical file is stored to the public memory space.
3. method according to claim 2, it is characterised in that the different accounts of the extraction apply journey in operation described first Same file during sequence under corresponding sub- memory space includes:
Different accounts are compared when running first application program, the identification information of the file under corresponding sub- memory space or Checking information;
Extract same identification information or the corresponding file of checking information.
4. method according to claim 2, it is characterised in that described store the identical file to described public is deposited Store up behind space, in addition to:
The identical file is removed from the corresponding sub- memory space of respective account.
5. method according to claim 2, it is characterised in that also include:
When the file in the public memory space is changed, the file changed is removed into the public memory space.
6. method according to claim 5, it is characterised in that also include:
When the file in the public memory space is changed by the first account in the multiple account, by the file changed It is transferred to the corresponding sub- memory space of first account.
7. a kind of electronic equipment, it is characterised in that including:
Application program runs module, for running the first application program simultaneously on the electronic equipment with multiple accounts, wherein, Each account is respectively to that should have independent sub- memory space;
Processing module, for file destination to be stored to public memory space, wherein, the text stored in the public memory space Part can be accessed by the multiple account.
8. electronic equipment according to claim 7, it is characterised in that the processing module includes:
Extraction unit, for extract different accounts run first application program when corresponding sub- memory space under it is identical File;
Memory cell, for the identical file to be stored to the public memory space.
9. electronic equipment according to claim 8, it is characterised in that the extraction unit includes:
Subelement is compared, for comparing different accounts when running first application program, under corresponding sub- memory space The identification information or checking information of file;
Subelement is extracted, for extracting same identification information or the corresponding file of checking information.
10. electronic equipment according to claim 8, it is characterised in that also include:
Remove module, for the identical file to be removed from the corresponding sub- memory space of respective account.
11. electronic equipment according to claim 8, it is characterised in that also include:
Module is removed, for when the file in the public memory space is changed, the file changed to be removed into the public affairs Common memory space.
12. electronic equipment according to claim 11, it is characterised in that also include:
Shift module, for when the file in the public memory space by the multiple account the first account change when, The file changed is transferred to the corresponding sub- memory space of first account.
CN201710197553.4A 2017-03-29 2017-03-29 A kind of data processing method and electronic equipment Pending CN106980519A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710197553.4A CN106980519A (en) 2017-03-29 2017-03-29 A kind of data processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710197553.4A CN106980519A (en) 2017-03-29 2017-03-29 A kind of data processing method and electronic equipment

Publications (1)

Publication Number Publication Date
CN106980519A true CN106980519A (en) 2017-07-25

Family

ID=59338588

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710197553.4A Pending CN106980519A (en) 2017-03-29 2017-03-29 A kind of data processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN106980519A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107580060A (en) * 2017-09-14 2018-01-12 商客通尚景科技江苏有限公司 Banked cache method is divided in a kind of mobile terminal
CN108763963A (en) * 2018-06-12 2018-11-06 北京奇虎科技有限公司 Distributed approach, apparatus and system based on data access authority
CN109194639A (en) * 2018-08-24 2019-01-11 北京小米移动软件有限公司 Message sink processing method, device, terminal and readable storage medium storing program for executing

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1829202A (en) * 2005-03-02 2006-09-06 华为技术有限公司 System and method for multiple account number simultaneously realizing IMPS service on one client
US20130185770A1 (en) * 2012-01-12 2013-07-18 Salesforce.Com, Inc. Methods and systems for providing access to an online system
CN103870755A (en) * 2012-12-10 2014-06-18 广东欧珀移动通信有限公司 Method and device for transferring files between multiple users of same electronic device
CN104333563A (en) * 2013-07-22 2015-02-04 联想(北京)有限公司 Method of information processing and electronic equipment
CN106357921A (en) * 2016-10-10 2017-01-25 广东欧珀移动通信有限公司 Application data sharing method, application data sharing device and mobile terminal
CN106446158A (en) * 2016-09-23 2017-02-22 宇龙计算机通信科技(深圳)有限公司 Sharing method and sharing device for application data and terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1829202A (en) * 2005-03-02 2006-09-06 华为技术有限公司 System and method for multiple account number simultaneously realizing IMPS service on one client
US20130185770A1 (en) * 2012-01-12 2013-07-18 Salesforce.Com, Inc. Methods and systems for providing access to an online system
CN103870755A (en) * 2012-12-10 2014-06-18 广东欧珀移动通信有限公司 Method and device for transferring files between multiple users of same electronic device
CN104333563A (en) * 2013-07-22 2015-02-04 联想(北京)有限公司 Method of information processing and electronic equipment
CN106446158A (en) * 2016-09-23 2017-02-22 宇龙计算机通信科技(深圳)有限公司 Sharing method and sharing device for application data and terminal
CN106357921A (en) * 2016-10-10 2017-01-25 广东欧珀移动通信有限公司 Application data sharing method, application data sharing device and mobile terminal

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107580060A (en) * 2017-09-14 2018-01-12 商客通尚景科技江苏有限公司 Banked cache method is divided in a kind of mobile terminal
CN108763963A (en) * 2018-06-12 2018-11-06 北京奇虎科技有限公司 Distributed approach, apparatus and system based on data access authority
CN108763963B (en) * 2018-06-12 2022-08-26 北京奇虎科技有限公司 Distributed processing method, device and system based on data access authority
CN109194639A (en) * 2018-08-24 2019-01-11 北京小米移动软件有限公司 Message sink processing method, device, terminal and readable storage medium storing program for executing

Similar Documents

Publication Publication Date Title
CN104375836B (en) A kind of method and device of displaying screen locking window
CN106980519A (en) A kind of data processing method and electronic equipment
CN106202028B (en) A kind of address information recognition methods and device
CN107766163A (en) A kind of stand-by information stickup method, apparatus, equipment and storage medium
CN104615662B (en) A kind of method, apparatus and terminal device handling data
CN107707386A (en) Gas meter, flow meter fault cues method and Internet of things system based on compound Internet of Things
CN106559555A (en) A kind of construction method of address list, device
CN107861974A (en) A kind of adaptive network crawler system and its data capture method
CN108268445A (en) A kind of method and device for handling address information
CN106598946A (en) Content extracting method and device
CN109359174B (en) Administrative division belongs to recognition methods, device, storage medium and computer equipment
CN104268097B (en) A kind of metadata processing method and system
CN103220211A (en) Processing method, processing device and mobile terminal for social network site (SNS) messages
CN105573673A (en) Database based data cache system
CN107766322A (en) Entity recognition method, electronic equipment and computer-readable recording medium of the same name
CN107895039A (en) A kind of construction method of campus network Verification System log database
CN109829821A (en) A kind of abnormal processing method of digital asset address transfer, apparatus and system
CN104484619B (en) It is a kind of to solve the method that client multi-logical channel accesses PKCS#15 file conflicts
CN109635020A (en) A kind of processing method of business, device, equipment and system
CN107943912A (en) A kind of response type Resource TOC data visualization management method, terminal and device
CN203407732U (en) Terminal storage cabinet
CN107231254A (en) A kind of method and system synchronous to the configuration file based on OCFS file system
CN203164957U (en) Enterprise-level data base backup system
CN107886008A (en) File management method and system
CN105204774B (en) A kind of data processing method 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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170725