CN108200110A - A kind of data processing method, apparatus and system - Google Patents
A kind of data processing method, apparatus and system Download PDFInfo
- Publication number
- CN108200110A CN108200110A CN201611119908.XA CN201611119908A CN108200110A CN 108200110 A CN108200110 A CN 108200110A CN 201611119908 A CN201611119908 A CN 201611119908A CN 108200110 A CN108200110 A CN 108200110A
- Authority
- CN
- China
- Prior art keywords
- target
- request
- read
- lower level
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 15
- 238000004891 communication Methods 0.000 claims abstract description 53
- 238000013507 mapping Methods 0.000 claims abstract description 37
- 238000012545 processing Methods 0.000 claims abstract description 28
- 238000000034 method Methods 0.000 claims abstract description 22
- 238000013475 authorization Methods 0.000 claims description 16
- 230000005540 biological transmission Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 3
- 238000007726 management method Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000011835 investigation Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
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/10—Protocols in which an application is distributed across nodes in the network
-
- 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/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1097—Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
Abstract
An embodiment of the present invention provides a kind of data processing method, apparatus and system, method is applied to the parent server in data processing system, and data processing system further includes:The lower level servers of at least one data content for being used to store corresponding region;Method includes:Receive the request of the read/write data transmitted by target terminal;Obtain the entrained target user's identification information of request;According to the preset mapping relations about user identity information and the communication identifier of each lower level servers, the destinations traffic mark corresponding to target user's identification information is determined;To ask to be redirected to the corresponding target lower level servers of destinations traffic mark so that target terminal according to the request of read/write data the read/write data in target lower level servers.Using the embodiment of the present invention, the storage pressure and data access pressure of parent server are reduced, parent server is avoided and network bandwidth bottleneck occurs.
Description
Technical field
The present invention relates to technical field of data storage, more particularly to a kind of data processing method, apparatus and system.
Background technology
At present, it is often necessary to by the data of the data of each counties and districts, such as civil case, be transferred to urban district carry out analysis and
Summarize.In that case, it usually needs dispose corresponding server (i.e. lower level servers) in each counties and districts, stored with corresponding
The collected data of institute of each counties and districts, and the data stored are uploaded to the server (i.e. parent server) in urban district;Urban district
Server after the data that each lower level servers upload are received, these data are analyzed and are summarized.
But this kind of mode, it is more demanding to the storage capacity of parent server, also, when visitor is from parent service
When device reads data, the data access pressure that can cause parent server is excessive so that occupies the excessive network of parent server
Bandwidth, even more so that network bandwidth bottleneck occurs in parent server.
Invention content
The embodiment of the present invention is designed to provide a kind of data processing method, apparatus and system, to reduce parent service
The storage pressure and data access pressure of device avoid parent server and network bandwidth bottleneck occur.
In a first aspect, an embodiment of the present invention provides a kind of data processing method, applied to upper in data processing system
Grade server, the data processing system further include:It is at least one to be taken for storing the subordinate of the data content in corresponding region
Business device;The method may include:
Receive the request of the read/write data transmitted by target terminal;
Obtain target user's identification information entrained by the request;
According to the preset mapping relations about user identity information and the communication identifier of each lower level servers, institute is determined
State the destinations traffic mark corresponding to target user's identification information;
The request is redirected to the corresponding target lower level servers of the destinations traffic mark, so that the target
Terminal read/write data in the target lower level servers according to the request of the read/write data.
Optionally, the method can also include:
Before the request for receiving the read/write data transmitted by target terminal, generation is described about user identity information and each
The mapping relations of the communication identifier of a lower level servers.
Optionally, the data processing system further includes integrated platform server, and the integrated platform server storage has:
The preset mapping relations about user identity information and the communication identifier of each lower level servers;
It is described according to the preset mapping relations about user identity information and the communication identifier of each lower level servers, really
The step of destinations traffic corresponding to fixed target user's identification information identifies can include:
In the mapping relations stored from the integrated platform server, determine corresponding to target user's identification information
Destinations traffic mark.
Optionally, the integrated platform server is also stored with:Authentication key corresponding to the user identity information;
The mode that the target terminal sends the request of read/write data to the parent server can include:
The target terminal sends target user's identification information and target authentication key to the integrated platform server, with
So that the integrated platform server is authenticated, and lead in certification target user's identification information and target authentication key
It is out-of-date to feed back authorization notification to the target terminal;
The target terminal is in the authorization notification for receiving the integrated platform server feedback, by read/write data
Request is sent to the parent server.
Optionally, when the request is read data request, the read data request also carries number of targets to be read
According to routing information;
Target terminal read/write data in the target lower level servers according to the request of the read/write data
Step can include:
The target terminal downloads the target data corresponding to the routing information from the target lower level servers.
Optionally, after the routing information is written into the target lower level servers for the target data, the target
Lower level servers return to the information of the target terminal.
Second aspect, an embodiment of the present invention provides a kind of data processing equipment, applied to upper in data processing system
Grade server, the data processing system further include:It is at least one to be taken for storing the subordinate of the data content in corresponding region
Business device;Described device can include:
Receiving unit, for receiving the request of the read/write data transmitted by target terminal;
Obtaining unit, for obtaining target user's identification information entrained by the request;
Determination unit, for according to preset reflecting about user identity information and the communication identifier of each lower level servers
Relationship is penetrated, determines the destinations traffic mark corresponding to target user's identification information;
Unit is redirected, for the request to be redirected to the corresponding target lower service of the destinations traffic mark
Device so that the target terminal according to the request of the read/write data read/write data in the target lower level servers.
Optionally, described device can also include:
Generation unit, for before the request for receiving the read/write data transmitted by target terminal, generation to be described about user
The mapping relations of identification information and the communication identifier of each lower level servers.
Optionally, the data processing system further includes integrated platform server, and the integrated platform server storage has:
The preset mapping relations about user identity information and the communication identifier of each lower level servers;
The determination unit is specifically used for:
In the mapping relations stored from the integrated platform server, determine corresponding to target user's identification information
Destinations traffic mark.
Optionally, the integrated platform server is also stored with:Authentication key corresponding to the user identity information;
The mode that the target terminal sends the request of read/write data to the parent server can include:
The target terminal sends target user's identification information and target authentication key to the integrated platform server, with
So that the integrated platform server is authenticated, and lead in certification target user's identification information and target authentication key
It is out-of-date to feed back authorization notification to the target terminal;
The target terminal is in the authorization notification for receiving the integrated platform server feedback, by read/write data
Request is sent to the parent server.
Optionally, when the request is read data request, the read data request also carries number of targets to be read
According to routing information;
Target terminal read/write data in the target lower level servers according to the request of the read/write data, packet
It includes:
The target terminal downloads the target data corresponding to the routing information from the target lower level servers.
Optionally, after the routing information is written into the target lower level servers for the target data, the target
Lower level servers return to the information of the target terminal.
The third aspect, an embodiment of the present invention provides a kind of data processing system, the system can include:Parent service
Device, at least one lower level servers and target terminal;
The parent server is used for:Receive the request of the read/write data transmitted by target terminal;Obtain the request
Entrained target user's identification information;According to preset about user identity information and the communication identifier of each lower level servers
Mapping relations, determine corresponding to target user's identification information destinations traffic mark;The request is redirected to institute
State the corresponding target lower level servers of destinations traffic mark;
The target terminal is used for:The request of read/write data is sent to the parent server;And according to the read/write
The request of data read/write data in the target lower level servers;
The lower level servers are used for:Store the number that the target terminal is written according to the request of the read/write data
According to.
Optionally, the system can also include:Integrated platform server;
The integrated platform server is used for:Store the communication identifier about user identity information and each lower level servers
Mapping relations;
The parent server is specifically used for:In the mapping relations stored from the integrated platform server, institute is determined
State the destinations traffic mark corresponding to target user's identification information.
In embodiments of the present invention, parent server is responsible for receiving the request for the read/write data that target terminal is sent;And
Parent server obtains the target entrained by the request and uses after the request of read/write data of target terminal transmission is received
The identification information at family;Then, the parent server can determine the target subordinate corresponding to target user's identification information
The request so as to be identified according to the destinations traffic, is redirected to the target by the destinations traffic mark of server
Lower level servers so that target terminal can in the target lower level servers read/write data.In this way, the parent service
Device can the permission of read/write data be managed in lower level servers to target user, and when the request is writes data
During request, data can be stored into corresponding lower level servers, reduce the storage pressure of parent server;It is asked when described
When asking as read data request, data are directly read from lower level servers, the data access pressure of parent server is reduced, keeps away
Exempt from parent server and network bandwidth bottleneck occur.
Description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, to embodiment or will show below
There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention, for those of ordinary skill in the art, without creative efforts, can be with
Other attached drawings are obtained according to these attached drawings.
Fig. 1 is a kind of data processing method flow chart provided in an embodiment of the present invention;
Fig. 2 is a kind of data processing method schematic diagram provided in an embodiment of the present invention;
Fig. 3 is a kind of structure diagram of data processing equipment provided in an embodiment of the present invention;
Fig. 4 is a kind of schematic diagram of data processing system provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art are obtained every other without making creative work
Embodiment shall fall within the protection scope of the present invention.
In order to reduce the storage pressure of parent server and data access pressure, an embodiment of the present invention provides a kind of data
Processing method, apparatus and system.
A kind of data processing method provided in an embodiment of the present invention is illustrated first below.
It should be noted that the executive agent for performing data processing method provided in an embodiment of the present invention is:Data processing
Parent server in system.Moreover, it is achieved that the functional software of data processing method provided in an embodiment of the present invention can be to set
It is placed in data processing software special in parent server, or the available data processing being set in parent server is soft
Feature card in part, this is all reasonable.Wherein, the data processing system further includes:It is at least one right for storing
Answer the lower level servers of the data content in region.
What deserves to be explained is the parent server can be built with VIID (Video&Image Information
Database, video image information database) server, the video image information database can store using case information as
The descriptive informations such as people, vehicle, object, the scene at center and relevant video pictures data, are not limited thereto certainly.
Referring to Fig. 1, a kind of data processing method provided in an embodiment of the present invention may include steps of:
S101:Receive the request of the read/write data transmitted by target terminal;
It is understood that before step S101 is performed, target terminal can be established with parent server and be communicated to connect.
Wherein, the mode for establishing communication connection can be mode in the prior art, for example:The target terminal can be based on
The corresponding communication identifier of the parent server (such as URL (Uniform Resource Locator, uniform resource locator)
Location, alternatively, IP address and port numbers) it is communicated to connect to ask to establish with the parent server;It is of course also possible to pass through click
The mode for the destination client installed on target terminal establishes the communication connection with the parent server, wherein, the mesh
It is described parent server, etc. to mark the server corresponding to client.
After communication connection is established, the target terminal can be indicated according to the data access of user, be taken to the higher level
The request for device transmission read/write data of being engaged in, and then, the parent server can receive the read/write transmitted by the target terminal
The request of data.
What deserves to be explained is the target terminal can be the conventional equipments such as mobile phone and computer or be equipped with VDS
The equipment of (Video Detect System, video investigation system) client.Wherein, the service corresponding to the VDS clients
Device is the parent server, and user can establish the communication connection with the parent server by the VDS clients, and
Data read-write operation is carried out by the VDS clients.
S102:Obtain target user's identification information entrained by the request;
For example, it when user A sends the request of read/write data by target terminal superior server, then should ask
The user identity information visitor A of user A can be carried by asking.Parent server can obtain after the request is received
User identity information visitor A entrained by the request.
It should be noted that target user's identification information can be made of letter, can also be made of number, certainly
It is not limited thereto.
S103:According to the preset mapping relations about user identity information and the communication identifier of each lower level servers,
Determine the destinations traffic mark corresponding to target user's identification information;
It is understood that in one implementation, it is described in order to improve the speed for obtaining the destinations traffic mark
Parent server can be stored with the mapping relations of the communication identifier about user identity information Yu each lower level servers.Its
In, the mapping relations can be parent server institute before the request for receiving the read/write data transmitted by target terminal
Generation.
In this kind of realization method, in the mapping relations that can be directly stored in the parent server, search
Destinations traffic mark corresponding to target user's identification information.
In another implementation, in order to reduce the storage pressure of the parent server, in the parent server
It is not stored with the mapping relations, the mapping relations are stored in integrated platform server.Wherein, the integrated platform service
Device has communication connection with parent server foundation.
It is understood that in this kind of realization method, can be closed from the mapping that the integrated platform server is stored
In system, the destinations traffic mark corresponding to target user's identification information is determined.Specifically, the parent server can incite somebody to action
Target user's identification information is sent to the integrated platform server;The integrated platform server is in the mapping stored
In relationship, the destinations traffic mark corresponding to target user's identification information is searched;The integrated platform server is being searched
After being identified to the destinations traffic, destinations traffic mark is sent to the parent server;The parent server can
To determine that the destinations traffic corresponding to target user's identification information identifies.
What deserves to be explained is the step of passing through S103, the parent server can be to target user in lower level servers
The permission of middle read/write data is managed.
S104:The request is redirected to the corresponding target lower level servers of the destinations traffic mark, so that institute
State target terminal according to the request of the read/write data read/write data in the target lower level servers.
It is understood that described redirect operation concretely:The parent server is determining the destinations traffic
After mark, destinations traffic mark is sent to the target terminal so that the target terminal can be established and the mesh
Mark the communication connection of the target lower level servers corresponding to communication identifier.So as in the target terminal and the target subordinate
After server establishes communication connection, the target terminal directly can read data from the target lower level servers, also may be used
Data directly are written in the target lower level servers.
It should be noted that the parent server can be led to the target by way of sending redirection message
Beacon knowledge is sent to the target terminal, this is reasonable.
What deserves to be explained is the parent server can perform step S101~S104, to realize the target terminal
It is written, and reading of the target terminal to data is realized using the prior art in the data of the target lower level servers;
The parent server can also perform step S101~S104, to realize the target terminal in the target lower level servers
Data write-in and digital independent, this is all reasonable.
In embodiments of the present invention, parent server is responsible for receiving the request for the read/write data that target terminal is sent;And
Parent server obtains the target entrained by the request and uses after the request of read/write data of target terminal transmission is received
The identification information at family;Then, the parent server can determine the target subordinate corresponding to target user's identification information
The request so as to be identified according to the destinations traffic, is redirected to the target by the destinations traffic mark of server
Lower level servers so that target terminal can in the target lower level servers read/write data.In this way, the parent service
Device can the permission of read/write data be managed in lower level servers to target user, and when the request is writes data
During request, data can be stored into corresponding lower level servers, reduce the storage pressure of parent server;It is asked when described
When asking as read data request, data are directly read from lower level servers, the data access pressure of parent server is reduced, keeps away
Exempt from parent server and network bandwidth bottleneck occur.
In addition, it is necessary to explanation, it, can by the way of this determining corresponding lower level servers by target user's mark
To be stored nearby in certain Scene realizations.For example, for traffic control system, in the city of some prefecture-level city, office is provided with upper
Grade service area, lower level servers are respectively provided in each district of the prefecture-level city, due to each counties and districts in general
User can perform the operation for uploading case information in counties and districts location, therefore can establish user and the place in each district
The correspondence of the lower level servers in district so that the user in each district can incite somebody to action in the case information for uploading traffic administration
In the storage to the lower level servers in this district of case information, the storage nearby of case information is realized.
Optionally, the integrated platform server is also stored with:Authentication key corresponding to the user identity information;
The mode that the target terminal sends the request of read/write data to the parent server includes:
The target terminal sends target user's identification information and target authentication key to the integrated platform server, with
So that the integrated platform server is authenticated, and lead in certification target user's identification information and target authentication key
It is out-of-date to feed back authorization notification to the target terminal;
The target terminal is in the authorization notification for receiving the integrated platform server feedback, by read/write data
Request is sent to the parent server.
For example, when user A is needed through request of the target terminal to parent server transmission read/write data
When, in order to ensure the safety of the parent service, need to verify whether user A has the power for accessing the parent server
Limit.
Specifically, when user A is after target terminal inputs target user's identification information and target authentication key, target is whole
Target user's identification information and target authentication key are sent to integrated platform server and carry out Authority Verification by end;It is described
The user identity information and the correspondence of authentication key that integrated platform server by utilizing is stored itself mark the target user
Know information and target authentication key is authenticated, that is, judge whether to be stored with target user's identification information and the target authentication is close
The correspondence of key;When certification by when, to the target terminal feed back authorization notification;And then the target terminal is receiving
To after the authorization notification, the read/write number for carrying target user's identification information can be sent to the parent server
According to request.
It should be noted that the target terminal has communication connection with integrated platform foundation, so as to which the target is whole
End can send target user's identification information and target authentication key to the integrated platform server.
Optionally, when the request is read data request, the read data request also carries number of targets to be read
According to routing information;
Target terminal read/write data in the target lower level servers according to the request of the read/write data, packet
It includes:
The target terminal downloads the target data corresponding to the routing information from the target lower level servers.
It is understood that the target terminal establish with after the communication connections of the target lower level servers, can be with
According to routing information entrained in the read data request, target data is read.
Wherein, the routing information can be the mesh after the target data is written into the target lower level servers
Mark lower level servers return to the information of the target terminal.
Optionally, in order to realize that parent server logarithm according to this and the unified management of data access authority, can be to described
The communication identifier of each lower level servers is shielded, i.e., only remembers in the parent server or the integrated platform server
Record has the communication identifier of each lower level servers, and other equipment can not directly obtain the logical of each lower level servers
Beacon is known.In this way, it can make other equipment that can not be realized to any subordinate in the case of without accessing the parent server
The access of server.And when other equipment accesses the parent server, need the management plan according to the parent server
Slightly carry out read/write data.
With reference to concrete application example, the data processing method provided the embodiment of the present invention is introduced.
Referring to Fig. 2, in deployment phase, i.e., can be sent in the target terminal to the parent server for being deployed in urban district
Before the request of read/write data, including step S1-S3:
S1:The communication identifier of the parent server is inputted on the browser of target terminal;
S2:The lower level servers of each counties and districts are deployed in by the communication identifier of itself and allow to access the user of itself
Corresponding user identity information is sent to integrated platform server;
S3:Integrated platform server is after the information transmitted by each lower level servers is received, to each lower service
Device, which returns, sends success flag.
It should be noted that above-mentioned execution step should not form the restriction to the execution sequence of S1 and S2, this field skill
Art personnel perform S1 again it is understood that S2 can also be first carried out, and can also be performed simultaneously S1 and S2, this is all reasonable.
After the completion of deployment, the target terminal can send the request of read/write data to the parent server.Its
In, when the request transmitted by the target terminal is to write the request of data, the operation that data are written may include steps of:
S11:The target terminal sends write data requests to the parent server, wherein, in write data request
Carry target user's identification information;
S12:The parent server sends target user's identification information after write data request is received
To the integrated platform server, identified with obtaining the destinations traffic corresponding to target user's identification information;
S13:The destinations traffic that the integrated platform server is returned corresponding to target user's identification information identify to
The parent server;
S14:The parent server identifies received destinations traffic, is sent to the target terminal;
S15:The target terminal target lower level servers corresponding with destinations traffic mark, which are established, to be communicated to connect,
And the target lower level servers are written into the target data to be written;
S16:When after the target lower level servers are successfully written the target data, the target lower level servers to
The target terminal returns to the store path of the target data.
When the request transmitted by the target terminal is read data request, following step can be included by reading the operation of data
Suddenly:
S21:The target terminal sends read data request to the parent server, wherein, in the read data request
Carry target user's identification information;
S22:The parent server sends target user's identification information after the read data request is received
To the integrated platform server, identified with obtaining the destinations traffic corresponding to target user's identification information;
S23:The destinations traffic that the integrated platform server is returned corresponding to target user's identification information identify to
The parent server;
S24:The parent server identifies received destinations traffic, is sent to the target terminal;
S25:The target terminal target lower level servers corresponding with destinations traffic mark, which are established, to be communicated to connect,
And ask in the target lower level servers, access the target data under the store path entrained by the read data request;
S26:The target data is sent to the target terminal by the target lower level servers.
It should be noted that the target terminal is after the destinations traffic mark is received, it can be determined that the target
Whether the target lower level servers foundation corresponding with destinations traffic mark has communication connection to terminal, if so, directly to
The target lower level servers send read/write data request;If it is not, then under target first corresponding with destinations traffic mark
Grade server establishes communication connection, then sends read/write data request to the target lower level servers.
Corresponding to above method embodiment, the embodiment of the present invention additionally provides a kind of data processing equipment, applied to data
Parent server in processing system, the data processing system further include:At least one number for being used to store corresponding region
According to the lower level servers of content;Referring to Fig. 3, described device can include:
Receiving unit 301, for receiving the request of the read/write data transmitted by target terminal;
Obtaining unit 302, for obtaining target user's identification information entrained by the request;
Determination unit 303, for according to the preset communication identifier about user identity information and each lower level servers
Mapping relations, determine corresponding to target user's identification information destinations traffic mark;
Unit 304 is redirected, for the request to be redirected to the corresponding target subordinate of the destinations traffic mark
Server so that the target terminal according to the request of the read/write data read/write number in the target lower level servers
According to.
In embodiments of the present invention, parent server is responsible for receiving the request for the read/write data that target terminal is sent;And
Parent server obtains the target entrained by the request and uses after the request of read/write data of target terminal transmission is received
The identification information at family;Then, the parent server can determine the target subordinate corresponding to target user's identification information
The request so as to be identified according to the destinations traffic, is redirected to the target by the destinations traffic mark of server
Lower level servers so that target terminal can in the target lower level servers read/write data.In this way, the parent service
Device can the permission of read/write data be managed in lower level servers to target user, and when the request is writes data
During request, data can be stored into corresponding lower level servers, reduce the storage pressure of parent server;It is asked when described
When asking as read data request, data are directly read from lower level servers, the data access pressure of parent server is reduced, keeps away
Exempt from parent server and network bandwidth bottleneck occur.
Optionally, described device can also include:
Generation unit, for before the request for receiving the read/write data transmitted by target terminal, generation to be described about user
The mapping relations of identification information and the communication identifier of each lower level servers.
Optionally, the data processing system further includes integrated platform server, and the integrated platform server storage has:
The preset mapping relations about user identity information and the communication identifier of each lower level servers;
The determination unit 303 is specifically used for:
In the mapping relations stored from the integrated platform server, determine corresponding to target user's identification information
Destinations traffic mark.
Optionally, the integrated platform server is also stored with:Authentication key corresponding to the user identity information;
The mode that the target terminal sends the request of read/write data to the parent server includes:
The target terminal sends target user's identification information and target authentication key to the integrated platform server, with
So that the integrated platform server is authenticated, and lead in certification target user's identification information and target authentication key
It is out-of-date to feed back authorization notification to the target terminal;
The target terminal is in the authorization notification for receiving the integrated platform server feedback, by read/write data
Request is sent to the parent server.
Optionally, when the request is read data request, the read data request also carries number of targets to be read
According to routing information;
Target terminal read/write data in the target lower level servers according to the request of the read/write data, packet
It includes:
The target terminal downloads the target data corresponding to the routing information from the target lower level servers.
Optionally, after the routing information is written into the target lower level servers for the target data, the target
Lower level servers return to the information of the target terminal.
Corresponding to the above method and device embodiment, the embodiment of the present invention additionally provides a kind of data processing system, described
System includes:Parent server, at least one lower level servers and target terminal;
The parent server is used for:Receive the request of the read/write data transmitted by target terminal;Obtain the request
Entrained target user's identification information;According to preset about user identity information and the communication identifier of each lower level servers
Mapping relations, determine corresponding to target user's identification information destinations traffic mark;The request is redirected to institute
State the corresponding target lower level servers of destinations traffic mark;
The target terminal is used for:The request of read/write data is sent to the parent server;And according to the read/write
The request of data read/write data in the target lower level servers;
The lower level servers are used for:Store the number that the target terminal is written according to the request of the read/write data
According to.
In embodiments of the present invention, parent server is responsible for receiving the request for the read/write data that target terminal is sent;And
Parent server obtains the target entrained by the request and uses after the request of read/write data of target terminal transmission is received
The identification information at family;Then, the parent server can determine the target subordinate corresponding to target user's identification information
The request so as to be identified according to the destinations traffic, is redirected to the target by the destinations traffic mark of server
Lower level servers so that target terminal can in the target lower level servers read/write data.In this way, the parent service
Device can the permission of read/write data be managed in lower level servers to target user, and when the request is writes data
During request, data can be stored into corresponding lower level servers, reduce the storage pressure of parent server;It is asked when described
When asking as read data request, data are directly read from lower level servers, the data access pressure of parent server is reduced, keeps away
Exempt from parent server and network bandwidth bottleneck occur.
Optionally, the data processing system can also include:Integrated platform server;
The integrated platform server is used for:Store the communication identifier about user identity information and each lower level servers
Mapping relations;
The parent server is specifically used for:In the mapping relations stored from the integrated platform server, institute is determined
State the destinations traffic mark corresponding to target user's identification information.
Optionally, the integrated platform server is additionally operable to:Store the authentication key corresponding to the user identity information;
Correspondingly, the target terminal is additionally operable to:To the integrated platform server send target user's identification information and
Target authentication key, so that the integrated platform server carries out target user's identification information and target authentication key
Certification, and certification by when to the target terminal feed back authorization notification;It is and anti-receiving the integrated platform server
During the authorization notification of feedback, the request of read/write data is sent to the parent server.
With reference to concrete application example, the data processing system provided the embodiment of the present invention is introduced.
Referring to Fig. 4, it is assumed that be deployed with lower level servers A in counties and districts A, be deployed with lower level servers B, and in county in counties and districts B
Area C is deployed with lower level servers C;Parent server, integrated platform server and target terminal are deployed in urban district.
Wherein, record has the user identity information A and authentication key A of counties and districts A personnel in the integrated platform server
User's mark of correspondence, the correspondence of the user identity information B of counties and districts B personnel and authentication key B and counties and districts C personnel
Know the correspondence of information C and authentication key C;Also record has the communication identifier A's of user identity information A and lower level servers A
Correspondence, user identity information B and lower level servers B communication identifier B correspondence and user identity information C with
The correspondence of the communication identifier C of lower level servers C.
Each lower level servers can be only used for storage unstructured data, and specifically, the lower level servers A is stored with
Unstructured data, lower level servers B corresponding to counties and districts A are stored with unstructured data, lower service corresponding to counties and districts B
Device C is stored with the unstructured data corresponding to counties and districts C, and the parent server is stored with the unstructured number corresponding to urban district
According to.Wherein, the unstructured data can include the data such as video and picture, since unstructured data is existing concept,
Unstructured data is not described in detail herein.
For example, when counties and districts A personnel are needed through the target terminal to the parent server, data are write in transmission please
When asking, the user identity information A of the counties and districts A personnel and authentication key A is sent to the integrated platform by the target terminal
Server is authenticated;Since record has user identity information A and authentication key A in integrated platform server, can sentence
Disconnected user identity information A and authentication key A certifications pass through, and can send write data to the parent server at this time please
It asks, realizes the access rights management that counties and districts A personnel are accessed with the parent server;The parent server receives described
After write data requests, the entrained user identity information A of write data request is obtained, and the user identity information A is sent out
Give the integrated platform server;Communication mark described in the integrated platform whois lookup corresponding to user identity information A
Know A, and the communication identifier A is sent to the target terminal;The target terminal according to the communication identifier A with it is described under
Grade server A establishes communication connection, and unstructured data is written in lower level servers A, realizes to counties and districts A personnel under
The permission of read/write data is managed, and realize the scheduling to the data to be written in grade server, reduces higher level
The storage pressure of server.
It should be noted that herein, relational terms such as first and second and the like are used merely to a reality
Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation
In any this practical relationship or sequence.Moreover, term " comprising ", "comprising" or its any other variant are intended to
Non-exclusive inclusion, so that process, method, article or equipment including a series of elements not only will including those
Element, but also including other elements that are not explicitly listed or further include as this process, method, article or equipment
Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that
Also there are other identical elements in process, method, article or equipment including the element.
Each embodiment in this specification is described using relevant mode, identical similar portion between each embodiment
Point just to refer each other, and the highlights of each of the examples are difference from other examples.Especially for system reality
For applying example, since it is substantially similar to embodiment of the method, so description is fairly simple, related part is referring to embodiment of the method
Part explanation.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all
Any modification, equivalent replacement, improvement and so within the spirit and principles in the present invention, are all contained in protection scope of the present invention
It is interior.
Claims (14)
1. a kind of data processing method, which is characterized in that applied to the parent server in data processing system, at the data
Reason system further includes:The lower level servers of at least one data content for being used to store corresponding region;The method includes:
Receive the request of the read/write data transmitted by target terminal;
Obtain target user's identification information entrained by the request;
According to the preset mapping relations about user identity information and the communication identifier of each lower level servers, the mesh is determined
Mark the destinations traffic mark corresponding to user identity information;
The request is redirected to the corresponding target lower level servers of the destinations traffic mark, so that the target terminal
According to the request of the read/write data in the target lower level servers read/write data.
2. it according to the method described in claim 1, it is characterized in that, further includes:
Before the request for receiving the read/write data transmitted by target terminal, generation is described about user identity information and under each
The mapping relations of the communication identifier of grade server.
3. according to the method described in claim 1, it is characterized in that, the data processing system further includes integrated platform service
Device, the integrated platform server storage have:The preset communication identifier about user identity information and each lower level servers
Mapping relations;
It is described according to the preset mapping relations about user identity information and the communication identifier of each lower level servers, determine institute
The destinations traffic mark corresponding to target user's identification information is stated, including:
In the mapping relations stored from the integrated platform server, the mesh corresponding to target user's identification information is determined
Mark communication identifier.
4. according to the method described in claim 3, it is characterized in that, the integrated platform server is also stored with:The user
Authentication key corresponding to identification information;
The mode that the target terminal sends the request of read/write data to the parent server includes:
The target terminal sends target user's identification information and target authentication key to the integrated platform server, so that
The integrated platform server is authenticated target user's identification information and target authentication key, and when certification passes through
Authorization notification is fed back to the target terminal;
The target terminal is in the authorization notification for receiving the integrated platform server feedback, by the request of read/write data
It is sent to the parent server.
5. according to claim 1-4 any one of them methods, which is characterized in that when the request is read data request, institute
State the routing information that read data request also carries target data to be read;
Target terminal read/write data in the target lower level servers according to the request of the read/write data, including:
The target terminal downloads the target data corresponding to the routing information from the target lower level servers.
6. according to the method described in claim 5, it is characterized in that, the routing information be written into for the target data it is described
After target lower level servers, the target lower level servers return to the information of the target terminal.
7. a kind of data processing equipment, which is characterized in that applied to the parent server in data processing system, at the data
Reason system further includes:The lower level servers of at least one data content for being used to store corresponding region;Described device includes:
Receiving unit, for receiving the request of the read/write data transmitted by target terminal;
Obtaining unit, for obtaining target user's identification information entrained by the request;
Determination unit, for being closed according to the preset mapping about user identity information and the communication identifier of each lower level servers
System determines the destinations traffic mark corresponding to target user's identification information;
Unit is redirected, for the request to be redirected to the corresponding target lower level servers of the destinations traffic mark,
So that the target terminal according to the request of the read/write data read/write data in the target lower level servers.
8. device according to claim 7, which is characterized in that further include:
Generation unit, for before the request for receiving the read/write data transmitted by target terminal, generation to be described about user identifier
Information and the mapping relations of the communication identifier of each lower level servers.
9. device according to claim 7, which is characterized in that the data processing system further includes integrated platform service
Device, the integrated platform server storage have:The preset communication identifier about user identity information and each lower level servers
Mapping relations;
The determination unit is specifically used for:
In the mapping relations stored from the integrated platform server, the mesh corresponding to target user's identification information is determined
Mark communication identifier.
10. device according to claim 9, which is characterized in that the integrated platform server is also stored with:The user
Authentication key corresponding to identification information;
The mode that the target terminal sends the request of read/write data to the parent server includes:
The target terminal sends target user's identification information and target authentication key to the integrated platform server, so that
The integrated platform server is authenticated target user's identification information and target authentication key, and when certification passes through
Authorization notification is fed back to the target terminal;
The target terminal is in the authorization notification for receiving the integrated platform server feedback, by the request of read/write data
It is sent to the parent server.
11. according to claim 7-10 any one of them devices, which is characterized in that when the request is read data request,
The read data request also carries the routing information of target data to be read;
Target terminal read/write data in the target lower level servers according to the request of the read/write data, including:
The target terminal downloads the target data corresponding to the routing information from the target lower level servers.
12. according to the devices described in claim 11, which is characterized in that the routing information is written into institute for the target data
After stating target lower level servers, the target lower level servers return to the information of the target terminal.
13. a kind of data processing system, which is characterized in that including:Parent server, at least one lower level servers and target are whole
End;
The parent server is used for:Receive the request of the read/write data transmitted by target terminal;The request is obtained to be taken
Target user's identification information of band;According to preset reflecting about user identity information and the communication identifier of each lower level servers
Relationship is penetrated, determines the destinations traffic mark corresponding to target user's identification information;The request is redirected to the mesh
Mark the target lower level servers corresponding to communication identifier;
The target terminal is used for:The request of read/write data is sent to the parent server;And according to the read/write data
Request in the target lower level servers read/write data;
The lower level servers are used for:Store the data that the target terminal is written according to the request of the read/write data.
14. system according to claim 13, which is characterized in that further include:Integrated platform server;
The integrated platform server is used for:Store reflecting about user identity information and the communication identifier of each lower level servers
Penetrate relationship;
The parent server is specifically used for:In the mapping relations stored from the integrated platform server, the mesh is determined
Mark the destinations traffic mark corresponding to user identity information.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201611119908.XA CN108200110A (en) | 2016-12-08 | 2016-12-08 | A kind of data processing method, apparatus and system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201611119908.XA CN108200110A (en) | 2016-12-08 | 2016-12-08 | A kind of data processing method, apparatus and system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN108200110A true CN108200110A (en) | 2018-06-22 |
Family
ID=62572372
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201611119908.XA Pending CN108200110A (en) | 2016-12-08 | 2016-12-08 | A kind of data processing method, apparatus and system |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN108200110A (en) |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111368115A (en) * | 2020-03-03 | 2020-07-03 | 杭州海康威视系统技术有限公司 | Data clustering method and device, clustering server and storage medium |
| CN112491943A (en) * | 2019-09-12 | 2021-03-12 | 北京国双科技有限公司 | Data request method, device, storage medium and electronic equipment |
| CN113645251A (en) * | 2021-08-24 | 2021-11-12 | 北京英创思信息技术有限公司 | Data transmission method and device suitable for cross-regional service |
| CN113987089A (en) * | 2021-12-28 | 2022-01-28 | 北京力控元通科技有限公司 | System cascading method, data processing method and device |
| CN115580409A (en) * | 2022-09-28 | 2023-01-06 | 上海爱数信息技术股份有限公司 | Distributed data storage access method and system based on object storage |
Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101677324A (en) * | 2008-09-17 | 2010-03-24 | 华为技术有限公司 | Business management method, terminal, network system and related equipment |
| CN101699816A (en) * | 2009-11-17 | 2010-04-28 | 上海华平信息技术股份有限公司 | System and method for document distribution based on internet |
| CN101977236A (en) * | 2010-11-05 | 2011-02-16 | 北京云快线软件服务有限公司 | Large-file multipoint distribution system |
| CN103029722A (en) * | 2012-12-17 | 2013-04-10 | 广州佳都信息技术研发有限公司 | Method for transmitting rail transit alarm data of balanced load |
| CN103581040A (en) * | 2013-11-26 | 2014-02-12 | 深圳中兴网信科技有限公司 | Server distributing device and server distributing method |
| CN104184673A (en) * | 2013-05-24 | 2014-12-03 | 中国电信股份有限公司 | Load balancing method based on instant communication service and system |
| CN105847399A (en) * | 2016-04-25 | 2016-08-10 | 乐视控股(北京)有限公司 | Server scheduling method and device |
-
2016
- 2016-12-08 CN CN201611119908.XA patent/CN108200110A/en active Pending
Patent Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101677324A (en) * | 2008-09-17 | 2010-03-24 | 华为技术有限公司 | Business management method, terminal, network system and related equipment |
| CN101699816A (en) * | 2009-11-17 | 2010-04-28 | 上海华平信息技术股份有限公司 | System and method for document distribution based on internet |
| CN101977236A (en) * | 2010-11-05 | 2011-02-16 | 北京云快线软件服务有限公司 | Large-file multipoint distribution system |
| CN103029722A (en) * | 2012-12-17 | 2013-04-10 | 广州佳都信息技术研发有限公司 | Method for transmitting rail transit alarm data of balanced load |
| CN104184673A (en) * | 2013-05-24 | 2014-12-03 | 中国电信股份有限公司 | Load balancing method based on instant communication service and system |
| CN103581040A (en) * | 2013-11-26 | 2014-02-12 | 深圳中兴网信科技有限公司 | Server distributing device and server distributing method |
| CN105847399A (en) * | 2016-04-25 | 2016-08-10 | 乐视控股(北京)有限公司 | Server scheduling method and device |
Cited By (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112491943A (en) * | 2019-09-12 | 2021-03-12 | 北京国双科技有限公司 | Data request method, device, storage medium and electronic equipment |
| CN111368115A (en) * | 2020-03-03 | 2020-07-03 | 杭州海康威视系统技术有限公司 | Data clustering method and device, clustering server and storage medium |
| CN111368115B (en) * | 2020-03-03 | 2023-09-29 | 杭州海康威视系统技术有限公司 | Data clustering method, device, clustering server and storage medium |
| CN113645251A (en) * | 2021-08-24 | 2021-11-12 | 北京英创思信息技术有限公司 | Data transmission method and device suitable for cross-regional service |
| CN113645251B (en) * | 2021-08-24 | 2023-05-23 | 北京英创思信息技术有限公司 | Data transmission method and device suitable for cross-regional service |
| CN113987089A (en) * | 2021-12-28 | 2022-01-28 | 北京力控元通科技有限公司 | System cascading method, data processing method and device |
| CN113987089B (en) * | 2021-12-28 | 2022-08-26 | 北京力控元通科技有限公司 | System cascading method, data processing method and device |
| CN115580409A (en) * | 2022-09-28 | 2023-01-06 | 上海爱数信息技术股份有限公司 | Distributed data storage access method and system based on object storage |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8116214B2 (en) | Provisioning of e-mail settings for a mobile terminal | |
| CN109756915B (en) | Wireless network management method and system | |
| CN108200110A (en) | A kind of data processing method, apparatus and system | |
| US9015282B2 (en) | Access to information on a mobile terminal from a remote terminal | |
| US20180103026A1 (en) | Secure authentication to provide mobile access to shared network resources | |
| CN103546436A (en) | Security control method, terminal, and cloud server | |
| CN112566154A (en) | Network entity and method for identifier allocation and/or identifier mapping for network services | |
| CN106844489A (en) | A kind of file operation method, device and system | |
| US10616418B2 (en) | Dynamically generated call triggers | |
| CN100370832C (en) | A multimedia monitoring system | |
| CN108600292A (en) | A kind of police moving map system and application method based on Internet resources | |
| CN111245791A (en) | Single sign-on method for realizing management and IT service through reverse proxy | |
| US20120143943A1 (en) | Cloud service system and method, and recording medium | |
| EP2709337B1 (en) | Service data processing method, device and system | |
| JP2004021686A (en) | Authentication processing system, authentication processing device, program, and authentication processing method | |
| CN110266674B (en) | Intranet access method and related device | |
| CN110336794B (en) | Intranet access method, system and related device | |
| CN110198540B (en) | Portal authentication method and device | |
| EP2158786B1 (en) | Association of a mobile user identifier and a radio identifier of a mobile phone | |
| KR101419275B1 (en) | Data synchronizing and servicing apparatus and method based on cloud storage | |
| CN111866993B (en) | Wireless local area network connection management method, device, software program and storage medium | |
| CN110336793B (en) | Intranet access method and related device | |
| CN105100163A (en) | File sharing method and device | |
| US9723436B2 (en) | Mobile device location | |
| CN104092681B (en) | Personalized multi-media Intelligent campus content distribution interactive system based on location-based service |
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 | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180622 |
|
| RJ01 | Rejection of invention patent application after publication |