CN109213955A - Data processing method and relevant device - Google Patents
Data processing method and relevant device Download PDFInfo
- Publication number
- CN109213955A CN109213955A CN201811072733.0A CN201811072733A CN109213955A CN 109213955 A CN109213955 A CN 109213955A CN 201811072733 A CN201811072733 A CN 201811072733A CN 109213955 A CN109213955 A CN 109213955A
- Authority
- CN
- China
- Prior art keywords
- data
- server
- container
- terminal
- acquisition request
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephonic Communication Services (AREA)
- Selective Calling Equipment (AREA)
- Computer And Data Communications (AREA)
- Storage Device Security (AREA)
Abstract
The embodiment of the invention discloses data processing method and relevant devices, which comprises server passes through the data acquisition request that the first Preset Transfer interface first terminal is sent;Server searches the first data in storage equipment associated by server based on data acquisition request;First data are sent to first terminal by server.Using the embodiment of the present invention, server can effectively realize unified management of the server to data by unified interface transmission data.
Description
Technical field
The present invention relates to Internet technical field more particularly to data processing method and relevant devices.
Background technique
With the development of internet technology, first terminal (i.e. data providing, such as advertiser or publisher) needs
When by data publication to internet, different types of data can be uploaded to different servers, then server will receive
To data store into the corresponding storage equipment of the server, different server corresponds to different storage equipment.But it is above-mentioned
In implementation, lack the unified management to data, checks data inconvenience.
Summary of the invention
The technical problem to be solved by the embodiment of the invention is that providing data processing method and relevant device, server
Unified management of the server to data can be effectively realized by unified interface transmission data.
In order to solve the above-mentioned technical problem, described in a first aspect, the embodiment of the invention provides a kind of data processing method
Method includes:
Server passes through the data acquisition request that the first Preset Transfer interface first terminal is sent;
The server searches first in acquisition request storage equipment associated by the server based on the data
Data;
First data are sent to the first terminal by the server.
Second aspect, the embodiment of the invention provides a kind of data processing methods, which comprises
First terminal sends data acquisition request to server by the first Preset Transfer interface;
The first terminal receives the first data that the server is sent, and first data are that the server is based on
What the data acquisition request was found in the storage equipment associated by the server.
The third aspect, the embodiment of the invention provides a kind of server, the server includes for executing first aspect
The unit of the method.
Fourth aspect, the embodiment of the invention provides a kind of terminal, the terminal includes for executing described in second aspect
Method unit.
5th aspect, the embodiment of the invention provides a kind of computer readable storage medium, the computer-readable storage
Media storage has computer program, and the computer program includes program instruction, and described program is instructed when being executed by server
Make the method for the server execution as described in relation to the first aspect.
6th aspect, the embodiment of the invention provides a kind of computer readable storage medium, the computer-readable storage
Media storage has computer program, and the computer program includes program instruction, and described program instruction makes when being executed by terminal
The terminal executes the method as described in second aspect.
7th aspect, the embodiment of the invention provides a kind of server, which includes: processor, memory and leads to
Believe interface, be stored with program instruction in memory, processor calls the program instruction stored in memory for executing such as the
Method described in one side.
Eighth aspect, the embodiment of the invention provides a kind of terminal, which includes: processor, memory, communication interface
With display screen, program instruction is stored in memory, processor calls the program instruction stored in memory for executing
Method as described in second aspect.
Implement the embodiment of the present invention, server passes through the data acquisition that the first Preset Transfer interface first terminal is sent
It requests, the first data is searched in the storage equipment based on data acquisition request associated by server, and the first data are sent
To first terminal, server can effectively realize unified management of the server to data by unified interface transmission data.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings;
Fig. 1 is a kind of configuration diagram of the data processing system provided in the embodiment of the present invention;
Fig. 2 is a kind of structural schematic diagram of the storage equipment provided in the embodiment of the present invention;
Fig. 3 is a kind of timing diagram of the data processing method provided in the embodiment of the present invention;
Fig. 4 A is a kind of interface schematic diagram of the web management interface provided in the embodiment of the present invention;
Fig. 4 B is a kind of interface schematic diagram of the editing interface provided in the embodiment of the present invention;
Fig. 5 is the timing diagram of another data processing method provided in the embodiment of the present invention;
Fig. 6 is a kind of structural schematic diagram of the terminal provided in the embodiment of the present invention;
Fig. 7 is a kind of structural schematic diagram of the server provided in the embodiment of the present invention;
Fig. 8 is the structural schematic diagram of another terminal provided in the embodiment of the present invention;
Fig. 9 is the structural schematic diagram of another server provided in the embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
Relatively traditional data processing method, data recipient is it needs to be determined that the storage equipment for storing the target data is corresponding
Server, send data acquisition request to determining server, which can be from the corresponding storage equipment of the server
Middle lookup data, and send the data to data recipient.Based on this, it is corresponding that a server can only manage the server
The data stored in storage equipment, can not be managed other kinds of data, lack the unified management to data, check number
According to inconvenience.
Data processing method in the embodiment of the present application, server are sent out by the first Preset Transfer interface first terminal
The data acquisition request sent searches the first data in the storage equipment based on data acquisition request associated by server, and will
First data are sent to first terminal, and server can effectively realize server to data by unified interface transmission data
Unified management.
Wherein, the first data may include log or media information etc..Log can for roll log, security log,
System log or serve log etc..Media information can be text, image, audio or video etc..
Wherein, server can be a stand-alone service equipment in internet, or by multiple only in internet
The cluster service equipment that vertical service equipment collectively forms;The server can be used for handling Internet application realize data upload,
Various demands during the functions such as data downloading, data management and information exchange, also, the server can be used for mutual
User in working application authenticates.Illustratively, server can be instant communication server or SNS (Social
Networking Services, social network services) server etc..Instant communication server may include Web page push clothes
Business device, wechat server, QQ server or Face book server etc..
Wherein, server can be established at least one first terminal and be communicated to connect, and first terminal can be data recipient,
Such as it PC, smart phone (such as Android phone, iOS mobile phone), tablet computer, palm PC or wearable sets
It is standby etc..The Internet application of at least one type can be run in first terminal, including but not limited to: Web page push is applied, i.e.
When communications applications, SNS application etc..User can use Internet application by first terminal, such as: user can pass through first
Terminal carries out registration in Internet application and obtains identity information etc..Illustratively, it is stepped in first terminal by first identifier
The first user for recording Internet application can be personal user or the product manager of Internet application etc., specifically not by the present invention
The limitation of embodiment.
Referring to Figure 1, Fig. 1 is a kind of configuration diagram of data processing system disclosed by the embodiments of the present invention, such as Fig. 1 institute
Show, which may include that server, at least one first terminal, at least one second terminal and storage are set
Standby, wherein at least one first terminal and at least one second terminal can be connected to server by internet, and server is also
Data communication can be carried out with storage equipment.
Second terminal, for sending the second data to server;
Server, for by second the second data of Preset Transfer interface, the second data to be stored to storage equipment
In.
First terminal, for sending data acquisition request to server;
Server is also used to search the first data in the storage equipment based on data acquisition request associated by server;
Server is also used to the first data being sent to first terminal.
In the data processing system, after server passes through second the second data of Preset Transfer interface, Ke Yisheng
At the file information table of the second data, the file information table of the second data may include the store path of the second data, data
One or more of amount, life cycle and Data Identification, life cycle may include the second data creation time and
Expired time.File information table can store in the server.
In the data processing system, storage equipment may include at least one container, and each container may include at least
One sub- container, each sub- container can store data.Data can be rolling log, security log, system log, service day
Will, text, image, audio or video etc..By taking the structural schematic diagram of storage equipment shown in Fig. 2 as an example, storage equipment can be with
Including three containers, respectively the first container 201, second container 202 and third container 203).The first container 201 includes four
A sub- container, every sub- container can store at least one file.Second container 202 includes three sub- containers, every sub- container
In can store at least one file.Third container 203 includes two sub- containers, and every sub- container can store at least one text
Part.Illustratively, data can be arbitrarily stored in file by server, not need filename, and sub- container can polymerize one
Class file, such as the daily rolling journal file of certain service, filename are not fixed.When downloading, entire sub- container can choose
In All Files, also can choose a latest document in sub- container, without specified file name.
In the data processing system, server can be managed container or sub- container, such as in storage equipment
Middle creation perhaps deletes container and for another example creates or delete sub- container in specified containers.
In the data processing system, user can use Internet application by second terminal, such as: user can pass through
Second terminal carries out registration in Internet application and obtains identity information etc..Illustratively, pass through the second mark in second terminal
The second user for knowing login Internet application can be man of service provider, including but not limited to advertiser.
Based on data processing system described in Fig. 1, Fig. 3 is referred to, Fig. 3 is at a kind of data disclosed by the embodiments of the present invention
The flow diagram of reason method.As shown in figure 3, the data processing method at least may comprise steps of:
S301, second terminal send the second data to server.
In the specific implementation, second identifier, which can be used, in second terminal logs in Internet application, by Internet application to clothes
Business device sends the second data, and second identifier can be account or end message etc., and end message can be the mutual of second terminal
The address networking protocol (Internet Protocol Address, IP), media access control (Media Access Control,
MAC) address or international mobile equipment identification number (International Mobile Equipment Identity, IMEI)
Deng.Illustratively, second terminal can be used rsync order and the second data be sent to server.Rsync order is one remote
Number of passes, can be by the data between internet Fast synchronization multiple host, due to only transmitting between two data according to synchronization means
Different piece, therefore transmission speed is very fast, improving data transmission efficiency.
Relatively traditional data processing method, second terminal will be in the specified directories of small documents rsync to given server.
Then first terminal downloads file into the corresponding storage equipment of given server according to demand.But above-mentioned data processing method
The IP address for needing second terminal to write dead storage equipment needs to change all second terminals when storing equipment replacement.And machine
Room generally to rsync control it is very tight, can only Intranet access, be unfavorable for the connection of external data source.And the embodiment of the present application passes through
Second data are stored to same storage and are set by the second data that the second Preset Transfer interface second terminal of server is sent
In standby, server is managed collectively each data by file information table, even if storage equipment replacement, server can update file
Information table, second terminal that no replacement is required can promote data-handling efficiency.
S302, server pass through the second data that the second Preset Transfer interface second terminal is sent.
In one possible implementation, after server receives the second data, the class of available second data
Type information, the type information is used to indicate the data type of the second data, such as rolls log, security log, system log, clothes
Business log, text, image, audio or video etc..
S303, server store the second data into storage equipment.
It in one possible implementation, can be by the second number after the type information of the second data of server acquisition
According to storing in the sub- container of target for being included to the target container of storage equipment, storage equipment includes at least one container, each
Container includes at least one sub- container, the type information of the data stored in the sub- container of target and the type information phase of the second data
Together.Illustratively, storage equipment includes the first container and second container, and the first container includes a sub- container, in the sub- container
The data type of the data of storage is to roll log, and second container includes the first sub- container and the second sub- container, the first sub- container
The data type of the data of middle storage is audio, and the data type of the data stored in the second sub- container is image.Server connects
The type information for receiving the second data of second terminal transmission is image, then the second data can be stored to second and be held by server
In the sub- container of the second of device.
In one possible implementation, after server receives the second data, the second data storage can be arrived
In any vessel, the Data Identification for generating the second data is not needed, container can polymerize a class file, such as certain service is daily
Rolling journal file, filename is not fixed.When downloading, it can choose the All Files in entire sub- container, also can choose
A latest document in sub- container, without specified file name.
In one possible implementation, it is available before server stores the second data into storage equipment
The identity information of second terminal, if trigger the server is based on the second number there are the identity information of second end in rights database
According to type information by the second data store to storage equipment in.Specifically, server can pre-establish rights database, power
Limit database include at least one terminal identity information, the corresponding terminal of the identity information have upload data, downloading data,
Data are deleted, file information table is checked and checks the permission of web management interface.The identity information of server acquisition second terminal
Later, if there are the identity information of second end in rights database, server can determine that second terminal has and upload data
Permission, and then the type information based on the second data by the second data store to storage equipment in.
In one possible implementation, it before server stores the second data into storage equipment, can weigh
The identity information searched in database about target container is limited, if about there are second terminals in the identity information of target container
Identity information, type information of the trigger the server based on the second data by the second data store to storage equipment in, target hold
The type information of the data stored in device and the type information of the second data are identical.Specifically, the granularity of permission can be container,
Server can preset the terminal with the permission operated to the data stored in target container, by the body of the terminal
Part information is stored into rights database.It, can be in rights database then after the identity information of server acquisition second terminal
Identity information of the middle lookup about target container, if there are the identity of second terminal letters about in the identity information of target container
Breath, server can determine that second terminal has the permission for uploading data to target container, and then the type based on the second data
Information stores the second data into storage equipment.
S304, server generate the file information table of the second data.
In the specific implementation, server stores the second data to storage equipment, the file of the second data can be generated
Information table.Illustratively, the file information table of the second data can be as shown in the table:
Field name | Field description | Citing |
file_id | Data ID | 1 |
file_name | Data name | info_20180312.log |
file_size | Size of data | 200,000 |
create_time | Creation time | 2018-03-12 23:22:22 |
expired_time | Expired time | 2018-03-19 23:22:22 |
folder | Affiliated file | info_log |
box | Affiliated chest | xx |
file_path | The practical storage path of data | /file/xx/info_log/info_20180312.log |
As seen from the above table, the file information table of the second data include data identity number (identification,
ID), data name, size of data, creation time, expired time, affiliated file, affiliated chest and the practical storage road of data
Diameter.Data ID can indicate the data putting in order in its affiliated file.Size of data can indicate the capacity of data.
Creation time can indicate storage time of the data in storage equipment.Expired time can indicate to delete the time of the data.
Wherein, expired time can be added to obtain by creation time with life cycle.Affiliated file is the son appearance for storing the data
Device.Affiliated chest includes the container for storing the sub- container of the data.The practical storage path of data, which includes at least, stores the data
Sub- container sub- container identification, container identification and data name comprising the sub- container.
In one possible implementation, when the data volume of the second data is less than preset threshold, server can be incited somebody to action
Second data are stored in the database of server with blob format, can reduce the complexity of data processing system.
In one possible implementation, the file information table of the second data can be added to web-based management by server
In interface.For the interface schematic diagram of the web management interface shown in Fig. 4 A, user can be uploaded by clicking the " new " button
Second data, web management interface may include the data ID of the second data, data name, data volume, uplink time, it is expired when
Between and founder.User can download corresponding data by click " downloading " button.
In one possible implementation, server can will store the data for reaching life cycle in equipment and delete.
Wherein, the life cycle of data can be user setting, be also possible to server setting, specifically not by the embodiment of the present invention
Limitation.For example, the life cycle of each data can be monitored in real time in server, the number for reaching life cycle in equipment will be stored
According to deletion.For another example, server can detect the data for reaching life cycle at interval of preset duration, will reach in storage equipment
The data of life cycle are deleted.For the interface schematic diagram of the editing interface shown in Fig. 4 B, user can set in the interface
The expired time of any data is set, wherein " title " refers to the data name of setting expired time, " folder " refers to depositing
The sub- container identification of the data is stored up, " box " refers to the container identification of the sub- container comprising storing the data.Illustratively, it takes
The data that business device can be up to life cycle are moved in recycle bin, further, when the data in recycle bin pass through default
It will be automatically deleted after length.Optionally, again by data server manually can restore data, i.e., in web management interface
It stores into storage equipment.
In the embodiment of the present invention, second terminal sends the second data to server, and server is connect by the second Preset Transfer
Mouth receives the second data that second terminal is sent, and server stores the second data into storage equipment, and server generates second
The file information table of data, server can provide unified upload interface data, effectively realize server to the system of data
One management.
Based on data processing system described in Fig. 1, Fig. 5 is referred to, Fig. 5 is another data disclosed by the embodiments of the present invention
The flow diagram of processing method.As shown in figure 5, the data processing method at least may comprise steps of:
S501, first terminal send data acquisition request to server.
In the specific implementation, first identifier, which can be used, in first terminal logs in Internet application, by Internet application to clothes
Device of being engaged in sends the second data, first identifier can for account or end message etc., end message can for first terminal IP,
MAC Address or IMEI etc..By taking Fig. 4 A as an example, user can send data acquisition to server by click " inquiry " button
Request, data acquisition request can carry data ID, data name, founder, container identification, one in sub- container identification or
Person is multiple.
S502, server pass through the data acquisition request that the first Preset Transfer interface first terminal is sent.
S503, server are based on data acquisition request and search the first data in storage equipment.
In one possible implementation, when data acquisition request carries data ID or data name, server can
To search data ID or the corresponding data of data name in storage equipment, using the data as the first data.
In one possible implementation, when data acquisition request carries founder, server can be in storage equipment
The file information table of the data found is sent to first terminal by the middle all data searching the founder and uploading, server,
When first terminal detects clicking operation of the user to target data, sends to server and asked about the data acquisition of target data
It asks, the data acquisition request about target data carries data ID or data name, and server can be looked into storage equipment
Data ID or the corresponding data of data name are looked for, using the data as the first data.
In one possible implementation, when data acquisition request carries container identification and sub- container identification, service
Device is using all data in sub- container corresponding to the sub- container identification that container corresponding to container identification is included as the first data.
In one possible implementation, when data acquisition request carries container identification and sub- container identification, service
Device is using the data of newest storage in sub- container corresponding to the sub- container identification that container corresponding to container identification is included as first
Data.
In one possible implementation, server is based on data acquisition request and searches the first data from storage equipment
Before, the identity information of available first terminal, if there are the identity information of first terminal, triggering clothes in rights database
Business device is based on data acquisition request and searches the first data from storage equipment.Specifically, server can pre-establish permission number
According to library, rights database includes the identity information of at least one terminal, the corresponding terminal of the identity information have upload data, under
Data are carried, data is deleted, check file information table and checks the permission of web management interface.Server obtains first terminal
After identity information, if there are the identity information of first end in rights database, server can determine that first terminal has
The permission of downloading data, and then the first data are searched from storage equipment based on data acquisition request.
In one possible implementation, data acquisition request carries container identification, searches and closes in rights database
The identity information of the container corresponding to container identification, if there are first in the identity information of the container corresponding to container identification
The identity information of terminal, trigger the server are based on data acquisition request and search the first data from storage equipment.Specifically, permission
Granularity can be container, server can be preset with the permission operated to the data stored in target container
Terminal stores the identity information of the terminal into rights database.Then after the identity information of server acquisition first terminal,
The identity information that container corresponding to container identification can be searched in rights database, if the container corresponding to container identification
Identity information in there are the identity information of first terminal, server can determine first terminal have downloading data to target hold
The permission of device, and then the first data are searched from storage equipment based on data acquisition request.
First data are sent to first terminal by S504, server.
In the embodiment of the present invention, first terminal sends data acquisition request to server, and server passes through the first default biography
The data acquisition that defeated interface first terminal is sent is asked, and server is based on data acquisition request and searches first in storage equipment
First data are sent to first terminal by data, server, and first terminal shows the first number in the display screen of first terminal
According to server can provide unified download interface and send data, effectively realize unified management of the server to data.
Fig. 6 is referred to, Fig. 6 is a kind of structural schematic diagram of the terminal provided in the embodiment of the present invention, the embodiment of the present invention
In terminal Fig. 3, data processing method shown in 5 can be performed, the terminal in the embodiment of the present invention as shown in the figure at least can wrap
Include transmission unit 601 and receiving unit 602, in which:
Transmission unit 601, for sending data acquisition request to server by the first Preset Transfer interface;
Receiving unit 602, first data sent for receiving the server, first data are the clothes
Business device is found in acquisition request storage equipment associated by the server based on the data.
In the embodiment of the present invention, transmission unit 601 sends data acquisition to server by the first Preset Transfer interface and asks
It asks, receiving unit 602 receives the first data that server is sent, and can effectively realize unified management of the server to data.
Fig. 7 is referred to, Fig. 7 is a kind of structural schematic diagram of terminal provided in an embodiment of the present invention, and the embodiment of the present invention mentions
The method that the terminal of confession can be used for implementing above-mentioned Fig. 3, the embodiment of the present invention shown in 5 is realized only is shown for ease of description
Part related to the embodiment of the present invention, disclosed by specific technical details, referring to figure 3., the present invention shown in 5 implemented
Example.
As shown in fig. 7, the terminal includes: at least one processor 701, such as CPU, at least one input unit 703, until
A few output device 704, memory 705, at least one communication bus 702.Wherein, communication bus 702 is for realizing these
Connection communication between component.Wherein, input unit 703 is specifically as follows network interface, for interacting with server.Its
In, output device 704 is specifically as follows network interface, for interacting with server.Output device 704 specifically can also be
Screen is shown, for showing the first data.Wherein, memory 705 may include high speed RAM memory, it is also possible to further include non-
Unstable memory, for example, at least a magnetic disk storage are specifically used for the first data of storage.Memory 705 optionally may be used
To be located remotely from the storage device of aforementioned processor 701 comprising at least one.Batch processing code is stored in memory 705, and
Processor 701, input unit 703 and output device 704 call the program code stored in memory 705, for execute with
Lower operation:
Output device 704 sends data acquisition request to server by the first Preset Transfer interface;
Input unit 703 receives first data that the server is sent, and first data are the servers
It is found in acquisition request storage equipment associated by the server based on the data.
Specifically, the server introduced in the embodiment of the present invention can combine Fig. 3,5 sides introduced to implement the present invention
Process some or all of in method embodiment.
Fig. 8 is referred to, Fig. 8 is a kind of structural schematic diagram of the server provided in the embodiment of the present invention, as shown in the figure originally
Server in inventive embodiments at least may include receiving unit 801, processing unit 802 and transmission unit 803, in which:
Receiving unit 801, the data acquisition request for being sent by the first Preset Transfer interface first terminal;
Processing unit 802 is looked into the storage equipment associated by the server for acquisition request based on the data
Look for the first data;
Transmission unit 803, for first data to be sent to the first terminal.
In one possible implementation, receiving unit 801 are also used to through the second Preset Transfer interface second
The second data that terminal is sent, second data include log or media information;
Processing unit 802 is also used to store second data into the storage equipment;
The processing unit 802, is also used to generate the file information table of second data, and the file information table includes
The store path of second data.
In one possible implementation, the file information table further includes the life cycle of second data;
The processing unit 802 is also used to delete the data for reaching the life cycle in the storage equipment.
In one possible implementation, the storage equipment includes at least one container, and each container includes
At least one sub- container, the data acquisition request carry container identification and sub- container identification;
The processing unit 802 is searched in acquisition request storage equipment associated by the server based on the data
First data, comprising:
All numbers in sub- container corresponding to the sub- container identification for being included by container corresponding to the container identification
According to as first data;Or
Newest storage in sub- container corresponding to the sub- container identification for being included by container corresponding to the container identification
Data as first data.
In one possible implementation, the receiving unit 801 is also used to the processing unit 802 based on described
Before data acquisition request searches first data in the storage device, the identity information of the first terminal is obtained,
If there are the identity informations of the first terminal in rights database, triggers the processing unit 802 and obtain based on the data
Request is taken to search first data in the storage device.
In one possible implementation, the data acquisition request carries container identification;
If there are the identity informations of the first terminal in the rights database, 802 base of processing unit is triggered
The first data are searched in storage equipment in the data acquisition request, comprising:
The processing unit 802 searches the identity of the container corresponding to the container identification in the rights database
Information;
If in the identity information of the container corresponding to the container identification, there are the identity of the first terminal
Information, triggering the processing unit 802, acquisition request searches first data in the storage device based on the data.
In the embodiment of the present invention, receiving unit 801 passes through the data that the first Preset Transfer interface first terminal is sent
Acquisition request, acquisition request searches the first data, transmission unit 803 in storage equipment to processing unit 802 based on the data
First data are sent to the first terminal, can effectively realize unified management of the server to data.
Fig. 9 is referred to, Fig. 9 is a kind of structural schematic diagram of server provided in an embodiment of the present invention, the embodiment of the present invention
The method that the server of offer can be used for implementing above-mentioned Fig. 3, the embodiment of the present invention shown in 5 is realized, for ease of description, only
Show part related to the embodiment of the present invention, it is disclosed by specific technical details, referring to figure 3., the present invention shown in 5 it is real
Apply example.
As shown in figure 9, the server includes: at least one processor 901, such as CPU, at least one input unit 903,
At least one output device 904, memory 905, at least one communication bus 902.Wherein, communication bus 902 is for realizing this
Connection communication between a little components.Wherein, input unit 903, output device 904 are specifically as follows network interface, for the
One terminal, second terminal interact.Wherein, memory 905 may include high speed RAM memory, it is also possible to further include it is non-not
Stable memory, for example, at least a magnetic disk storage are specifically used for storage class information and file information table.Memory
905 optionally may include at least one storage device for being located remotely from aforementioned processor 901.One group is stored in memory 905
Program code, and processor 901, input unit 903 and output device 904 call the program code stored in memory 905,
For performing the following operations:
Input unit 903 passes through the data acquisition request that the first Preset Transfer interface first terminal is sent;
Processor 901 obtains the identity information of the first terminal, if there are the first terminals in rights database
Identity information, search the first data in acquisition request storage equipment associated by the server based on the data;
First data are sent to the first terminal by output device 904.
In one possible implementation, input unit 903 is also used to through the second Preset Transfer interface second
The second data that terminal is sent;
Processor 901 is also used to store second data into the storage equipment;
Processor 901, is also used to generate the file information table of second data, and the file information table includes described
The store path of two data.
In one possible implementation, the file information table further includes the life cycle of second data;
The processor 901 is also used to delete the data for reaching the life cycle in the storage equipment.
In one possible implementation, the storage equipment includes at least one container, and each container includes
At least one sub- container, the data acquisition request carry container identification and sub- container identification;
The processor 901 searches in acquisition request storage equipment associated by the server based on the data
One data, comprising:
All numbers in sub- container corresponding to the sub- container identification for being included by container corresponding to the container identification
According to as first data;Or
Newest storage in sub- container corresponding to the sub- container identification for being included by container corresponding to the container identification
Data as first data.
In one possible implementation, the input unit 903 is also used to the processor 901 and is based on the number
Before searching first data in the storage device according to acquisition request, the identity information of the first terminal is obtained, such as
There are the identity information of the first terminal in fruit rights database, triggers the processor 901 and obtain based on the data and ask
It asks and searches first data in the storage device.
In one possible implementation, the data acquisition request carries container identification;
If there are the identity informations of the first terminal in the rights database, triggers the processor 901 and be based on
The data acquisition request searches the first data in storage equipment, comprising:
The processor 901 searches the identity letter of the container corresponding to the container identification in the rights database
Breath;
If in the identity information of the container corresponding to the container identification, there are the identity of the first terminal
Information, triggering the processor 901, acquisition request searches first data in the storage device based on the data.
Specifically, the server introduced in the embodiment of the present invention can combine Fig. 3,5 sides introduced to implement the present invention
Process some or all of in method embodiment.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the program can be stored in computer-readable storage medium
In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic
Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access
Memory, RAM) etc..
The above disclosure is only the preferred embodiments of the present invention, cannot limit the right model of the present invention with this certainly
It encloses, therefore equivalent changes made in accordance with the claims of the present invention, is still within the scope of the present invention.
Claims (15)
1. a kind of data processing method, which is characterized in that the described method includes:
Server passes through the data acquisition request that the first Preset Transfer interface first terminal is sent;
The server searches the first data in acquisition request storage equipment associated by the server based on the data;
First data are sent to the first terminal by the server.
2. the method as described in claim 1, which is characterized in that the method also includes:
The server passes through the second data that the second Preset Transfer interface second terminal is sent;
The server stores second data into the storage equipment;
The server generates the file information table of second data, and the file information table includes depositing for second data
Store up path.
3. method according to claim 2, which is characterized in that the file information table further includes the life of second data
Period;
The method also includes:
The server deletes the data for reaching the life cycle in the storage equipment.
4. the method as described in claim 1, which is characterized in that the storage equipment includes at least one container, each described
Container includes at least one sub- container, and the data acquisition request carries container identification and sub- container identification;
The server searches the first data in acquisition request storage equipment associated by the server based on the data,
Include:
In sub- container corresponding to the sub- container identification that container corresponding to the container identification is included by the server
All data are as first data;Or
In sub- container corresponding to the sub- container identification that container corresponding to the container identification is included by the server most
The data newly stored are as first data.
5. the method as described in claim 1, which is characterized in that the server based on the data acquisition request in the clothes
Before searching the first data associated by business device in storage equipment, further includes:
The server obtains the identity information of the first terminal;
If there are the identity informations of the first terminal in rights database, triggers the server and obtain based on the data
First data are searched in request in the storage device.
6. method as claimed in claim 5, which is characterized in that the data acquisition request carries container identification;
If there are the identity informations of the first terminal in the rights database, the server is triggered based on the data
Acquisition request searches the first data in storage equipment, comprising:
The server searches the identity information of the container corresponding to the container identification in the rights database;
If there are the identity information of the first terminal in the identity information of the container corresponding to the container identification,
Triggering the server, acquisition request searches first data in the storage device based on the data.
7. a kind of data processing method, which is characterized in that the described method includes:
First terminal sends data acquisition request to server by the first Preset Transfer interface;
The first terminal receives the first data that the server is sent, and first data are described in the server is based on
What data acquisition request was found in the storage equipment associated by the server.
8. a kind of server, which is characterized in that the server includes:
Receiving unit, the data acquisition request for being sent by the first Preset Transfer interface first terminal;
Processing unit searches the first number for acquisition request based on the data in the storage equipment associated by the server
According to;
Transmission unit, for first data to be sent to the first terminal.
9. server as claimed in claim 8, which is characterized in that
The receiving unit is also used to the second data sent by the second Preset Transfer interface second terminal;
The processing unit is also used to store second data into the storage equipment;
The processing unit, is also used to generate the file information table of second data, and the file information table includes described
The store path of two data.
10. server as claimed in claim 9, which is characterized in that the file information table further includes second data
Life cycle;
The processing unit is also used to delete the data for reaching the life cycle in the storage equipment.
11. server as claimed in claim 8, which is characterized in that the storage equipment includes at least one container, Ge Gesuo
Stating container includes at least one sub- container, and the data acquisition request carries container identification and sub- container identification;
The processing unit searches the first number in acquisition request storage equipment associated by the server based on the data
According to, comprising:
All data in sub- container corresponding to the sub- container identification for being included by container corresponding to the container identification are made
For first data;Or
The number of newest storage in sub- container corresponding to the sub- container identification for being included by container corresponding to the container identification
According to as first data.
12. server as claimed in claim 8, which is characterized in that
The receiving unit, being also used to the processing unit, acquisition request searches institute in the storage device based on the data
Before stating the first data, the identity information of the first terminal is obtained, if there are the first terminals in rights database
Identity information, triggering the processing unit, acquisition request searches first number in the storage device based on the data
According to.
13. server as claimed in claim 12, which is characterized in that the data acquisition request carries container identification;
If there are the identity informations of the first terminal in the rights database, triggers the processing unit and be based on the number
The first data are searched in storage equipment according to acquisition request, comprising:
The processing unit searches the identity information of the container corresponding to the container identification in the rights database;
If there are the identity information of the first terminal in the identity information of the container corresponding to the container identification,
Triggering the processing unit, acquisition request searches first data in the storage device based on the data.
14. a kind of terminal, which is characterized in that the terminal includes:
Transmission unit, for sending data acquisition request to server by the first Preset Transfer interface;
Receiving unit, first data sent for receiving the server, first data are the server bases
It is found in the storage equipment associated by the server in the data acquisition request.
15. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage has computer journey
Sequence, the computer program include program instruction, and described program instruction makes to execute such as any one of claim 1-7 upon being performed
The method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811072733.0A CN109213955B (en) | 2018-09-14 | 2018-09-14 | Data processing method and related equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811072733.0A CN109213955B (en) | 2018-09-14 | 2018-09-14 | Data processing method and related equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109213955A true CN109213955A (en) | 2019-01-15 |
CN109213955B CN109213955B (en) | 2022-11-11 |
Family
ID=64984359
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811072733.0A Active CN109213955B (en) | 2018-09-14 | 2018-09-14 | Data processing method and related equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109213955B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110839074A (en) * | 2019-11-07 | 2020-02-25 | 北京首钢自动化信息技术有限公司 | Data request receiving and processing method and device |
CN112835655A (en) * | 2021-02-26 | 2021-05-25 | 深圳市晨北科技有限公司 | Transparent data transmission method, system, transmission terminal and storage medium |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1553361A (en) * | 2003-06-05 | 2004-12-08 | 鸿富锦精密工业(深圳)有限公司 | Network file download and upload managing system and method |
CN101179766A (en) * | 2007-12-13 | 2008-05-14 | 中兴通讯股份有限公司 | Method and system for implementing service data sharing |
CN102073742A (en) * | 2011-01-31 | 2011-05-25 | 清华大学 | Mass object storage system and running method thereof |
CN102447740A (en) * | 2011-11-21 | 2012-05-09 | 深圳市有方科技有限公司 | Communication history management method applied to network cloud servers and cloud server |
CN103065100A (en) * | 2012-12-26 | 2013-04-24 | 中国人民解放军总参谋部第六十一研究所 | Container-based method of users to protect private data |
US20150020169A1 (en) * | 2013-07-12 | 2015-01-15 | Brother Kogyo Kabushiki Kaisha | Information Device and Network System |
CN105338113A (en) * | 2015-11-25 | 2016-02-17 | 北京航空航天大学 | Multi-platform data interconnected system for sharing urban data resources |
CN105450750A (en) * | 2015-12-01 | 2016-03-30 | 成都汇合乾元科技有限公司 | Secure interaction method for intelligent terminal |
CN105516110A (en) * | 2015-12-01 | 2016-04-20 | 成都汇合乾元科技有限公司 | Mobile equipment secure data transmission method |
CN106127368A (en) * | 2016-06-14 | 2016-11-16 | 成都镜杰科技有限责任公司 | Date storage method for ERP System |
CN106230805A (en) * | 2016-07-27 | 2016-12-14 | 厦门中控生物识别信息技术有限公司 | A kind of data processing method, server and data handling system |
CN108521458A (en) * | 2018-03-30 | 2018-09-11 | 新华三云计算技术有限公司 | Application platform access method and device |
-
2018
- 2018-09-14 CN CN201811072733.0A patent/CN109213955B/en active Active
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1553361A (en) * | 2003-06-05 | 2004-12-08 | 鸿富锦精密工业(深圳)有限公司 | Network file download and upload managing system and method |
CN101179766A (en) * | 2007-12-13 | 2008-05-14 | 中兴通讯股份有限公司 | Method and system for implementing service data sharing |
CN102073742A (en) * | 2011-01-31 | 2011-05-25 | 清华大学 | Mass object storage system and running method thereof |
CN102447740A (en) * | 2011-11-21 | 2012-05-09 | 深圳市有方科技有限公司 | Communication history management method applied to network cloud servers and cloud server |
CN103065100A (en) * | 2012-12-26 | 2013-04-24 | 中国人民解放军总参谋部第六十一研究所 | Container-based method of users to protect private data |
US20150020169A1 (en) * | 2013-07-12 | 2015-01-15 | Brother Kogyo Kabushiki Kaisha | Information Device and Network System |
CN105338113A (en) * | 2015-11-25 | 2016-02-17 | 北京航空航天大学 | Multi-platform data interconnected system for sharing urban data resources |
CN105450750A (en) * | 2015-12-01 | 2016-03-30 | 成都汇合乾元科技有限公司 | Secure interaction method for intelligent terminal |
CN105516110A (en) * | 2015-12-01 | 2016-04-20 | 成都汇合乾元科技有限公司 | Mobile equipment secure data transmission method |
CN106127368A (en) * | 2016-06-14 | 2016-11-16 | 成都镜杰科技有限责任公司 | Date storage method for ERP System |
CN106230805A (en) * | 2016-07-27 | 2016-12-14 | 厦门中控生物识别信息技术有限公司 | A kind of data processing method, server and data handling system |
CN108521458A (en) * | 2018-03-30 | 2018-09-11 | 新华三云计算技术有限公司 | Application platform access method and device |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110839074A (en) * | 2019-11-07 | 2020-02-25 | 北京首钢自动化信息技术有限公司 | Data request receiving and processing method and device |
CN112835655A (en) * | 2021-02-26 | 2021-05-25 | 深圳市晨北科技有限公司 | Transparent data transmission method, system, transmission terminal and storage medium |
CN112835655B (en) * | 2021-02-26 | 2024-05-10 | 深圳市晨北科技有限公司 | Transparent data transmission method, system, transmission terminal and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN109213955B (en) | 2022-11-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105847020B (en) | Message pushing method and device | |
CN109818848B (en) | Session display method and device, storage medium and electronic device | |
CN105868231A (en) | Cache data updating method and device | |
CN101207580B (en) | System and method for adding and deleting linkman synchronously by instant communication platform and business platform | |
CN103905495B (en) | A kind of synchronous method and background server of application | |
CN102882985A (en) | File sharing method based on cloud storage | |
WO2013056598A1 (en) | Contact information synchronization system and method | |
CN102769640B (en) | The update method of user profile, server and system | |
JP2011203894A (en) | Information processing apparatus, business form data producing method and computer program | |
CN103841180B (en) | A kind of network data synchronizing method, apparatus, terminal device and server based on operational order | |
CN107920103A (en) | A kind of method and system and client and server of information push | |
US9876776B2 (en) | Methods for generating and publishing a web site based on selected items and devices thereof | |
US20200233878A1 (en) | Card-based information management method and system | |
CN104348848A (en) | Method, terminal equipment and server for managing pictures | |
JP2005530258A (en) | System and method for resynchronization while refreshing a client device from a server | |
CN106888264B (en) | A kind of method for interchanging data and device | |
CN109213955A (en) | Data processing method and relevant device | |
CN105868399A (en) | Method and device of managing photo album folders | |
CN104424340A (en) | Social network application information processing method, device and system | |
CN109391658B (en) | Account data synchronization method and equipment, storage medium and terminal thereof | |
CN107562568A (en) | The method and device of backup file | |
CN107968798A (en) | A kind of network management resources label acquisition method, cache synchronization method, apparatus and system | |
CN103379015A (en) | Website server and IM client data transmission method, apparatus and system | |
CN105933352B (en) | Method of data synchronization, client and system between client-based server | |
CN102137058B (en) | A kind of page access method and apparatus based on tab page |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |