CN111752949A - Service processing method and device - Google Patents

Service processing method and device Download PDF

Info

Publication number
CN111752949A
CN111752949A CN202010596228.7A CN202010596228A CN111752949A CN 111752949 A CN111752949 A CN 111752949A CN 202010596228 A CN202010596228 A CN 202010596228A CN 111752949 A CN111752949 A CN 111752949A
Authority
CN
China
Prior art keywords
service
data
system upgrading
day
change operation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010596228.7A
Other languages
Chinese (zh)
Other versions
CN111752949B (en
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.)
Bank of China Ltd
Original Assignee
Bank of China 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 Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN202010596228.7A priority Critical patent/CN111752949B/en
Publication of CN111752949A publication Critical patent/CN111752949A/en
Application granted granted Critical
Publication of CN111752949B publication Critical patent/CN111752949B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2282Tablespace storage structures; Management thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/02Banking, e.g. interest calculation or account maintenance

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Finance (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Accounting & Taxation (AREA)
  • Economics (AREA)
  • Development Economics (AREA)
  • Software Systems (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • General Business, Economics & Management (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a service processing method and a device, wherein the method comprises the following steps: receiving a service processing request; when determining that the historical data at the preset moment is needed to be used when the service processing request is completed, determining whether online data compensation service change operation or system upgrading day batch service change operation occurs at the preset moment; if the online or batch service change operation does not occur at the preset moment, completing a service processing request by using the data at the current moment; if online or batch service change operation has occurred at the preset time, completing a service processing request by using historical data at the preset time; and data conversion is not carried out in the system upgrading process. The invention can realize that the data conversion involved in the system upgrading process is not carried out during the system upgrading, and the subsequent business processing is carried out in an online and daily batch processing record mode, thereby shortening the system upgrading time, reducing the downtime, reducing the influence of the system upgrading on the business and the client, and meeting the business development requirement.

Description

Service processing method and device
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a method and an apparatus for processing a service.
Background
This section is intended to provide a background or context to the embodiments of the invention that are recited in the claims. The description herein is not admitted to be prior art by inclusion in this section.
With the background of business development, market change and continuous improvement of customer experience requirements, a system often needs to be upgraded in function, and in the process of system upgrade, the structure of an existing table is often required to be changed, so stock data needs to be converted, for a large-scale bank system, the data volume is often huge, particularly for some data tables recording historical information of customers or accounts, when the system is put into production, on one hand, the bank reduces the influence on the customers, on the other hand, supervision also has strict requirements on downtime, and therefore the time window of the production is often shorter. Conventional data conversion generally employs the following steps:
1) UNLOAD (derived) data.
2) To improve conversion efficiency, data is split.
3) A conversion program or SQL (structured query language) is submitted in parallel using JCL (job control language).
4) And (6) merging the data.
5) LOAD (import) data.
The conventional data conversion has the following problems:
1) the conversion process is complex, and the communication cost and the maintenance cost are high.
2) In the conversion process, the requirement on system resources is high due to large data volume.
3) For a data table with huge data quantity, the conversion time is long, and the requirement of a production time window is difficult to meet.
4) If errors occur in the conversion process, the production is always failed.
Therefore, the traditional data conversion mode cannot meet the requirements of business development for data tables with huge data quantity due to the defects of complex flow, high requirements on system resources, long conversion time and the like.
Disclosure of Invention
The embodiment of the invention provides a business processing method, which is used for carrying out business processing in an online and daily batch processing mode on data conversion related to account history, customer history or other data table structure changes with huge data amount in the process of system upgrading without carrying out data conversion in a system upgrading production time window, and comprises the following steps:
receiving a service processing request;
when determining that the service processing request needs to use historical data at a preset time, determining whether online data compensation service change operation or system upgrading day batch service change operation occurs at the preset time;
if the online data compensation service change operation or the batch service change operation of the system upgrading day does not occur at the preset moment, the service processing request is completed by using the data at the current moment; if online data compensation service change operation or batch service change operation of a system upgrading day has occurred at a preset moment, completing the service processing request by using historical data at the preset moment;
wherein, the online data compensation service change operation comprises: if the historical data in the data structure after the system is upgraded is influenced by the change service of the user received on the system upgrading day, recording the data of the time when the change service of the user is received into the historical data on the day before the system upgrading day, and then finishing the change service according to a normal flow; the batch service change operation on the system upgrading day comprises the following steps: if the system upgrading date receives the change service of the user, using the change historical data of the system upgrading date to record the historical data of the system upgrading date in the first batch processing process; and a step of not performing data conversion in the system upgrading process, wherein the step of data conversion comprises service change operation.
An embodiment of the present invention further provides a service processing apparatus, configured to perform service processing in an online and daily batch processing manner on data conversion involved in a change of a data table structure with a huge account history, client history or other data volume in a system upgrade commissioning time window without performing data conversion, where the apparatus includes:
a receiving unit, configured to receive a service processing request;
the determining unit is used for determining whether online data compensation service changing operation or system upgrading day batch service changing operation occurs at preset time when determining that the historical data at the preset time is needed to be used when the service processing request is completed;
the processing unit is used for completing the service processing request by using the data at the current moment if the online data compensation service change operation or the batch service change operation of the system upgrading day does not occur at the preset moment; if online data compensation service change operation or batch service change operation of a system upgrading day has occurred at a preset moment, completing the service processing request by using historical data at the preset moment;
wherein, the online data compensation service change operation comprises: if the historical data in the data structure after the system is upgraded is influenced by the change service of the user received on the system upgrading day, recording the data of the time when the change service of the user is received into the historical data on the day before the system upgrading day, and then finishing the change service according to a normal flow; the batch service change operation on the system upgrading day comprises the following steps: if the system upgrading date receives the change service of the user, using the change historical data of the system upgrading date to record the historical data of the system upgrading date in the first batch processing process; and a step of not performing data conversion in the system upgrading process, wherein the step of data conversion comprises service change operation.
The embodiment of the invention also provides computer equipment which comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein the processor realizes the service processing method when executing the computer program.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program for executing the service processing method is stored in the computer-readable storage medium.
In the embodiment of the invention, compared with the technical scheme that the subsequent business processing is performed by performing data conversion in the system upgrading production time window in the prior art, the flow is complex, the requirement on system resources is higher, the conversion time is long, and the like, and the requirement on business development cannot be met, the business processing scheme comprises the following steps: receiving a service processing request; when determining that the historical data at the preset moment is needed to be used when the service processing request is completed, determining whether online data compensation service change operation or system upgrading day batch service change operation occurs at the preset moment; if the online data compensation service change operation or the batch service change operation of the system upgrading day does not occur at the preset moment, the service processing request is completed by using the data at the current moment; if online data compensation service change operation or batch service change operation of a system upgrading day has occurred at a preset moment, completing the service processing request by using historical data at the preset moment; the data conversion step is not carried out in the system upgrading process, the data conversion step comprises service change operation, and the data conversion can be carried out in the system upgrading on-line and daily batch processing record mode instead of carrying out data conversion in the system upgrading on-line and daily batch processing record mode on the data conversion involved in the data table structure change with huge account history, client history or other data volume in the system upgrading process, so that the dependence on the system upgrading on-line and daily batch processing record mode is reduced, the system upgrading on-line time window is shortened, the downtime is reduced, the influence of the system upgrading on the service and the client is reduced to the maximum extent, and the service development requirement is met.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts. In the drawings:
fig. 1 is a schematic flow chart of a service processing method in an embodiment of the present invention;
FIG. 2 is a schematic diagram of a service process in an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a service processing apparatus in an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the embodiments of the present invention are further described in detail below with reference to the accompanying drawings. The exemplary embodiments and descriptions of the present invention are provided to explain the present invention, but not to limit the present invention.
Before describing embodiments of the present invention, terms related to the embodiments of the present invention will be described.
1. Data conversion: the data conversion is a data processing method which changes stock data when upgrading the existing functions and changing the existing table structure or stock data content along with the business development so as to adapt to the new business requirements.
2. Commissioning time window: when the system is upgraded, the time for stopping the operation is required due to installation version, data structure change, data conversion and the like.
Day T: date the system commits to upgrade.
4. Batch processing: in order to complete business processing, the data is processed in a centralized way every day.
The invention aims at the defects of the traditional data conversion and aims to solve the problem that in the process of system upgrading, when the structure of a data table with huge account history, customer history or other data volumes is changed, the data conversion is avoided in a production time window in an online and daily batch processing function record mode. Therefore, the dependence on a production time window is reduced, the downtime is reduced, and the influence of system upgrading on services and clients is reduced to the maximum extent.
The purpose of data conversion is to record static data at the time of upgrade in the changed data structure, so as to connect with the new service function. The method and the device for avoiding data conversion are designed, and the method and the device avoid data conversion by means of the compatible online function, the online data compensation of the T day and the batch processing record compensation of the T day, meet the requirement of a production time window, shorten the production time window, and simultaneously meet the requirement of stable operation of new functions after system production, thereby meeting the requirement of business development.
Fig. 1 is a schematic flow chart of a service processing method in an embodiment of the present invention, and as shown in fig. 1, the method includes the following steps:
step 101: receiving a service processing request;
step 102: when determining that the service processing request needs to use historical data at a preset time, determining whether online data compensation service change operation or system upgrading day batch service change operation occurs at the preset time;
step 103: if the online data compensation service change operation or the batch service change operation of the system upgrading day does not occur at the preset moment, the service processing request is completed by using the data at the current moment; if online data compensation service change operation or batch service change operation of a system upgrading day has occurred at a preset moment, completing the service processing request by using historical data at the preset moment;
wherein, the online data compensation service change operation comprises: if the historical data in the data structure after the system is upgraded is influenced by the change service of the user received on the system upgrading day, recording the data of the time when the change service of the user is received into the historical data on the day before the system upgrading day, and then finishing the change service according to a normal flow; the batch service change operation on the system upgrading day comprises the following steps: if the system upgrading date receives the change service of the user, using the change historical data of the system upgrading date to record the historical data of the system upgrading date in the first batch processing process; and a step of not performing data conversion in the system upgrading process, wherein the step of data conversion comprises service change operation.
The business processing method in the embodiment of the invention realizes that data conversion is not carried out in the system upgrading on-line time window, but the data conversion involved in the account history, customer history or other data table structure with huge data volume is carried out in the system upgrading process, and the business processing is carried out in an on-line and daily batch processing record mode, thereby reducing the dependence on the system upgrading on-line time window, shortening the system upgrading on-line time window, reducing the downtime, reducing the influence of the system upgrading on the business and the customers to the maximum extent, and meeting the business development requirement.
In an embodiment, the service processing method may further include:
and when determining that the service processing request does not need to be completed by using the historical data of the preset time period, completing the service processing request by using the data at the current moment.
In specific implementation, as shown in fig. 2, if the type of the service initiated by the client of the online compatible part is a common deposit and withdrawal service type, it may be determined that the service processing request does not need to use the historical data in the preset time period, and the service processing request is completed using the data at the current time, so as to improve the efficiency of service processing.
In one embodiment, the online data compensation business alteration operation may further include:
and if the historical data in the data structure after the system is upgraded is not influenced by the change service of the user received on the system upgrading day, finishing the change service according to the normal flow.
In specific implementation, as shown in fig. 2, if the history data in the data structure after the system is upgraded is not affected by the change service of the user received on the system upgrade day, the change service is completed according to the normal flow, so that the efficiency of service processing is improved.
In one embodiment, the system upgrade day batch service change operation may further include:
and if the system does not receive the change service of the user in the upgrading day, carrying out batch processing on other services.
In specific implementation, as shown in fig. 2, if the system upgrade date does not receive the change service of the user, batch processing of other services is performed, that is, other batch processing work that the bank needs to do at night is performed.
The service processing steps according to the embodiment of the present invention will be described in detail with reference to fig. 2.
1. First, an online compatibility scheme is introduced:
as shown in fig. 2, the client initiates a transaction (which may be a transaction without a reverse push transaction, i.e. a common transaction such as a deposit and withdrawal transaction), deduces default data (data at the current moment) from existing data and parameters if the use of historical data is not required, and completes the transaction process using the default data.
As shown in fig. 2, a customer initiates a service (a service related to a reverse transaction, such as a ticket refunding service) process, if historical data of T-n before a production date needs to be used, the system finds data of T-1 or T days from T-n, and completes the service process by using the data of T-1 or T days as the historical data; and if the history is not recorded in the history data, finishing the business processing by using default data.
2. Next, an online data compensation scheme is introduced: as shown in fig. 2, if the history data in the new structure is affected by the service occurring on day T (which may be a service of changing product a into product B, where the product may be a regular product, a product in due date, etc.), at this time, the default data derived from the service data or parameters is recorded in the history data of T-1, that is, a history record is written by using the current product information, for example, product a is changed into product B, the information of a is written into the history data of the previous day, and then the service processing is completed according to the normal flow. As shown in fig. 2, the traffic in the online data compensation part may change traffic time-varying.
3. Finally, a scheme of batch recording for T days is introduced: as shown in FIG. 2, for the processing of the historical class data class, static data of the current day is recorded at the end of each day, daily batch processing logic is fully utilized, and data history of T days is recorded by using default data in the first batch of new business production.
In specific implementation, the online compatibility scheme may be implemented by an online compatibility module, and when the module operates: when the historical data is not needed, the service processing is directly completed by using a default value; if the historical data is needed, the service processing is directly completed by using a default value before online data compensation and T-day batch do not occur; if historical data is needed and online compensation or T-day batching has occurred, then business processes are performed with T-1 or T data as historical data.
In specific implementation, the online data compensation scheme can be implemented by an online data compensation module, and when the module works: if the service occurring in the T day affects the historical data in the new structure, at the moment, the default data derived through the service data or parameters is recorded in the historical data of the T-1, and then the service processing is completed according to the normal flow.
In specific implementation, the scheme of the T-day batch recording can be realized by a T-day batch processing module, and the module works: the end-of-day data is recorded in a T-calendar history.
In the following, an example is further described to illustrate a service processing method according to an embodiment of the present invention, so as to facilitate understanding of how the present invention is implemented.
20200610-20200615 are historical account information, 20200616 is the current product of the account A on the 1 st online day after production, at this time, the historical account information is shown in Table 1 below, wherein all product information is not empty.
Date 2020/6/10 2020/6/11 2020/6/12 2020/6/13 2020/6/14 2020/6/15
Products in historical information Air conditioner Air conditioner Air conditioner Air conditioner Air conditioner Air conditioner
TABLE 1
When 20200616 has changed the product (product changes from a to B), the first batch after delivery is not performed because data conversion is not performed, and at this time, it is necessary to record the history information of product a at day 2020/6/15 in the history information by means of online service compensation, and the history information after online compensation is shown in table 2 below.
Date 2020/6/10 2020/6/11 2020/6/12 2020/6/13 2020/6/14 2020/6/15
Products in historical information Air conditioner Air conditioner Air conditioner Air conditioner Air conditioner A
TABLE 2
20200616, an online reverse transaction (unchanged product) occurs, and the transaction is pushed back to 20200610, so that the product is not changed after the operation and the products in the history information are all empty, and the interest in the period from 20200610 to 20200615 is reckoning by using the current product A in the account.
20200616 batch at night (batch at first day after production), at this time, the batch judges that the current account product A is inconsistent with the historical account product 20200615 (when the batch finds that the final account information at the current day is inconsistent with the historical information at the last day, the system adds a piece of historical information for recording the current account information at the current day), and 20200616 the historical information after batch is shown in table 3 below.
Date 2020/6/10 2020/6/11 2020/6/12 2020/6/13 2020/6/14 2020/6/15 2020/6/16
Products in historical information Air conditioner Air conditioner Air conditioner Air conditioner Air conditioner Air conditioner A
TABLE 3
20200617, performing online reverse pushing transaction, and pushing backwards to 20200610, so that the first date of production is passed, if product conversion occurs at 20200616, then 20200610 to 20200615 use product A to account, and 20200616 use product B to account; if product diversion did not occur, product a was used for all 20200610-20200616.
In summary, considering that system function upgrade is a normalized work under the background of continuous improvement of business development, market change and customer experience requirements, if the conversion caused by huge data volume cannot meet the requirement of a production time window, business development is certainly hindered, and how to meet the requirement of continuous development of business with the increase of data volume, the embodiment of the invention is based on the target concept and has the following advantages:
1) after the data structure is changed, data conversion is not needed.
2) And the production time window is not occupied.
3) The complexity of the production process is reduced.
4) Reducing the system resources required for data conversion.
5) And under the condition of continuously increasing data quantity, the requirement of service development is met.
The embodiment of the invention also provides a service processing device, which is described in the following embodiment. Because the principle of the device for solving the problems is similar to the business processing method, the implementation of the device can refer to the implementation of the business processing method, and repeated parts are not described again.
Fig. 3 is a schematic structural diagram of a service processing apparatus in an embodiment of the present invention, and as shown in fig. 3, the apparatus includes:
a receiving unit 01, configured to receive a service processing request;
a determining unit 02, configured to determine whether an online data compensation service change operation or a system upgrade day batch service change operation occurs at a preset time when it is determined that the service processing request needs to use historical data at the preset time;
the processing unit 03 is configured to complete the service processing request by using data at a current time if an online data compensation service change operation or a system upgrade day batch service change operation does not occur at a preset time; if online data compensation service change operation or batch service change operation of a system upgrading day has occurred at a preset moment, completing the service processing request by using historical data at the preset moment;
wherein, the online data compensation service change operation comprises: if the historical data in the data structure after the system is upgraded is influenced by the change service of the user received on the system upgrading day, recording the data of the time when the change service of the user is received into the historical data on the day before the system upgrading day, and then finishing the change service according to a normal flow; the batch service change operation on the system upgrading day comprises the following steps: if the system upgrading date receives the change service of the user, using the change historical data of the system upgrading date to record the historical data of the system upgrading date in the first batch processing process; and a step of not performing data conversion in the system upgrading process, wherein the step of data conversion comprises service change operation.
In one embodiment, the processing unit may be further operable to:
and when determining that the service processing request does not need to be completed by using the historical data of the preset time period, completing the service processing request by using the data at the current moment.
In one embodiment, the online data compensation business alteration operation may further include:
and if the historical data in the data structure after the system is upgraded is not influenced by the change service of the user received on the system upgrading day, finishing the change service according to the normal flow.
In one embodiment, the system upgrade day batch service change operation may further include:
and if the system does not receive the change service of the user in the upgrading day, carrying out batch processing on other services.
The embodiment of the invention also provides computer equipment which comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein the processor realizes the service processing method when executing the computer program.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program for executing the service processing method is stored in the computer-readable storage medium.
In the embodiment of the invention, compared with the technical scheme that the subsequent business processing is carried out by carrying out data conversion in the system upgrading production time window in the prior art, the process is complex, the requirement on system resources is higher, the conversion time is long and the like, and the requirement on business development cannot be met, the business processing scheme realizes that the data conversion is not carried out in the system upgrading production time window, but the data conversion involved in the change of the data table structure with huge account history, client history or other data amount in the system upgrading process is carried out by carrying out the business processing in an online and daily batch processing recording mode, thereby reducing the dependence on the system upgrading production time window, shortening the system upgrading production time window, reducing the downtime, furthest reducing the influence of the system upgrading on the business and the clients, and meeting the business development requirement.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are only exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (10)

1. A method for processing a service, comprising:
receiving a service processing request;
when determining that the service processing request needs to use historical data at a preset time, determining whether online data compensation service change operation or system upgrading day batch service change operation occurs at the preset time;
if the online data compensation service change operation or the batch service change operation of the system upgrading day does not occur at the preset moment, the service processing request is completed by using the data at the current moment; if online data compensation service change operation or batch service change operation of a system upgrading day has occurred at a preset moment, completing the service processing request by using historical data at the preset moment;
wherein, the online data compensation service change operation comprises: if the historical data in the data structure after the system is upgraded is influenced by the change service of the user received on the system upgrading day, recording the data of the time when the change service of the user is received into the historical data on the day before the system upgrading day, and then finishing the change service according to a normal flow; the batch service change operation on the system upgrading day comprises the following steps: if the system upgrading date receives the change service of the user, using the change historical data of the system upgrading date to record the historical data of the system upgrading date in the first batch processing process; and a step of not performing data conversion in the system upgrading process, wherein the step of data conversion comprises service change operation.
2. The traffic processing method of claim 1, further comprising:
and when determining that the service processing request does not need to be completed by using the historical data of the preset time period, completing the service processing request by using the data at the current moment.
3. The traffic processing method of claim 1, wherein the online data compensation traffic change operation further comprises:
and if the historical data in the data structure after the system is upgraded is not influenced by the change service of the user received on the system upgrading day, finishing the change service according to the normal flow.
4. The business processing method of claim 1, wherein the system upgrade day bulk business change operation further comprises:
and if the system does not receive the change service of the user in the upgrading day, carrying out batch processing on other services.
5. A traffic processing apparatus, comprising:
a receiving unit, configured to receive a service processing request;
the determining unit is used for determining whether online data compensation service changing operation or system upgrading day batch service changing operation occurs at preset time when determining that the historical data at the preset time is needed to be used when the service processing request is completed;
the processing unit is used for completing the service processing request by using the data at the current moment if the online data compensation service change operation or the batch service change operation of the system upgrading day does not occur at the preset moment; if online data compensation service change operation or batch service change operation of a system upgrading day has occurred at a preset moment, completing the service processing request by using historical data at the preset moment;
wherein, the online data compensation service change operation comprises: if the historical data in the data structure after the system is upgraded is influenced by the change service of the user received on the system upgrading day, recording the data of the time when the change service of the user is received into the historical data on the day before the system upgrading day, and then finishing the change service according to a normal flow; the batch service change operation on the system upgrading day comprises the following steps: if the system upgrading date receives the change service of the user, using the change historical data of the system upgrading date to record the historical data of the system upgrading date in the first batch processing process; and a step of not performing data conversion in the system upgrading process, wherein the step of data conversion comprises service change operation.
6. The traffic processing apparatus of claim 5, wherein the processing unit is further configured to:
and when determining that the service processing request does not need to be completed by using the historical data of the preset time period, completing the service processing request by using the data at the current moment.
7. The traffic processing apparatus of claim 5, wherein the online data compensation traffic change operation further comprises:
and if the historical data in the data structure after the system is upgraded is not influenced by the change service of the user received on the system upgrading day, finishing the change service according to the normal flow.
8. The transaction processing device of claim 5, wherein the system upgrade day bulk transaction change operation further comprises:
and if the system does not receive the change service of the user in the upgrading day, carrying out batch processing on other services.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of any one of claims 1 to 4 when executing the computer program.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program for executing the method of any one of claims 1 to 4.
CN202010596228.7A 2020-06-28 2020-06-28 Service processing method and device Active CN111752949B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010596228.7A CN111752949B (en) 2020-06-28 2020-06-28 Service processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010596228.7A CN111752949B (en) 2020-06-28 2020-06-28 Service processing method and device

Publications (2)

Publication Number Publication Date
CN111752949A true CN111752949A (en) 2020-10-09
CN111752949B CN111752949B (en) 2023-08-22

Family

ID=72677561

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010596228.7A Active CN111752949B (en) 2020-06-28 2020-06-28 Service processing method and device

Country Status (1)

Country Link
CN (1) CN111752949B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20150119749A (en) * 2014-04-16 2015-10-26 한국과학기술정보연구원 System and method for managing data change history of database
CN106649796A (en) * 2016-12-28 2017-05-10 中国建设银行股份有限公司 Data processing method and apparatus
CN109670690A (en) * 2018-12-07 2019-04-23 泰康保险集团股份有限公司 Data information center monitoring and early warning method, system and equipment
CN110399356A (en) * 2019-06-14 2019-11-01 阿里巴巴集团控股有限公司 A kind of online data moving method, calculates equipment and storage medium at device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20150119749A (en) * 2014-04-16 2015-10-26 한국과학기술정보연구원 System and method for managing data change history of database
CN106649796A (en) * 2016-12-28 2017-05-10 中国建设银行股份有限公司 Data processing method and apparatus
CN109670690A (en) * 2018-12-07 2019-04-23 泰康保险集团股份有限公司 Data information center monitoring and early warning method, system and equipment
CN110399356A (en) * 2019-06-14 2019-11-01 阿里巴巴集团控股有限公司 A kind of online data moving method, calculates equipment and storage medium at device

Also Published As

Publication number Publication date
CN111752949B (en) 2023-08-22

Similar Documents

Publication Publication Date Title
CN107230092B (en) Accounting processing method and device and server
CN102609875B (en) A kind of method and system of dynamic parallel process bank data
CN110321339B (en) Data migration method, device, equipment and storage medium
CN111125106B (en) Batch running task execution method, device, server and storage medium
CN114202334A (en) Method and system suitable for asynchronously updating balance of hotspot account in batch
CN111752949A (en) Service processing method and device
EP2662783A1 (en) Data archiving approach leveraging database layer functionality
CN111951102A (en) Physical account checking method and device
CN114969071A (en) Data updating method and device
CN110659980A (en) Transaction information processing method, system and peripheral system
CN111796854A (en) Module hot upgrading method and device, electronic equipment and readable storage medium
CN107730381B (en) Method and device for backing up cross section data
CN109582330A (en) Data model upgrade method, device, equipment and readable storage medium storing program for executing
CN115481988A (en) Card opening request processing method and device
CN113837864A (en) Account checking method and device for banking system
CN114138779A (en) Staged account processing method and system based on preprocessing
CN114090690A (en) Data synchronization method and device and electronic equipment
CN115034792A (en) Low-coupling transaction early warning method and system based on message queue
CN116303361A (en) Service data migration method, device and system
CN111311417A (en) Financial product purchasing method and device
CN115730945A (en) Refund processing method and device based on cache
CN115409628A (en) Hotspot account splitting method and system
CN116823423A (en) Deposit linkage bottom-closing method and device
CN115619512A (en) Account checking processing method, account checking processing device, computer readable medium and computer program product
CN115086467A (en) Bank card binding method and device for mobile phone application program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant