CN108984315A - Application data processing method, device, terminal and readable medium - Google Patents
Application data processing method, device, terminal and readable medium Download PDFInfo
- Publication number
- CN108984315A CN108984315A CN201810616922.3A CN201810616922A CN108984315A CN 108984315 A CN108984315 A CN 108984315A CN 201810616922 A CN201810616922 A CN 201810616922A CN 108984315 A CN108984315 A CN 108984315A
- Authority
- CN
- China
- Prior art keywords
- data
- application
- picture
- treated
- filled
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
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/543—User-generated data transfer, e.g. clipboards, dynamic data exchange [DDE], object linking and embedding [OLE]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2209/00—Indexing scheme relating to G06F9/00
- G06F2209/54—Indexing scheme relating to G06F9/54
- G06F2209/541—Client-server
Abstract
The embodiment of the present application discloses a kind of application data processing method, device, terminal and computer readable storage medium.Wherein, method includes: that the first application acquisition is to be transmitted using data;First application handles the application data to be transmitted, obtains that treated and applies data;It is described first application selection picture format, and according to it is described treated application data and the picture format generate data picture;First application saves the data picture into terminal photograph album, so that the second application obtains the data picture from the terminal photograph album, and is obtained according to the data picture described using data.Application data can be stored in picture format and realize the transmission for applying data in terminal photograph album by the embodiment of the present application, can avoid the resource for occupying server, the transmission using data can be realized not against network.
Description
Technical field
This application involves information technology field more particularly to application data processing method, device, terminals and computer-readable
Storage medium.
Background technique
Currently, the limitation of the sandbox mechanism due to ios system, answered between two application programs in ios system
When being transmitted with data, mainly carried out data transmission by server.Its principle is mainly: application program will be to by network
The application data of transmission are transferred to server, another application program passes through network again and goes in server to obtain and download the application
Data.It can be seen that in such a way that server carries out data transmission, it is necessary to rely on network, and the resource of server can be occupied.
If network environment is poor, may cause using data transmission fails.
Summary of the invention
The embodiment of the present application provides a kind of application data processing method, device, terminal and computer readable storage medium,
Application data are stored in picture format and realize the transmission for applying data in terminal photograph album, can avoid the money for occupying server
The transmission using data can be realized not against network in source.
On the one hand, the embodiment of the present application provides a kind of application data processing method, which includes:
First application obtains to be transmitted using data;
First application handles the application data to be transmitted, obtains that treated and applies data;
It is described first application selection picture format, and according to it is described treated application data and the picture format generate
Data picture;
First application saves the data picture into terminal photograph album, so that second applies from the terminal photograph album
It is middle to obtain the data picture, and obtained according to the data picture described using data.
In one embodiment, it is described first application selection picture format, and according to it is described treated application data and
The specific embodiment that the picture format generates data picture may is that the first application selection picture format, and obtain
The image file structure of the picture format, described image file structure include at least one data cell to be filled in;Described
Treated that application data insert at least one described data cell to be filled in by described for one application, generates data picture.
In one embodiment, first application by treated the application data filling it is described at least one wait filling out
Write data unit, generate data picture specific embodiment may is that it is described first application from it is described at least one wait filling in
Target data cell to be filled in is determined in data cell, obtains the data to be filled in of target data cell to be filled in;It is described
First application determines phase from treated the application data according to the data to be filled in of target data cell to be filled in
It is matched to apply data;The application data to match are inserted the target data cell to be filled in by first application,
Generate data picture.
In further embodiment, it is described first application selection picture format, and according to it is described treated application data and
The specific embodiment that the picture format generates data picture may is that the first application selection initial picture, and obtain
The image file structure of the initial picture, described image file structure include that at least one has filled in data cell;Described
One application using treated the application data replacement it is described at least one filled in the data in data cell, generate data
Picture.
In one embodiment, first application handles the application data to be transmitted, after obtaining processing
The specific embodiment using data may is that first application using unidirectionally can not inverse function to be transmitted answered to described
Operation is carried out with data, obtains the first data;It is described first application to first data and it is described it is to be transmitted apply data
Splicing is carried out, the second data are obtained;First application obtains that treated using data according to second data.
In one embodiment, first application is according to the specific of second data application data that obtain that treated
Embodiment may is that first application carries out compression processing to second data using compression algorithm, obtain third number
According to;First application is encrypted the third data using Encryption Algorithm, obtains that treated using data.
On the other hand, the embodiment of the present application provides a kind of device, which includes:
Acquiring unit obtains to be transmitted using data for the first application;
Processing unit handles the application data to be transmitted for first application, obtains that treated
Using data;
The processing unit, be also used to it is described first application selection picture format, and according to it is described treated apply number
Data picture is generated according to the picture format;
Storage unit saves the data picture into terminal photograph album for first application, so that the second application
It obtains the data picture from the terminal photograph album, and is obtained according to the data picture described using data.
In one embodiment, the processing unit can be specifically used for: the first application selection picture format, and obtain
The image file structure of the picture format, described image file structure include at least one data cell to be filled in;Described
Treated that application data insert at least one described data cell to be filled in by described for one application, generates data picture.
In further embodiment, the processing unit can be specifically used for: it is described first application from it is described at least one wait filling out
Target data cell to be filled in is determined in write data unit, obtains the data to be filled in of target data cell to be filled in;Institute
It states the first application and is determined from treated the application data according to the data to be filled in of target data cell to be filled in
The application data to match;The application data to match are inserted the target data sheet to be filled in by first application
Member generates data picture.
In further embodiment, the processing unit can be specifically used for: the first application selection initial picture, and obtain
The image file structure of the initial picture, described image file structure include that at least one has filled in data cell;Described
One application using treated the application data replacement it is described at least one filled in the data in data cell, generate data
Picture.
In further embodiment, the processing unit can be specifically used for: first application uses unidirectionally can not inverse function
Operation is carried out to the application data to be transmitted, obtains the first data;First application is to first data and described
Application data to be transmitted carry out splicing, obtain the second data;First application obtains everywhere according to second data
Application data after reason.
In further embodiment, the processing unit can be specifically used for: first application is using compression algorithm to described
Second data carry out compression processing, obtain third data;First application carries out the third data using Encryption Algorithm
Encryption obtains that treated using data.
In another aspect, the embodiment of the present application provides a kind of terminal, which includes that memory, input equipment, output are set
Standby and processor, the processor, the input equipment, the output equipment and the memory are connected with each other, wherein institute
Memory is stated for storing computer program, the computer program includes program instruction, at least one program instruction be by
Processor load, and for executing following steps:
First application obtains to be transmitted using data;
First application handles the application data to be transmitted, obtains that treated and applies data;
It is described first application selection picture format, and according to it is described treated application data and the picture format generate
Data picture;
First application saves the data picture into terminal photograph album, so that second applies from the terminal photograph album
It is middle to obtain the data picture, and obtained according to the data picture described using data.
In one embodiment, which is loaded by processor and is used to execute the first application choosing
When selecting picture format, and generating data picture according to treated the application data and the picture format, this at least one
Program instruction can be loaded by processor, and be specifically used for executing: the first application selection picture format, and obtain the picture
The image file structure of format, described image file structure include at least one data cell to be filled in;First application will
It is described that treated using at least one described data cell to be filled in of data filling, generation data picture.
In one embodiment, which, which is loaded by processor and be used to execute described first, applies general
Described treated that application data insert at least one described data cell to be filled in, and when generating data picture, this at least one
Program instruction can be loaded by processor, and be specifically used for executing: described first applies from least one described data sheet to be filled in
Target data cell to be filled in is determined in member, obtains the data to be filled in of target data cell to be filled in;Described first answers
Matched with being determined from treated the application data according to the data to be filled in of target data cell to be filled in
Using data;The application data to match are inserted the target data cell to be filled in by first application, generate number
According to picture.
In further embodiment, which is loaded by processor and is used to execute the first application choosing
When selecting picture format, and generating data picture according to treated the application data and the picture format, this at least one
Program instruction can be loaded by processor, and be specifically used for executing: the first application selection initial picture, and be obtained described initial
The image file structure of picture, described image file structure include that at least one has filled in data cell;First application is adopted
With treated the application data replacement it is described at least one filled in the data in data cell, generate data picture.
In one embodiment, which is loaded by processor and is used to execute first application pair
The application data to be transmitted are handled, and when the application data that obtain that treated, which can be by
Manage device load, and be specifically used for execute: it is described first application using unidirectionally can not inverse function to it is described it is to be transmitted apply data
Operation is carried out, the first data are obtained;First data and the application data to be transmitted are spelled in first application
Processing is connect, the second data are obtained;First application obtains that treated using data according to second data.
In one embodiment, which is loaded by processor and is used to execute described first using root
When according to second data application data that obtain that treated, which can be loaded by processor, and specific
For executing: first application carries out compression processing to second data using compression algorithm, obtains third data;It is described
First application is encrypted the third data using Encryption Algorithm, obtains that treated using data.
In another aspect, the embodiment of the present application provides a kind of computer readable storage medium, which is deposited
Contain computer program.The computer program includes at least one program instruction, which can be by a processing
Device load, and for executing above-mentioned described application data processing method.
In the embodiment of the present application, it first applies after getting application data to be transmitted, it can be to described to be transmitted
Application data handled, obtain that treated using data.Then, first application can choose picture format, and
Data picture is generated using data and the picture format of selection according to treated, and the data picture is saved to terminal phase
In volume, so that the second application obtains the data picture from the terminal photograph album, and obtained according to the data picture described
Using data.It can be seen that application data processing method provided by the embodiments of the present application can by application data to be transmitted with
Picture format is stored in terminal photograph album, so that the second application goes in terminal photograph album to obtain this using data, to realize application
The transmission of data can avoid the resource for occupying server, the transmission using data can be realized not against network.
Detailed description of the invention
In order to more clearly explain the technical solutions in the embodiments of the present application, institute in being described below to the embodiment of the present application
Attached drawing to be used is needed to be briefly described.
Fig. 1 is the relation schematic diagram between a kind of terminal provided by the embodiments of the present application is respectively applied;
Fig. 2 is a kind of flow diagram of application data processing method provided by the embodiments of the present application;
Fig. 3 is a kind of user interface schematic diagram of terminal provided by the embodiments of the present application;
Fig. 4 a is a kind of image file structural schematic diagram of initial picture provided by the embodiments of the present application;
Fig. 4 b is a kind of image file structural schematic diagram of data picture provided by the embodiments of the present application;
Fig. 5 is a kind of user interface schematic diagram of terminal provided by the embodiments of the present application;
Fig. 6 is a kind of flow diagram for application data processing method that another embodiment of the application provides;
Fig. 7 is a kind of structural schematic diagram of device provided by the embodiments of the present application;
Fig. 8 is a kind of structural schematic diagram of terminal provided by the embodiments of the present application.
Specific embodiment
Below with reference to the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application is described.
For each application of terminal, in the case where user grants access terminal photograph album, each application can be with
The picture resource in terminal photograph album is accessed, therefore, the embodiment of the present application provides a kind of application data processing method, passes through utilization
The transmission using data between the different application in same terminal may be implemented in the store function of terminal photograph album, this applies number
It can be executed by terminal according to processing method.The terminal can include but is not limited to smart phone, laptop computer or flat
The portable devices and desktop computer etc. such as plate computer etc.The terminal may include the first application, at least one
Two applications and terminal photograph album, as shown in Figure 1.
When the first application wants transmitting user data to second in application, first applies available application number to be transmitted
According to, and the application data to be transmitted can be handled.Then according to treated using data and the picture of selection
Format generates data picture, and data picture is saved into terminal photograph album.Second application can then go to obtain in terminal photograph album and be somebody's turn to do
Data picture, and a series of dissection process are carried out to the data picture got, be applied data.First application will be to be transmitted
Application data be stored in terminal photograph album with picture format, so that the second application goes in terminal photograph album to obtain this using data,
The application data transmission between the different application of same terminal is realized using the store function of terminal photograph album, needs not rely on net
Network also can avoid the resource for occupying server.
Due to the limitation of the sandbox mechanism of ios system, carrying out between two application programs in ios system using data
When transmission, mainly carried out data transmission by server, needs to occupy more server resource and relatively complicated.The application is real
The application data processing method for applying example is applied in ios system, will be stored in terminal photograph album using data with picture format
It realizes the transmission for applying data, can avoid the resource for occupying server, the transmission using data can be realized not against network.This
The ios system that place refers to is only a kind of application environment of the embodiment of the present application, should not be construed as the specific restriction to the application.
Fig. 2 is referred to, is a kind of flow diagram of application data processing method provided by the embodiments of the present application.Such as Fig. 2
Shown, which includes:
S201, the first application obtain to be transmitted using data.
First application can be any one application in terminal, and the first application can receive transmitting user data
After assignment instructions, acquisition is to be transmitted to apply data, and application data herein can include but is not limited to: file, video, figure
Back-end data etc. in piece, voice and application operational process.
In one embodiment, the assignment instructions of the first received transmitting user data of application can be user to end
The pressing instruction or click commands of the application interface of first application at end, terminal are generated according to this pressing or click commands
's.For example, user want by file, video etc. in the first application using data be sent to second in application, can click or
This applies the user interface of data for the display of the first application of person's pressing, or clicks or press this using data, and terminal detects
After the click or pressing instruction of user, an assignment instructions can be generated, and this assignment instructions is sent to the first application, to refer to
It is to be transmitted using data to show that the first application obtains.
In further embodiment, the assignment instructions of the first received transmitting user data of application are also possible to user couple
The phonetic order that terminal is sent, terminal are generated according to this phonetic order.For example, user wants the data in the first application
When file is sent to the contact person user A in the second application, terminal can be said and " please be sent the information paper in the first application
To the contact person user A " in the second application.Terminal, can be according to this voice after this phonetic order for getting user's transmission
Instruction generates the assignment instructions of data transmission file, and this assignment instructions is sent to the first application, is obtained with the first application of instruction
Take the related application data of the information paper.
In further embodiment, the assignment instructions of the first received transmitting user data of application can also be terminal certainly
Dynamic generation.Terminal is in the operational process of the first application and the second application, if detecting between the first application and the second application
In the presence of the transmitting of application data, then terminal can automatically generate the assignment instructions of transmitting user data, and this assignment instructions is sent out
It send to the first application, to indicate that the first application obtains the related application data of the information paper.For example, terminal is in the first application
The keywords such as " file ", " the second application " are detected in application interface, as shown in figure 3, then it is believed that the first application and second is answered
There may be the transmitting of application data between, and generate assignment instructions.Then this assignment instructions is sent to the first application, with
The first application of instruction obtains a kind of " scheme .docx of ××× " this file, and using this file as application number to be transmitted
According to.
S202, the first application handle application data to be transmitted, obtain that treated and apply data.
First applies after getting application data to be transmitted, can carry out Hash fortune to application data to be transmitted
A series of processing such as calculation, data compression, data encryption obtain that treated using data.
Data compression process herein refers to: under the premise of not losing useful application data, reduction using data or
Person is reorganized using compression algorithm application data, reduces the redundancy using data and the space of storage.Therefore, first
It applies when carrying out data compression process to application data to be transmitted, data can be applied to be transmitted using compression algorithm
Compression processing is carried out, compression algorithm herein can include but is not limited to: Huffman (Huffman) algorithm, LZW (Lenpel-
Ziv&Welch) compression algorithm, LZ (Lempel-Ziv) algorithm, LZR (LZ-Renau) algorithm, etc..By answering to be transmitted
Data compression process is carried out with data, can reduce memory and the improve data transfer effect using data occupied terminal photograph album
Rate saves data transmission period.
Encryption herein can be asymmetric encryption processing, be also possible to symmetric cryptography processing.It answers to be transmitted
The processing such as Hash operation, data encryption is carried out with data, the safety using data in transmission process can be improved.
S203, the first application selection picture format, and it is raw according to treated the application data and the picture format
At data picture.
Picture format refers to that the format of computer (terminal) storage picture, the picture format can include but is not limited to:
JEPG format, JPG format, PNG format, BMP format, PCX format, tiff format, GIF format, TAG format, etc..
It may include multiple in image file structure since each picture format all has corresponding image file structure
Data cell.Therefore, in one embodiment, the first application selection picture format, and data and figure are applied according to treated
The specific embodiment that piece format generates data picture may is that the first application selection initial picture, and obtain the initial graph
The image file structure of piece, described image file structure include that at least one has filled in data cell;First application uses
Treated the application data replacement it is described at least one filled in the data in data cell, generate data picture.
For example, the image file structure of initial picture can as shown in fig. 4 a, which includes multiple numbers
According to unit, relevant data are filled in each data cell.Wherein, the data cell for filling in letter is to have filled in data sheet
Member.Treated, and application data are " 65468br93e6h6ijk ", go to replace these using data using treated and fill in
Data cell in data, image file structure as shown in Figure 4 b is produced, according to image file knot as shown in Figure 4 b
Corresponding data picture can be obtained in structure.
It should be noted that in one embodiment, first applies after getting application data to be transmitted, it can also
Not handle application data to be transmitted, i.e., step S202 is not executed.Therefore, in step S203, first is applied
After having selected picture format, data picture directly can be generated according to application data to be transmitted and the picture format.
S204, the first application saves the data picture into terminal photograph album, so that second applies from the terminal phase
The data picture is obtained in volume, and is obtained according to the data picture described using data.
First applies after generating data picture, data picture can be saved into terminal photograph album, as shown in Figure 5.
In one embodiment, since the data picture is the image file structure according to initial picture and treated using data life
At, therefore, the data picture can be opened in terminal photograph album without actual picture material, user in this data picture, this
Content in data picture will be shown in the user interface of the terminal in the form of messy code.Second applies and obtains in terminal photograph album
After getting this data picture, dissection process can be carried out to this data picture, with the data that are applied.Dissection process herein
It can include but is not limited to Hash operation, data decompression processing and data deciphering processing.
In the embodiment of the present application, it first applies after getting application data to be transmitted, it can be to described to be transmitted
Application data handled, obtain that treated using data.Then, first application can choose picture format, and
Data picture is generated using data and the picture format of selection according to treated, and the data picture is saved to terminal phase
In volume, so that the second application obtains the data picture from the terminal photograph album, and obtained according to the data picture described
Using data.It can be seen that application data processing method provided by the embodiments of the present application can by application data to be transmitted with
Picture format is stored in terminal photograph album, so that the second application goes in terminal photograph album to obtain this using data, to realize application
The transmission of data can avoid the resource for occupying server, the transmission using data can be realized not against network.
Fig. 6 is referred to, is the flow diagram of another application data processing method provided by the embodiments of the present application.Such as
Shown in Fig. 6, which includes:
S601, the first application obtain to be transmitted using data.
In one embodiment, user can first pass through terminal in advance and carry out authorisation process to the first application and the second application,
So that the first application and the second application have the access authority of access terminal photograph album.
S602, first application using unidirectionally can not inverse function treat transmission application data carry out operation, obtain first number
According to.
Unidirectionally can not inverse function can be hash function, the hash function can the input of random length by hash calculate
Method becomes the output of regular length.Hash function herein can include but is not limited to: MD2 (Message-Digest
Algorithm 2) function, MD4 (Message-Digest Algorithm 4) function, MD5 (Message-Digest
Algorithm 5) function, etc..First application by using hash function to application data to be transmitted progress operation, can be with
Anti-tamper mark data is obtained, using this anti-tamper mark data as the first data.
S603, the first application carry out splicing to the first data and application data to be transmitted, obtain the second data.
In one embodiment, first application the first data can be spliced to it is to be transmitted using data behind, with
Obtain the second data.In further embodiment, the first data can also be spliced to be transmitted using data by first application
Front, to obtain the second data.
S604, the first application carry out compression processing to the second data using compression algorithm, obtain third data.
First application can be using the data compression algorithms such as Huffman algorithm, LZW compression algorithm, LZ algorithm to the
Two data carry out compression processing, obtain third data, specifically may refer to the step S202 of above-described embodiment, no longer superfluous herein
It states.
S605, the first application are encrypted third data using Encryption Algorithm, obtain that treated using data.
First application can be encrypted third data using symmetric encipherment algorithm or rivest, shamir, adelman,
Obtain that treated using data.
If the first application is encrypted third data using symmetric encipherment algorithm, used in ciphering process
Public key and private key be consistent.Symmetric encipherment algorithm herein can include but is not limited to: DES (Data Encryption
Standard) algorithm, 3DES (Triple DES) algorithm, AES (Advanced Encryption Standard) algorithm, etc.
Deng.In one embodiment, it first applies in encryption, it can be using the public key or private key appointed in advance with the second application
Third data are encrypted.In one embodiment, due to that can carry Data Identification using data, first is answered
With can also use the Data Identification using data that third data are encrypted.
In further embodiment, since each application has application identities, the first reference is using Encryption Algorithm
It, can be using the application identities of the first application or the second application as the public key and private key of encryption when being encrypted.One
In a embodiment, if the quantity of the second application is one, the application identities of available second application of the first application, using the
The application identities of two applications encrypt third data so that second apply the application data that obtain that treated it
Afterwards, it can be directly decrypted to treated using data using the application identities of oneself.In further embodiment, if second
The quantity of application be it is multiple, then the first application can add third data using the application identities of oneself (first application)
It is close.Second applies after the application data that obtain that treated, can be by obtaining the application identities of the first application, and uses
The application identities of first application are decrypted to treated using data.
If the first application is encrypted third data using rivest, shamir, adelman, made in ciphering process
Public key and private key are inconsistent.Symmetric encipherment algorithm herein can include but is not limited to: SSH (Secure Shell)
Algorithm, RSA (RSA algorithm) Encryption Algorithm, Elgamal algorithm, etc..In one embodiment, the second application can be with
Public key and private key are generated, private key oneself saves, and public key is sent to the first application.First apply receiving second application send
After public key, third data are encrypted using this public key, so that second applies after the application data that get that treated,
It can be decrypted using the private key that oneself is saved.
S606, the first application selection picture format, and datagram is generated using data and picture format according to treated
Piece.
In one embodiment, the first application can arbitrarily select a picture format, and obtain the image of picture format
File structure, described image file structure include at least one data cell to be filled in;First application is by treated using number
According at least one described data cell to be filled in is inserted, data picture is generated.In one embodiment, it first applies the place
Application data after reason insert at least one described data cell to be filled in, and the specific embodiment for generating data picture can be with
Be: the first application waits filling in from least one determines target data cell to be filled in data cell, obtain target number to be filled in
According to the data to be filled in of unit;First application is answered according to the data to be filled in of target data cell to be filled in from treated
With the application data to match determining in data;The application data to match are inserted target data to be filled in by the first application
Unit generates data picture.
S607, the first application save data picture into terminal photograph album, so that the second application is obtained from terminal photograph album
Data picture, and be applied data according to data picture.
The detailed process that data picture is saved into terminal photograph album may refer to above-mentioned application embodiment by the first application
Step S204, the embodiment of the present application repeat no more.
It should be noted that second applies after getting data picture, it can be according to the picture format of data picture
It determines image file structure, dissection process is carried out to this image file structure, obtain that treated using data.Then it second answers
It is carried out to treated using data with can choose symmetric encipherment algorithm or rivest, shamir, adelman that the first application uses
Decryption processing to obtain third data, and carries out decompression processing to third data, obtains the second data.Second application by pair
Second data carry out resolution process, then available application data to be transmitted and the first data.Second application can be using single
To can not inverse function (such as hash function) operation is carried out to the obtained application data to be transmitted of decomposition, the application after obtaining operation
Then data the application data after operation are compared with the first data, if unanimously, illustrating to be not tampered with using data.
If inconsistent, give up this using data, and prompt information can be exported, to prompt what user got to apply error in data,
It is modified, so that user can pass through the first application again transmitting user data to the second application.
In the embodiment of the present application, it first applies after getting application data to be transmitted, it can be to described to be transmitted
Application data handled, obtain that treated using data.Then, first application can choose picture format, and
Data picture is generated using data and the picture format of selection according to treated, and the data picture is saved to terminal phase
In volume, so that the second application obtains the data picture from the terminal photograph album, and obtained according to the data picture described
Using data.It can be seen that application data processing method provided by the embodiments of the present application can by application data to be transmitted with
Picture format is stored in terminal photograph album, so that the second application goes in terminal photograph album to obtain this using data, to realize application
The transmission of data can avoid the resource for occupying server, the transmission using data can be realized not against network.
Fig. 7 is referred to, is provided by the embodiments of the present application a kind of for executing the knot of the device of application data processing method
Structure schematic diagram.As shown in fig. 7, the device in the embodiment of the present application may include:
Acquiring unit 101 obtains to be transmitted using data for the first application;
Processing unit 102 is handled the application data to be transmitted for first application, after obtaining processing
Application data;
The processing unit 102, be also used to it is described first application selection picture format, and according to it is described treated application
Data and the picture format generate data picture;
Storage unit 103 saves the data picture into terminal photograph album for first application, so that second answers
With obtaining the data picture from the terminal photograph album, and obtained according to the data picture described using data.
In one embodiment, the processing unit 102 can be specifically used for: the first application selection picture format, and
The image file structure of the picture format is obtained, described image file structure includes at least one data cell to be filled in;Institute
Stating the first application, treated that application data insert at least one described data cell to be filled in by described, generates data picture.
In further embodiment, the processing unit 102 can be specifically used for: it is described first application from it is described at least one wait for
It fills in and determines target data cell to be filled in data cell, obtain the data to be filled in of target data cell to be filled in;
First application according to the data to be filled in of target data cell to be filled in from treated the application data really
Surely the application data to match;The application data to match are inserted the target data sheet to be filled in by first application
Member generates data picture.
In further embodiment, the processing unit 102 can be specifically used for: the first application selection initial picture, and
The image file structure of the initial picture is obtained, described image file structure includes that at least one has filled in data cell;Institute
State the first application using treated the application data replacement it is described at least one filled in the data in data cell, generate
Data picture.
In further embodiment, the processing unit 102 can be specifically used for: first application is using unidirectional irreversible letter
It is several that operation is carried out to the application data to be transmitted, obtain the first data;First application is to first data and institute
It states application data to be transmitted and carries out splicing, obtain the second data;First application is obtained according to second data
Treated applies data.
In further embodiment, the processing unit 102 can be specifically used for: first application is using compression algorithm to institute
It states the second data and carries out compression processing, obtain third data;It is described first application using Encryption Algorithm to the third data into
Row encryption obtains that treated using data.
In the embodiment of the present application, it first applies after getting application data to be transmitted by acquiring unit 101, it can
To call processing unit 102 to handle the application data to be transmitted, obtain that treated using data.Then, institute
Stating the first application can call processing unit 102 to select picture format, and the picture of data and selection is applied according to treated
Format generates data picture, and storage unit is called to save the data picture into terminal photograph album so that the second application from
It obtains the data picture in the terminal photograph album, and is obtained according to the data picture described using data.It can be seen that this
Application data to be transmitted can be stored in terminal phase with picture format by the application data processing method that application embodiment provides
In volume, so that the second application goes in terminal photograph album to obtain this using data, to realize the transmission using data, it can avoid occupying
The transmission using data can be realized not against network in the resource of server.
Based on above-mentioned described application data processing method and device, the embodiment of the present application also proposed a kind of end
End, the terminal can be used to implement above-mentioned application data processing method.Fig. 8 is referred to, is provided by the embodiments of the present application one
The structural schematic diagram of kind terminal.As shown in figure 8, the terminal include memory 201, input equipment 202, output equipment 203 and
Processor 204, the processor 204, the input equipment 202, the output equipment 203 and the memory 201 mutually interconnect
It connects, wherein the memory is for storing computer program, and the computer program includes program instruction, the computer program
Including program instruction.In one embodiment, the processor 204, the input equipment 202, the output equipment 203 and institute
Stating memory 201 can be connected with each other by way of bus 205.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, Ke Yitong
Computer program is crossed to instruct relevant hardware and complete, which can be stored in a computer readable storage medium, the journey
Sequence includes at least one program instruction, which is to be loaded by the processor 204, and be used to execute following step
It is rapid:
First application obtains to be transmitted using data;
First application handles the application data to be transmitted, obtains that treated and applies data;
It is described first application selection picture format, and according to it is described treated application data and the picture format generate
Data picture;
First application saves the data picture into terminal photograph album, so that second applies from the terminal photograph album
It is middle to obtain the data picture, and obtained according to the data picture described using data.
In one embodiment, which is loaded by processor 204 and is answered for executing described first
With selection picture format, and according to it is described treated application data and the picture format generate data picture when, this is at least
One program instruction can be loaded by processor, and be specifically used for executing: the first application selection picture format, and described in acquisition
The image file structure of picture format, described image file structure include at least one data cell to be filled in;Described first answers
With treated that application data insert at least one described data cell to be filled in by described, data picture is generated.
In one embodiment, which is loaded by processor 204 and is answered for executing described first
With treated that application data insert at least one described data cell to be filled in by described, when generating data picture, this is at least
One program instruction can be loaded by processor, and be specifically used for executing: described first applies from least one described number to be filled in
According to target data cell to be filled in is determined in unit, the data to be filled in of target data cell to be filled in are obtained;Described
One application determines phase from treated the application data according to the data to be filled in of target data cell to be filled in
The application data matched;The application data to match are inserted the target data cell to be filled in by first application, raw
At data picture.
In further embodiment, which is loaded by processor 204 and is answered for executing described first
With selection picture format, and according to it is described treated application data and the picture format generate data picture when, this is at least
One program instruction can be loaded by processor, and be specifically used for executing: the first application selection initial picture, and described in acquisition
The image file structure of initial picture, described image file structure include that at least one has filled in data cell;Described first answers
At least one has filled in the data in data cell, generation datagram described in application data replacement that treated described in using
Piece.
In one embodiment, which is loaded by processor 204 and is answered for executing described first
It is handled with to the application data to be transmitted, when the application data that obtain that treated, which can
Loaded by processor, and be specifically used for execute: it is described first application using unidirectionally can not inverse function to the application to be transmitted
Data carry out operation, obtain the first data;First application to first data and the application data to be transmitted into
Row splicing obtains the second data;First application obtains that treated using data according to second data.
In one embodiment, which is loaded by processor 204 and is answered for executing described first
When with according to second data application data that obtain that treated, which can be loaded by processor, and
Specifically for executing: first application carries out compression processing to second data using compression algorithm, obtains third data;
First application is encrypted the third data using Encryption Algorithm, obtains that treated using data.
In the embodiment of the present application, it first applies after getting application data to be transmitted by acquiring unit 101, it can
To call processing unit 102 to handle the application data to be transmitted, obtain that treated using data.Then, institute
Stating the first application can call processing unit 102 to select picture format, and the picture of data and selection is applied according to treated
Format generates data picture, and storage unit is called to save the data picture into terminal photograph album so that the second application from
It obtains the data picture in the terminal photograph album, and is obtained according to the data picture described using data.It can be seen that this
Application data to be transmitted can be stored in terminal phase with picture format by the application data processing method that application embodiment provides
In volume, so that the second application goes in terminal photograph album to obtain this using data, to realize the transmission using data, it can avoid occupying
The transmission using data can be realized not against network in the resource of server.
Above disclosed is only the section Example of the application, cannot limit the right of the application with this certainly
Range, those skilled in the art can understand all or part of the processes for realizing the above embodiment, and according to the application right
Equivalent variations made by it is required that still falls within and applies for covered range.
Claims (10)
1. a kind of application data processing method characterized by comprising
First application obtains to be transmitted using data;
First application handles the application data to be transmitted, obtains that treated and applies data;
It is described first application selection picture format, and according to it is described treated application data and the picture format generate data
Picture;
First application saves the data picture into terminal photograph album, so that the second application is obtained from the terminal photograph album
It takes the data picture, and is obtained according to the data picture described using data.
2. the method as described in claim 1, which is characterized in that the first application selection picture format, and according to the place
Application data and the picture format after reason generate data picture, comprising:
The first application selection picture format, and the image file structure of the picture format is obtained, described image file knot
Structure includes at least one data cell to be filled in;
Treated that application data insert at least one described data cell to be filled in by described for first application, generates data
Picture.
3. method according to claim 2, which is characterized in that treated by described in for first application using data filling
At least one described data cell to be filled in generates data picture, comprising:
First application from it is described at least one wait filling in and determine target data cell to be filled in data cell, described in acquisition
The data to be filled in of target data cell to be filled in;
According to the data to be filled in of target data cell to be filled in, treated applies data from described for first application
The application data that middle determination matches;
The application data to match are inserted the target data cell to be filled in by first application, generate datagram
Piece.
4. the method as described in claim 1, which is characterized in that the first application selection picture format, and according to the place
Application data and the picture format after reason generate data picture, comprising:
The first application selection initial picture, and the image file structure of the initial picture is obtained, described image file knot
Structure includes that at least one has filled in data cell;
First application using treated the application data replacement it is described at least one filled in the number in data cell
According to generation data picture.
5. method according to any of claims 1-4, which is characterized in that first application is to the application to be transmitted
Data are handled, and obtain that treated using data, comprising:
First application using unidirectionally can not inverse function operation is carried out to the application data to be transmitted, obtain the first number
According to;
First application carries out splicing to first data and the application data to be transmitted, obtains the second number
According to;
First application obtains that treated using data according to second data.
6. method as claimed in claim 5, which is characterized in that after first application obtains processing according to second data
Application data, comprising:
First application carries out compression processing to second data using compression algorithm, obtains third data;
First application is encrypted the third data using Encryption Algorithm, obtains that treated using data.
7. a kind of device characterized by comprising
Acquiring unit obtains to be transmitted using data for the first application;
Processing unit handles the application data to be transmitted for first application, obtains that treated and apply
Data;
The processing unit, be also used to it is described first application selection picture format, and according to it is described treated application data and
The picture format generates data picture;
Storage unit is applied for described first and saves the data picture into terminal photograph album, so that second applies from institute
It states and obtains the data picture in terminal photograph album, and obtained according to the data picture described using data.
8. device as claimed in claim 7, which is characterized in that the processing unit is specifically used for:
The first application selection picture format, and the image file structure of the picture format is obtained, described image file knot
Structure includes at least one data cell to be filled in;
Treated that application data insert at least one described data cell to be filled in by described for first application, generates data
Picture.
9. a kind of terminal, which is characterized in that including memory, input equipment, output equipment and processor, the processor,
The input equipment, the output equipment and the memory are connected with each other, wherein the memory is for storing computer journey
Sequence, the computer program include program instruction, and the processor is configured for calling described program instruction, execute such as right
It is required that the described in any item methods of 1-6.
10. a kind of computer readable storage medium, which is characterized in that the computer storage medium is stored with computer program,
The computer program includes program instruction, and described program instruction makes the processor execute such as right when being executed by a processor
It is required that 1~6 described in any item methods.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810616922.3A CN108984315B (en) | 2018-06-14 | 2018-06-14 | Application data processing method and device, terminal and readable medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810616922.3A CN108984315B (en) | 2018-06-14 | 2018-06-14 | Application data processing method and device, terminal and readable medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108984315A true CN108984315A (en) | 2018-12-11 |
CN108984315B CN108984315B (en) | 2022-04-15 |
Family
ID=64541280
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810616922.3A Active CN108984315B (en) | 2018-06-14 | 2018-06-14 | Application data processing method and device, terminal and readable medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108984315B (en) |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7440636B2 (en) * | 2002-07-01 | 2008-10-21 | Mitsubishi Denki Kabushiki Kaisha | Method and apparatus for image processing |
CN102800041A (en) * | 2012-06-11 | 2012-11-28 | 哈尔滨工程大学 | Method for protecting integrity of digital vector map |
CN103020053A (en) * | 2011-09-21 | 2013-04-03 | 深圳市比维视创科技有限公司 | Page sharing system and method |
EP2595079A1 (en) * | 2011-11-17 | 2013-05-22 | Sony Corporation | Information processing apparatus, information storage apparatus, information processing system, information processing method, and program |
CN104408394A (en) * | 2014-10-28 | 2015-03-11 | 广东欧珀移动通信有限公司 | Two-dimensional code information processing method and communication terminal |
US9269025B1 (en) * | 2015-01-29 | 2016-02-23 | Yahoo! Inc. | Object detection in images |
CN105760163A (en) * | 2016-02-06 | 2016-07-13 | 北京麒麟合盛网络技术有限公司 | Interface display method and device |
CN107104833A (en) * | 2017-04-24 | 2017-08-29 | 西安富立叶微电子有限责任公司 | A kind of method to set up of configuration information, source terminal equipment and target terminal equipment |
CN107172259A (en) * | 2017-04-11 | 2017-09-15 | 捷开通讯(深圳)有限公司 | Terminal and its information interacting method, storage device based on Quick Response Code |
CN107918731A (en) * | 2016-10-11 | 2018-04-17 | 百度在线网络技术(北京)有限公司 | Method and apparatus for controlling the authority to access to open interface |
-
2018
- 2018-06-14 CN CN201810616922.3A patent/CN108984315B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7440636B2 (en) * | 2002-07-01 | 2008-10-21 | Mitsubishi Denki Kabushiki Kaisha | Method and apparatus for image processing |
CN103020053A (en) * | 2011-09-21 | 2013-04-03 | 深圳市比维视创科技有限公司 | Page sharing system and method |
EP2595079A1 (en) * | 2011-11-17 | 2013-05-22 | Sony Corporation | Information processing apparatus, information storage apparatus, information processing system, information processing method, and program |
CN102800041A (en) * | 2012-06-11 | 2012-11-28 | 哈尔滨工程大学 | Method for protecting integrity of digital vector map |
CN104408394A (en) * | 2014-10-28 | 2015-03-11 | 广东欧珀移动通信有限公司 | Two-dimensional code information processing method and communication terminal |
US9269025B1 (en) * | 2015-01-29 | 2016-02-23 | Yahoo! Inc. | Object detection in images |
CN105760163A (en) * | 2016-02-06 | 2016-07-13 | 北京麒麟合盛网络技术有限公司 | Interface display method and device |
CN107918731A (en) * | 2016-10-11 | 2018-04-17 | 百度在线网络技术(北京)有限公司 | Method and apparatus for controlling the authority to access to open interface |
CN107172259A (en) * | 2017-04-11 | 2017-09-15 | 捷开通讯(深圳)有限公司 | Terminal and its information interacting method, storage device based on Quick Response Code |
CN107104833A (en) * | 2017-04-24 | 2017-08-29 | 西安富立叶微电子有限责任公司 | A kind of method to set up of configuration information, source terminal equipment and target terminal equipment |
Non-Patent Citations (5)
Title |
---|
JMHBDWKJMH: "怎么用手机扫描本机上的二维码", 《HTTPS://JINGYAN.BAIDU.COM/ARTICLE/D621E8DA33D6602865913FF6.HTML》 * |
刘立柱: "《传真图像和传真信号处理原理与技术》", 31 March 2006 * |
就水手了: "把淘宝店铺的宝贝分享给微信好友,二维码更快速", 《HTTPS://JINGYAN.BAIDU.COM/ARTICLE/DCA1FA6F77B979F1A44052BD.HTML》 * |
清宏计算机工作室: "《Visual C++编程技巧(多媒体与系统篇)》", 31 May 2001 * |
超能仔仔: "怎样分享带二维码淘宝宝贝详情描述页给微信好友", 《HTTPS://JINGYAN.BAIDU.COM/ARTICLE/4B52D702BBE3A2FC5D774B79.HTML》 * |
Also Published As
Publication number | Publication date |
---|---|
CN108984315B (en) | 2022-04-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11558358B2 (en) | Secure analytics using homomorphic and injective format-preserving encryption | |
US10972251B2 (en) | Secure web browsing via homomorphic encryption | |
US20200382274A1 (en) | Secure Analytics Using an Encrypted Analytics Matrix | |
CN109150499B (en) | Method and device for dynamically encrypting data, computer equipment and storage medium | |
WO2021068444A1 (en) | Data processing method and device, computer apparatus, and storage medium | |
WO2021068445A1 (en) | Data processing method and apparatus, computer device, and storage medium | |
US10992481B2 (en) | Two-dimensional code generation method, apparatus, data processing method, apparatus, and server | |
US10608813B1 (en) | Layered encryption for long-lived data | |
KR101866935B1 (en) | Systems and methods for faster public key encryption using the associated private key portion | |
US10476663B1 (en) | Layered encryption of short-lived data | |
CN107133517B (en) | Data recovery method based on data encryption and calculation in memory | |
US11356254B1 (en) | Encryption using indexed data from large data pads | |
CN117118598A (en) | Data sharing method, electronic equipment and computer cluster | |
CN107707611B (en) | Electric power data cloud processing method, device and system | |
CN115883671A (en) | Big data transmission method, device, equipment and storage medium | |
CA2587815A1 (en) | In-memory compression and encryption | |
CN108984315A (en) | Application data processing method, device, terminal and readable medium | |
CN114726580B (en) | Data processing method and device | |
US20090276625A1 (en) | Hierarchical browsing management method and system for digital content | |
CN114117488A (en) | File management method, file uploading method, file decryption method and related equipment | |
CN106570410B (en) | Data encryption method, data decryption method, device and system | |
CN115174260B (en) | Data verification method, device, computer, storage medium and program product | |
CN108933950A (en) | Terminal iidentification determines method and device, computer equipment and storage medium | |
CN115827785B (en) | Data storage method, device, equipment and readable storage medium | |
JP5868349B2 (en) | Data management system, image processing apparatus, image restoration apparatus, program, and data management method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: Bantian street, Longgang District of Shenzhen City, Guangdong province 518000 yuan and five Avenue sign technology plant No. 1 building 4 floor Applicant after: SHENZHEN GOLO CHELIAN DATA TECHNOLOGY Co.,Ltd. Address before: Bantian street Shenzhen city Guangdong province 518000 yuan and five Avenue sign technology plant No. 1 building 4 floor Applicant before: GOLO IOV DATA TECHNOLOGY Co.,Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |