CN110378680A - A kind of data processing method, device, storage medium and server - Google Patents
A kind of data processing method, device, storage medium and server Download PDFInfo
- Publication number
- CN110378680A CN110378680A CN201910522273.5A CN201910522273A CN110378680A CN 110378680 A CN110378680 A CN 110378680A CN 201910522273 A CN201910522273 A CN 201910522273A CN 110378680 A CN110378680 A CN 110378680A
- Authority
- CN
- China
- Prior art keywords
- data
- tables
- data processing
- information
- server
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/08—Payment architectures
- G06Q20/10—Payment architectures specially adapted for electronic funds transfer [EFT] systems; specially adapted for home banking systems
- G06Q20/108—Remote banking, e.g. home banking
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/40—Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
- G06Q20/401—Transaction verification
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/32—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
- H04L9/3236—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions
Abstract
The present invention relates to field of computer technology, a kind of data processing method, device, storage medium and server are proposed.This method comprises: obtaining the data processing request that user terminal is sent;Legitimacy verifies are carried out to the data processing request;If the legitimacy verifies pass through, to the notice that accepts of data processing request described in the client feeds back, and the data processing of information for including in the data processing request is recorded in the tables of data constructed in advance;The tables of data is sent to destination server, and discharges the system resource for responding the data processing request;If receiving the processing successful information corresponding with the data processing request that the destination server returns, records the processing successful information and send the successful message of processing to the user terminal.The time for executing data processing by platform can be shortened using this method, and the system resources consumption of platform can be reduced, promote handling capacity.
Description
Technical field
The present invention relates to field of computer technology more particularly to a kind of data processing method, device, storage medium and services
Device.
Background technique
Currently, user is when carrying out data processing (such as processing of transferring accounts) by third-party platform, it usually needs provided
Entire data handling procedure could be completed after the confirmation of matter side (such as People's Bank of China), feedback.And during this period, platform service
Device needs continue to monitor and respond relevant data processing request, this will lead to the system resource for occupying platform too much, influence
Throughput of system.
Summary of the invention
In view of this, the embodiment of the invention provides a kind of data processing method, device, storage medium and server, it can
To reduce the system resources consumption for the third-party platform for executing data processing, lifting system handling capacity.
The embodiment of the present invention in a first aspect, provide a kind of data processing method, be applied to include destination server with
And the data processing system of more than one Platform Server, the data processing method include:
First Platform Server obtains the data processing request that user terminal is sent, and first Platform Server is described one
Any one server in a above Platform Server;
First Platform Server carries out legitimacy verifies to the data processing request;
If the legitimacy verifies pass through, first Platform Server is to data processing described in the client feeds back
Request accepts notice, and the data processing of information for including in the data processing request is recorded in the tables of data constructed in advance
In, the tables of data is used for the classification storage of data processing of information;
The tables of data is sent to the destination server by first Platform Server, and is discharged described for responding
The system resource of data processing request, the destination server is used to parse the tables of data, at the data obtained according to parsing
Reason information completes the subsequent processing steps of the data processing request;
If receiving the processing successful information corresponding with the data processing request that the destination server returns, institute
The first Platform Server is stated to record the processing successful information and send the successful message of processing to the user terminal.
The second aspect of the embodiment of the present invention provides a kind of data processing equipment, comprising:
Data processing request obtains module, for obtaining the data processing request of user terminal transmission;
Legitimacy verifies module, for carrying out legitimacy verifies to the data processing request;
Notice feedback module is accepted, if passing through for the legitimacy verifies, to data described in the client feeds back
Processing request accepts notice, and the data processing of information for including in the data processing request is recorded in the number constructed in advance
According in table, the tables of data is used for the classification storage of data processing of information;
Tables of data sending module for the tables of data to be sent to destination server, and is discharged for responding the number
According to the system resource of processing request, the destination server is used to parse the tables of data, the data processing obtained according to parsing
Information completes the subsequent processing steps of the data processing request;
Presupposed information receiving module, if returning with the data processing request pair for receiving the destination server
The processing successful information answered then records the processing successful information and sends the successful message of processing to the user terminal.
The third aspect of the embodiment of the present invention, provides a kind of computer readable storage medium, described computer-readable to deposit
Storage media is stored with computer-readable instruction, and such as the embodiment of the present invention is realized when the computer-readable instruction is executed by processor
First aspect propose data processing method the step of.
The fourth aspect of the embodiment of the present invention, provides a kind of server, including memory, processor and is stored in institute
The computer-readable instruction that can be run in memory and on the processor is stated, the processor executes described computer-readable
The step of data processing method that the first aspect such as the embodiment of the present invention proposes is realized when instruction.
The data processing method that the embodiment of the present invention proposes includes: the data processing request for obtaining user terminal and sending;To institute
It states data processing request and carries out legitimacy verifies;If the legitimacy verifies pass through, to data described in the client feeds back
Processing request accepts notice, and the data processing of information for including in the data processing request is recorded in the number constructed in advance
According in table;The tables of data is sent to destination server, and discharges the system resource for responding the data processing request;
If receiving the processing successful information corresponding with the data processing request that the destination server returns, the place is recorded
It manages successful information and is sent to the user terminal and handle successful message.When user terminal issues data processing request and by legal
Property verification after, system platform immediate answer requesting party (transmission accepts notice), then again execution information record and transmission target
The operation of server (related qualification side).After the tables of data for recording information is sent to destination server, system platform is
Discharge corresponding system resource, it is not necessary to for the feedback of the response requesting party destination server to be received such as always, so as to contract
The short time that data processing is executed by third-party platform, and the system resources consumption of platform can be reduced, lifting system gulps down
The amount of spitting.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art
Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some
Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these
Attached drawing obtains other attached drawings.
Fig. 1 is a kind of flow chart of one embodiment of data processing method provided in an embodiment of the present invention;
Fig. 2 is a kind of flow chart of second embodiment of data processing method provided in an embodiment of the present invention;
Fig. 3 is a kind of structure chart of one embodiment of data processing equipment provided in an embodiment of the present invention;
Fig. 4 is a kind of schematic diagram of server provided in an embodiment of the present invention.
Specific embodiment
The embodiment of the invention provides a kind of data processing method, device, storage medium and servers, can reduce execution
The system resources consumption of the third-party platform of data processing, lifting system handling capacity.
In order to make the invention's purpose, features and advantages of the invention more obvious and easy to understand, below in conjunction with the present invention
Attached drawing in embodiment, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that disclosed below
Embodiment be only a part of the embodiment of the present invention, and not all embodiment.Based on the embodiments of the present invention, this field
Those of ordinary skill's all other embodiment obtained without making creative work, belongs to protection of the present invention
Range.
Referring to Fig. 1, a kind of one embodiment of data processing method includes: in the embodiment of the present invention
101, the data processing request that user terminal is sent is obtained;
Firstly, the system server of third-party platform obtains the data processing request that user terminal is sent.The data processing is asked
Ask can be it is all kinds of executed by third-party platform, and need related qualification side's achievable operation requests in confirmation side.For example, should
Data processing request can be transfer operation request, and user is in user terminal by specifying APP (such as APP of various commercial bank)
After completing transfer operation, transfer operation request is issued, the relevant system platform server of the APP, which can get the transfer operation, asks
Transfer operation is sought and executes, and transfer operation could be completed after needing to obtain the confirmation of People's Bank of China (qualification side), feedback.
102, legitimacy verifies are carried out to the data processing request;
System server needs after the data processing request for getting user terminal transmission to the data processing request
Legitimacy verifies are carried out, to determine whether the data processing request is legal regular request, for example examine some transfer request
It is whether legal.The detailed process of legitimacy verifies belongs to the prior art, specifically can refer to related data.
103, judge whether the legitimacy verifies pass through;
After carrying out legitimacy verifies to the data processing request, judge whether the legitimacy verifies pass through.If
The legitimacy verifies pass through, and then follow the steps 104-106, otherwise directly execute step 107.
104, data processing request described in Xiang Suoshu client feeds back accepts notice, and will be in the data processing request
The data processing of information for including is recorded in the tables of data constructed in advance;
The legitimacy verifies pass through, and the system server of platform can be to data processing described in the client feeds back at this time
Request accepts notice, and the data processing of information for including in the data processing request is recorded in the tables of data constructed in advance
In.The data processing of information for including in data processing request is the requisite information for completing relevant operation, such as transfer operation
For request, the data processing of information for including is some important transfer informations, such as produce account information, be transferred to account information,
It transfers accounts the information such as type, transfer amounts and time of transferring accounts.Multiple numbers can be pre-created in system server in specified data library
According to table, the data processing of information sent for each user terminal of classification storage.
105, the tables of data is sent to destination server, and discharges the system for responding the data processing request
Resource;
Then, the tables of data can be sent to some specified destination server by system server, and be discharged for ringing
The system resource of the data processing request is answered, the destination server is obtained for parsing the tables of data according to parsing
Data processing of information completes the subsequent processing steps of the data processing request.For example, for transfer operation request, record
The tables of data of transfer information can be sent to the server (being equivalent to the destination server) of People's Bank of China by system server,
The subsequent processing steps of transfer operation request are completed by the destination server.In actual operation, the system server of platform
Relevant tables of data can be successively sent to the destination service according to the time for receiving each data processing request with not timing
Device.After tables of data is sent to destination server, the i.e. releasable corresponding system resource of the system server of platform is only needed
Wait the feedback of the destination server.
If 106, receiving the processing successful information corresponding with the data processing request that the destination server returns,
It then records the processing successful information and is sent to the user terminal and handle successful message;
If system server receives being processed into corresponding with the data processing request of the destination server return
Function information then records the processing successful information and sends the successful message of processing to the user terminal.For example, the target clothes
Device be engaged in after having executed relevant operation, the notice (such as successful notice of transferring accounts) that a data are processed into function can be returned,
System server, can be in the tables of data after receiving the notice, and the data processing for including by the data processing request is believed
Breath mark processing successfully label, so as to user terminal can inquire data processing as a result, can also be directly to the user terminal
Send the successful message of processing.
107, refuse the data processing request.
The legitimacy verifies do not pass through, show the data processing request there are the risk of violation, system server at this time
It can refuse the data processing request, and relevant prompt information can be sent to the user terminal.
It should be noted that the embodiment of the present invention is applied to include destination server and more than one Platform Server
Data processing system, the effect of each Platform Server be it is identical, can individually be interacted with the destination server, and
And it can also mutually be interacted between each Platform Server.If the data processing system only includes a Platform Server,
Then the executing subject of above-mentioned steps 101-107 is the Platform Server;If the data processing system includes more than two flat
Platform server, then the executing subject of above-mentioned steps 101-107 can be any one server in these Platform Servers.
The data processing method that the embodiment of the present invention proposes includes: the data processing request for obtaining user terminal and sending;To institute
It states data processing request and carries out legitimacy verifies;If the legitimacy verifies pass through, to data described in the client feeds back
Processing request accepts notice, and the data processing of information for including in the data processing request is recorded in the number constructed in advance
According in table;The tables of data is sent to destination server, and discharges the system resource for responding the data processing request;
If receiving the processing successful information corresponding with the data processing request that the destination server returns, the place is recorded
It manages successful information and is sent to the user terminal and handle successful message.When user terminal issues data processing request and by legal
Property verification after, system platform immediate answer requesting party (transmission accepts notice), then again execution information record and transmission target
The operation of server (related qualification side).After the tables of data for recording information is sent to destination server, system platform is
Discharge corresponding system resource, it is not necessary to for the feedback of the response requesting party destination server to be received such as always, so as to contract
The short time that data processing is executed by third-party platform, and the system resources consumption of platform can be reduced, lifting system gulps down
The amount of spitting.
Referring to Fig. 2, a kind of second embodiment of data processing method includes: in the embodiment of the present invention
201, the data processing request that user terminal is sent is obtained;
202, legitimacy verifies are carried out to the data processing request;
203, judge whether the legitimacy verifies pass through;
Step 201-203 is identical as step 101-103, specifically can refer to the related description of step 101-103.
If the legitimacy verifies pass through, 204-209 is thened follow the steps, otherwise directly executes step 210.
204, data processing request described in Xiang Suoshu client feeds back accepts notice;
In embodiments of the present invention, the data processing request includes data transfer request, in the data processing request
Data processing of information include corresponding data transfer information;The tables of data includes a variety of different types of tables of data.It is described
Legitimacy verifies pass through, and plateform system server can be logical to accepting for data processing request described in the client feeds back at this time
Know, for example one is transferred accounts and accepts notice.
205, the user identifier and use of data transfering type, data transfer user are determined according to the data transfer information
Family type;
206, it determines in conjunction with the data transfering type, the user identifier of data transfer user and user type for remembering
Record the target type of the tables of data of the data transfer information;
207, the data transfer information is recorded in the tables of data of the target type;
For step 205-207, the use of data transfering type, data transfer user can be determined according to data transfer information
Family mark and user type.Assuming that the data transfer information is transfer information, then it can determine that fund produces the account of account
(individual turns the type of transferring accounts that number, the Account Type (personal account, business account etc.) of account number and this transfer accounts
Account, enterprise are transferred accounts, settlement of insurance claim is transferred accounts), then in conjunction with the determination of these information need which kind of type for transfer information be recorded in
Tables of data in.For example, executing individual if account type is personal account and transferring accounts, transfer information can be recorded in and be used to remember
In the tables of data for recording personal transfer information;If account type is business account, executes enterprise and transfer accounts, transfer information can be recorded
In the tables of data for recording enterprise's transfer information.
Further, each type of tables of data all has corresponding system resource parameters, the class of the tables of data
Type includes personal data transfer and batch data transfer, and step 207 may include:
(1) the corresponding system resource parameters of tables of data of the target type are obtained;
(2) the corresponding system resource parameters of the tables of data for setting the target type for current system resource parameters;
(3) if the target type is personal data transfer, the data transfer information is recorded in the target class
In the same tables of data of type;
(4) if the target type is batch data transfer, the data transfer information is recorded in the target class
In multiple tables of data of type, and the quantitative difference of the data transfer information of each tables of data record is less than preset threshold.
Plateform system server can be set in advance for each type of every tables of data according to the quantity of own system resource
Set corresponding system resource parameters, such as the system resource number of concurrent used when record information.Number of concurrent is higher, then the tables of data
The quantity of the system resource used when recording information is more, and the number of processes of such as starting is more.In general, personal data shift
The tables of data of (for example personal single is transferred accounts) type used system resource when recording data is less, can be set lower
Number of concurrent;The tables of data of batch data transfer (for example enterprise's batch is transferred accounts) type used system resource when recording data
It is more, higher number of concurrent can be set.
For personal data transfer, data transfer information can be recorded in same data of the target type
In table, to ensure that the data transfer information of same subscriber is recorded in same tables of data.Platform defines certain type of
The highest number of concurrent that user can use, if the data transfer information of same user is separately recorded in multiple different tables of data
In, since every tables of data all has oneself corresponding number of concurrent, then used in the data transfer information for recording the user
Number of concurrent may be exceeded, can lead to the problem of refusal record at this time, and finger is recorded in the data transfer information of same user
Determine in same tables of data of type, then this problem is not present.Same tables of data can recorde the data of multiple and different users
Transinformation, and the data transfer information of the same user can only be recorded in same tables of data.
The embodiment of the present invention applies equally to include destination server and the data processing of more than one Platform Server
System, the effect of each Platform Server be it is identical, can individually be interacted with the destination server, and each flat
It can also mutually be interacted between platform server, the executing subject of the embodiment of the present invention is one above Platform Server
In any one server, it is assumed that be the first Platform Server.
For above-mentioned steps (3), can specifically include:
(3.1) number of servers and oneself have described that one above Platform Server is included are obtained
The quantity of the tables of data of target type;
(3.2) cryptographic Hash of the user identifier is calculated;
(3.3) using the cryptographic Hash respectively to the quantity of the quantity of the server, the tables of data of the target type
Carry out modulo operation;
(3.4) information obtained after modulo operation is spliced, obtains the title of a tables of data;
(3.5) tables of data of the title is searched from the tables of data constructed in advance, and the data transfer information is remembered
Record is in the tables of data found.
The cryptographic Hash of the same user identifier (such as account number) be it is identical, when to this cryptographic Hash modulus
It will be the same value.Specific code is embodied as tablename=" AFA_ASYBOOK_S "+str (acc_hash%
Server_count)+" _ P "+str (acc_hash%book_count), such as: account 1100124566678, platform clothes
The quantity of business device is 4, and the quantity of the tables of data for the data table types which includes is 5, hash
(1100124566678)=1575965048, then apply code above realize tablename=" AFA_ASYBOOK_S "+
Str (1575965048%4)+" _ P "+str (1575965048%5)=AFA_ASYBOOK_S0_P3, then account
1100124566678 all data transfer informations can be all recorded in tables of data AFA_ASYBOOK_S0_P3.
For the special user of high-volume data transfer, data transfer information is equably recorded in multiple described mesh
In the tables of data for marking type, big concurrent, the requirement quickly handled can satisfy.For above-mentioned steps (4), can specifically include:
(4.1) number of servers and oneself have described that one above Platform Server is included are obtained
The quantity of the tables of data of target type;
(4.2) it obtains multiple and different random number, the quantity of the random number and needs to record the data transfer information
The target type tables of data quantity it is identical;
(4.3) cryptographic Hash of the plurality of different random number is calculated separately;
(4.4) using the cryptographic Hash respectively to the quantity of the quantity of the server, the tables of data of the target type
Carry out modulo operation;
(4.5) information obtained after modulo operation is spliced, obtains the title of multiple tables of data;
(4.6) tables of data of the title is searched from the tables of data constructed in advance, and the data transfer information is remembered
Record is in the tables of data found, and the quantitative difference of the data transfer information of each tables of data record is less than preset threshold.
By obtaining multiple and different random numbers, multiple cryptographic Hash can be calculated, each cryptographic Hash pair is respectively adopted
The quantity of the server, the quantity of the tables of data of the target type carry out modulo operation, then will obtain after modulo operation
Information spliced, data transfer information is recorded in more by the title of available multiple tables of data so as to equably
It opens in tables of data.Specific code is embodied as tablename=" AFA_ASYBOOK_ACC_S "+str (hash
(random.random ()) %server_count)+" _ P "+str (hash (random.random ()) %book_
Count), by taking the hash value of random number modulus again, by pressure test and routine test, this mode can reach as far as possible uniformly
Data transfer information is recorded in multiple tables of data by ground, it is assumed that is had 200,000 gross information content, is recorded between each tables of data
Information content difference can be less than 100.
208, the tables of data is sent to destination server, and discharges the system for responding the data processing request
Resource;
If 209, receiving the processing successful information corresponding with the data processing request that the destination server returns,
It then records the processing successful information and is sent to the user terminal and handle successful message;
210, refuse the data processing request.
Step 208-210 is identical as step 105-107, specifically can refer to the related description of step 105-107.
The data processing method that the embodiment of the present invention proposes includes: the data processing request for obtaining user terminal and sending;To institute
It states data processing request and carries out legitimacy verifies;If the legitimacy verifies pass through, to data described in the client feeds back
Processing request accepts notice;User's mark of data transfering type, data transfer user is determined according to the data transfer information
Knowledge and user type;It determines and uses in conjunction with the data transfering type, the user identifier of data transfer user and user type
In the target type for the tables of data for recording the data transfer information;The data transfer information is recorded in the target type
Tables of data in;The tables of data is sent to destination server, and discharges the system for responding the data processing request
Resource;If receiving the processing successful information corresponding with the data processing request that the destination server returns, record
The processing successful information simultaneously sends the successful message of processing to the user terminal.Compared with one embodiment of the invention,
The present embodiment proposes a kind of specific reality that the data processing of information for including in the data processing request is recorded in tables of data
Apply mode.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process
Execution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present invention constitutes any limit
It is fixed.
A kind of data processing method is essentially described above, a kind of data processing equipment will be described below.
Referring to Fig. 3, a kind of one embodiment of data processing equipment includes: in the embodiment of the present invention
Data processing request obtains module 301, for obtaining the data processing request of user terminal transmission;
Legitimacy verifies module 302, for carrying out legitimacy verifies to the data processing request;
Notice feedback module 303 is accepted, if passing through for the legitimacy verifies, to number described in the client feeds back
Notice is accepted according to processing request, and the data processing of information for including in the data processing request is recorded in and is constructed in advance
In tables of data, the tables of data is used for the classification storage of data processing of information;
Tables of data sending module 304 for the tables of data to be sent to destination server, and discharges described for responding
The system resource of data processing request, the destination server is used to parse the tables of data, at the data obtained according to parsing
Reason information completes the subsequent processing steps of the data processing request;
Presupposed information receiving module 305, if for receiving asking with the data processing for the destination server return
Corresponding processing successful information is sought, then record the processing successful information and sends the successful message of processing to the user terminal.
Further, the data processing request includes data transfer request, and the data processing of information includes that data turn
Move information;The tables of data includes a variety of different types of tables of data, and the notice feedback module that accepts may include:
Data transfer information determination unit, for determining that data transfering type, data turn according to the data transfer information
Divert from one use to another the user identifier and user type at family;
Data table types determination unit, in conjunction with the data transfering type, data transfer user user identifier with
And user type determines the target type for recording the tables of data of the data transfer information;
Data transfer information recording unit, for the data transfer information to be recorded in the tables of data of the target type
In.
Further, each type of tables of data all has corresponding system resource parameters, the class of the tables of data
Type includes personal data transfer and batch data transfer, and the data transfer information recording unit may include:
System resource parameters obtain subelement, the corresponding system resource ginseng of the tables of data for obtaining the target type
Number;
Subelement is arranged in system resource parameters, for setting current system resource parameters to the number of the target type
According to the corresponding system resource parameters of table;
The first information records subelement, if being personal data transfer for the target type, the data are shifted
Information is recorded in the same tables of data of the target type;
Second information records subelement, if being batch data transfer for the target type, the data are shifted
Information is recorded in multiple tables of data of the target type, and the quantitative difference of the data transfer information of each tables of data record
Less than preset threshold.
Further, the first information record subelement may include:
First quantity acquisition Sun Danyuan, the number of servers for being included for obtaining more than one Platform Server, and
The quantity of the tables of data for the target type oneself having;
First cryptographic Hash calculates Sun Danyuan, for calculating the cryptographic Hash of the user identifier;
First modulus grandson's unit, for using the cryptographic Hash respectively to the quantity of the server, the target type
Tables of data quantity carry out modulo operation;
First splicing Sun Danyuan obtains the name of a tables of data for splicing the information obtained after modulo operation
Claim;
The first information records Sun Danyuan, for searching the tables of data of the title from the tables of data constructed in advance, and will
The data transfer information is recorded in the tables of data found.
Further, the second information record subelement may include:
Second quantity acquisition Sun Danyuan, the number of servers for being included for obtaining more than one Platform Server, and
The quantity of the tables of data for the target type oneself having;
Random number obtains Sun Danyuan, for obtaining multiple and different random numbers, the quantity of the random number and needs to record
The quantity of the tables of data of the target type of the data transfer information is identical;
Second cryptographic Hash calculates Sun Danyuan, for calculating separately the cryptographic Hash of the plurality of different random number;
Second modulus grandson's unit, for using the cryptographic Hash respectively to the quantity of the server, the target type
Tables of data quantity carry out modulo operation;
Second splicing Sun Danyuan obtains the name of multiple tables of data for splicing the information obtained after modulo operation
Claim;
Second information records Sun Danyuan, for searching the tables of data of the title from the tables of data constructed in advance, and will
The data transfer information is recorded in the tables of data found, and the quantity of the data transfer information of each tables of data record is poor
It little Yu not preset threshold.
The embodiment of the present invention also provides a kind of computer readable storage medium, and the computer-readable recording medium storage has
Computer-readable instruction realizes any one number indicated such as Fig. 1 or Fig. 2 when the computer-readable instruction is executed by processor
The step of according to processing method.
The embodiment of the present invention also provides a kind of server, including memory, processor and storage are in the memory
And the computer-readable instruction that can be run on the processor, the processor are realized when executing the computer-readable instruction
The step of any one data processing method indicated such as Fig. 1 or Fig. 2.
Fig. 4 is the schematic diagram for the server that one embodiment of the invention provides.As shown in figure 4, the server 4 of the embodiment wraps
It includes: processor 40, memory 41 and being stored in the computer that can be run in the memory 41 and on the processor 40
Readable instruction 42.The processor 40 realizes that above-mentioned each data processing method is implemented when executing the computer-readable instruction 42
Step in example, such as step 101 shown in FIG. 1 is to 107.Alternatively, the processor 40 executes the computer-readable instruction
The function of each module/unit in above-mentioned each Installation practice, such as the function of module 301 to 305 shown in Fig. 3 are realized when 42.
Illustratively, the computer-readable instruction 42 can be divided into one or more module/units, one
Or multiple module/units are stored in the memory 41, and are executed by the processor 40, to complete the present invention.Institute
Stating one or more module/units can be the series of computation machine readable instruction section that can complete specific function, the instruction segment
For describing implementation procedure of the computer-readable instruction 42 in the server 4.
The server 4 can be smart phone, notebook, palm PC and cloud server etc. and calculate equipment.It is described
Server 4 may include, but be not limited only to, processor 40, memory 41.It will be understood by those skilled in the art that Fig. 4 is only to take
The example of business device 4, does not constitute the restriction to server 4, may include components more more or fewer than diagram, or combine certain
A little components or different components, such as the server 4 can also include input-output equipment, network access equipment, bus
Deng.
The processor 40 can be central processing unit (CentraL Processing Unit, CPU), can also be
Other general processors, digital signal processor (DigitaL SignaL Processor, DSP), specific integrated circuit
(AppLication Specific Integrated Circuit, ASIC), ready-made programmable gate array (FieLd-
ProgrammabLe Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor
Deng.
The memory 41 can be the internal storage unit of the server 4, such as the hard disk or memory of server 4.
The memory 41 is also possible to the External memory equipment of the server 4, such as the plug-in type being equipped on the server 4 is hard
Disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure DigitaL, SD) card, flash card
(FLash Card) etc..Further, the memory 41 can also both include the internal storage unit of the server 4 or wrap
Include External memory equipment.The memory 41 is for storing needed for the computer-readable instruction and the server other
Program and data.The memory 41 can be also used for temporarily storing the data that has exported or will export.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially
The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words
It embodies, which is stored in a storage medium, including some instructions are used so that a computer
Equipment (can be personal computer, server or the network equipment etc.) executes the complete of each embodiment the method for the present invention
Portion or part steps.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-OnLy
Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can store journey
The medium of sequence code.
The above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although referring to before
Stating embodiment, invention is explained in detail, those skilled in the art should understand that: it still can be to preceding
Technical solution documented by each embodiment is stated to modify or equivalent replacement of some of the technical features;And these
It modifies or replaces, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution.
Claims (10)
1. a kind of data processing method, which is characterized in that be applied to include destination server and more than one Platform Server
Data processing system, the data processing method includes:
First Platform Server obtain user terminal send data processing request, first Platform Server be it is one with
Any one server in upper mounting plate server;
First Platform Server carries out legitimacy verifies to the data processing request;
If the legitimacy verifies pass through, first Platform Server is to data processing request described in the client feeds back
Accept notice, and the data processing of information for including in the data processing request is recorded in the tables of data constructed in advance,
The tables of data is used for the classification storage of data processing of information;
The tables of data is sent to the destination server by first Platform Server, and is discharged for responding the data
The system resource of request is handled, the destination server is believed for parsing the tables of data according to the data processing that parsing obtains
Breath completes the subsequent processing steps of the data processing request;
If receiving the processing successful information corresponding with the data processing request that the destination server returns, described the
One Platform Server, which records the processing successful information and sends to the user terminal, handles successful message.
2. data processing method according to claim 1, which is characterized in that the data processing request includes data transfer
Request, the data processing of information includes data transfer information;The tables of data includes a variety of different types of tables of data, described
The data processing of information for including in the data processing request is recorded in the tables of data constructed in advance by the first Platform Server
Include:
First Platform Server determines the user of data transfering type, data transfer user according to the data transfer information
Mark and user type;
First Platform Server is in conjunction with the data transfering type, the user identifier and user type of data transfer user
Determine the target type for recording the tables of data of the data transfer information;
The data transfer information is recorded in the tables of data of the target type by first Platform Server.
3. data processing method according to claim 2, which is characterized in that each type of tables of data all has respectively right
The system resource parameters answered, the type of the tables of data include personal data transfer and batch data transfer, first platform
The data transfer information is recorded in the tables of data of the target type by server
The corresponding system resource parameters of tables of data that first Platform Server obtains the target type;
The corresponding system of tables of data that current system resource parameters are set the target type by first Platform Server
System resource parameters;
If the target type is personal data transfer, the data transfer information is recorded in by first Platform Server
In the same tables of data of the target type;
If the target type is batch data transfer, the data transfer information is recorded in by first Platform Server
In multiple tables of data of the target type, and the quantitative difference of the data transfer information of each tables of data record is less than default threshold
Value.
4. data processing method according to claim 3, which is characterized in that first Platform Server is by the data
Transinformation is recorded in the same tables of data of the target type
First Platform Server obtains the number of servers that one above Platform Server is included and oneself tool
The quantity of the tables of data for the target type having;
First Platform Server calculates the cryptographic Hash of the user identifier;
First Platform Server is using the cryptographic Hash respectively to the tables of data of the number of servers, the target type
Quantity carry out modulo operation;
First Platform Server splices the information obtained after modulo operation, obtains the title of a tables of data;
First Platform Server searches the tables of data of the title from the tables of data constructed in advance, and the data are turned
Information is moved to be recorded in the tables of data found.
5. data processing method according to claim 3, which is characterized in that first Platform Server is by the data
Transinformation is recorded in multiple tables of data of the target type
First Platform Server obtains the number of servers that one above Platform Server is included and oneself tool
The quantity of the tables of data for the target type having;
First Platform Server obtains multiple and different random numbers, the quantity of the random number and needs to record the data
The quantity of the tables of data of the target type of transinformation is identical;
First Platform Server calculates separately the cryptographic Hash of the plurality of different random number;
First Platform Server is using the cryptographic Hash respectively to the quantity of the server, the data of the target type
The quantity of table carries out modulo operation;
First Platform Server splices the information obtained after modulo operation, obtains the title of multiple tables of data;
First Platform Server searches the tables of data of the title from the tables of data constructed in advance, and the data are turned
It moves information to be recorded in the tables of data found, and the quantitative difference of the data transfer information of each tables of data record is less than default
Threshold value.
6. a kind of data processing equipment characterized by comprising
Data processing request obtains module, for obtaining the data processing request of user terminal transmission;
Legitimacy verifies module, for carrying out legitimacy verifies to the data processing request;
Notice feedback module is accepted, if passing through for the legitimacy verifies, to data processing described in the client feeds back
Request accepts notice, and the data processing of information for including in the data processing request is recorded in the tables of data constructed in advance
In, the tables of data is used for the classification storage of data processing of information;
Tables of data sending module for the tables of data to be sent to destination server, and is discharged for responding at the data
The system resource of request is managed, the destination server is used to parse the tables of data, the data processing of information obtained according to parsing
Complete the subsequent processing steps of the data processing request;
Presupposed information receiving module, if for receiving the corresponding with the data processing request of the destination server return
Successful information is handled, then record the processing successful information and sends the successful message of processing to the user terminal.
7. a kind of computer readable storage medium, the computer-readable recording medium storage has computer-readable instruction, special
Sign is, is realized at the data as described in any one of claims 1 to 5 when the computer-readable instruction is executed by processor
The step of reason method.
8. a kind of server, including memory, processor and storage can transport in the memory and on the processor
Capable computer-readable instruction, which is characterized in that the processor realizes following steps when executing the computer-readable instruction:
Obtain the data processing request that user terminal is sent;
Legitimacy verifies are carried out to the data processing request;
If the legitimacy verifies pass through, to the notice that accepts of data processing request described in the client feeds back, and by institute
It states the data processing of information for including in data processing request to be recorded in the tables of data constructed in advance, the tables of data is used for data
Handle the classification storage of information;
The tables of data is sent to destination server, and discharges the system resource for responding the data processing request, institute
Destination server is stated for parsing the tables of data, the data processing request is completed according to the data processing of information that parsing obtains
Subsequent processing steps;
If receiving the processing successful information corresponding with the data processing request that the destination server returns, institute is recorded
It states processing successful information and is sent to the user terminal and handle successful message.
9. server according to claim 8, which is characterized in that the data processing request includes data transfer request,
The data processing of information includes data transfer information;The tables of data includes a variety of different types of tables of data, described by institute
It states the data processing of information for including in data processing request and is recorded in the tables of data constructed in advance and include:
The user identifier and user type of data transfering type, data transfer user are determined according to the data transfer information;
It determines in conjunction with the data transfering type, the user identifier of data transfer user and user type for recording the number
According to the target type of the tables of data of transinformation;
The data transfer information is recorded in the tables of data of the target type.
10. server according to claim 9, which is characterized in that each type of tables of data all has corresponding
System resource parameters, the type of the tables of data includes that personal data transfer and batch data shift, described to turn the data
It moves information and is recorded in the tables of data of the target type and include:
Obtain the corresponding system resource parameters of tables of data of the target type;
The corresponding system resource parameters of the tables of data for setting the target type for current system resource parameters;
If the target type is personal data transfer, the data transfer information is recorded in the same of the target type
In a tables of data;
If the target type is batch data transfer, the data transfer information is recorded in the multiple of the target type
In tables of data, and the quantitative difference of the data transfer information of each tables of data record is less than preset threshold.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910522273.5A CN110378680A (en) | 2019-06-17 | 2019-06-17 | A kind of data processing method, device, storage medium and server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910522273.5A CN110378680A (en) | 2019-06-17 | 2019-06-17 | A kind of data processing method, device, storage medium and server |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110378680A true CN110378680A (en) | 2019-10-25 |
Family
ID=68249006
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910522273.5A Pending CN110378680A (en) | 2019-06-17 | 2019-06-17 | A kind of data processing method, device, storage medium and server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110378680A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110995848A (en) * | 2019-12-10 | 2020-04-10 | 北京海益同展信息科技有限公司 | Service management method, device, system, electronic equipment and storage medium |
CN111626865A (en) * | 2020-05-22 | 2020-09-04 | 泰康保险集团股份有限公司 | Data processing method and device, electronic equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105825409A (en) * | 2015-01-07 | 2016-08-03 | 航天信息股份有限公司 | System and method of pushing electronic invoice message |
CN106034113A (en) * | 2015-03-12 | 2016-10-19 | 阿里巴巴集团控股有限公司 | Data processing method and data processing device |
CN107194680A (en) * | 2016-03-14 | 2017-09-22 | 阿里巴巴集团控股有限公司 | A kind of configurableization resource quantity control method and device |
-
2019
- 2019-06-17 CN CN201910522273.5A patent/CN110378680A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105825409A (en) * | 2015-01-07 | 2016-08-03 | 航天信息股份有限公司 | System and method of pushing electronic invoice message |
CN106034113A (en) * | 2015-03-12 | 2016-10-19 | 阿里巴巴集团控股有限公司 | Data processing method and data processing device |
CN107194680A (en) * | 2016-03-14 | 2017-09-22 | 阿里巴巴集团控股有限公司 | A kind of configurableization resource quantity control method and device |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110995848A (en) * | 2019-12-10 | 2020-04-10 | 北京海益同展信息科技有限公司 | Service management method, device, system, electronic equipment and storage medium |
CN110995848B (en) * | 2019-12-10 | 2022-09-06 | 京东科技信息技术有限公司 | Service management method, device, system, electronic equipment and storage medium |
CN111626865A (en) * | 2020-05-22 | 2020-09-04 | 泰康保险集团股份有限公司 | Data processing method and device, electronic equipment and storage medium |
CN111626865B (en) * | 2020-05-22 | 2023-10-03 | 泰康保险集团股份有限公司 | Data processing method, device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107682397B (en) | Customer resources acquisition methods, device, terminal device and storage medium | |
US20140289286A1 (en) | System and method for performance tuning of garbage collection algorithms | |
CN104750690B (en) | A kind of inquiry processing method, apparatus and system | |
CN106897341A (en) | 2 D code information querying method, server, client and system | |
CN111078436B (en) | Data processing method, device, equipment and storage medium | |
CN109801051A (en) | Resource transfers method, system, server and computer readable storage medium | |
CN110245116A (en) | Reconciliation data processing method, device, equipment and computer readable storage medium | |
CN111010527B (en) | Method and related device for establishing video call through short message link | |
CN109309712A (en) | Data transmission method, server and the storage medium called based on interface asynchronous | |
CN110020043B (en) | Page crawling method, device, storage medium and processor | |
WO2019127773A1 (en) | Method and apparatus for processing sales of insurance product, storage medium, and terminal | |
CN110378680A (en) | A kind of data processing method, device, storage medium and server | |
CN107807935B (en) | Using recommended method and device | |
CN107682658A (en) | A kind of video pays a return visit method, equipment and storage medium | |
CN109086136A (en) | A kind of request processing method and relevant apparatus of Samba software | |
CN110704130A (en) | Data processing method and device | |
CN108805587A (en) | A kind of customer information processing method, device, medium and electronic equipment | |
CN108460002A (en) | Affiliate's automatic butt method, apparatus, equipment and storage medium | |
CN108170860A (en) | Data query method, apparatus, electronic equipment and computer readable storage medium | |
CN104731660B (en) | data distributing method, device and system | |
CN113722114A (en) | Data service processing method and device, computing equipment and storage medium | |
US9578500B1 (en) | Authentication via mobile telephone | |
CN107786308B (en) | Data transmission method and terminal device | |
CN109492034A (en) | Batch processing system, method, apparatus and storage medium | |
CN116112507A (en) | Hierarchical blockchain-based multitasking asynchronous execution method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |