CN108536783A - Data processing method and device, terminal, computer readable storage medium - Google Patents

Data processing method and device, terminal, computer readable storage medium Download PDF

Info

Publication number
CN108536783A
CN108536783A CN201810272186.4A CN201810272186A CN108536783A CN 108536783 A CN108536783 A CN 108536783A CN 201810272186 A CN201810272186 A CN 201810272186A CN 108536783 A CN108536783 A CN 108536783A
Authority
CN
China
Prior art keywords
space
data
user
role
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810272186.4A
Other languages
Chinese (zh)
Other versions
CN108536783B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810272186.4A priority Critical patent/CN108536783B/en
Publication of CN108536783A publication Critical patent/CN108536783A/en
Priority to PCT/CN2019/077531 priority patent/WO2019184684A1/en
Application granted granted Critical
Publication of CN108536783B publication Critical patent/CN108536783B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • G06F21/6245Protecting personal data, e.g. for financial or medical purposes

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Databases & Information Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Medical Informatics (AREA)
  • Telephone Function (AREA)
  • Storage Device Security (AREA)

Abstract

This application involves a kind of data processing method and device, terminal, computer readable storage mediums.This method includes:Preset spatial information and Role Information in reading terminals;Wherein, the spatial information includes the public space for storing common data and the role space for storing private data;The common data that multiple roles share is obtained, and the common data is stored in public space, the private data of each role is stored in corresponding role space;When the terminal operating, the spatial information is loaded according to the Role Information of active user.By the above method, common data can uniformly be stored into public space, memory space and system resource are saved while protecting privacy of user, keeps terminal operating more smooth.

Description

Data processing method and device, terminal, computer readable storage medium
Technical field
It, can more particularly to a kind of data processing method and device, terminal, computer this application involves field of communication technology Read storage medium.
Background technology
With the intelligent development of communication equipment, people are more and more frequent to the use of intelligent terminal in daily life, When multiple roles are used in conjunction with the same intelligent terminal, different role might have some privacy informations on intelligent terminal, Such as oneself shares the same intelligent terminal, the i.e. same terminal of multiple users share with household;Or same user is with different identity Use intelligent terminal, such as life and work;It needs to carry out secret protection.Traditional method for secret protection can be on intelligent terminal Each role distributes an independent space, and the application in each space is mutual indepedent, some non-privacies is caused to be applied every in this way A space is all repeated, such as calendar, clock, weather, antivirus application etc. can repeat in each space, cause to store The waste in space, occupying system resources.
Invention content
A kind of data processing method of the embodiment of the present application offer, device, computer equipment and storage medium, can be polygonal Optimize memory space when color using terminal, reduces the waste of system resource.
A kind of data processing method, including:
Preset spatial information and Role Information in reading terminals;Wherein, the spatial information includes public for storing The public space of data and role space for storing private data;
The common data that multiple roles share is obtained, and the common data is stored in public space, by each angle The private data of color is stored in corresponding role space;
When the terminal operating, the spatial information is loaded according to the Role Information of active user.
A kind of data processing equipment, including:
Information reading module, for preset spatial information and Role Information in reading terminals;
Data acquisition module, the common data shared for obtaining multiple roles, and the common data is stored in public affairs In cospace, the private data of each role is stored in corresponding role space;
Space load-on module, for when the terminal operating, the space to be loaded according to the Role Information of active user Information.
A kind of terminal, including memory and processor store computer program, the computer journey in the memory When sequence is executed by the processor so that the processor executes the step of data processing method.
A kind of computer readable storage medium, is stored thereon with computer program, and the computer program is held by processor The step of data processing method is realized when row.
Above-mentioned data processing method and device, terminal, computer readable storage medium pass through preset sky in reading terminals Between information and Role Information, obtain the common data that multiple roles share, and the common data is stored in public space, The private data of each role is stored in corresponding role space, when the terminal operating, according to the angle of active user Color information loads the spatial information, can uniformly store common data into public space, in the same of protection privacy of user When save memory space and system resource, keep terminal operating more smooth.
Description of the drawings
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of application for those of ordinary skill in the art without creative efforts, can be with Obtain other attached drawings according to these attached drawings.
Fig. 1 is the flow chart of data processing method in one embodiment;
Fig. 2 is the flow chart of data processing method in another embodiment;
Fig. 3 is the flow chart of data processing method in another embodiment;
Fig. 4 is the flow chart of data processing method in another embodiment;
Fig. 5 is the flow chart of data processing method in another embodiment;
Fig. 6 is the flow chart of data processing method in another embodiment;
Fig. 7 is the user setup interface schematic diagram of the terminal in one embodiment;
Fig. 8 is the structure diagram of data processing equipment in one embodiment;
Fig. 9 is the internal structure schematic diagram of terminal in one embodiment;
Figure 10 is the block diagram with the part-structure of the relevant mobile phone of terminal provided by the embodiments of the present application.
Specific implementation mode
It is with reference to the accompanying drawings and embodiments, right in order to make the object, technical solution and advantage of the application be more clearly understood The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, and It is not used in restriction the application.
Unless otherwise defined, all of technologies and scientific terms used here by the article and belong to the technical field of the application The normally understood meaning of technical staff is identical.The term used in the description of the present application is intended merely to description tool herein The purpose of the embodiment of body, it is not intended that limitation the application.It is appreciated that term " first " used in this application, " second " Etc. can be used to describe various elements herein, but these elements should not be limited by these terms.These terms are only used to by first A element is distinguished with another element.It for example, can be by the first client in the case where not departing from scope of the present application Referred to as the second client, and similarly, the second client can be known as the first client.First client and the second client two Person is client, but it is not same client.
In one embodiment, as shown in Figure 1, providing a kind of data processing method, it is applied to the end with more spaces On end, when using the terminal there are polygonal color, the spatial information in terminal can be loaded according to the Role Information of different role, is made Memory space utilization in terminal is more reasonable, saves system resource.The data processing method, including:
Step 102:Preset spatial information and Role Information in reading terminals.
Wherein, terminal can be mobile phone, tablet computer or personal digital assistant or Wearable etc..Have in terminal Multiple user's spaces can be arranged in multi-user mode in terminal, the data of each user's space are mutual indepedent, multiple user's energy The same application is logged in, but the account data of user is mutual indepedent.Can by cryptographic means (such as verification password, fingerprint know Not, recognition of face etc.) each user's space is encrypted, to protect the privacy of user of each user's space.Different users Corresponding Role Information can be arranged in space, and the data access rights of user's space are limited according to the Permission Levels of different role information Limit.Role Information includes but not limited to multi-user's identity information and multiple identity informations of same user.
For example, the type of user's space can be divided into owner, child user and visitor.Wherein, owner, that is, terminal possesses Person is normally only terminal owner oneself in use, just with owner's identity logs, and owner possesses highest Permission Levels, after login, Owner can carry out all operations, including add or delete other users, mandate other users use call and SMS function.Son User is other users being arranged in addition to owner, when the relatives or friend being familiar with are in use, can be by child user Identity logs, child user possesses secondary Permission Levels, and after login, child user can use most of function, but can not use meeting Influence the function of owner, such as factory reset, interruption-free function.Visitor is typically the user for temporary visit user setting Space can be by visitor's identity logs when the friend not being familiar with borrows, and the Permission Levels of visitor are minimum, after login, visit Objective user is only capable of carrying out part operation, cannot use short message, installation unknown applications etc..
Further, for the data in separate storage different user space, different memory spaces has been preset in terminal, this The spatial information of preset memory space in embodiment reading terminals, spatial information include the public sky for storing common data Between and the role space for storing private data.Wherein, public space refers to can storing public between different user The memory space of data, common data can be common application, public contact person and public documents etc..Role space refers to depositing The memory space of the private data of different user is put, private data can be private application, photograph album and documentum privatum etc..
It is understood that the public space and role space described in the present embodiment all referred to is data space, For separate storage data;What the user's space described in the present embodiment referred to is the user's operation space that polygonal color uses, different User's space has independent user interface.
Step 104:The common data that multiple roles share is obtained, and the common data is stored in public space, The private data of each role is stored in corresponding role space.
Specifically, common data generally comprises the non-privacy application of user, such as calendar, clock, weather, antivirus application Deng not being related to the privacy information of user, can be used as the data of users to share, such data are uniformly stored to public affairs In cospace, privacy of user will not be revealed.The common data that the present embodiment is shared by multiple roles in the non-privacy application of acquisition, And the common data is stored in public space, save the memory space of terminal.
For example, the operating system by terminal is detected and marks to the application data in terminal, if detecting application Data band has privacy of user mark, then this is labeled as privacy application using the corresponding application of data;If detecting using catalogue Under data identified without privacy of user, then by this application be labeled as common application.Further, common application mark will be carried Knowledge is stored using the common data under catalogue to public space, then the common application in the corresponding space of different role starts When, all unified common data loaded in public space effectively saves system resource.
Step 106:When the terminal operating, the spatial information is loaded according to the Role Information of active user.
When terminal operating, system verifies the Role Information for logining user, such as by password authentification mechanism to logining use The Role Information at family is verified, and the password authentification mechanism during this can be fingerprint password authentification, numerical ciphers verification, figure Shape password authentification or face password authentification etc..Specifically, it receives user and logins the verification password inputted in interface in user, judge Whether the verification password matches at least one preset password;In the case where verifying password and preset password matches, step on Enter user's space corresponding with the preset password.
Further, the Role Information for currently logining user is obtained, it is true according to the corresponding access rights of the Role Information The spatial information loaded is needed calmly.Specifically, if the current Role Information for logining user is visitor, public sky can only be loaded Between in common data, that is to say in visitor space may have access to common application.Such as the owner of terminal temporarily lends terminal Other people then be may be provided in the user's space and only load common data in use, other people is not intended to access the privacy application of owner. Optionally, if the current Role Information for logining user is owner or child user, public space can be loaded simultaneously and role is empty Between data, wherein when switching between different role, that is, when switching to different user space, public space can be kept Data it is constant, switch the data in corresponding role space according only to different role, improve memory space utilization ratio, and carry Rise system operating rate.
Above-mentioned data processing method obtains multiple roles by preset spatial information and Role Information in reading terminals The private data of each role is stored in pair by shared common data, and the common data is stored in public space In the role space answered, when the terminal operating, the spatial information is loaded according to the Role Information of active user, can be incited somebody to action Common data is uniformly stored into public space, and memory space and system resource are saved while protecting privacy of user, makes end End operation is more smooth.
In one embodiment, as shown in Fig. 2, in reading terminals before preset spatial information and Role Information, also Include the following steps:
Step 202:Create the public space of separate storage common data.
Wherein, public space is used to store different role and corresponds to common data in space, public space and role space Independently store data.Common data includes at least one or more of common application, public contact person and public documents.It is logical The operating system for crossing terminal creates the public space of separate storage common data.
Step 204:The size of data for detecting the common data determines the public space according to the size of data Storage size.
Specifically, it is that rationally the memory space using terminal, the size of data for the common data that can be stored as needed are come The storage size for creating public space, increases the utilization rate of system resource.Wherein, system can count in advance needs store it is public The data volume of data determines the public space size for storing the common data and needing according to statistical result, and reserves centainly Then data space is created that the public space for storing the common data enough.
The size of data for the common data that the present embodiment needs to store by statistics, it is true according to the size of data of common data Determine the storage size of public space, can more rationally, effectively utilize memory space, avoid the wasting of resources.
In one embodiment, as shown in figure 3, the public space for creating separate storage common data, including following Step:
Step 302:The public identifier for obtaining the common data stores the data with the public identifier to default In store path.
Wherein, common application can be marked in system, and the data under common application storage catalogue are common data, this reality The public identifier that example obtains common data is applied, the data with the public identifier are stored into default store path.Such as When detecting the time data with public identifier, then by the time data store to:publicspace/storage/ In the paths emulated/0/time.
Step 304:When storing data to the public space, whether identification needs the data stored with described public Mark.
Further, public space only stores common data, and when storing data to public space, identification needs store Whether data carry public identifier, and to determine whether common data, the data if desired stored carry public identifier, then press pre- If common data store path is stored;It needs the data stored without public identifier if recognizing, thens follow the steps 306。
Step 306:It is not yet stored into public space, and is stored to corresponding role sky according to the privacy of data mark Between.
If desired the data stored are not common datas, then it represents that the data are private data, further identify the data Privacy mark, according to the privacy of the data mark store to corresponding role space.
Data processing method provided in this embodiment can be isolated the data of different memory spaces, make public space and angle The data of the colour space are mutual indepedent, protect privacy of user.
In one embodiment, it as shown in figure 4, when the terminal operating, is loaded according to the Role Information of active user The spatial information, it is further comprising the steps of:
Step 402:When detecting the operation of switching user, is determined according to the access rights of the user after switching and need to cut The spatial information changed.
Wherein, when needing to switch user, the Role Information of user changes, and that is to say and needs to enter different users Space needs the spatial information loaded also to change at this time, needs to switch according to the determination of the access rights of the user after switching Spatial information.
Optionally, the verification password that user switches entrance input by active user space is received, and determines that the verification is close Whether code matches at least one preset password;In the case where verifying password and preset password matches, by switching in Mouth switches to the corresponding user's space of the preset password.Wherein, verification password can be that finger-print cipher, numerical ciphers, figure are close One or more in code or face password.The present embodiment process that different spaces switch in polygonal color using terminal In, be provided with verification password, in the handoff procedure of space, only by password authentification it is correct after can just be switched to other spaces Interior, which only has user to know, the privacy of user is stronger, enhances the protection switched to space.
Further, the Role Information of user is currently logined after detection switching user, and according to the angle for currently logining user The Permission Levels of color acquisition of information user.
Step 404:If the user after switching is pre-set user, keep the data of public space constant, load is described pre- If the data in the corresponding role space of user.
Specifically, pre-set user is expressed as assigning the user of clear identity information, such as the household of oneself, or life with Identity in work.There is pre-set user secondary access permission namely pre-set user can use most of function, but can not make With the function that can influence owner, such as factory reset, interruption-free function.
If for example, user after switching is household (such as parent or siblings), active user has and makes The permission applied with common application and part privacy, then keep the data of public space constant, i.e., need not repeat to load public Using need to only directly invoke common data in public space.The further data in the corresponding role space of load household, Such as the data in role space where load mother, the then data being stored in the role space where mother can be accessed, Such as photo, audio, video.
Data processing method provided in this embodiment can keep public space when switching to different user space Data are constant, switch the data in corresponding role space according only to different role, improve memory space utilization ratio, and promoted System operating rate.
In one embodiment, as shown in figure 5, loading the spatial information according to the Role Information of active user described Later, further include:
Step 502:When the first space in front stage operation state receives the second space in background operation state Notice when, detect whether exist notice check operation.
Specifically, the space that the first space representation is currently running that is to say that user can pass through terminal display interface The space being immediately seen, second space indicate the space in running background, and that is to say can not be straight by the display interface of terminal Connect the notification message for viewing second space.When user logins the first space, the second space in addition to the first space is also at Low-power consumption working condition remains to receive notification message, when the second space in background operation state receives notification message When, system the notification message can be forwarded in front stage operation state first spatially, user's choosing is reminded by the first space It selects and whether checks the notification message.Then the first space in front stage operation state receives second in background operation state When the notice in space, which is shown to current display page, and detects whether that there is notice checks operation, wherein logical Know and checks that operation includes but not limited to point control operation, touch control operation and gesture operation etc..
Step 504:If detecting, notice checks request, prompts user's validation information, and judges input by user Whether verification information matches with default verification information.If so, thening follow the steps 506.
Step 506:The notification message of the second space is extracted, and the notification message is illustrated in first space The display page in.
Specifically, after the first space receives the notification message of second space, if detecting, request accesses service management Verification information, and verification information is matched with default verification information, then extracts the service management of second space and message is detailed Feelings are illustrated in the current display interface top layer in the first space.Optionally, when the first space receives the notification message of second space When, temporary space can be established and handle the notification message, the message extraction of background user individually applied out is handled, extraction Notification message be stored temporarily in temporary space, the temporary space is destroyed after receiving the instruction that Message Processing finishes, Or do not receive Message Processing response in preset duration and then destroy the temporary space, avoid waste memory space.
Data processing method provided in this embodiment is transported by the first spatial manipulation in front stage operation state on backstage The notification message of the second space of row state, need not switch user can handle the notification message of different spaces, saving processing Time.
In one embodiment, as shown in fig. 6, the data processing method further includes:
Step 602:Obtain the operational order input by user for acting on user setup interface.
Specifically, it is the user setup interface schematic diagram of terminal, user setup interface is for being arranged angle with reference to shown in Fig. 7 Color information, such as may include increasing user, deleting user, setting user right etc..Input by user use is acted on when detecting When the operational order at interface is arranged in family, step 604 is executed.
Step 604:According to the operational order, the Role Information is set.
For example, when receiving addition or adding the operational order of visitor, user setup interface prompt addition is used Family or Guest User will appear user's icon, the user that locking screen interface is shown is as current after adding user on locking screen interface The user of login.When receiving the operational order for deleting user, whether user setup interface prompt needs to delete user, such as " to remove this userSystem will delete all applications and data ", it determines the need for deleting according to user feedback current User, the data of the user can be removed simultaneously by deleting user.When receiving priority assignation operation, obtains and need that permission is arranged Whether role, user setup interface prompt need to authorize permission, such as " allowing using call and information and shared log ", Determine whether to authorize according to user feedback, after being authorized, which can use phone and SMS function, acceptable and host Shared message registration and short message.If owner authorizes multiple child users, can also be shared between authorized child user Message registration and short message.Optionally, when user needs to switch role, the role to be logged in is clicked, in the menu of pop-up Click switching role.Character icon can also be clicked in locking screen interface, then click the role for wanting to log in, carried out password and test The user's space after switching is logined after card.
Data processing method provided in this embodiment, can be according to the operation input by user for acting on user setup interface The Role Information is arranged in instruction, and the terminal convenient for using polygonal color is managed, and promotes user experience.
It should be understood that although each step in the flow chart of Fig. 1-6 is shown successively according to the instruction of arrow, These steps are not that the inevitable sequence indicated according to arrow executes successively.Unless expressly stating otherwise herein, these steps Execution there is no stringent sequences to limit, these steps can execute in other order.Moreover, at least one in Fig. 1-6 Part steps may include that either these sub-steps of multiple stages or stage are not necessarily in synchronization to multiple sub-steps Completion is executed, but can be executed at different times, the execution sequence in these sub-steps or stage is also not necessarily successively It carries out, but can either the sub-step of other steps or at least part in stage be in turn or alternately with other steps It executes.
As shown in figure 8, in one embodiment, providing a kind of data processing equipment, which includes:Information reading module 810, data acquisition module 820, space load-on module 830.
Information reading module 810, for preset spatial information and Role Information in reading terminals.
Data acquisition module 820, the common data shared for obtaining multiple roles, and the common data is stored in In public space, the private data of each role is stored in corresponding role space.
Space load-on module 830, for when the terminal operating, the sky to be loaded according to the Role Information of active user Between information.
Above-mentioned data processing equipment is believed by preset spatial information in 810 reading terminals of information reading module and role Breath, data acquisition module 820 obtains the common data that multiple roles share, and the common data is stored in public space It is interior, the private data of each role is stored in corresponding role space, when the terminal operating, space load-on module 830 load the spatial information according to the Role Information of active user, can uniformly store common data into public space, Memory space and system resource are saved while protecting privacy of user, keep terminal operating more smooth.
In one embodiment, further include space creation module, the public space for creating separate storage common data; The size of data for detecting the common data determines the storage size of the public space according to the size of data.
In one embodiment, space creation module is additionally operable to obtain the public identifier of the common data, by band The data for stating public identifier are stored into default store path;When storing data to the public space, identification needs to store Data whether carry the public identifier;If it is not, being then not yet stored into public space, and deposited according to the privacy of data mark It stores up to corresponding role space.
In one embodiment, space load-on module 830 is additionally operable to obtain the Role Information for currently logining user;According to institute It states the corresponding access rights of Role Information and determines the spatial information for needing to load;If it is visitor currently to login user, only load Data in public space.
In one embodiment, space load-on module 830 is additionally operable to when detecting the operation of switching user, according to switching The access rights of user afterwards determine the spatial information for needing to switch;If the user after switching is pre-set user, keep public The data in space are constant, load the data in the corresponding role space of the pre-set user.
In one embodiment, further include notification processing module, for being connect when the first space in front stage operation state When receiving the notice of the second space in background operation state, detect whether that there is notice checks operation;If detecting notice Check request, then prompt user's validation information, and judge verification information input by user whether with default verification information Match;If so, extracting the notification message of the second space, and the notification message is illustrated in the display in first space In the page.
In one embodiment, further include role's setup module, input by user user setting circle is acted on for obtaining The operational order in face;The wherein described user setup interface is for being arranged Role Information;According to the operational order, the angle is set Color information.
The division of modules is only used for for example, in other embodiments in above-mentioned data processing equipment, can be by number Different modules is divided into as required according to processing unit, to complete all or part of function of above-mentioned data processing equipment.
Specific about data processing equipment limits the restriction that may refer to above for data processing method, herein not It repeats again.Modules in above-mentioned data processing equipment can be realized fully or partially through software, hardware and combinations thereof.On Stating each module can be embedded in or independently of in the processor in computer equipment, can also store in a software form in the form of hardware In memory in computer equipment, the corresponding operation of the above modules is executed in order to which processor calls.
Realizing for modules in the data processing equipment provided in the embodiment of the present application can be the shape of computer program Formula.The computer program can be run in terminal or server.The program module that the computer program is constituted is storable in terminal Or on the memory of server.When the computer program is executed by processor, method described in the embodiment of the present application is realized Step.
Fig. 9 is the internal structure schematic diagram of terminal in one embodiment.As shown in figure 9, the terminal includes total by system Processor, memory and the network interface of line connection.Wherein, for the processor for providing calculating and control ability, support is entire The operation of electronic equipment.Memory for storing data, program etc., at least one computer program is stored on memory, the meter Calculation machine program can be executed by processor, to realize the data processing side suitable for polygonal color terminal provided in the embodiment of the present application Method.Memory may include non-volatile memory medium and built-in storage.Non-volatile memory medium is stored with operating system and meter Calculation machine program.The computer program can be performed by processor, at the realization data that each embodiment is provided below Reason method.Built-in storage provides the operation ring of cache for the operating system computer program in non-volatile memory medium Border.Network interface can be Ethernet card or wireless network card etc., for being communicated with external electronic equipment.The electronic equipment Can be mobile phone, tablet computer or personal digital assistant or Wearable etc..
The embodiment of the present application also provides a kind of computer readable storage mediums.One or more is executable comprising computer The non-volatile computer readable storage medium storing program for executing of instruction, when the computer executable instructions are executed by one or more processors When so that the processor executes the data processing method as described in the various embodiments described above.
The embodiment of the present application also provides a kind of computer program products.A kind of computer program product including instruction, When run on a computer so that computer executes the data processing method described in the various embodiments described above.
The embodiment of the present application also provides a kind of terminal devices.As shown in Figure 10, for convenience of description, it illustrates only and this Apply for that the relevant part of embodiment, particular technique details are not disclosed, please refers to the embodiment of the present application method part.The terminal is set Include mobile phone, tablet computer, PDA (Personal Digital Assistant, personal digital assistant), POS for that can be The arbitrary terminal device such as (Point of Sales, point-of-sale terminal), vehicle-mounted computer, Wearable, using terminal device as mobile phone For:
Figure 10 is the block diagram with the part-structure of the relevant mobile phone of terminal provided by the embodiments of the present application.With reference to figure 10, hand Machine includes:Radio frequency (Radio Frequency, RF) circuit 1010, memory 1020, input unit 1030, display unit 1040, Sensor 1050, voicefrequency circuit 1060, Wireless Fidelity (wireless fidelity, WiFi) module 1070, processor 1080, And the equal components of power supply 1090.It will be understood by those skilled in the art that handset structure shown in Fig. 10 is not constituted to mobile phone It limits, may include either combining certain components or different components arrangement than illustrating more or fewer components.
Wherein, RF circuits 1010 can be used for receiving and sending messages or communication process in, signal sends and receivees, can be by base station After downlink information receives, handled to processor 1080;The data of uplink can also be sent to base station.In general, RF circuits include But be not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier (Low Noise Amplifier, LNA), duplexer etc..In addition, RF circuits 1010 can also be communicated with network and other equipment by radio communication.It is above-mentioned wireless Communication can use any communication standard or agreement, including but not limited to global system for mobile communications (Global System of Mobile communication, GSM), general packet radio service (General Packet Radio Service, GPRS), CDMA (Code Division Multiple Access, CDMA), wideband code division multiple access (Wideband Code Division Multiple Access, WCDMA), long term evolution (Long Term Evolution, LTE)), Email, Short message service (Short Messaging Service, SMS) etc..
Memory 1020 can be used for storing software program and module, and processor 1080 is stored in memory by operation 1020 software program and module, to execute various function application and the data processing of mobile phone.Memory 1020 can be led To include program storage area and data storage area, wherein program storage area can storage program area, needed at least one function Application program (such as the application program of sound-playing function, application program of image player function etc.) etc.;It data storage area can Storage uses created data (such as audio data, address list etc.) etc. according to mobile phone.In addition, memory 1020 can wrap High-speed random access memory is included, can also include nonvolatile memory, for example, at least disk memory, a flash memories Part or other volatile solid-state parts.
Input unit 1030 can be used for receiving the number or character information of input, and generates and set with the user of mobile phone 1000 It sets and the related key signals of function control inputs.Specifically, input unit 1030 may include touch panel 1031 and other Input equipment 1032.Touch panel 1031, alternatively referred to as touch screen collect user on it or neighbouring touch operation (are compared Such as user is using finger, stylus any suitable object or attachment on touch panel 1031 or near touch panel 1031 Operation), and corresponding attachment device is driven according to preset formula.In one embodiment, touch panel 1031 can Including both touch detecting apparatus and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and examine The signal that touch operation is brought is surveyed, touch controller is transmitted a signal to;Touch controller is received from touch detecting apparatus to be touched Information is touched, and is converted into contact coordinate, then gives processor 1080, and order that processor 1080 is sent can be received and added To execute.Furthermore, it is possible to realize touch panel using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves 1031.In addition to touch panel 1031, input unit 1030 can also include other input equipments 1032.Specifically, other are inputted Equipment 1032 can include but is not limited to one in physical keyboard, function key (such as volume control button, switch key etc.) etc. Kind is a variety of.
Display unit 1040 can be used for showing information input by user or be supplied to user information and mobile phone it is each Kind menu.Display unit 1040 may include display panel 1041.In one embodiment, liquid crystal display may be used (Liquid Crystal Display, LCD), Organic Light Emitting Diode (Organic Light-Emitting Diode, ) etc. OLED forms configure display panel 1041.In one embodiment, touch panel 1031 can cover display panel 1041, When touch panel 1031 detects on it or after neighbouring touch operation, processor 1080 is sent to determine touch event Type is followed by subsequent processing device 1080 and provides corresponding visual output on display panel 1041 according to the type of touch event.Although In Fig. 10, touch panel 1031 and display panel 1041 are to realize the input and input of mobile phone as two independent components Function, but in some embodiments it is possible to touch panel 1031 and display panel 1041 are integrated and are realized the input of mobile phone And output function.
Mobile phone 1000 may also include at least one sensor 1050, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ring The light and shade of border light adjusts the brightness of display panel 1041, and proximity sensor can close display when mobile phone is moved in one's ear Panel 1041 and/or backlight.Motion sensor may include acceleration transducer, can detect all directions by acceleration transducer The size of upper acceleration can detect that size and the direction of gravity when static, the application that can be used to identify mobile phone posture is (such as horizontal Vertical screen switches), Vibration identification correlation function (such as pedometer, tap) etc.;In addition, mobile phone can also configure gyroscope, barometer, Other sensors such as hygrometer, thermometer, infrared sensor etc..
Voicefrequency circuit 1060, loud speaker 1061 and microphone 1062 can provide the audio interface between user and mobile phone.Sound The transformed electric signal of the audio data received can be transferred to loud speaker 1061 by frequency circuit 1060, by 1061 turns of loud speaker It is changed to voice signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 1062, by voicefrequency circuit Audio data is converted to after 1060 receptions, then by after the processing of audio data output processor 1080, can be sent out through RF circuits 1010 Another mobile phone is given, or audio data is exported to memory 1020 so as to subsequent processing.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronics postal by WiFi module 1070 Part, browsing webpage and access streaming video etc., it has provided wireless broadband internet to the user and has accessed.Although Figure 10 is shown WiFi module 1070, but it is understood that, and it is not belonging to must be configured into for mobile phone 1000, it can save as needed Slightly.
Processor 1080 is the control centre of mobile phone, using the various pieces of various interfaces and connection whole mobile phone, By running or execute the software program and/or module that are stored in memory 1020, and calls and be stored in memory 1020 Interior data execute the various functions and processing data of mobile phone, to carry out integral monitoring to mobile phone.In one embodiment, Processor 1080 may include one or more processing units.In one embodiment, processor 1080 can integrate application processor And modem processor, wherein the main processing operation system of application processor, user interface and application program etc.;Modulatedemodulate Processor is adjusted mainly to handle wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor In 1080.
Mobile phone 1000 further includes the power supply 1090 (such as battery) powered to all parts, it is preferred that power supply can pass through Power-supply management system and processor 1080 are logically contiguous, to realize management charging, electric discharge, Yi Jigong by power-supply management system The functions such as consumption management.
In one embodiment, mobile phone 1000 can also include camera, bluetooth module etc..
In the embodiment of the present application, the processor 1080 included by the terminal device executes the calculating of storage on a memory The data processing method described in the various embodiments described above is realized when machine program.
When the execution of the computer program run on a processor, common data can uniformly be stored to public space In, memory space and system resource are saved while protecting privacy of user, keep terminal operating more smooth.
Used in this application may include to any reference of memory, storage, database or other media is non-volatile And/or volatile memory.Nonvolatile memory may include that read-only memory (ROM), programming ROM (PROM), electricity can be compiled Journey ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include random access memory (RAM), it is used as external cache.By way of illustration and not limitation, RAM is available in many forms, such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) directly RAM (RDRAM), straight Connect memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM).
The several embodiments of the application above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously Cannot the limitation to the application the scope of the claims therefore be interpreted as.It should be pointed out that for those of ordinary skill in the art For, under the premise of not departing from the application design, various modifications and improvements can be made, these belong to the guarantor of the application Protect range.Therefore, the protection domain of the application patent should be determined by the appended claims.

Claims (10)

1. a kind of data processing method, which is characterized in that including:
Preset spatial information and Role Information in reading terminals;Wherein, the spatial information includes for storing common data Public space and role space for storing private data;
The common data that multiple roles share is obtained, and the common data is stored in public space, by each role's Private data is stored in corresponding role space;
When the terminal operating, the spatial information is loaded according to the Role Information of active user.
2. according to the method described in claim 1, it is characterized in that, preset spatial information and role believe in the reading terminals Before breath, further include:
Create the public space of separate storage common data;The common data include at least common application, public contact person and One or more of public documents;
The size of data for detecting the common data determines the storage size of the public space according to the size of data.
3. according to the method described in claim 2, it is characterized in that, it is described create separate storage common data public space, Including:
The public identifier for obtaining the common data stores the data with the public identifier into default store path;
When storing data to the public space, identification needs whether the data stored carry the public identifier;
If it is not, being then not yet stored into public space, and stored to corresponding role space according to the privacy of data mark.
4. according to the method described in claim 1, it is characterized in that, described when the terminal operating, according to active user's Role Information loads the spatial information, including:
Obtain the Role Information for currently logining user;
The spatial information for needing to load is determined according to the corresponding access rights of the Role Information;
If it is visitor currently to login user, the data in public space are only loaded.
5. according to the method described in claim 4, it is characterized in that, described when the terminal operating, according to active user's Role Information loads the spatial information, further includes:
When detecting the operation of switching user, determine that the space for needing to switch is believed according to the access rights of the user after switching Breath;
If the user after switching is pre-set user, keeps the data of public space constant, it is corresponding to load the pre-set user The data in role space.
6. according to the method described in claim 1, it is characterized in that, described according to described in the load of the Role Information of active user After spatial information, further include:
When the first space in front stage operation state receives the notice of the second space in background operation state, detection Operation is checked with the presence or absence of notice;
If detecting, notice checks request, prompts user's validation information, and whether judges verification information input by user It is matched with default verification information;
If so, extracting the notification message of the second space, and the notification message is illustrated in the aobvious of first space Show in the page.
7. according to the method described in claim 1, it is characterized in that, the method further includes:
Obtain the operational order input by user for acting on user setup interface;The wherein described user setup interface is for being arranged angle Color information;
According to the operational order, the Role Information is set.
8. a kind of data processing equipment, which is characterized in that including:
Information reading module, for preset spatial information and Role Information in reading terminals;
Data acquisition module, the common data shared for obtaining multiple roles, and the common data is stored in public sky In, the private data of each role is stored in corresponding role space;
Space load-on module, for when the terminal operating, the spatial information to be loaded according to the Role Information of active user.
9. a kind of terminal, including memory and processor, computer program, the computer program are stored in the memory When being executed by the processor so that the processor executes the data processing method as described in any one of claim 1 to 7 The step of.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program The step of data processing method as described in any one of claim 1 to 7 is realized when being executed by processor.
CN201810272186.4A 2018-03-29 2018-03-29 Data processing method and device, terminal and computer readable storage medium Active CN108536783B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810272186.4A CN108536783B (en) 2018-03-29 2018-03-29 Data processing method and device, terminal and computer readable storage medium
PCT/CN2019/077531 WO2019184684A1 (en) 2018-03-29 2019-03-08 Data processing method and apparatus, and terminal and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810272186.4A CN108536783B (en) 2018-03-29 2018-03-29 Data processing method and device, terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN108536783A true CN108536783A (en) 2018-09-14
CN108536783B CN108536783B (en) 2021-03-02

Family

ID=63481575

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810272186.4A Active CN108536783B (en) 2018-03-29 2018-03-29 Data processing method and device, terminal and computer readable storage medium

Country Status (2)

Country Link
CN (1) CN108536783B (en)
WO (1) WO2019184684A1 (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109656456A (en) * 2018-12-25 2019-04-19 杭州达现科技有限公司 A kind of catalogue sharing method and device of display interface
CN109683772A (en) * 2018-12-25 2019-04-26 杭州达现科技有限公司 A kind of catalogue combination method and device based on display interface
CN109933294A (en) * 2019-03-26 2019-06-25 努比亚技术有限公司 Data processing method, device, wearable device and storage medium
WO2019184684A1 (en) * 2018-03-29 2019-10-03 Oppo广东移动通信有限公司 Data processing method and apparatus, and terminal and computer-readable storage medium
CN110471870A (en) * 2019-08-14 2019-11-19 Oppo广东移动通信有限公司 Method, apparatus, electronic equipment and the storage medium of multisystem operation
CN110852634A (en) * 2019-11-14 2020-02-28 启迪数华科技有限公司 Data storage method, storage device, server, readable storage medium and equipment
CN111460481A (en) * 2020-04-14 2020-07-28 Oppo广东移动通信有限公司 Privacy protection method, device and equipment based on terminal equipment
CN112882652A (en) * 2021-01-18 2021-06-01 深圳市华联通信息系统有限公司 Network sharing storage system and method
CN112905328A (en) * 2021-03-04 2021-06-04 杭州海康威视数字技术股份有限公司 Task processing method and device and computer readable storage medium
CN114936360A (en) * 2022-07-25 2022-08-23 宁波均联智行科技股份有限公司 Data management method of vehicle-mounted driving recording device and vehicle machine
CN115296883A (en) * 2022-08-01 2022-11-04 杭州虎符网络有限公司 Method and device for data security access and electronic equipment
CN116679883A (en) * 2023-06-13 2023-09-01 博泰车联网(南京)有限公司 Information storage method for vehicle, electronic device, and computer-readable storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1674695A (en) * 2004-03-23 2005-09-28 上海迪比特实业有限公司 Personal information security method based on user recognition card
US20070079145A1 (en) * 1994-10-27 2007-04-05 Intarsia Software Llc Data copyright management
CN102263846A (en) * 2011-08-15 2011-11-30 中兴通讯股份有限公司 User information storing method and device
CN102307255A (en) * 2011-08-15 2012-01-04 中兴通讯股份有限公司 Mobile phone and subscriber information storage method thereof
CN102572091A (en) * 2010-12-22 2012-07-11 Lg电子株式会社 Mobile terminal and method of sharing information therein
CN105446901A (en) * 2015-12-28 2016-03-30 青岛海信移动通信技术股份有限公司 Data processing method and device for multi-user terminal
CN105641934A (en) * 2015-12-25 2016-06-08 北京像素软件科技股份有限公司 Method and device for switching player characters in one account in real time
CN105912954A (en) * 2016-05-16 2016-08-31 北京珠穆朗玛移动通信有限公司 Privacy information protection method and system suitable for mobile terminal
CN106095220A (en) * 2016-05-30 2016-11-09 北京小米移动软件有限公司 Notification message reminding method and device
CN106375349A (en) * 2016-11-29 2017-02-01 北京元心科技有限公司 Multi-system notification message processing method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB0722267D0 (en) * 2007-11-13 2007-12-27 Vodafone Plc Telecommunications device security
CN106886416B (en) * 2017-03-08 2020-03-17 北京小米移动软件有限公司 Multi-user spatial processing method and device
CN108536783B (en) * 2018-03-29 2021-03-02 Oppo广东移动通信有限公司 Data processing method and device, terminal and computer readable storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070079145A1 (en) * 1994-10-27 2007-04-05 Intarsia Software Llc Data copyright management
CN1674695A (en) * 2004-03-23 2005-09-28 上海迪比特实业有限公司 Personal information security method based on user recognition card
CN102572091A (en) * 2010-12-22 2012-07-11 Lg电子株式会社 Mobile terminal and method of sharing information therein
CN102263846A (en) * 2011-08-15 2011-11-30 中兴通讯股份有限公司 User information storing method and device
CN102307255A (en) * 2011-08-15 2012-01-04 中兴通讯股份有限公司 Mobile phone and subscriber information storage method thereof
CN105641934A (en) * 2015-12-25 2016-06-08 北京像素软件科技股份有限公司 Method and device for switching player characters in one account in real time
CN105446901A (en) * 2015-12-28 2016-03-30 青岛海信移动通信技术股份有限公司 Data processing method and device for multi-user terminal
CN105912954A (en) * 2016-05-16 2016-08-31 北京珠穆朗玛移动通信有限公司 Privacy information protection method and system suitable for mobile terminal
CN106095220A (en) * 2016-05-30 2016-11-09 北京小米移动软件有限公司 Notification message reminding method and device
CN106375349A (en) * 2016-11-29 2017-02-01 北京元心科技有限公司 Multi-system notification message processing method and device

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019184684A1 (en) * 2018-03-29 2019-10-03 Oppo广东移动通信有限公司 Data processing method and apparatus, and terminal and computer-readable storage medium
CN109683772A (en) * 2018-12-25 2019-04-26 杭州达现科技有限公司 A kind of catalogue combination method and device based on display interface
CN109656456B (en) * 2018-12-25 2020-10-20 杭州达现科技有限公司 Display interface directory sharing method and device
CN109656456A (en) * 2018-12-25 2019-04-19 杭州达现科技有限公司 A kind of catalogue sharing method and device of display interface
CN109933294B (en) * 2019-03-26 2023-10-17 努比亚技术有限公司 Data processing method and device, wearable device and storage medium
CN109933294A (en) * 2019-03-26 2019-06-25 努比亚技术有限公司 Data processing method, device, wearable device and storage medium
CN110471870A (en) * 2019-08-14 2019-11-19 Oppo广东移动通信有限公司 Method, apparatus, electronic equipment and the storage medium of multisystem operation
CN110852634A (en) * 2019-11-14 2020-02-28 启迪数华科技有限公司 Data storage method, storage device, server, readable storage medium and equipment
CN111460481A (en) * 2020-04-14 2020-07-28 Oppo广东移动通信有限公司 Privacy protection method, device and equipment based on terminal equipment
CN112882652A (en) * 2021-01-18 2021-06-01 深圳市华联通信息系统有限公司 Network sharing storage system and method
CN112905328B (en) * 2021-03-04 2023-09-19 杭州海康威视数字技术股份有限公司 Task processing method, device and computer readable storage medium
CN112905328A (en) * 2021-03-04 2021-06-04 杭州海康威视数字技术股份有限公司 Task processing method and device and computer readable storage medium
CN114936360A (en) * 2022-07-25 2022-08-23 宁波均联智行科技股份有限公司 Data management method of vehicle-mounted driving recording device and vehicle machine
CN114936360B (en) * 2022-07-25 2024-05-28 宁波均联智行科技股份有限公司 Data management method of vehicle-mounted driving recording device and vehicle machine
CN115296883A (en) * 2022-08-01 2022-11-04 杭州虎符网络有限公司 Method and device for data security access and electronic equipment
CN116679883A (en) * 2023-06-13 2023-09-01 博泰车联网(南京)有限公司 Information storage method for vehicle, electronic device, and computer-readable storage medium
CN116679883B (en) * 2023-06-13 2024-02-02 博泰车联网(南京)有限公司 Information storage method for vehicle, electronic device, and computer-readable storage medium

Also Published As

Publication number Publication date
WO2019184684A1 (en) 2019-10-03
CN108536783B (en) 2021-03-02

Similar Documents

Publication Publication Date Title
CN108536783A (en) Data processing method and device, terminal, computer readable storage medium
CN106778175B (en) Interface locking method and device and terminal equipment
CN106293751A (en) A kind of method showing information on the terminal device and terminal unit
CN103457951A (en) Method and device for allowing multiple terminals to login to server
US11017066B2 (en) Method for associating application program with biometric feature, apparatus, and mobile terminal
CN104901805B (en) A kind of identification authentication methods, devices and systems
CN103606211A (en) Method, equipment and system used for realization of intelligent entrance guard
CN107437009A (en) Authority control method and related product
CN108521494A (en) Terminal control method and device, readable storage medium storing program for executing, terminal
CN108616652A (en) Data guard method and device, terminal, computer readable storage medium
CN108537027A (en) Resource allocation methods and device, terminal, computer readable storage medium
CN108334755A (en) Private space creation method and device, storage medium, electronic equipment
US20210240807A1 (en) Authentication method for mobile terminal and mobile terminal
CN108604265A (en) The method and terminal device of outline management application program usage time
CN108563932A (en) Application control method and apparatus, readable storage medium storing program for executing, terminal
CN108537058A (en) The polygonal color application method and device, computer readable storage medium, terminal of terminal
CN108537037A (en) Privacy control method and device, computer readable storage medium, terminal
CN108632454B (en) Information processing method and device, computer readable storage medium and terminal
CN108573168A (en) Private space starts method and apparatus, storage medium, electronic equipment
CN108573169A (en) Nearest task list display methods and device, storage medium, electronic equipment
CN104104656A (en) Account retrieving method and device
CN104573437A (en) Information authentication method, device and terminal
CN104426848B (en) The method and system of log-on webpage application
CN107577933B (en) Application login method and device, computer equipment and computer readable storage medium
CN107102913B (en) Data back up method, device and computer 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
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: Guangdong Opel Mobile Communications Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant