CN107637052A - A kind of business data processing method, client, service end and system - Google Patents

A kind of business data processing method, client, service end and system Download PDF

Info

Publication number
CN107637052A
CN107637052A CN201780000797.7A CN201780000797A CN107637052A CN 107637052 A CN107637052 A CN 107637052A CN 201780000797 A CN201780000797 A CN 201780000797A CN 107637052 A CN107637052 A CN 107637052A
Authority
CN
China
Prior art keywords
business
service
network request
result
version information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201780000797.7A
Other languages
Chinese (zh)
Inventor
彭江明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujian Landi Commercial Equipment Co Ltd
Original Assignee
Fujian Landi Commercial Equipment Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujian Landi Commercial Equipment Co Ltd filed Critical Fujian Landi Commercial Equipment Co Ltd
Publication of CN107637052A publication Critical patent/CN107637052A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)
  • Computer And Data Communications (AREA)

Abstract

The present invention relates to data processing field, more particularly to a kind of business data processing method, client, service end and system.The version information that the present invention passes through the addition business operation in network request, so that server can quickly recognize the version information for the business operation that different clients are asked, and the service logic according to corresponding to calling version information handles the business datum carried in network request, compared with prior art, shorten the time of business datum corresponding to the different editions business operation that server identification client is submitted, so as to while the business operation of the compatible processing multi version of server is realized, effectively shorten the response time of client executing business operation.

Description

A kind of business data processing method, client, service end and system
Technical field
The present invention relates to data processing field, more particularly to a kind of business data processing method, client, service end and it is System.
Background technology
Business behaviour corresponding to network request (e.g., the HTTP request and HTTPS request) processing that server is sent according to POS Make, including transaction, inquirying card remaining sum, settlement operations, isochronous transaction key etc..Such as, in order to complete transactional operation, POS need to obtain Card taking number and password, and card number and cipher seal are filled to the BODY domains of the network transmission protocol;Net is sent to server by POS Network is asked so that server gets the business datum entrained by the BODY domains of the network transmission protocol, i.e. card number and password, and root Transactional operation is performed according to the business datum, the result of transactional operation is fed back into POS.But in order to adapt to the need in market Ask, need to constantly update or expand the function of POS.Such as, in order to improve the security of process of exchange, except checking card number and password Whether match, also need to verify whether the random code that user provides is identical with the random code that server is issued to user terminal.Therefore, In order to complete transactional operation, POS needs to provide card number, password and random code to server simultaneously.
Generally, a server can handle the network request that more POSs are sent, more POS being connected with the server Machine may be using different business process rules.In order to save the cost for redeploying POS, each server needs can The business operation of compatible processing multi version.
The patent document of Application No. 200710073135.0 provide a kind of method for realizing that system new and old edition is compatible and Device, described method include the steps:A, after the data flow D that system B reception systems A is sent, the adaptation of the system B Described data flow D is parsed into the data flow D ' of formatting according to system A Data dictionary set by module;B, described system B Adaptor module affiliated data flow D ' is resolved to what itself can be identified according to the Data dictionary set of the system B itself Data flow.Data adaptation is unrelated with specific data flow during realizing edition upgrading so that and new and old edition can coexist, and And it can be changed mutually between new and old edition.
But the method for realizing that system new and old edition is compatible of above-mentioned patent document offer need to first obtain system A data Dictionary, and being carried out to data stream after parsing twice, just can according to corresponding to performing the obtained data flow of parsing business operation, cause The response time that user sends business datum to system A feedback data results by system A is grown, especially in network request The response time of client is largely extended in the case of concurrent, influences Consumer's Experience.Similarly, except POS and service Device is carried out outside the scene that data interaction operate with finishing service, other by client and server carries out data interaction so that reality The problem of identical be present in the system of existing corresponding function.
The content of the invention
The technical problems to be solved by the invention are:Realizing the same of the business operation of the compatible processing multi version of server When, how to shorten response time of client executing business operation.
In order to solve the above-mentioned technical problem, the technical solution adopted by the present invention is:
The present invention provides a kind of business data processing method, including:
Obtain the version information of business operation and business datum corresponding with the business operation;
According to the version information and business datum generation network request;
The network request is sent to service end;
Version information of the service end in the network request is obtained to carry out the business datum in the network request The result of data processing.
The present invention provides a kind of client, including:
First acquisition module, for the version information for obtaining business operation and business number corresponding with the business operation According to;
Generation module, for generating network request according to the version information and the business datum;
First sending module, for sending the network request to service end;
Second acquisition module, for obtaining version information of the service end in the network request to the network request In business datum carry out data processing result.
The present invention also provides a kind of business data processing method, including:
Call service logic corresponding with the business operation version information in network request;
According to the business datum in network request described in the business logic processing, result is obtained;
The result is sent to client.
The present invention also provides a kind of service end, including:
Calling module, for calling service logic corresponding with the business operation version information in network request;
Processing module, for the business datum in the network request according to the business logic processing, obtain processing knot Fruit;
Second sending module, for sending the result to client.
The present invention separately provides a kind of business data processing method, including:
Client obtains the version information of business operation and business datum corresponding with the business operation;
Client generates network request according to the version information and the business datum;
Client sends the network request to service end;
Service end calls service logic corresponding with the version information in the network request;
Service end business datum according to the business logic processing, obtains result;
Service end sends the result to client.
The present invention separately provides a kind of business data processing system, including:
First acquisition module, the version information of business operation and industry corresponding with the business operation are obtained for client Business data;
Generation module, network request is generated according to the version information and the business datum for client;
First sending module, the network request is sent to service end for client;
Calling module, service logic corresponding with the version information in the network request is called for service end;
Processing module, for service end according to the business logic processing business datum, obtain result;
Second sending module, the result is sent to client for service end.
The beneficial effects of the present invention are:By the version information that business operation is added in network request so that service Device can quickly recognize the version information for the business operation that different clients are asked, and the industry according to corresponding to calling version information Business logic handles the business datum carried in network request, compared with prior art, shortens server identification client and carries The time of business datum corresponding to the different editions business operation of friendship, so as to realize the industry of the compatible processing multi version of server While business operation, effectively shorten the response time of client executing business operation.
Brief description of the drawings
Fig. 1 is a kind of FB(flow block) of the embodiment of business data processing method provided by the invention;
Fig. 2 is a kind of FB(flow block) for business data processing method embodiment that the present invention also provides;
Fig. 3 is a kind of FB(flow block) for business data processing method embodiment that the present invention separately provides;
Fig. 4 is a kind of structured flowchart of the embodiment of client provided by the invention;
Fig. 5 is a kind of structured flowchart of the embodiment of service end provided by the invention;
Fig. 6 is a kind of structured flowchart of the embodiment of business data processing system provided by the invention;
Fig. 7 is a kind of further structured flowchart of the embodiment of client provided by the invention;
Fig. 8 is a kind of further structured flowchart of the embodiment of service end provided by the invention;
Fig. 9 is the deployment schematic diagram of client provided by the invention and service end;
Figure 10 is a kind of further structured flowchart of the embodiment of business data processing system provided by the invention;
Label declaration:
1st, client;11st, the first acquisition module;12nd, generation module;121st, the first adding device;122nd, the second addition is single Member;13rd, the first sending module;14th, the second acquisition module;15th, update module;21st, calling module;22nd, processing module;221st, test Demonstrate,prove unit;222nd, execution unit;223rd, setting unit;23rd, the second sending module;24th, the 3rd acquisition module;25th, identification module.
Embodiment
Fig. 1 to Figure 10 is refer to,
As shown in figure 1, the present invention provides a kind of business data processing method, including:
Obtain the version information of business operation and business datum corresponding with the business operation;
According to the version information and business datum generation network request;
The network request is sent to service end;
Version information of the service end in the network request is obtained to carry out the business datum in the network request The result of data processing.
Further, in addition to:
Update the version of the business operation.
Seen from the above description, after the version of client renewal business operation, without a newly-built server to support new edition This business operation, without the annexation redeployed between client and server, improve renewal business operation just Profit.
Further, network request is generated according to the version information and the business datum, is specially:
The version information is added to the request header of the network request;
The business datum is added to the request body of the network request.
Seen from the above description, based on existing network transport mechanism, asking for network request can directly, be easily obtained Seek the information included in head.But the data in request body need to be parsed according to specific data structure.Therefore, will Version information is placed in the version information that request header is advantageous to make server quickly recognize the business operation that active client is asked.
As shown in Fig. 2 the present invention also provides a kind of business data processing method, including:
Call service logic corresponding with the business operation version information in network request;
According to the business datum in network request described in the business logic processing, result is obtained;
The result is sent to client.
Further, the business datum in the network request according to the business logic processing, obtains result, tool Body is:
The business datum includes type of service and service parameter;
The legitimacy of the service parameter is verified according to the type of service, is verified result;The result bag It is legal illegal with service parameter to include service parameter;
If the result is that service parameter is legal, obtained pair according to service parameter described in the business logic processing The result answered;Otherwise:
It is service parameter mistake to set the result.
Seen from the above description, by service parameter legitimacy verifies, many invalid service requests can be filtered out, are subtracted The processing pressure of few system.
Further, in addition to:
The business operation version information is obtained from the request header of the network request;
The data in the request body of the network request are identified according to the business operation version information, obtain the business Data.
Seen from the above description, based on existing network transport mechanism, asking for network request can directly, be easily obtained Seek the information included in head.But the data in request body need to be parsed according to specific data structure.Therefore, will Version information is placed in the version information that request header is advantageous to make server quickly recognize the business operation that active client is asked, So as to the data in specific data structure analysis request body, it is corresponding to shorten server identification different editions business operation Business datum time.
As shown in figure 3, the present invention separately provides a kind of business data processing method, including:
Client obtains the version information of business operation and business datum corresponding with the business operation;
Client generates network request according to the version information and the business datum;
Client sends the network request to service end;
Service end calls service logic corresponding with the version information in the network request;
Service end business datum according to the business logic processing, obtains result;
Service end sends the result to client.
Further, in addition to:
Client updates the version of the business operation.
Further, client generates network request according to the version information and the business datum, is specially:
Client adds the version information to the request header of the network request;
Client adds the business datum to the request body of the network request.
Further, service end business datum according to the business logic processing, obtains result, is specially:
The business datum includes type of service and service parameter;
Service end verifies the legitimacy of the service parameter according to the type of service, is verified result;The checking As a result it is legal illegal with service parameter to include service parameter;
If the result is that service parameter is legal, service end business according to the business logic processing is joined Number, obtains corresponding result;Otherwise:
It is service parameter mistake that service end, which sets the result,.
Further, in addition to:
Service end obtains the version information from the request header of the network request;
Service end identifies the data in the request body of the network request according to the version information, obtains the business number According to.
As shown in figure 4, the present invention provides a kind of client 1, including:
First acquisition module 11, for the version information for obtaining business operation and business number corresponding with the business operation According to;
Generation module 12, for generating network request according to the version information and the business datum;
First sending module 13, for sending the network request to service end;
Second acquisition module 14, please to the network for obtaining version information of the service end in the network request Business datum in asking carries out the result of data processing.
Further, in addition to:
Update module 15, for updating the version of the business operation.
Further, the generation module 12 includes:
First adding device 121, for adding the version information to the request header of the network request;
Second adding device 122, for adding the business datum to the request body of the network request.
As shown in figure 5, the present invention also provides a kind of service end 2, including:
Calling module 21, for calling service logic corresponding with the business operation version information in network request;
Processing module 22, for the business datum in the network request according to the business logic processing, handled As a result;
Second sending module 23, for sending the result to client.
Further, the processing module 22 includes:
The business datum includes type of service and service parameter;
Authentication unit 221, for verifying the legitimacy of the service parameter according to the type of service, it is verified knot Fruit;It is legal illegal with service parameter that the result includes service parameter;
Execution unit 222, if being that service parameter is legal for the result, according to the business logic processing institute State service parameter and obtain corresponding result;
Setting unit 223, if being that service parameter is illegal for the result, it is industry to set the result Business parameter error.
Further, in addition to:
3rd acquisition module 24, for obtaining the business operation version information from the request header of the network request;
Identification module 25, the number in request body for identifying the network request according to the business operation version information According to obtaining the business datum.
As shown in fig. 6, the present invention separately provides a kind of business data processing system, including:
First acquisition module 11, the version information of business operation and corresponding with the business operation is obtained for client 1 Business datum;
Generation module 12, network request is generated according to the version information and the business datum for client 1;
First sending module 13, the network request is sent to service end 2 for client 1;
Calling module 21, service logic corresponding with the version information in the network request is called for service end 2;
Processing module 22, for service end 2 according to the business logic processing business datum, obtain result;
Second sending module 23, the result is sent to client 1 for service end 2.
Further, in addition to:
Update module 15, the version of the business operation is updated for client 1.
Further, the generation module 12 includes:
First adding device 121, the version information is added to the request header of the network request for client 1;
Second adding device 122, the business datum is added to the request body of the network request for client 1.
Further, the processing module 22 includes:
The business datum includes type of service and service parameter;
Authentication unit 221, the legitimacy of the service parameter is verified according to the type of service for service end 2, is obtained The result;It is legal illegal with service parameter that the result includes service parameter;
Execution unit 222, if being that service parameter is legal for the result, service end 2 is patrolled according to the business The processing service parameter is collected, obtains corresponding result;
Setting unit 223, if being that service parameter is illegal for the result, service end 2 sets the processing As a result it is service parameter mistake.
Further, in addition to:
3rd acquisition module 24, the version information is obtained from the request header of the network request for service end 2;
Identification module 25, the number in the request body of the network request is identified according to the version information for service end 2 According to obtaining the business datum.
Embodiments of the invention one are:
The present embodiment provides a kind of business data processing method, including:
S1, the renewal business operation version;
S2, the version information for obtaining business operation and business datum corresponding with the business operation;
S3, network request generated according to the version information and the business datum;Specially:
S31, the addition version information to the network request request header;
S32, the addition business datum to the network request request body;
S4, the network request is sent to service end;
The version information of S5, acquisition service end in the network request enters to the business datum in the network request The result of row data processing.
Embodiments of the invention two are:
As shown in fig. 7, the present embodiment provides a kind of client 1, including:
Update module 15, for updating the version of the business operation;First acquisition module 11 obtains the version of business operation This information and business datum corresponding with the business operation;Generation module 12 is according to the version information and the business datum Generate network request;Wherein, the generation module 12 includes the first adding device 121 and the second adding device 122;First addition Unit 121 adds the version information to the request header of the network request;Second adding device 122 adds the business datum To the request body of the network request;First sending module 13 sends the network request to service end;Second acquisition module 14 Obtain version information of the service end in the network request and data processing is carried out to the business datum in the network request Result.
Embodiments of the invention three are:
The present embodiment provides a kind of business data processing method, including:
S1, calling service logic corresponding with the business operation version information in network request;
S2, the business operation version information is obtained from the request header of the network request;
S3, the data asked in body according to the business operation version information identification network request, are obtained described Business datum;
Business datum in S4, the network request according to the business logic processing, obtains result;Specially:
S41, the business datum include type of service and service parameter;
S42, the legitimacy according to the type of service checking service parameter, are verified result;The checking knot It is legal illegal with service parameter that fruit includes service parameter;
If S43, the result are that service parameter is legal, obtained according to service parameter described in the business logic processing To corresponding result;Otherwise:It is service parameter mistake to set the result;
S5, the result is sent to client.
Embodiments of the invention four are:
As shown in figure 8, the present embodiment provides a kind of service end 2, including:
3rd acquisition module 24 obtains the business operation version information from the request header of the network request;
Identification module 25 identifies the data in the request body of the network request according to the business operation version information, obtains To the business datum;
Calling module 21 calls service logic corresponding with the business operation version information in network request;
Business datum in the network request according to the business logic processing of processing module 22, obtains result;
Wherein, the processing module 22 includes authentication unit 221, execution unit 222 and setting unit 223;The business Data include type of service and service parameter;Authentication unit 221 verifies the legal of the service parameter according to the type of service Property, it is verified result;It is legal illegal with service parameter that the result includes service parameter;If the institute of execution unit 222 State the result for service parameter it is legal, then the service parameter according to the business logic processing obtain corresponding to processing tie Fruit;If 223 the result of setting unit is that service parameter is illegal, set the result wrong for service parameter By mistake;
Second sending module 23 sends the result to client.
Embodiments of the invention five are:
The present embodiment provides a kind of business data processing method, including:
S1, client update the version of the business operation;
S2, client obtain the version information of business operation and business datum corresponding with the business operation;
S3, client generate network request according to the version information and the business datum;Specially:
S31, client add the version information to the request header of the network request;
Wherein, when the client establishes connection with service end, the version information of business operation is put into HTTP by client The HEAD domains of request;For example, the version number of client traffic operation is TMS_Ver.00.01, client is sending HTTP request When, version number is added to by HTTP request by httpGet.addHeader (" tmsVersion ", " TMS_Ver.00.01 ");
S32, client add the business datum to the request body of the network request;
Wherein, specific business datum is put into BODY domains, the business datum includes type of service and other business are joined Number;For example, type of service type=X01 represent client automatic regular polling business, then service parameter include client series number, The information such as model;
S4, client send the network request to service end;
S5, service end obtain the version information from the request header of the network request;
Wherein, service end obtains HTTP request by HttpserletRequest.getHeader (" tmsVersion ") Version information TMS_Ver.00.01 in head;
S6, service end identify the data in the request body of the network request according to the version information, obtain the industry Business data;
Wherein, according to data structure corresponding with version information TMS_Ver.00.01, obtained from the BODY domains of HTTP request Take key-value pair;KEY in key-value pair represents the title of service parameter, and the VALUE in key-value pair represents the value of service parameter;Example Such as, a key-value pair is<" user name ", " Zhang Shan ">;
S7, service end call service logic corresponding with the version information in the network request;
Wherein, service logic corresponding with the business operation with different editions information is stored with service end, can basis Version information fast positioning and the service logic for calling adaptation;For example, two different editions automatic regular polling are stored with service end The service logic of business operation;Wherein, performing service logic 1 corresponding with version information TMS_Ver.00.01 need to be by client Client series number is provided, client need to be provided by client by performing service logic 2 corresponding with version information TMS_Ver.00.02 Hold two service parameters of series number and client model;Obviously, can cause to operate out if service parameter and service logic are not adapted to It is wrong;Therefore, when the business operation version that service end recognizes client is TMS_Ver.00.01, service end calls business to patrol Collect the service parameter carried in 1 processing HTTP request;
So for a system, can it is constant in service end address in the case of, fully compliant client it is each The business operation request of kind version, due to upgrading service before solving, perform the service parameter needed for business operation and change Just need to build a background service again to yield to denouncing for this change;
S8, the service end business datum according to the business logic processing, obtain result;Specially:
S81, the business datum include type of service and service parameter;
S82, service end verify the legitimacy of the service parameter according to the type of service, are verified result;It is described It is legal illegal with service parameter that the result includes service parameter;
If S83, the result are that service parameter is legal, service end business according to the business logic processing Parameter, obtain corresponding result;Otherwise it is service parameter mistake that service end, which sets the result,;
S9, service end send the result to client.
Embodiments of the invention six are:
As shown in Figure 10, the present embodiment provides a kind of business data processing system, including client 1 and service end 2;
Wherein, as shown in figure 9, multiple client 1 is connected with a service end 2;
The client 1 includes the first acquisition module 11, generation module 12, the first sending module 13, update module 15;
Wherein, the generation module 12 includes the first adding device 121 and the second adding device 122;
The service end 2 includes calling module 21, processing module 22, the second sending module 23, the 3rd acquisition module 24, knowledge Other module 25;
Wherein, the processing module 22 includes authentication unit 221, execution unit 222 and setting unit 223.
In summary, a kind of business data processing method provided by the invention and system, by being added in network request The version information of business operation so that server can quickly recognize the version letter for the business operation that different clients are asked Breath, and the service logic according to corresponding to calling version information handles the business datum carried in network request, with prior art Compare, shorten the time of business datum corresponding to the different editions business operation that server identification client is submitted, so that While realizing the business operation of the compatible processing multi version of server, when effectively shortening the response of client executing business operation Between.Further, seen from the above description, after the version of client renewal business operation, without a newly-built server to support The business operation of redaction, without the annexation redeployed between client and server, improve renewal business operation Convenience.Further, based on existing network transport mechanism, the request header of network request can directly, be easily obtained Included in information.But the data in request body need to be parsed according to specific data structure.Therefore, by version Information is placed in the version information that request header is advantageous to make server quickly recognize the business operation that active client is asked, so as to According to the data in specific data structure analysis request body, industry corresponding to server identification different editions business operation is shortened The time for data of being engaged in.

Claims (22)

  1. A kind of 1. business data processing method, it is characterised in that including:
    Obtain the version information of business operation and business datum corresponding with the business operation;
    According to the version information and business datum generation network request;
    The network request is sent to service end;
    Obtain version information of the service end in the network request and data are carried out to the business datum in the network request The result of processing.
  2. 2. business data processing method according to claim 1, it is characterised in that also include:
    Update the version of the business operation.
  3. 3. business data processing method according to claim 1, it is characterised in that according to the version information and the industry Business data generating network request, it is specially:
    The version information is added to the request header of the network request;
    The business datum is added to the request body of the network request.
  4. A kind of 4. business data processing method, it is characterised in that including:
    Call service logic corresponding with the business operation version information in network request;
    According to the business datum in network request described in the business logic processing, result is obtained;
    The result is sent to client.
  5. 5. business data processing method according to claim 4, it is characterised in that according to the business logic processing Business datum in network request, obtains result, is specially:
    The business datum includes type of service and service parameter;
    The legitimacy of the service parameter is verified according to the type of service, is verified result;The result includes industry Parameter of being engaged in is legal and service parameter is illegal;
    If the result is that service parameter is legal, according to corresponding to obtaining service parameter described in the business logic processing Result;Otherwise:
    It is service parameter mistake to set the result.
  6. 6. business data processing method according to claim 4, it is characterised in that also include:
    The business operation version information is obtained from the request header of the network request;
    The data in the request body of the network request are identified according to the business operation version information, obtain the business number According to.
  7. A kind of 7. business data processing method, it is characterised in that including:
    Client obtains the version information of business operation and business datum corresponding with the business operation;
    Client generates network request according to the version information and the business datum;
    Client sends the network request to service end;
    Service end calls service logic corresponding with the version information in the network request;
    Service end business datum according to the business logic processing, obtains result;
    Service end sends the result to client.
  8. 8. business data processing method according to claim 7, it is characterised in that also include:
    Client updates the version of the business operation.
  9. 9. business data processing method according to claim 7, it is characterised in that client according to the version information and The business datum generates network request, is specially:
    Client adds the version information to the request header of the network request;
    Client adds the business datum to the request body of the network request.
  10. 10. business data processing method according to claim 7, it is characterised in that service end is according to the service logic The business datum is handled, obtains result, is specially:
    The business datum includes type of service and service parameter;
    Service end verifies the legitimacy of the service parameter according to the type of service, is verified result;The result It is legal illegal with service parameter including service parameter;
    If the result is that service parameter is legal, service end service parameter according to the business logic processing, obtain To corresponding result;Otherwise:
    It is service parameter mistake that service end, which sets the result,.
  11. 11. business data processing method according to claim 7, it is characterised in that also include:
    Service end obtains the version information from the request header of the network request;
    Service end identifies the data in the request body of the network request according to the version information, obtains the business datum.
  12. A kind of 12. client, it is characterised in that including:
    First acquisition module, for the version information for obtaining business operation and business datum corresponding with the business operation;
    Generation module, for generating network request according to the version information and the business datum;
    First sending module, for sending the network request to service end;
    Second acquisition module, for obtaining version information of the service end in the network request in the network request Business datum carries out the result of data processing.
  13. 13. client according to claim 12, it is characterised in that also include:
    Update module, for updating the version of the business operation.
  14. 14. client according to claim 12, it is characterised in that the generation module includes:
    First adding device, for adding the version information to the request header of the network request;
    Second adding device, for adding the business datum to the request body of the network request.
  15. A kind of 15. service end, it is characterised in that including:
    Calling module, for calling service logic corresponding with the business operation version information in network request;
    Processing module, for the business datum in the network request according to the business logic processing, obtain result;
    Second sending module, for sending the result to client.
  16. 16. service end according to claim 15, it is characterised in that the processing module includes:
    The business datum includes type of service and service parameter;
    Authentication unit, for verifying the legitimacy of the service parameter according to the type of service, it is verified result;It is described to test It is legal illegal with service parameter including service parameter to demonstrate,prove result;
    Execution unit, if being that service parameter is legal for the result, according to business described in the business logic processing Parameter obtains corresponding result;
    Setting unit, if being that service parameter is illegal for the result, it is service parameter to set the result Mistake.
  17. 17. service end according to claim 15, it is characterised in that also include:
    3rd acquisition module, for obtaining the business operation version information from the request header of the network request;
    Identification module, the data in request body for identifying the network request according to the business operation version information, is obtained To the business datum.
  18. A kind of 18. business data processing system, it is characterised in that including:
    First acquisition module, the version information of business operation and business number corresponding with the business operation are obtained for client According to;
    Generation module, network request is generated according to the version information and the business datum for client;
    First sending module, the network request is sent to service end for client;
    Calling module, service logic corresponding with the version information in the network request is called for service end;
    Processing module, for service end according to the business logic processing business datum, obtain result;
    Second sending module, the result is sent to client for service end.
  19. 19. business data processing system according to claim 18, it is characterised in that also include:
    Update module, the version of the business operation is updated for client.
  20. 20. business data processing system according to claim 18, it is characterised in that the generation module includes:
    First adding device, the version information is added to the request header of the network request for client;
    Second adding device, the business datum is added to the request body of the network request for client.
  21. 21. business data processing system according to claim 18, it is characterised in that the processing module includes:
    The business datum includes type of service and service parameter;
    Authentication unit, the legitimacy of the service parameter is verified according to the type of service for service end, is verified result; It is legal illegal with service parameter that the result includes service parameter;
    Execution unit, if being that service parameter is legal for the result, service end is according to the business logic processing institute Service parameter is stated, obtains corresponding result;
    Setting unit, if being that service parameter is illegal for the result, it is industry that service end, which sets the result, Business parameter error.
  22. 22. business data processing system according to claim 18, it is characterised in that also include:
    3rd acquisition module, the version information is obtained from the request header of the network request for service end;
    Identification module, the data in the request body of the network request are identified according to the version information for service end, are obtained The business datum.
CN201780000797.7A 2017-08-02 2017-08-02 A kind of business data processing method, client, service end and system Pending CN107637052A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/095609 WO2019023976A1 (en) 2017-08-02 2017-08-02 Service data processing method, client, server, and system

Publications (1)

Publication Number Publication Date
CN107637052A true CN107637052A (en) 2018-01-26

Family

ID=61107770

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201780000797.7A Pending CN107637052A (en) 2017-08-02 2017-08-02 A kind of business data processing method, client, service end and system

Country Status (2)

Country Link
CN (1) CN107637052A (en)
WO (1) WO2019023976A1 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109857439A (en) * 2019-01-30 2019-06-07 腾讯科技(深圳)有限公司 A kind of update method and device of game version
CN111176715A (en) * 2019-12-16 2020-05-19 青岛聚看云科技有限公司 Information calling method and server
CN112256444A (en) * 2019-07-22 2021-01-22 腾讯科技(深圳)有限公司 DAG-based business processing method and device, server and storage medium
CN112532513A (en) * 2019-09-19 2021-03-19 上海淘票儿信息科技有限公司 Gateway and service data processing method
CN113676521A (en) * 2021-07-29 2021-11-19 北京百度网讯科技有限公司 Service request response method and device and electronic equipment
CN115208937A (en) * 2022-07-07 2022-10-18 北京火山引擎科技有限公司 Service request processing method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101212417A (en) * 2007-12-25 2008-07-02 中国科学院软件研究所 Time granularity based internet QoS assurance method
CN101272337A (en) * 2007-12-27 2008-09-24 华为技术有限公司 Service data processing method and service data processing system
CN101771960A (en) * 2009-01-04 2010-07-07 中国移动通信集团公司 Service invoking method for mobile network, and service gateway, service platform and system thereof
CN102377602A (en) * 2011-10-26 2012-03-14 国家广播电影电视总局广播科学研究院 Data stream processing method and system
US20160224432A1 (en) * 2015-01-29 2016-08-04 Microsoft Technology Licensing, Llc Increasing coordination service reliabity

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102970312A (en) * 2011-09-01 2013-03-13 中兴通讯股份有限公司 Network booting method and system based on peer-to-peer (P2P) diskless device
CN104077663A (en) * 2014-07-08 2014-10-01 信雅达系统工程股份有限公司 Service processing method and system
CN105956039A (en) * 2016-04-25 2016-09-21 乐视控股(北京)有限公司 Data management method and apparatus

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101212417A (en) * 2007-12-25 2008-07-02 中国科学院软件研究所 Time granularity based internet QoS assurance method
CN101272337A (en) * 2007-12-27 2008-09-24 华为技术有限公司 Service data processing method and service data processing system
CN101771960A (en) * 2009-01-04 2010-07-07 中国移动通信集团公司 Service invoking method for mobile network, and service gateway, service platform and system thereof
CN102377602A (en) * 2011-10-26 2012-03-14 国家广播电影电视总局广播科学研究院 Data stream processing method and system
US20160224432A1 (en) * 2015-01-29 2016-08-04 Microsoft Technology Licensing, Llc Increasing coordination service reliabity

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109857439A (en) * 2019-01-30 2019-06-07 腾讯科技(深圳)有限公司 A kind of update method and device of game version
CN109857439B (en) * 2019-01-30 2020-11-20 腾讯科技(深圳)有限公司 Game version updating method and device
CN112256444A (en) * 2019-07-22 2021-01-22 腾讯科技(深圳)有限公司 DAG-based business processing method and device, server and storage medium
CN112532513A (en) * 2019-09-19 2021-03-19 上海淘票儿信息科技有限公司 Gateway and service data processing method
CN111176715A (en) * 2019-12-16 2020-05-19 青岛聚看云科技有限公司 Information calling method and server
CN111176715B (en) * 2019-12-16 2023-05-12 青岛聚看云科技有限公司 Information calling method and server
CN113676521A (en) * 2021-07-29 2021-11-19 北京百度网讯科技有限公司 Service request response method and device and electronic equipment
CN115208937A (en) * 2022-07-07 2022-10-18 北京火山引擎科技有限公司 Service request processing method and device

Also Published As

Publication number Publication date
WO2019023976A1 (en) 2019-02-07

Similar Documents

Publication Publication Date Title
CN107637052A (en) A kind of business data processing method, client, service end and system
CN108769173B (en) Block chain implementation method and equipment for running intelligent contracts
WO2018006789A1 (en) Parameter checking method and apparatus, and network management server and computer storage medium
CN107241315B (en) Access method and device of bank gateway interface and computer readable storage medium
CN110430235B (en) Method, apparatus, storage medium and computing device for cross-chain transmission of authenticatable messages
CN107465548A (en) The dispositions method and device of code
CN104125558B (en) A kind of client-based method for processing business, equipment and system
CN112615753A (en) Link abnormity tracking method, first node, second node and link
CN110601896B (en) Data processing method and equipment based on block chain nodes
CN110830442A (en) Message processing method, device and gateway
CN109996219B (en) Internet of things authentication method, network equipment and terminal
CN108022100A (en) A kind of cross-certification system and method based on block chain technology
US20090125803A1 (en) Method, system, client and server for managing xml document
CN109818774A (en) Automatic sensing asset acquisition device, method and computer readable storage medium
CN105959385A (en) Information communication method, device and system
CN104753872A (en) Authentication method, authentication platform, service platform, network elements and system
CN109858257B (en) Access control method and device
CN107040613A (en) A kind of message transmitting method and system
JP5889437B2 (en) Parameter setting system and information processing apparatus
CN112118600B (en) Flow traction system under 5G independent networking SA architecture
CN107277163B (en) Equipment remote mapping method and device
CN105187391B (en) APP and its logging in network access point methods, server and system
CN108512889A (en) A kind of application response method for pushing and proxy server based on HTTP
US7761468B2 (en) Supporting multiple security mechanisms in a database driver
CN107734034B (en) Server docking system, method, computer-readable storage medium and front-end processor

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: 20180126

RJ01 Rejection of invention patent application after publication