CN108563516A - Using data anti-lost method and device, storage medium, electronic equipment - Google Patents
Using data anti-lost method and device, storage medium, electronic equipment Download PDFInfo
- Publication number
- CN108563516A CN108563516A CN201810274180.0A CN201810274180A CN108563516A CN 108563516 A CN108563516 A CN 108563516A CN 201810274180 A CN201810274180 A CN 201810274180A CN 108563516 A CN108563516 A CN 108563516A
- Authority
- CN
- China
- Prior art keywords
- application
- data
- anything
- attending
- main
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/544—Buffers; Shared memory; Pipes
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/545—Interprogram communication where tasks reside in different layers, e.g. user- and kernel-space
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/52—Program synchronisation; Mutual exclusion, e.g. by means of semaphores
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
This application involves a kind of application data anti-lost method and device, electronic equipment, computer readable storage mediums, obtain the specified application of one group run in the electronic equipment for supporting more spaces, one group of specified application includes main application and corresponding application of attending to anything else, and it is to be separately operable the application of the same name in the different spaces of electronic equipment that main application and attending to anything else, which is applied,;When detecting that the operating status of any one in main application and corresponding application of attending to anything else changes, then the data by main application and corresponding application of attending to anything else are shared;The data after sharing are obtained to be stored to prevent loss of data.For running on the application of the same name of different spaces, when detecting that the operating status of one of application changes, then the data by main application and corresponding application of attending to anything else are shared.Data sharing is only just carried out when the operating status of application changes, and so just will not excessively occupy resource.
Description
Technical field
This application involves field of computer technology, are situated between more particularly to a kind of application data anti-lost method and device, storage
Matter, electronic equipment.
Background technology
With universal and mobile Internet the rapid development of mobile terminal, user's usage amount of mobile terminal is increasingly
Greatly.In the equipment for supporting more spaces, data sharing can be carried out by operating between the application of the same name in different spaces.But work as
After having disabled certain application in one of space, this applies the data in the space that will be deleted, and can not restore.Cause
This can also find the data of the application, be unlikely to delete nothing after how having disabled some application in some space
Method is restored.
Invention content
A kind of application data anti-lost method of the embodiment of the present application offer and device, storage medium, electronic equipment, can be effective
It prevents from applying loss of data.
A kind of application data anti-lost method, which is characterized in that including:
The specified application of one group run in the electronic equipment for supporting more spaces is obtained, described one group specified application includes master
Using with corresponding application of attending to anything else, the main application and attend to anything else using to be separately operable in the different spaces of the electronic equipment
Application of the same name;
When detecting that the operating status of any one in the main application and corresponding application of attending to anything else changes, then
The data of the main application and corresponding application of attending to anything else are shared;
The data after sharing are obtained to be stored to prevent loss of data.
A kind of more space application data anti-lost methods, which is characterized in that described device includes:
It is specified to apply acquisition module, for obtaining the one group of specified application run in the electronic equipment for supporting more spaces,
Described one group specified application includes main application and corresponding application of attending to anything else, it is described it is main apply and attend to anything else apply to be separately operable in institute
State the application of the same name in the different spaces of electronic equipment;
Data sharing module, for working as the operation of any one detected in the main application and corresponding application of attending to anything else
When state changes, then the data by the main application and corresponding application of attending to anything else are shared;
Data memory module is stored for obtaining the data after sharing to prevent loss of data.
A kind of computer readable storage medium, is stored thereon with computer program, and the computer program is held by processor
The step of applying data anti-lost method as described above is realized when row.
A kind of electronic equipment, including memory, processor and storage are on a memory and the meter that can run on a processor
Calculation machine program, processor execute the step of applying data anti-lost method as described above when executing computer program.
Above application data anti-lost method and device, storage medium, electronic equipment, acquisition run on the electricity for supporting more spaces
One group in sub- equipment specified application, one group of specified application include main application and corresponding application of attending to anything else, it is main apply and attend to anything else answer
With to be separately operable the application of the same name in the different spaces of electronic equipment;When detect it is main application and corresponding application of attending to anything else in
The operating status of any one when changing, then the data by main application and corresponding application of attending to anything else are shared;It obtains
Data after shared are stored to prevent loss of data.For running on application of the same name (including the main application of different spaces
With corresponding application of attending to anything else), when detecting that the operating status of one of application changes, then by main application and corresponding
The data of application of attending to anything else are shared, and the data of the application are deleted when changing so as to avoid the state of application leads to nothing
Method is restored.And data sharing is only just carried out when the operating status of application changes, do not have to carry out data sharing in real time, such as
This just will not excessively occupy resource.
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 internal structure chart of electronic equipment in one embodiment;
Fig. 2 is the flow chart that data anti-lost method is applied in one embodiment;
Fig. 3 is the flow chart of data sharing method in Fig. 2;
Fig. 4 is the flow chart of another data sharing method in Fig. 2;
Fig. 5 is that the flow chart for specifying application process is obtained in Fig. 2;
Fig. 6 is the structural schematic diagram that data anti-losing device is applied in one embodiment;
Fig. 7 is the structural schematic diagram of data sharing module in Fig. 6;
Fig. 8 is the structural schematic diagram of another data sharing module in Fig. 6;
Fig. 9 is the block diagram of the part-structure of the relevant mobile phone of electronic equipment provided in one embodiment.
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.
Fig. 1 is the internal structure schematic diagram of electronic equipment in one embodiment.As shown in Figure 1, the electronic equipment includes logical
Cross processor, memory and the network interface of system bus connection.Wherein, which is used to provide calculating and control ability,
Support the operation of entire electronic equipment.Memory for storing data, program etc., at least one computer journey is stored on memory
Sequence, the computer program can be executed by processor, to realize the application suitable for electronic equipment provided in the embodiment of the present application
Data anti-lost method.Memory may include that magnetic disc, CD, read-only memory (Read-Only Memory, ROM) etc. are non-easily
The property lost storage medium or random access memory (Random-Access-Memory, RAM) etc..For example, in one embodiment
In, memory includes non-volatile memory medium and built-in storage.Non-volatile memory medium is stored with operating system and calculating
Machine program.The computer program can be performed by processor, for a kind of realization application that each embodiment is provided below
Data anti-lost method.Built-in storage provides the fortune of cache for the operating system computer program in non-volatile memory medium
Row environment.Network interface can be Ethernet card or wireless network card etc., for being communicated with external electronic equipment.The electronics
Equipment can be mobile phone, tablet computer or personal digital assistant or Wearable etc..
In one embodiment, as shown in Fig. 2, providing a kind of application data anti-lost method, it is applied to Fig. 1 in this way
In electronic equipment for illustrate, including:
Step 220, the specified application of one group run in the electronic equipment for supporting more spaces, one group of specified application packet are obtained
Main application and corresponding application of attending to anything else are included, it is main to apply and attend to anything else using same in the different spaces of electronic equipment to be separately operable
Name application.
Support the electronic equipment in more spaces refers to can support multiple spaces on electronic equipment while run, for example, one
A normed space and a private space are run simultaneously.Normed space refers in electronic equipment for any user all visible one
A space, and private space is a space for needing user that can just enter after authentication, it can in this space
See some applications and the information etc. that user hides.Under normal circumstances, normed space and private space are independently operated.Using
Double open refers on same electronic equipment while running at least two identical application programs, and using can be with using double technologies of opening
It realizes that same application can open simultaneously at least two processes, and all processes being opened while running, thus may be used
To meet the needs of same user or different user start multiple same applications by multiple accounts, provided just for the use of user
Profit.Specified application in the embodiment of the present application, refer to be exactly that application is double open and be separately operable in different spaces of the same name answers
With.One group of specified application includes main application and corresponding application of attending to anything else, and it is to be separately operable to set in electronics that main application and attending to anything else, which is applied,
Application of the same name in standby different spaces.Wherein, main application is generally the application run in normed space, and attends to anything else to apply and be
Run on non-standard space with main using application of the same name.Main application is generally one, and the number for application of attending to anything else can be
One, naturally it is also possible to be multiple.Can also be multiple for example, running multiple applications of attending to anything else in a non-standard space
Multiple applications of attending to anything else are run in non-quasi- space, are all one-to-one relationships.
Step 240, when detect it is main application and it is corresponding attend to anything else application in the operating status of any one change
When, then the data by main application and corresponding application of attending to anything else are shared.
In the embodiment of the present application, because without the application program of the same name operated in different spaces progress data are total in real time
It enjoys, therefore just needs to detect the operating status of each group of specified application in real time, include the operating status of main application and application of attending to anything else.
Different applications of the same name is independently operated under normal circumstances, so the data between different applications of the same name are also that can not be total to
It enjoys.When the operating status of any one in the main application and corresponding application of attending to anything else in a certain group of specified application changes
When, then the data by main application and corresponding application of attending to anything else are shared.Specifically, it can be application that operating status, which changes,
It is disabled, using the emergency cases such as software mandatory pause for releasing disabling, the software crash of application, application.Above-mentioned fortune is occurring
When row state changes, the data being normally applied will be deleted or disappear, and therefore, when facing these situations, how could
It prevents from applying loss of data.The operation shape of any one in detecting main application and corresponding application of attending to anything else is herein proposed
When state changes, then the data by main application and corresponding application of attending to anything else are shared.Specifically, if in some space
The attend to anything else operating status of application of some of middle operation changes, then this is attended to anything else using corresponding data transmission to transporting immediately
Row is kept under the application of the same name in another space, so as to avoid the thorough loss of data.When this is attended to anything else using extensive
When multiple normal use, then temporary application data can be got under the application of the same name and directly be used, be not in
The normal use of user is caused to perplex because data are lost.
Step 260, the data after sharing are obtained to be stored to prevent loss of data.
The data of main application and corresponding application of attending to anything else are shared, are usually answered what operating status was changed
It is kept under the application of the same name of normal operation in data sharing to other spaces, to it is prevented that loss of data.
In the embodiment of the present application, the specified application of one group run in the electronic equipment for supporting more spaces is obtained, one group refers to
It includes main apply and corresponding application of attending to anything else, main application and the Bu Tong sky applied to be separately operable in electronic equipment of attending to anything else to determine application
Between in application of the same name;When detect it is main application and it is corresponding attend to anything else application in the operating status of any one change
When, then the data by main application and corresponding application of attending to anything else are shared;The data after sharing are obtained to be stored to prevent
Loss of data.For running on the application of the same name (including main application and corresponding application of attending to anything else) of different spaces, when detecting it
In an application operating status when changing, then the data by main application and corresponding application of attending to anything else are shared, to
It avoids and deletes the data of the application when state of application changes and lead to not restore.And only in the operation shape of application
Data sharing is just carried out when state changes, and is not had to carry out data sharing in real time, so just will not excessively be occupied resource.
In one embodiment, as shown in figure 3, step 240, when detecting appointing in main application and corresponding application of attending to anything else
When the operating status of meaning one changes, then the data by main application and corresponding application of attending to anything else are shared, including:
Step 242, when detect it is main application and it is corresponding attend to anything else application in any one it is disabled when, then obtain banned
The corresponding data of application, data are the first data.
Specifically, each group of specified application is detected in real time, includes the operating status of main application and application of attending to anything else.When a certain group
In main application and corresponding application of attending to anything else in specified application any one it is disabled when, then by main application and corresponding attend to anything else
The data of application are shared.Disabling refers to that the application by the state change of normal use is the state being prohibited from using.And
The data of application program can be deleted under disabled status, and irrecoverable.When the application in some space it is disabled it
Afterwards, then the corresponding data of forbidden application are obtained, and are the first data by numerical nomenclature.
Step 244, by first data transmission to forbidden using being kept in application of the same name.
After the application in some space is disabled, then found in other spaces corresponding with forbidden application same
Name application.After obtaining application of the same name corresponding with forbidden application, first data transmission of the same name is answered to this immediately
It is kept under.
In the embodiment of the present application, after detecting that the application in some space is disabled, then found in other spaces
Application of the same name corresponding with forbidden application.After obtaining application of the same name corresponding with forbidden application, immediately will
It is kept under first data transmission to the application of the same name.It is therefore not required in real time to operating in the applications of the same name of different spaces
Data between carry out data sharing, and the only just progress data sharing when application is disabled so just will not be occupied excessively
Resource.
In one embodiment, as shown in figure 4, step 244, by first data transmission to of the same name with forbidden application
Application in carry out it is temporary after, including:
Step 246, it when detecting that forbidden application releases disabling, then will be temporarily stored in forbidden using of the same name
The first data back in is to forbidden application.
Because can be deleted the data of application program under disabled status, and irrecoverable.So when using banned
Used time, using after obtaining application of the same name corresponding with forbidden application, immediately by forbidden first data transmission
It is kept under to the application of the same name, to prevent the thorough loss of data.When the forbidden application releases disabling, then
The releasing disabling after application can from operate under the application of the same name in another space get itself first number
According to the i.e. application of the same name can be by the application after the first data back to releasing disabling so that the application directly restores just
It is often used.
In the embodiment of the present application, when detecting that forbidden application releases disabling, then it will be temporarily stored in and be answered with forbidden
With the first data back in application of the same name to forbidden application.Because ought detect in some space and apply quilt before
After disabling, then application of the same name corresponding with forbidden application is found in other spaces.It is answered with forbidden obtaining
After corresponding application of the same name, it will be kept under first data transmission to the application of the same name immediately.So ensuring that this
The data for releasing the application program after disabling are not lost, directly start normal use convenient for user.
In one embodiment, as shown in figure 5, step 220, obtains one run in the electronic equipment for supporting more spaces
The specified application of group, including:
Step 222, a main application is obtained in normed space.
Step 224, judge to whether there is with main using application of the same name in another space opposite with normed space.
First, it obtains an application at random from normed space, generally the application operated in normed space is known as leading
Using.Then judge to whether there is in another space opposite with normed space and (attend to anything else using application of the same name with main
Using).For example, obtaining one at random in normed space applies QQ, then judge in another sky opposite with normed space
Between in the presence or absence of with main apply QQ using of the same name.The data between different applications of the same name are can not to be total under normal circumstances
It enjoys.
Step 226, and if it exists, then obtain with main using the corresponding application of attending to anything else of the application main application of conduct of the same name.
Step 228, main application and it is corresponding with main application attend to anything else specified apply using constituting one group.
If existing with main using application of the same name, by the application of the same name in another space opposite with normed space
As the application of attending to anything else of main application, the main application and it is corresponding with the main application attend to anything else specified apply using constituting one group.It is specified
Using what is referred to is exactly the double same applications opened and be separately operable in different spaces of application.
In the embodiment of the present application, in the electronic equipment for supporting more spaces, obtains operate in different spaces of the same name and answer
With, in case subsequently when the operating status of an application changes, if this is applied in other spaces there are application of the same name,
And data sharing may be implemented between these applications of the same name, then the data of the changed application of the operating status can be passed
Other applications of the same name are transported to be kept in, so as to avoid the changed application of the operating status loss of data the problem of.
In one embodiment, another space opposite with normed space is private space.
In the embodiment of the present application, in the electronic equipment for supporting more spaces, a normed space is run under normal circumstances, when
A private space can also be so run, some users answering for privacy settings can be carried out for users to use in the private space
With.
In one embodiment, method further includes:It is specified in advance at one group and opens data sharing between applying.
In the embodiment of the present application, when detect it is main application and it is corresponding attend to anything else application in the operating status of any one hair
When changing, then the data by main application and corresponding application of attending to anything else are shared.All applications of the same name can be opened in advance
Between data sharing, in this way when detect it is main application and it is corresponding attend to anything else application in the operating status of any one become
When changing, and needing to carry out data sharing, so that it may directly to carry out data sharing in time.If avoid it is shared in turn-on data at this time and
Caused by loss of data.
In one embodiment, when detect it is main application and it is corresponding attend to anything else application in the operating status of any one hair
When changing, then the data by main application and corresponding application of attending to anything else are shared, including:
When detecting that the operating status of any one in main application and corresponding application of attending to anything else changes, then judge
Whether data sharing is opened using between corresponding application of attending to anything else;
If so, the data of main application and corresponding application of attending to anything else are shared.
Specifically, when detect it is main application and it is corresponding attend to anything else application in the operating status of any one change
When, then obtain corresponding first data of forbidden application.Then it gets in other spaces and becomes with the operating status
The corresponding application of the same name of application of change.After having got application of the same name again, it is also necessary to judge between application of the same name i.e. application and
Whether data sharing is opened between corresponding application of attending to anything else.It, at this time can be directly by the first number if opening data sharing
It is shared according between application of the same name, so as to avoid the loss of data.
In the embodiment of the present application, obtain corresponding first data of forbidden application, got in other spaces with
After the corresponding application of the same name of the changed application of the operating status, further judge to open data between application of the same name total
It enjoys.If opening data sharing, directly the first data can be shared between application of the same name at this time, so as to avoid
The loss of data.If non-turn-on data is shared, data sharing cannot be carried out, needs to open in time using other methods at this time
Data sharing reduces the loss of data to the greatest extent.
In one embodiment, as shown in fig. 6, providing a kind of application data anti-losing device 600, device includes:It is specified
Using acquisition module 620, data sharing module 640 and data memory module 660.Wherein,
It is specified to apply acquisition module 620, it specifies for obtaining one group run in the electronic equipment for supporting more spaces and answers
Include main application and corresponding application of attending to anything else with, one group of specified application, it is to be separately operable to set in electronics that main application and attending to anything else, which is applied,
Application of the same name in standby different spaces;
Data sharing module 640, for working as the operation of any one detected in main application and corresponding application of attending to anything else
When state changes, then the data by main application and corresponding application of attending to anything else are shared;
Data memory module 660 is stored for obtaining the data after sharing to prevent loss of data.
In one embodiment, as shown in fig. 7, data sharing module 640, including:
First data acquisition module 642, for working as any one quilt detected in main application and corresponding application of attending to anything else
When disabling, then the corresponding data of forbidden application are obtained, data are the first data;
First data temporary storage module 644, for by first data transmission to it is forbidden using in application of the same name into
Row is temporary.
In one embodiment, as shown in figure 8, data sharing module 640, further includes:First data back module 646,
For when detecting that forbidden application releases disabling, then by be temporarily stored in it is forbidden using in application of the same name first
Data back is to forbidden application.
In one embodiment, it specifies and applies acquisition module 620, be additionally operable to obtain a main application in normed space;
Judge to whether there is with main using application of the same name in another space opposite with normed space;If in the presence of, obtain with
It is main to apply corresponding application of attending to anything else as main using application of the same name;Main application and application of attending to anything else corresponding with main application constitute one
The specified application of group.
In one embodiment, a kind of application data anti-losing device 600 is provided, further includes data sharing opening unit,
For opening data sharing between specified application at one group in advance.
In one embodiment, data sharing module 640 is additionally operable to detect in main application and corresponding application of attending to anything else
The operating status of any one when changing, then judge to apply whether to open data between corresponding application of attending to anything else total
It enjoys;
If so, the data of main application and corresponding application of attending to anything else are shared.
The division of modules is only used for for example, in other embodiments in above application data anti-losing device, can
Different modules will be divided into as required using data anti-losing device, with complete above application data anti-losing device whole or
Partial function.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated
The step of application data anti-lost method that the various embodiments described above are provided is realized when machine program is executed by processor.
In one embodiment, a kind of electronic equipment is provided, including memory, processor and storage are on a memory simultaneously
The computer program that can be run on a processor, what realization the various embodiments described above were provided when processor executes computer program answers
The step of with data anti-lost method.
The embodiment of the present application also provides a kind of computer program products, when run on a computer so that calculate
Machine executes the step of application data anti-lost method that the various embodiments described above are provided.、
The embodiment of the present application also provides a kind of electronic equipment.As shown in figure 9, for convenience of description, illustrating 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 electronics 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 electronic equipment as mobile phone
For:
Fig. 9 is the block diagram with the part-structure of the relevant mobile phone of electronic equipment provided by the embodiments of the present application.With reference to figure 9,
Mobile phone includes:Radio frequency (Radio Frequency, RF) circuit 910, input unit 930, display unit 940, passes memory 920
Sensor 950, voicefrequency circuit 990, Wireless Fidelity (wireless fidelity, WiFi) module 970, processor 980, Yi Ji electricity
The components such as source 990.It, can be with it will be understood by those skilled in the art that handset structure shown in Fig. 9 does not constitute the restriction to mobile phone
Including than illustrating more or fewer components, either combining certain components or different components arrangement.
Wherein, RF circuits 910 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 980;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 910 can also be communicated with network and other equipment by radio communication.Above-mentioned channel radio
Letter 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 920 can be used for storing software program and module, and processor 980 is stored in memory 920 by operation
Software program and module, to execute various function application and the data processing of mobile phone.Memory 920 can include mainly
Program storage area and data storage area, wherein program storage area can storage program area, the application journey needed at least one function
Sequence (such as the application program of sound-playing function, application program of image player function etc.) etc.;Data storage area can store root
Created data (such as audio data, address list etc.) etc. are used according to mobile phone.In addition, memory 920 may include high speed
Random access memory, can also include nonvolatile memory, a for example, at least disk memory, flush memory device or
Other volatile solid-state parts.
Input unit 930 can be used for receiving the number or character information of input, and generate the user setting with mobile phone 900
And the related key signals input of function control.Specifically, input unit 930 may include touch panel 931 and other inputs
Equipment 932.Touch panel 931, alternatively referred to as touch screen collect user on it or neighbouring touch operation (such as user
Use the operation of any suitable object or attachment such as finger, stylus on touch panel 931 or near touch panel 931),
And corresponding attachment device is driven according to preset formula.In one embodiment, touch panel 931 may include touching inspection
Survey two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation
The signal brought, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and will
It is converted into contact coordinate, then gives processor 980, and can receive order that processor 980 is sent and be executed.In addition,
The multiple types such as resistance-type, condenser type, infrared ray and surface acoustic wave may be used and realize touch panel 931.In addition to touch surface
Plate 931, input unit 930 can also include other input equipments 932.Specifically, other input equipments 932 may include but not
It is limited to one or more in physical keyboard, function key (such as volume control button, switch key etc.) etc..
Display unit 940 can be used for showing information input by user or be supplied to user information and mobile phone it is various
Menu.Display unit 940 may include display panel 941.In one embodiment, liquid crystal display (Liquid may be used
Crystal Display, LCD), the forms such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED)
To configure display panel 941.In one embodiment, touch panel 931 can cover display panel 941, when touch panel 931 is examined
It measures and sends processor 980 on it or after neighbouring touch operation to determine the type of touch event, be followed by subsequent processing device
980 provide corresponding visual output according to the type of touch event on display panel 941.Although in fig.9, touch panel
931 be to realize input and the input function of mobile phone as two independent components with display panel 941, but in certain implementations
In example, can be integrated by touch panel 931 and display panel 941 and that realizes mobile phone output and input function.
Mobile phone 900 may also include at least one sensor 950, such as optical sensor, motion sensor and other sensings
Device.Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 941, and proximity sensor can close display panel when mobile phone is moved in one's ear
941 and/or backlight.Motion sensor may include acceleration transducer, can detect by acceleration transducer and adds in all directions
The size of speed can detect that size and the direction of gravity when static, can be used to identify application (such as the horizontal/vertical screen of mobile phone posture
Switching), Vibration identification correlation function (such as pedometer, tap) etc.;In addition, mobile phone can also configure gyroscope, barometer, humidity
Other sensors such as meter, thermometer, infrared sensor etc..
Voicefrequency circuit 990, loud speaker 991 and microphone 992 can provide the audio interface between user and mobile phone.Audio-frequency electric
The transformed electric signal of the audio data received can be transferred to loud speaker 991 by road 990, and sound is converted to by loud speaker 991
Signal exports;On the other hand, the voice signal of collection is converted to electric signal by microphone 992, is turned after being received by voicefrequency circuit 990
It is changed to audio data, then by after the processing of audio data output processor 980, another mobile phone can be sent to through RF circuits 910, or
Person exports audio data to memory 920 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 970
Part, browsing webpage and access streaming video etc., it has provided wireless broadband internet to the user and has accessed.Although Fig. 9 is shown
WiFi module 970, but it is understood that, and it is not belonging to must be configured into for mobile phone 900, it can omit as needed.
Processor 980 is the control centre of mobile phone, using the various pieces of various interfaces and connection whole mobile phone, is led to
It crosses operation or executes the software program and/or module being stored in memory 920, and call and be stored in memory 920
Data execute the various functions and processing data of mobile phone, to carry out integral monitoring to mobile phone.In one embodiment, it handles
Device 980 may include one or more processing units.In one embodiment, processor 980 can integrate application processor and modulation
Demodulation processor, wherein the main processing operation system of application processor, user interface and application program etc.;Modulation /demodulation is handled
Device mainly handles wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 980.
Mobile phone 900 further includes the power supply 990 (such as battery) powered to all parts, it is preferred that power supply can pass through electricity
Management system and processor 980 are logically contiguous, to realize management charging, electric discharge and power consumption by power-supply management system
The functions such as management.
In one embodiment, mobile phone 900 can also include camera, bluetooth module etc..
Used in this application may include to any reference of memory, storage, database or other media is non-volatile
And/or volatile memory.Suitable nonvolatile memory may include read-only memory (ROM), programming ROM (PROM),
Electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include arbitrary access
Memory (RAM), it is used as external cache.By way of illustration and not limitation, RAM is available in many forms, such as
It is static RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhanced
SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM
(RDRAM), direct 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 application data anti-lost method, which is characterized in that including:
The specified application of one group run in the electronic equipment for supporting more spaces is obtained, described one group specified application includes main application
With corresponding application of attending to anything else, the main application and application of attending to anything else are same in the different spaces of the electronic equipment to be separately operable
Name application;
When detecting that the operating status of any one in the main application and corresponding application of attending to anything else changes, then by institute
The data for stating main application and corresponding application of attending to anything else are shared;
The data after sharing are obtained to be stored to prevent loss of data.
2. according to the method described in claim 1, it is characterized in that, it is described when detect it is described it is main application and it is corresponding attend to anything else answer
When the operating status of any one in changes, then the data by the main application and corresponding application of attending to anything else are total to
It enjoys, including:
When detect it is described it is main application and it is corresponding attend to anything else application in any one it is disabled when, then obtain forbidden application
Corresponding data, the data are the first data;
By the first data transmission to it is described forbidden using being kept in application of the same name.
3. according to the method described in claim 1, it is characterized in that, by the first data transmission to it is described forbidden
Using carried out in application of the same name it is temporary after, including:
When detecting that the forbidden application releases disabling, then will be temporarily stored in it is described forbidden using application of the same name
In first data back to the forbidden application.
4. according to the method described in claim 1, it is characterized in that, the acquisition is run in the electronic equipment for supporting more spaces
One group of specified application, including:
A main application is obtained in normed space;
Judge in another space opposite with normed space with the presence or absence of with it is described main using application of the same name;
If in the presence of, obtain with it is described main using the corresponding application of attending to anything else of the application conduct of the same name main application;
The main application and it is corresponding with the main application attend to anything else specified apply using constituting one group.
5. according to the method described in claim 4, it is characterized in that, described another space opposite with normed space is privacy
Space.
6. according to the method described in claim 1, it is characterized in that, the method further includes:
It is specified in advance at described one group and opens data sharing between applying.
7. according to the method described in claim 1, it is characterized in that, it is described when detect it is described it is main application and it is corresponding attend to anything else answer
When the operating status of any one in changes, then the data by the main application and corresponding application of attending to anything else are total to
It enjoys, including:
When detecting that the operating status of any one in the main application and corresponding application of attending to anything else changes, then judge
Whether data sharing is opened between the application and corresponding application of attending to anything else;
If so, the data of the main application and corresponding application of attending to anything else are shared.
8. a kind of more space application data anti-lost methods, which is characterized in that described device includes:
It is specified to apply acquisition module, it is described for obtaining the one group of specified application run in the electronic equipment for supporting more spaces
One group of specified application includes main application and corresponding application of attending to anything else, and it is to be separately operable in the electricity that the main application and attending to anything else, which is applied,
Application of the same name in the different spaces of sub- equipment;
Data sharing module, for working as the operating status of any one detected in the main application and corresponding application of attending to anything else
When changing, then the data by the main application and corresponding application of attending to anything else are shared;
Data memory module is stored for obtaining the data after sharing to prevent loss of data.
9. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program quilt
The step of application data anti-lost method as described in any one of claim 1 to 7 is realized when processor executes.
10. a kind of electronic equipment, including memory, processor and storage are on a memory and the calculating that can run on a processor
Machine program, which is characterized in that the processor is realized when executing the computer program described in any one of claim 1 to 7
Application data anti-lost method the step of.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810274180.0A CN108563516A (en) | 2018-03-29 | 2018-03-29 | Using data anti-lost method and device, storage medium, electronic equipment |
PCT/CN2019/077508 WO2019184683A1 (en) | 2018-03-29 | 2019-03-08 | Method and apparatus for preventing loss of application data, storage medium, and electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810274180.0A CN108563516A (en) | 2018-03-29 | 2018-03-29 | Using data anti-lost method and device, storage medium, electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108563516A true CN108563516A (en) | 2018-09-21 |
Family
ID=63533526
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810274180.0A Pending CN108563516A (en) | 2018-03-29 | 2018-03-29 | Using data anti-lost method and device, storage medium, electronic equipment |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN108563516A (en) |
WO (1) | WO2019184683A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019184683A1 (en) * | 2018-03-29 | 2019-10-03 | Oppo广东移动通信有限公司 | Method and apparatus for preventing loss of application data, storage medium, and electronic device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040148447A1 (en) * | 2002-11-27 | 2004-07-29 | Michael Conrad | Method and software application for avoiding data loss |
CN105468478A (en) * | 2015-11-26 | 2016-04-06 | 北京京东尚科信息技术有限公司 | Recovery method and apparatus for business data after application crash |
CN105930231A (en) * | 2016-04-19 | 2016-09-07 | 奇酷软件(深圳)有限公司 | Data backup method and system, data recovery method and system, and mobile terminal |
CN106406986A (en) * | 2016-11-24 | 2017-02-15 | 宇龙计算机通信科技(深圳)有限公司 | Resource sharing method and device |
CN106528098A (en) * | 2016-10-21 | 2017-03-22 | 宇龙计算机通信科技(深圳)有限公司 | Data processing method and device among multi-open applications and terminal |
CN106648962A (en) * | 2016-10-10 | 2017-05-10 | 广东欧珀移动通信有限公司 | Management method and device and intelligent terminal for multi-open application |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105808059A (en) * | 2016-03-04 | 2016-07-27 | 北京奇虎科技有限公司 | Application processing method and device based on terminal system |
CN106484547B (en) * | 2016-10-10 | 2019-12-31 | Oppo广东移动通信有限公司 | Multi-open application management method and device and terminal |
CN108563516A (en) * | 2018-03-29 | 2018-09-21 | 广东欧珀移动通信有限公司 | Using data anti-lost method and device, storage medium, electronic equipment |
-
2018
- 2018-03-29 CN CN201810274180.0A patent/CN108563516A/en active Pending
-
2019
- 2019-03-08 WO PCT/CN2019/077508 patent/WO2019184683A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040148447A1 (en) * | 2002-11-27 | 2004-07-29 | Michael Conrad | Method and software application for avoiding data loss |
CN105468478A (en) * | 2015-11-26 | 2016-04-06 | 北京京东尚科信息技术有限公司 | Recovery method and apparatus for business data after application crash |
CN105930231A (en) * | 2016-04-19 | 2016-09-07 | 奇酷软件(深圳)有限公司 | Data backup method and system, data recovery method and system, and mobile terminal |
CN106648962A (en) * | 2016-10-10 | 2017-05-10 | 广东欧珀移动通信有限公司 | Management method and device and intelligent terminal for multi-open application |
CN106528098A (en) * | 2016-10-21 | 2017-03-22 | 宇龙计算机通信科技(深圳)有限公司 | Data processing method and device among multi-open applications and terminal |
CN106406986A (en) * | 2016-11-24 | 2017-02-15 | 宇龙计算机通信科技(深圳)有限公司 | Resource sharing method and device |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019184683A1 (en) * | 2018-03-29 | 2019-10-03 | Oppo广东移动通信有限公司 | Method and apparatus for preventing loss of application data, storage medium, and electronic device |
Also Published As
Publication number | Publication date |
---|---|
WO2019184683A1 (en) | 2019-10-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104978176B (en) | Application programming interfaces call method, device and computer readable storage medium | |
CN104427074B (en) | A kind of methods, devices and systems for showing incoming information | |
CN108536783A (en) | Data processing method and device, terminal, computer readable storage medium | |
CN104407804B (en) | Screenshotss method, apparatus and electronic equipment | |
CN106453511B (en) | A kind of data back up method and equipment | |
CN104978115A (en) | Content display method and device | |
CN104426963B (en) | The method and terminal of associated terminal | |
CN103458124A (en) | Shutdown processing method, device and terminal equipment for terminal | |
CN108549519A (en) | split screen processing method, device, storage medium and electronic equipment | |
CN107145794A (en) | A kind of data processing method and device and mobile terminal | |
CN108537037A (en) | Privacy control method and device, computer readable storage medium, terminal | |
CN104123276A (en) | Method, device and system for intercepting popup windows in browser | |
CN108334345A (en) | Applied program processing method, device, readable storage medium storing program for executing and mobile terminal | |
CN106529332B (en) | A kind of authority control method of mobile terminal, device and mobile terminal | |
CN108573169A (en) | Nearest task list display methods and device, storage medium, electronic equipment | |
CN109445917A (en) | Application processing method and device, electronic equipment, computer readable storage medium | |
CN108632454B (en) | Information processing method and device, computer readable storage medium and terminal | |
CN110046032A (en) | Applied program processing method and device, electronic equipment, computer readable storage medium | |
CN103533139B (en) | Data management method and device of multi-card user and mobile terminal | |
CN103561155B (en) | Send the method for note, device and terminal | |
CN107102913B (en) | Data back up method, device and computer equipment | |
CN104901992A (en) | Resource transfer method and device | |
CN103824003B (en) | application program protecting method, device and terminal | |
CN108551524A (en) | Message informing method and device, terminal between polygonal color in terminal | |
CN103559518B (en) | A kind of NFC data transmission, device and terminal device |
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 | ||
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. |
|
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180921 |