CN105825143A - Application program data writing and reading method and device - Google Patents

Application program data writing and reading method and device Download PDF

Info

Publication number
CN105825143A
CN105825143A CN201610128369.XA CN201610128369A CN105825143A CN 105825143 A CN105825143 A CN 105825143A CN 201610128369 A CN201610128369 A CN 201610128369A CN 105825143 A CN105825143 A CN 105825143A
Authority
CN
China
Prior art keywords
data
key information
file destination
encryption
application program
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610128369.XA
Other languages
Chinese (zh)
Inventor
冯紫华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
LeTV Mobile Intelligent Information Technology Beijing Co Ltd
Original Assignee
LeTV Mobile Intelligent Information Technology Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by LeTV Mobile Intelligent Information Technology Beijing Co Ltd filed Critical LeTV Mobile Intelligent Information Technology Beijing Co Ltd
Priority to CN201610128369.XA priority Critical patent/CN105825143A/en
Publication of CN105825143A publication Critical patent/CN105825143A/en
Pending legal-status Critical Current

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/6209Protecting access to data via a platform, e.g. using keys or access control rules to a single file or object, e.g. in a secure envelope, encrypted and accessed using a key, or with access control rules appended to the object itself
    • 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/629Protecting access to data via a platform, e.g. using keys or access control rules to features or functions of an application
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2107File encryption

Abstract

The embodiment of the invention provides an application program data writing and reading method and device. The application program data writing and reading method comprises the following steps: receiving a data writing request, wherein the data writing request comprises key information; calling a SharePreferences interface, and establishing an encrypted target file according to the key information; caching data to be written into the target file, of an application program, into a memory, and encrypting the data in the memory; writing the encrypted data into the target file. According to the embodiment of the invention, the SharePreferences interface is adopted to encrypt data, so that related information cannot be decrypted or checked by malicious programs even if a terminal is rooted, moreover, related information cannot be altered, and data security can be ensured.

Description

The write of a kind of application program and the method and device of reading data
Technical field
The present embodiments relate to technical field of data storage, particularly relate to a kind of application program write method of data, a kind of application program reading method of data, the device of a kind of application program write data and a kind of application program and read the device of data.
Background technology
In Android Android operation system, if application program there being a small amount of data to preserve, and the form of these data is the simplest, it is some common character strings, basic data type, such as: the various data of application program are (such as: whether open synchronization, whether open sound equipment, if use vibration etc.), player's integration etc. of game, data preservation can be carried out with the SharedPreferences that Android provides.SharedPreferences is the storage class of a lightweight in Android platform, is used for preserving some common configuration of application.
The application program being a lot arranged in android system at present is desirable that terminal just can use after carrying out root, or certain function want root after could use, therefore a lot of users have carried out root terminal, the sharedPreferences file so causing the application program in terminal to store under the data subregion of its correspondence can arbitrarily be read and revised, and this class file often stores information more closely-related with user, such as account and password etc., potential safety hazard is bigger.
Summary of the invention
The embodiment of the present invention provides the write of a kind of application program and reads the method and device of data, in order to solve the problem that in prior art, sharedPreferences file is bigger by arbitrarily reading and revise the potential safety hazard caused.
The embodiment of the present invention provides the method for a kind of application program write data, including:
Receiving data write request, described data write request includes key information;
Call SharePreferences interface, create the file destination of encryption according to described key information;
Application program needs the data buffer storage writing described file destination in internal memory, and in internal memory, described data is encrypted;
Data after encryption are write in described file destination.
The embodiment of the present invention also provides for a kind of method that application program reads data, including:
Receiving data read request, described data read request includes key information;
Call SharePreferences interface, according to described key information, the data in the file destination of encryption are decrypted process;
By the data buffer storage after deciphering in internal memory, read for application program.
The embodiment of the present invention also provides for the device of a kind of application program write data, including:
Write request receiver module, is used for receiving data write request, and described data write request includes key information;
File creation module, is used for calling SharePreferences interface, creates the file destination of encryption according to described key information;
Encrypting module, the data buffer storage being used for application program needs write described file destination is in internal memory, and is encrypted described data in internal memory;
Data write. module, for writing the data after encryption in described file destination.
The embodiment of the present invention also provides for a kind of application program and reads the device of data, including:
Read requests receiver module, is used for receiving data read request, and described data read request includes key information;
Deciphering module, is used for calling SharePreferences interface, according to described key information, the data in the file destination of encryption is decrypted process;
Data read module, the data buffer storage after deciphering, in internal memory, reads for application program.
A kind of application program that the embodiment of the present invention provides writes and reads the method and device of data, call SharePreferences interface, the file destination of encryption can be created, when application program writes data to the file destination of encryption, first will need the data buffer storage writing described file destination in internal memory, and in internal memory, described data are encrypted, then the data after encryption are write in described file destination, when reading data to the file destination of this encryption, first to needing the data read to be decrypted process, and the data buffer storage after deciphering reads for application program in internal memory.Utilizing SharePreferences interface to carry out data encryption so that even if terminal is by root, rogue program also cannot be deciphered and check relevant information, and cannot alter relevant information, it is ensured that the safety of data.
Simultaneously as SharePreferences refers to the data storage of lightweight, the data volume of storage is few (being all simple characters string), will not have an impact write and reading performance.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, the accompanying drawing used required in embodiment or description of the prior art will be briefly described below, apparently, accompanying drawing in describing below is some embodiments of the present invention, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the flow chart of steps of the embodiment of the method for a kind of application program write data of the embodiment of the present invention;
Fig. 2 is the flow chart of steps of the embodiment of the method for a kind of application program reading data of the embodiment of the present invention;
Fig. 3 is the structured flowchart of the device embodiment of a kind of application program write data of the embodiment of the present invention;
Fig. 4 is the structured flowchart of the device embodiment of a kind of application program reading data of the embodiment of the present invention.
Detailed description of the invention
For making the purpose of the embodiment of the present invention, technical scheme and advantage clearer, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is a part of embodiment of the present invention rather than whole embodiments.Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art are obtained under not making creative work premise, broadly fall into the scope of protection of the invention.
With reference to Fig. 1, show the flow chart of steps of the embodiment of the method for a kind of application program write data of the embodiment of the present invention, the embodiment of the present invention can apply to be provided with in Android operation system terminal, such as, mobile phone, PDA (PersonalDigitalAssistant, personal digital assistant) etc..
The embodiment of the present invention specifically may include steps of:
Step 101, receives data write request, and described data write request includes key information;
When application program needs to write data, can generate data write request, this data write request can include key information.
This key information can be the key information that user is incoming, if user does not has incoming key information, then this key information can be the information of preset rules, such as, the information of this preset rules can be the bag name at SharePreferences interface place, i.e. acquiescence uses the bag name at SharePreferences interface place as key information.Wherein, key is a kind of parameter, and it is to be converted to ciphertext in plain text or converting ciphertext into the parameter of input in algorithm in plain text, and key is divided into symmetric key and unsymmetrical key.
Step 102, calls SharePreferences interface, creates the file destination of encryption according to described key information;
Being applied to the embodiment of the present invention, by calling SharePreferences interface, can generate the file destination of encryption, this file destination is xml document.
In a kind of preferred embodiment of the embodiment of the present invention, step 101 can be further:
Call Context.getSharedPreferences (Stringname, intmode, Stringseckey) method, it is thus achieved that SharePreferences object, generate the file destination of encryption.
Concrete, SharedPreferences itself is an interface, and program cannot directly create SharedPerences example, can only obtain SharedPreferences example by the getSharedPreferences method that context object Context provides.It is applied to the embodiment of the present invention, to traditional getSharedPreferences (Stringname, intmode) method is improved, cipher key interface is increased in sharedPreferences interface, getSharedPreferences method after improvement is getSharedPreferences (Stringname, intmode, Stringseckey), obtain is the xml file destination after encrypting.
In this getSharedPreferences (Stringname, intmode, Stringseckey):
Name represents file destination title, it is not necessary to add suffix .xml, and on system can be added automatically, typically this file destination is stored in/data/data/<packagename>under/shared_prefs.
Mode represents operator scheme, i.e. file read-write mode, and its value can have three kinds, is respectively as follows:
Context.MODE_PRIVATE: specify these SharedPreferences data can only be by application reading and writing;
Context.MODE_WORLD_READABLE: specify these SharedPreferences data can be read by other application programs, but can not write;
Context.MODE_WORLD_WRITEABLE: specify these SharedPreferences data can be read and write by other application programs.
Seckey represents key information.
In embodiments of the present invention, the inside that have modified interface getSharedPreferences (...) in an operating system realizes, but does not revise interface name.Only it is to be understood that interface name is not changed in, developer just can the same calling interface of system primary with android, so it is sightless for haveing suffered encryption process to developer, does not interferes with their logic and use yet, operate very convenient.
Step 103, needs application program the data buffer storage writing described file destination in internal memory, and is encrypted described data in internal memory;
SharedPreferences interface itself does not provide the ability of write data, but write data by the internal interface SharedPreferences.Editor of SharedPreferences, Editor can provide following method to write data to SharedPreferences:
1) SharedPreferences.Editorclear (): empty the data inside SharedPreferences.
2) SharedPreferences.EditorputXxx (Stringkey, xxxvalue): be stored in data corresponding to the Key specified to SharedPreferences.
3) SharedPreferences.Editorremove (Stringkey): delete and specify data item corresponding for key in SharedPreferences.
4) booleancommit (): after Editor has edited, calls the method and submits amendment to.
When application program needs to write data to SharedPreferences, this data temporary cache, in the internal memory of terminal, then starts worker thread, and the data of this write are carried out asynchronous encryption process.
In implementing, AES (TheAdvancedEncryptionStandard can be used, the specification of encrypted electronic data used for American National Standard and technical research) or DES (DataEncryptionAlgorithm, DEA) etc. enciphering and deciphering algorithm is asynchronous is encrypted the data in internal memory.
In a kind of preferred embodiment of the embodiment of the present invention, step 102 can be further:
Application program needs the data buffer storage writing described file destination in internal memory, after preset time period, the data cached in internal memory is encrypted.
Specifically, when the write request of application program write data is the most frequent, preset time period can be spaced (such as, it is spaced 200 milliseconds) carry out the encryption of data and write file, i.e. multiple write requests can be carried out data encryption and write file in a time point, effectively reduce File Open and write number of times, thus improve efficiency and the performance of write file.
Data after encryption are write in described file destination by step 104.
Data after this encryption after encryption, can be write in the file destination of above-mentioned encryption, thus complete the process of data write in internal memory by the data of write.
In embodiments of the present invention, call SharePreferences interface, the file destination of encryption can be created, when application program writes data to the file destination of encryption, first will need the data buffer storage writing described file destination in internal memory, and in internal memory, described data are encrypted, then the data after encryption are write in described file destination.Utilizing SharePreferences interface to carry out data encryption so that even if terminal is by root, rogue program also cannot be deciphered and check relevant information, and cannot alter relevant information, it is ensured that the safety of data.
Simultaneously as SharePreferences refers to the data storage of lightweight, the data volume of storage is few (being all simple characters string), will not have an impact write performance.
With reference to Fig. 2, show the flow chart of steps of the embodiment of the method for a kind of application program reading data of the embodiment of the present invention, the embodiment of the present invention can apply to be provided with in Android operation system terminal, such as, mobile phone, PDA (PersonalDigitalAssistant, personal digital assistant) etc..
The embodiment of the present invention specifically may include steps of:
Step 201, receives data read request, and described data read request includes key information;
When application program needs to read data, can generate data read request, this data read request can include key information.
This key information can be the key information that user is incoming, if user does not has incoming key information, then this key information can be the information of preset rules, such as, the information of this preset rules can be the bag name at SharePreferences interface place, i.e. acquiescence uses the bag name at SharePreferences interface place as key information.Wherein, key is a kind of parameter, and it is to be converted to ciphertext in plain text or converting ciphertext into the parameter of input in algorithm in plain text, and key is divided into symmetric key and unsymmetrical key.
Step 202, calls SharePreferences interface, according to described key information, the data in the file destination of encryption is decrypted process;
It is applied to the embodiment of the present invention, by calling SharePreferences interface, the file destination of encryption can be generated.
In a kind of preferred embodiment of the embodiment of the present invention, the file destination of described encryption can generate in the following way:
Call Context.getSharedPreferences (Stringname, intmode, Stringseckey) method, it is thus achieved that SharePreferences object, generate the file destination of encryption.
Concrete, SharedPreferences itself is an interface, and program cannot directly create SharedPerences example, can only obtain SharedPreferences example by the getSharedPreferences method that context object Context provides.It is applied to the embodiment of the present invention, to traditional getSharedPreferences (Stringname, intmode) method is improved, cipher key interface is increased in sharedPreferences interface, getSharedPreferences method after improvement is getSharedPreferences (Stringname, intmode, Stringseckey), obtain is the xml file destination after encrypting.
In this getSharedPreferences (Stringname, intmode, Stringseckey):
Name represents file destination title, it is not necessary to add suffix .xml, and on system can be added automatically, typically this file destination is stored in/data/data/<packagename>under/shared_prefs.
Mode represents operator scheme, i.e. file read-write mode, and its value can have three kinds, is respectively as follows:
Context.MODE_PRIVATE: specify these SharedPreferences data can only be by application reading and writing;
Context.MODE_WORLD_READABLE: specify these SharedPreferences data can be read by other application programs, but can not write;
Context.MODE_WORLD_WRITEABLE: specify these SharedPreferences data can be read and write by other application programs.
Seckey represents key information.
In implementing, when application program needs to read data from SharedPreferences, first it is also required to call getSharedPreferences method example and dissolves a SharedPreferences object.Identical with the process of above-mentioned write data, in embodiments of the present invention, after the incoming key information of developer, that call is getSharedPreferences (Stringname, intmode, Stringseckey) method carry out SharedPreferences object-instantiated.
After instantiation SharedPreferences object, then can use the decipherment algorithm of correspondence that the data in the file destination of encryption are decrypted.
Step 203, by the data buffer storage after deciphering in internal memory, reads for application program.
After the data of the file destination of encryption are decrypted, the digital independent after this deciphering to internal memory can will cache, read for application program.
SharedPreferences provides the method obtaining data, such as getString (Stringkey, StringdefValue), getInt (Stringkey, intdefValue) etc..
In embodiments of the present invention, SharePreferences interface is called, it is possible to from the file destination of encryption, read data, be buffered in after data are decrypted in internal memory, read for application program.Utilizing SharePreferences interface to be encrypted file destination so that even if terminal is by root, rogue program also cannot be deciphered and check relevant information, and cannot alter relevant information, it is ensured that the safety of data.
Simultaneously as SharePreferences refers to the data storage of lightweight, the data volume of storage is few (being all simple characters string), will not have an impact data reading performance.
With reference to Fig. 3, show the structured flowchart of the device embodiment of a kind of application program write data of the embodiment of the present invention, wherein, the embodiment of the present invention can be passed through hardware processor (hardwareprocessor) and realize related function module, specifically can include such as lower module:
Write request receiver module 301, is used for receiving data write request, and described data write request includes key information;
File creation module 302, is used for calling SharePreferences interface, creates the file destination of encryption according to described key information;
Encrypting module 303, the data buffer storage being used for application program needs write described file destination is in internal memory, and is encrypted described data in internal memory;
Data write. module 304, for writing the data after encryption in described file destination.
In a kind of preferred embodiment of the embodiment of the present invention, described file creation module 302 can include following submodule:
Method call submodule, is used for calling Context.getSharedPreferences (Stringname, intmode, Stringseckey) method, it is thus achieved that SharePreferences object, generates the file destination of encryption;Wherein, described name represents file destination title;Described mode represents operator scheme;Described seckey represents key information.
In a kind of preferred embodiment of the embodiment of the present invention, described key information is the key information that user is incoming, or, described key information is the information of preset rules.
In a kind of preferred embodiment of the embodiment of the present invention, described encrypting module 303 can include following submodule:
The data cached in internal memory, for application program needs the data buffer storage writing described file destination in internal memory, after preset time period, are encrypted by cycle encryption submodule.
For the device embodiment of Fig. 3, due to itself and said method embodiment basic simlarity, so describe is fairly simple, relevant part sees the part of embodiment of the method and illustrates.
With reference to Fig. 4, show the structured flowchart of the device embodiment of a kind of application program reading data of the embodiment of the present invention, wherein, the embodiment of the present invention can be passed through hardware processor (hardwareprocessor) and realize related function module, specifically can include such as lower module:
Read requests receiver module 401, is used for receiving data read request, and described data read request includes key information;
Deciphering module 402, is used for calling SharePreferences interface, according to described key information, the data in the file destination of encryption is decrypted process;
Data read module 403, the data buffer storage after deciphering, in internal memory, reads for application program.
In a kind of preferred embodiment of the embodiment of the present invention, the file destination of described encryption can generate in the following way:
Call Context.getSharedPreferences (Stringname, intmode, Stringseckey) method, it is thus achieved that SharePreferences object, generate the file destination of encryption;Wherein, described name represents file destination title;Described mode represents operator scheme;Described seckey represents key information.
In a kind of preferred embodiment of the embodiment of the present invention, described key information is the key information that user is incoming, or, described key information is the information of preset rules.
For the device embodiment of Fig. 4, due to itself and said method embodiment basic simlarity, so describe is fairly simple, relevant part sees the part of embodiment of the method and illustrates.
Device embodiment described above is only schematically, the wherein said unit illustrated as separating component can be or may not be physically separate, the parts shown as unit can be or may not be physical location, i.e. may be located at a place, or can also be distributed on multiple NE.Some or all of module therein can be selected according to the actual needs to realize the purpose of the present embodiment scheme.Those of ordinary skill in the art, in the case of not paying performing creative labour, are i.e. appreciated that and implement.
Through the above description of the embodiments, those skilled in the art is it can be understood that can add the mode of required general hardware platform by software to each embodiment and realize, naturally it is also possible to pass through hardware.Based on such understanding, the part that prior art is contributed by technique scheme the most in other words can embody with the form of software product, this computer software product can store in a computer-readable storage medium, such as ROM/RAM, magnetic disc, CD etc., including some instructions with so that a computer equipment (can be personal computer, server, or the network equipment etc.) perform the method described in some part of each embodiment or embodiment.
Last it is noted that above example is only in order to illustrate technical scheme, it is not intended to limit;Although the present invention being described in detail with reference to previous embodiment, it will be understood by those within the art that: the technical scheme described in foregoing embodiments still can be modified by it, or wherein portion of techniques feature is carried out equivalent;And these amendments or replacement, do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (14)

1. the method for application program write data, it is characterised in that including:
Receiving data write request, described data write request includes key information;
Call SharePreferences interface, create the file destination of encryption according to described key information;
Application program needs the data buffer storage writing described file destination in internal memory, and in internal memory, described data is encrypted;
Data after encryption are write in described file destination.
Method the most according to claim 1, it is characterised in that described in call SharePreferences interface, the step of file destination creating encryption according to described key information includes:
Call Context.getSharedPreferences (Stringname, intmode, Stringseckey) method, it is thus achieved that SharePreferences object, generate the file destination of encryption;Wherein, described name represents file destination title;Described mode represents operator scheme;Described seckey represents key information.
Method the most according to claim 1 and 2, it is characterised in that described key information is the key information that user is incoming, or, described key information is the information of preset rules.
Method the most according to claim 1 and 2, it is characterised in that the described data buffer storage needing application program to write described file destination is in internal memory, and the step being encrypted described data in internal memory is:
Application program needs the data buffer storage writing described file destination in internal memory, after preset time period, the data cached in internal memory is encrypted.
5. the method that an application program reads data, it is characterised in that including:
Receiving data read request, described data read request includes key information;
Call SharePreferences interface, according to described key information, the data in the file destination of encryption are decrypted process;
By the data buffer storage after deciphering in internal memory, read for application program.
Method the most according to claim 5, it is characterised in that the file destination of described encryption generates in the following way:
Call Context.getSharedPreferences (Stringname, intmode, Stringseckey) method, it is thus achieved that SharePreferences object, generate the file destination of encryption;Wherein, described name represents file destination title;Described mode represents operator scheme;Described seckey represents key information.
7. according to the method described in claim 5 or 6, it is characterised in that described key information is the key information that user is incoming, or, described key information is the information of preset rules.
8. the device of application program write data, it is characterised in that including:
Write request receiver module, is used for receiving data write request, and described data write request includes key information;
File creation module, is used for calling SharePreferences interface, creates the file destination of encryption according to described key information;
Encrypting module, the data buffer storage being used for application program needs write described file destination is in internal memory, and is encrypted described data in internal memory;
Data write. module, for writing the data after encryption in described file destination.
Device the most according to claim 8, it is characterised in that described file creation module includes:
Method call submodule, is used for calling Context.getSharedPreferences (Stringname, intmode, Stringseckey) method, it is thus achieved that SharePreferences object, generates the file destination of encryption;Wherein, described name represents file destination title;Described mode represents operator scheme;Described seckey represents key information.
Device the most according to claim 8 or claim 9, it is characterised in that described key information is the key information that user is incoming, or, described key information is the information of preset rules.
11. devices according to claim 8 or claim 9, it is characterised in that described encrypting module includes:
The data cached in internal memory, for application program needs the data buffer storage writing described file destination in internal memory, after preset time period, are encrypted by cycle encryption submodule.
12. 1 kinds of application programs read the device of data, it is characterised in that including:
Read requests receiver module, is used for receiving data read request, and described data read request includes key information;
Deciphering module, is used for calling SharePreferences interface, according to described key information, the data in the file destination of encryption is decrypted process;
Data read module, the data buffer storage after deciphering, in internal memory, reads for application program.
13. devices according to claim 12, it is characterised in that the file destination of described encryption generates in the following way:
Call Context.getSharedPreferences (Stringname, intmode, Stringseckey) method, it is thus achieved that SharePreferences object, generate the file destination of encryption;Wherein, described name represents file destination title;Described mode represents operator scheme;Described seckey represents key information.
14. according to the device described in claim 12 or 13, it is characterised in that described key information is the key information that user is incoming, or, described key information is the information of preset rules.
CN201610128369.XA 2016-03-07 2016-03-07 Application program data writing and reading method and device Pending CN105825143A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610128369.XA CN105825143A (en) 2016-03-07 2016-03-07 Application program data writing and reading method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610128369.XA CN105825143A (en) 2016-03-07 2016-03-07 Application program data writing and reading method and device

Publications (1)

Publication Number Publication Date
CN105825143A true CN105825143A (en) 2016-08-03

Family

ID=56987968

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610128369.XA Pending CN105825143A (en) 2016-03-07 2016-03-07 Application program data writing and reading method and device

Country Status (1)

Country Link
CN (1) CN105825143A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106547543A (en) * 2016-10-13 2017-03-29 武汉斗鱼网络科技有限公司 Data processing method and system based on SharedPreferences instruments
CN106844015A (en) * 2016-12-19 2017-06-13 北京五八信息技术有限公司 The data processing method and device of application program
CN107122139A (en) * 2017-04-28 2017-09-01 深圳天珑无线科技有限公司 Method for writing data and device, method for reading data and device
CN107133524A (en) * 2017-04-27 2017-09-05 北京洋浦伟业科技发展有限公司 A kind of date storage method and device
CN108664597A (en) * 2018-05-08 2018-10-16 深圳市创梦天地科技有限公司 Data buffer storage device, method and storage medium on a kind of Mobile operating system
CN110032529A (en) * 2018-01-11 2019-07-19 武汉斗鱼网络科技有限公司 A kind of EMS memory management process and relevant apparatus
CN111143879A (en) * 2019-12-26 2020-05-12 厦门市美亚柏科信息股份有限公司 Android platform SD card file protection method, terminal device and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102355667A (en) * 2011-06-30 2012-02-15 北京邮电大学 Method and system for controlling network connection of application programs in mobile intelligent terminal system
CN103428525A (en) * 2013-07-22 2013-12-04 华中科技大学 Online inquiry and play control method and system for network videos and television programs
US20140089684A1 (en) * 2011-08-15 2014-03-27 Huawei Device Co., Ltd. Method and apparatus for protecting file

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102355667A (en) * 2011-06-30 2012-02-15 北京邮电大学 Method and system for controlling network connection of application programs in mobile intelligent terminal system
US20140089684A1 (en) * 2011-08-15 2014-03-27 Huawei Device Co., Ltd. Method and apparatus for protecting file
CN103428525A (en) * 2013-07-22 2013-12-04 华中科技大学 Online inquiry and play control method and system for network videos and television programs

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106547543A (en) * 2016-10-13 2017-03-29 武汉斗鱼网络科技有限公司 Data processing method and system based on SharedPreferences instruments
CN106844015A (en) * 2016-12-19 2017-06-13 北京五八信息技术有限公司 The data processing method and device of application program
CN106844015B (en) * 2016-12-19 2020-03-24 北京五八信息技术有限公司 Data processing method and device for application program
CN107133524A (en) * 2017-04-27 2017-09-05 北京洋浦伟业科技发展有限公司 A kind of date storage method and device
CN107122139A (en) * 2017-04-28 2017-09-01 深圳天珑无线科技有限公司 Method for writing data and device, method for reading data and device
CN110032529A (en) * 2018-01-11 2019-07-19 武汉斗鱼网络科技有限公司 A kind of EMS memory management process and relevant apparatus
CN108664597A (en) * 2018-05-08 2018-10-16 深圳市创梦天地科技有限公司 Data buffer storage device, method and storage medium on a kind of Mobile operating system
CN111143879A (en) * 2019-12-26 2020-05-12 厦门市美亚柏科信息股份有限公司 Android platform SD card file protection method, terminal device and storage medium

Similar Documents

Publication Publication Date Title
CN105825143A (en) Application program data writing and reading method and device
CN103259762B (en) A kind of file encryption based on cloud storage, decryption method and system
CN108647527B (en) File packing method, file packing device, file unpacking device and network equipment
JP5996810B2 (en) Self-rewriting platform application code obfuscation device and method
CN103294961A (en) Method and device for file encrypting/decrypting
CN111475824B (en) Data access method, device, equipment and storage medium
CN107196907B (en) A kind of guard method of Android SO files and device
KR20170056613A (en) Media decoding control with hardware-protected digital rights management
CN110266682B (en) Data encryption method and device, mobile terminal and decryption method
CN105022936A (en) Class file encryption and decryption method and class file encryption and decryption device
CN109787768B (en) Identity authentication configuration method and device and computer readable storage medium
CN103647636B (en) The method and device of security access data
CN104657670A (en) Data encryption based safety use method of configuration file
CN109800582B (en) Traceable multi-party data processing method, device and equipment
JP6698774B2 (en) Security providing apparatus and method for common intermediate language, and security executing apparatus and method
CN107516045A (en) Document protection method and device
CN102047239A (en) Defining, distributing and presenting device experiences
CN102460456A (en) Memory device and method for adaptive protection of content
CN103605927B (en) Encryption and decryption method and device based on embedded Linux system
CN110287208A (en) The method and apparatus of database field encryption, storage medium
CN106250783A (en) A kind of database data encryption, decryption method and device
CN110990848A (en) Sensitive word encryption method and device based on hive data warehouse and storage medium
JP4669934B2 (en) Program conversion apparatus, execution support apparatus, method thereof, and computer program thereof
CN108985109A (en) A kind of date storage method and device
CN105893862A (en) Browser cache data protection method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160803

WD01 Invention patent application deemed withdrawn after publication