CN112051987A - Service data processing method, device and equipment, and program generating method and device - Google Patents

Service data processing method, device and equipment, and program generating method and device Download PDF

Info

Publication number
CN112051987A
CN112051987A CN202010914908.9A CN202010914908A CN112051987A CN 112051987 A CN112051987 A CN 112051987A CN 202010914908 A CN202010914908 A CN 202010914908A CN 112051987 A CN112051987 A CN 112051987A
Authority
CN
China
Prior art keywords
program
service
data processing
configuration information
processing
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
CN202010914908.9A
Other languages
Chinese (zh)
Other versions
CN112051987B (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 CN202010914908.9A priority Critical patent/CN112051987B/en
Publication of CN112051987A publication Critical patent/CN112051987A/en
Application granted granted Critical
Publication of CN112051987B publication Critical patent/CN112051987B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The specification relates to a business data processing method, a business data processing device, a business data processing equipment, a program generating method and a program generating device, wherein the method comprises the steps of receiving a business data processing request; the service data processing request comprises data processing configuration information and a program framework template identifier; the program frame template identification comprises information for identifying the program frame template; the program framework template comprises a COBOL program framework which is constructed in advance and used for realizing the specified business data processing. And calling a program frame template corresponding to the program frame template identification, and generating a service processing program frame corresponding to the service data processing request based on the called program frame template. And configuring parameters in the service processing program framework by using the data processing configuration information to obtain a service processing program so as to execute service data processing by using the service processing program. Therefore, the efficiency of constructing the service processing program is improved, the error rate of service processing is reduced, and the service processing efficiency is improved.

Description

Service data processing method, device and equipment, and program generating method and device
Technical Field
The present specification relates to the field of data processing technologies, and in particular, to a method, an apparatus, and a device for processing service data, and a method and an apparatus for generating a program.
Background
COBOL is a widely used high-level programming language, attaches importance to the input/output record processing of data items, provides a simple processing mode for files with a large amount of data, and is widely applied to the fields of data management and processing such as financial accounting work, statistical statement, planning, information retrieval, personnel management and the like. At present 70% of data is processed in the COBOL language, with 300 hundred million transactions processed online each day and growing at the rate of 50 hundred million lines of code per year, so it is important to configure COBOL program-based business processes properly.
However, the COBOL language is cumbersome, and errors or omissions are easily generated in the construction process of the business processing program, thereby affecting the accuracy of the business processing result. At present, a common processing program segment is written as a subprogram, a main program is written in a process part, and then the common processing program segment is called through the subprogram to complete the realization of service processing. But the common handler segment can only implement specific functional parts. Meanwhile, after the construction of the service processing program is completed, the public processing program segment is used as a part of the service processing program and is maintained together with the service processing program. In the later use process, if any modification of the service processing program is involved, the common processing program segment needs to carry out communication test along with the whole service processing program. And the coding habits of developers are different, so that the overall coding styles of a large number of business processing programs are different, certain reading work can be added during later maintenance, and further the complexity of program maintenance is caused. Therefore, a more convenient and efficient method for generating a service processing program and processing data is needed.
Disclosure of Invention
An object of the embodiments of the present specification is to provide a method, an apparatus, and a device for processing service data, and a method and an apparatus for generating a program, which can improve efficiency of constructing a service processing program and reduce an error rate, thereby improving efficiency of processing service data. Meanwhile, the simplicity of service processing program maintenance can be improved.
The present specification provides a method, an apparatus, and a device for processing service data, and a method and an apparatus for generating a program, which are implemented as follows:
a business data processing method is applied to a server, and the method comprises the following steps: receiving a service data processing request; the service data processing request comprises data processing configuration information and a program framework template identifier; the program frame template identification comprises information for identifying the program frame template; the program framework template comprises a COBOL program framework which is constructed in advance and used for realizing the specified business data processing. And calling a program frame template corresponding to the program frame template identification, and generating a service processing program frame corresponding to the service data processing request based on the called program frame template. And configuring parameters in the service processing program framework by using the data processing configuration information to obtain a service processing program corresponding to the service data processing request, so as to execute service data processing corresponding to the service data processing request by using the service processing program.
In other embodiments of the method provided in this specification, the data processing configuration information includes at least operating environment information, structure information of the input/output file/table, and data processing rules.
In other embodiments of the method provided in this specification, the configuring, by using the data processing configuration information, parameters in the service handler framework includes: and based on the data processing configuration information, generating environment parameter configuration information, input/output file configuration information and data processing rule configuration information in a service processing program framework to obtain a service processing program corresponding to the service data processing request.
In other embodiments of the method provided in this specification, the data processing configuration information further includes exception handling configuration information; correspondingly, the configuring the parameters in the service processing program framework by using the data processing configuration information includes: and generating an exception handler segment in the service handler frame based on the exception handling configuration information.
On the other hand, an embodiment of the present specification further provides a service data processing apparatus, which is applied to a server, and the apparatus includes: the first request receiving module is used for receiving a service data processing request; the service data processing request comprises data processing configuration information and a program framework template identifier; the program frame template identification comprises information for identifying the program frame template; the program framework template comprises a COBOL program framework which is constructed in advance and used for realizing the specified business data processing. And the first template calling module is used for calling the program frame template corresponding to the program frame template identification and generating the service processing program frame corresponding to the service data processing request based on the called program frame template. A first program generating module, configured to configure the parameter in the service processing program framework by using the data processing configuration information, to obtain a service processing program corresponding to the service data processing request, and to execute service data processing corresponding to the service data processing request by using the service processing program.
In other embodiments of the apparatus provided in this specification, the data processing configuration information at least includes operating environment information, structure information of the input/output file/table, and data processing rules.
In other embodiments of the apparatus provided in this specification, the program generating module is further configured to generate, in a service processing program framework, environment parameter configuration information, input/output file configuration information, and data processing rule configuration information based on the data processing configuration information, so as to obtain a service processing program corresponding to the service data processing request.
On the other hand, the embodiments of the present specification further provide a service data processing device applied to a server, where the device includes at least one processor and a memory for storing processor-executable instructions, and the instructions, when executed by the processor, implement steps of a method including any one or more of the above embodiments.
On the other hand, an embodiment of the present specification further provides a method for generating a service processing program, which is applied to a server, and the method includes: receiving a service processing program generation request; the service processing program generation request comprises configuration information corresponding to a target service processing program and a program frame template identifier; the program frame template identification comprises information for identifying the program frame template; the program framework template comprises a COBOL program framework which is constructed in advance and used for realizing the specified business data processing. And calling a program frame template corresponding to the program frame template identification, and generating a service processing program frame corresponding to the service data processing request based on the called program frame template. And configuring parameters in the service processing program framework by using the configuration information to obtain a target service processing program.
On the other hand, an embodiment of the present specification further provides a service processing program generating device, which is applied to a server, and the device includes: the second request receiving module is used for receiving a service processing program generation request; the service processing program generation request comprises configuration information corresponding to a target service processing program and a program frame template identifier; the program frame template identification comprises information for identifying the program frame template; the program framework template comprises a COBOL program framework which is constructed in advance and used for realizing the specified business data processing. And the second template calling module is used for calling the program frame template corresponding to the program frame template identification and generating the service processing program frame corresponding to the service data processing request based on the called program frame template. And the second program generation module is used for configuring the parameters in the service processing program framework by using the configuration information to obtain the target service processing program.
The service data processing method, the service data processing device, the service data processing equipment, the program generating method and the program generating device provided by one or more embodiments of the present specification can greatly improve the construction efficiency of the service processing program by constructing the service processing program based on the templated service processing program framework. Meanwhile, the error rate of the constructed service processing program can be effectively reduced, and the service processing efficiency is further improved. Meanwhile, only information such as a pre-constructed service processing program frame, a configuration document and the like can be maintained subsequently, so that the simplicity and convenience of service processing program maintenance are greatly improved, and the maintenance workload of the service processing program is reduced.
Drawings
In order to more clearly illustrate the embodiments of the present specification or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only some embodiments described in the present specification, and for those skilled in the art, other drawings can be obtained according to the drawings without any creative effort. In the drawings:
fig. 1 is a schematic flowchart of an embodiment of a service data processing method provided in this specification;
fig. 2 is a schematic flowchart of an embodiment of a method for generating a service processing program according to the present disclosure;
fig. 3 is a schematic block diagram of a service data processing apparatus provided in this specification;
fig. 4 is a schematic block structure diagram of a service processing program generating device provided in this specification.
Detailed Description
In order to make those skilled in the art better understand the technical solutions in the present specification, the technical solutions in one or more embodiments of the present specification will be clearly and completely described below with reference to the drawings in one or more embodiments of the present specification, and it is obvious that the described embodiments are only a part of the embodiments of the specification, and not all embodiments. All other embodiments obtained by a person skilled in the art based on one or more embodiments of the present specification without making any creative effort shall fall within the protection scope of the embodiments of the present specification.
In an application scenario example of the present specification, the data processing method may be applied to a server that performs service data processing based on a Common Business-Oriented Language (COBOL) in a service system. A business process program written based on the COBOL language generally includes a mark part, an environment part, a data part and a process part. The identification part is used for setting an identification for the service processing program so as to facilitate identification. The environment part is mainly used for defining the software and hardware environment for the operation of the service processing program. Such as defining a runtime environment for business processes, a compilation environment, etc. If the business data processed by the business processing program relates to the input and output file, the storage position of the input and output file, the file control information and the like can be defined. The file control information may include, for example, a read/write method recorded in a file. The data part is used for defining the data type, storage length, file and record relation and the like involved by the business processing program when executing business data processing. The procedure part is used for defining an execution statement of the program.
When a service processing program is constructed, it is usually necessary to configure a data structure of each processing unit, and then configure specific parameters based on the configured data structure, so as to construct the service processing program. The COBOL language is cumbersome, and errors or omissions are easily generated in the construction process of the business processing program, so that the accuracy of the business processing result is affected. At present, a common processing program segment is written as a subprogram, a main program is written in a process part, and then the common processing program segment is called through the subprogram to complete the realization of service processing.
But the common handler segment can only implement specific functional parts. Meanwhile, after the construction of the service processing program is completed, the public processing program segment is used as a part of the service processing program and is maintained together with the service processing program. In the later use process, if any modification of the service processing program is involved, the common processing program segment needs to carry out communication test along with the whole service processing program. And the coding habits of developers are different, so that the overall coding styles of a large number of business processing programs are different, certain reading work can be added during later maintenance, and further the complexity of program maintenance is caused.
Correspondingly, in the embodiment of the present specification, a common part in a service processing program may be extracted by analyzing a large number of service processing programs in advance, and a data structure is defined for the common part, so as to initially construct a partial program framework of the service processing program. And taking the constructed program frame as a program frame template.
For example, for the transaction processing of a data table of a transaction record file update database commonly used by a financial institution, the file structure, the file interface, the transaction record reading mode, the data table structure, the data table interface, the update logic for updating data into the data table, and the like may be involved in different processes, but the adopted program framework is the same, and is one input (file) and one output (table). A single-input single-output program framework may be constructed based on this data structure defining a single-input single-output. And the business processing program related to single input and single output can complete the construction of the business processing program based on the program framework template. Of course, other program frame templates may be involved in the construction of the business processing program, or a plurality of program frame templates may be associated to form a program frame of the business processing program, so as to complete the construction of the business processing program.
Correspondingly, when such service data is processed, information such as a file structure, a file storage position, a transaction record reading mode, a data table structure, a data table storage position, data updating logic and the like corresponding to the current service data processing can be configured based on an actual scene of the service data processing, and the information is used as data processing configuration information corresponding to the current service data processing. For example, a configuration document of the file and a configuration document of the table for the configuration information of the data table and a corresponding processing rule configuration document for the business processing logic may be respectively constructed.
Then, the adopted program framework template identifier and the interface association of the configuration document can be sent to the server in the service data processing request. The server may retrieve, based on the request, a program frame template corresponding to the program frame template identification, such as a program frame for reading the file update table cyclically. And generating a program frame of the business processing program based on the program frame template. Then, the server can generate the configuration information of the operating environment parameters, the configuration information of the input file output table, the configuration information of the file reading and the table updating in the program framework by reading the configuration document corresponding to the interface, thereby forming a complete service processing program. Then, the service processing program can be used to process the service data targeted by the current service data processing request, and the service data processing of updating the database data table based on the transaction record file is completed. For example, the service processing program may read assigned data corresponding to current service data processing input by the user, and execute the current service data processing.
The construction of the business processing program is carried out based on the templated business processing program framework, so that the construction efficiency of the business processing program can be greatly improved. Meanwhile, the error rate of the constructed service processing program can be effectively reduced, and the service processing efficiency is further improved. Meanwhile, only information such as a pre-constructed service processing program frame, a configuration document and the like can be maintained subsequently, so that the simplicity and convenience of service processing program maintenance are greatly improved, the maintenance workload of the service processing program is greatly reduced, and the labor cost is reduced.
Fig. 1 is a schematic flow chart of an embodiment of the data processing method provided in this specification. Although the present specification provides the method steps or apparatus structures as shown in the following examples or figures, more or less steps or modules may be included in the method or apparatus structures based on conventional or non-inventive efforts. In the case of steps or structures which do not logically have the necessary cause and effect relationship, the execution order of the steps or the block structure of the apparatus is not limited to the execution order or the block structure shown in the embodiments or the drawings of the present specification. When the described method or module structure is applied to a device, a server or an end product in practice, the method or module structure according to the embodiment or the figures may be executed sequentially or in parallel (for example, in a parallel processor or multi-thread processing environment, or even in an implementation environment including distributed processing and server clustering). Fig. 1 shows a specific embodiment of the data processing method provided in this specification, in which the method may be applied to a first service system and a second service system, and backup service data of the first service system may be stored in the second service system. The method may comprise the steps of:
s20: receiving a service data processing request; the service data processing request comprises data processing configuration information corresponding to service data processing and a program framework template identifier; the program frame template identification comprises information for identifying the program frame template; the program framework template comprises a COBOL program framework which is constructed in advance and used for realizing the specified business data processing.
The server may receive a service data processing request. The business data processing request may include data processing configuration information and a program framework template identification.
The data processing configuration information may be a parameter attribute value of each processing unit in the service processing program. The data processing configuration information may include, for example, at least operating environment information, structure information of input/output files/tables, and data processing rules. The running environment information can comprise parameter information of a running computer, an editing computer and the like of the business processing program. The structure information of the input/output file/table may include, for example, a file storage location, a file data structure, a data table storage location, a data table data structure, and the like. The business process rule may be, for example, processing logic of a data record. Such as the reading mode of the file, the updating logic of the data table, etc.
The program frame template identification may be used to identify a pre-built program frame template. The program frame template may be identified with a program frame template identification. The program frame template identification can be a character string or character description information, so that a user can accurately position the program frame template adopted by the current business processing.
The program framework template can be a COBOL program framework which is constructed in advance and used for realizing the specified business data processing. Common parts in the business processing programs, such as single input and single output, multiple input and multiple output, and the like, can be extracted by analyzing a large number of business processing programs in advance. The data structure of each processing unit can be defined for the extracted corresponding part, and a corresponding program frame can be obtained. The constructed program frame can be used as a program frame template. For example, a single-input single-output program frame template, a multiple-input multiple-output program frame template, etc. are obtained.
The program framework template to which it relates may be determined based on the processing logic of the current business data process. And related service personnel can configure the program framework templates corresponding to different types of service data processing according to experience. Or, an association relationship set of the program frame templates corresponding to different types of service data processing may be preconfigured, and then, the corresponding program frame template may be determined based on the association relationship set. Identification information of the program frame template may then be associated in the business data processing request.
S22: and calling a program frame template corresponding to the program frame template identification, and generating a service processing program frame corresponding to the service data processing request based on the called program frame template.
The server may call a corresponding program frame template based on the program frame template identifier, and generate a service processing program frame corresponding to the service data processing request based on the called program frame template. If the business handler only relates to one program frame template, the program frame template can be used as the program frame of the business handler. If the business processing program relates to a plurality of program frame templates, the association logic between the templates can also be associated in the business data processing request. The server can perform association processing on each program frame template based on the association logic to obtain a program frame of the service processing program.
S24: and configuring parameters in the service processing program framework by using the data processing configuration information to obtain a service processing program corresponding to the service data processing request, so as to execute service data processing corresponding to the service data processing request by using the service processing program.
The server may configure parameters in the business process framework using the data processing configuration information. In some embodiments, based on the data processing configuration information, the environment parameter configuration information, the input/output file configuration information, and the data processing rule configuration information may be generated in a service processing program framework, so as to obtain a service processing program corresponding to the service data processing request. Of course, if the data processing configuration information further includes other configuration information, the parameter values of the corresponding processing units may also be configured based on the corresponding configuration information, which is not limited herein.
For example, the service processing program may be constructed by reading a configuration document of the operating environment, a configuration document including structure information of a file or a table, a configuration document including processing logic, and the like, and generating configuration information of the operating environment parameters, configuration information of the input file output table/file, and configuration information of file data record reading/table data record updating in a program framework.
In some embodiments, the interface format of each configuration document may be determined, and a corresponding information configuration mode may be designed. Different types of configuration documents have certain difference in the mode of configuring parameter values in the business processing program framework, and the information configuration mode corresponding to each configuration document is designed in advance, so that the information in the configuration documents is configured into the business processing program framework based on the corresponding information configuration mode, and the efficiency of information configuration can be further improved.
Then, the business data processing can be performed by using the business processing program. As for the business data processing for updating database table data based on the transaction record file, the server may read the assigned value data for the current business data processing input by the user, execute batch operations of reading the data records in the transaction record file, and update the data records in the data table in the database.
In other embodiments, the data processing configuration information may further include exception handling configuration information. The exception handling configuration information refers to a handling mode adopted when an error occurs in the program execution process. Such as outputting program error information, error types corresponding to error codes, etc. The user can configure corresponding exception handling configuration information according to needs, so that the constructed program can perform program exception handling based on the configuration information, and the flexibility of program construction is further improved. Correspondingly, the configuring the parameters in the service processing program framework by using the data processing configuration information may include: and generating an exception handler segment in the service handler frame based on the exception handling configuration information.
By the method, the construction efficiency of the business processing program corresponding to the business processing can be greatly improved. Meanwhile, the construction of the service processing program is carried out based on the templated service processing program framework, so that the error rate of the constructed service processing program can be effectively reduced, and the service processing efficiency is further improved. Meanwhile, only information such as a pre-constructed service processing program frame, interface documents, processing logic and the like can be maintained subsequently, the simplicity and convenience of service processing program maintenance are greatly improved, the maintenance workload of the service processing program is greatly reduced, and the labor cost is reduced.
As shown in fig. 2, based on the solutions provided by the foregoing embodiments, embodiments of the present specification further provide a service processing program generating method, which is applied to a server. The method may include:
s202: receiving a service processing program generation request; the service processing program generation request comprises configuration information corresponding to a target service processing program and a program frame template identifier; the program frame template identification comprises information for identifying the program frame template; the program framework template comprises a COBOL program framework which is constructed in advance and used for realizing the processing of specified business data;
s204: calling a program frame template corresponding to the program frame template identification, and generating a service processing program frame corresponding to the service data processing request based on the called program frame template;
s206: and configuring parameters in the service processing program framework by using the configuration information to obtain a target service processing program.
The specific implementation may refer to the above embodiments, which are not described herein. The construction of the business processing program is carried out based on the templated business processing program framework, so that the construction efficiency of the business processing program can be greatly improved, and meanwhile, the error rate of the constructed business processing program can be effectively reduced. Meanwhile, only information such as a pre-constructed service processing program frame, interface documents, processing logic and the like can be maintained subsequently, the simplicity and convenience of service processing program maintenance are greatly improved, the maintenance workload of the service processing program is greatly reduced, and the labor cost is reduced.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. For details, reference may be made to the description of the related embodiments of the related processing, and details are not repeated herein.
The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
In the data processing method provided in one or more embodiments of the present specification, the service processing program is constructed based on the templated service processing program framework, and the construction efficiency of the service processing program can be greatly improved. Meanwhile, the error rate of the constructed service processing program can be effectively reduced, and the service processing efficiency is further improved. Meanwhile, only information such as a pre-constructed service processing program frame, a configuration document and the like can be maintained subsequently, so that the simplicity and convenience of service processing program maintenance are greatly improved, and the maintenance workload of the service processing program is reduced.
Based on the above-mentioned service data processing method, one or more embodiments of the present specification further provide a service data processing apparatus. The apparatus may include systems, software (applications), modules, components, servers, etc. that utilize the methods described in the embodiments of the present specification in conjunction with hardware implementations as necessary. Based on the same innovative conception, embodiments of the present specification provide an apparatus as described in the following embodiments. Since the implementation scheme of the apparatus for solving the problem is similar to that of the method, the specific implementation of the apparatus in the embodiment of the present specification may refer to the implementation of the foregoing method, and repeated details are not repeated. As used hereinafter, the term "unit" or "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated. Specifically, fig. 3 shows a schematic block structure diagram of an embodiment of a service data processing apparatus provided in the specification, and is applied to a server, and as shown in fig. 3, the apparatus may include:
a first request receiving module 302, configured to receive a service data processing request; the service data processing request comprises data processing configuration information and a program framework template identifier; the program frame template identification comprises information for identifying the program frame template; the program framework template comprises a COBOL program framework which is constructed in advance and used for realizing the processing of specified business data;
a first template retrieving module 304, configured to retrieve a program frame template corresponding to the program frame template identifier, and generate a service processing program frame corresponding to the service data processing request based on the retrieved program frame template;
the first program generating module 306 may be configured to configure the parameter in the service processing program frame by using the data processing configuration information, to obtain a service processing program corresponding to the service data processing request, and to execute the service data processing corresponding to the service data processing request by using the service processing program.
In other embodiments, the data processing configuration information may include at least operating environment information, structural information of the input/output file/table, and data processing rules.
In other embodiments, the program generating module may be further configured to generate, in a service processing program framework, environment parameter configuration information, input/output file configuration information, and data processing rule configuration information based on the data processing configuration information, so as to obtain a service processing program corresponding to the service data processing request.
Fig. 4 is a schematic block diagram of a service processing program generating apparatus provided in the specification, and the service processing program generating apparatus is applied to a server, and as shown in fig. 4, the apparatus may include:
a second request receiving module 402, configured to receive a service processing program generation request; the service processing program generation request comprises configuration information corresponding to a target service processing program and a program frame template identifier; the program frame template identification comprises information for identifying the program frame template; the program framework template comprises a COBOL program framework which is constructed in advance and used for realizing the processing of specified business data;
a second template retrieving module 404, configured to retrieve a program frame template corresponding to the program frame template identifier, and generate a service processing program frame corresponding to the service data processing request based on the retrieved program frame template;
the second program generating module 406 may be configured to configure the parameter in the service processing program framework by using the configuration information, so as to obtain the target service processing program.
It should be noted that the above-described apparatus may also include other embodiments according to the description of the method embodiment. The specific implementation manner may refer to the description of the related method embodiment, and is not described in detail herein.
The present specification also provides a service data processing apparatus, which may be applied to a single service data processing system, or may be applied to a plurality of computer data processing systems. The system may be a single server, or may include a server cluster, a system (including a distributed system), software (applications), an actual operating device, a logic gate device, a quantum computer, etc. using one or more of the methods or one or more of the example devices of the present specification, in combination with a terminal device implementing hardware as necessary. The apparatus may comprise at least one processor and a memory for storing processor-executable instructions which, when executed by the processor, implement the steps of the method of any one or more of the embodiments described above.
The memory may include physical means for storing information, typically by digitizing the information for storage on a medium using electrical, magnetic or optical means. The storage medium may include: devices that store information using electrical energy, such as various types of memory, e.g., RAM, ROM, etc.; devices that store information using magnetic energy, such as hard disks, floppy disks, tapes, core memories, bubble memories, and usb disks; devices that store information optically, such as CDs or DVDs. Of course, there are other ways of storing media that can be read, such as quantum memory, graphene memory, and so forth.
It should be noted that the above-mentioned system may also include other implementation manners according to the description of the method or apparatus embodiment, and specific implementation manners may refer to the description of the related method embodiment, which is not described in detail herein.
The embodiments of the present description are not limited to what must be consistent with a standard data model/template or described in the embodiments of the present description. Certain industry standards, or implementations modified slightly from those described using custom modes or examples, may also achieve the same, equivalent, or similar, or other, contemplated implementations of the above-described examples. The embodiments using these modified or transformed data acquisition, storage, judgment, processing, etc. may still fall within the scope of the alternative embodiments of the present description.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment. In the description of the specification, reference to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the specification. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
The above description is only an example of the present specification, and is not intended to limit the present specification. Various modifications and alterations to this description will become apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present specification should be included in the scope of the claims of the present specification.

Claims (10)

1. A service data processing method is applied to a server, and the method comprises the following steps:
receiving a service data processing request; the service data processing request comprises data processing configuration information and a program framework template identifier; the program frame template identification comprises information for identifying the program frame template; the program framework template comprises a COBOL program framework which is constructed in advance and used for realizing the processing of specified business data;
calling a program frame template corresponding to the program frame template identification, and generating a service processing program frame corresponding to the service data processing request based on the called program frame template;
and configuring parameters in the service processing program framework by using the data processing configuration information to obtain a service processing program corresponding to the service data processing request, so as to execute service data processing corresponding to the service data processing request by using the service processing program.
2. The method of claim 1, wherein the data processing configuration information comprises at least runtime environment information, structure information of input output files/tables, and data processing rules.
3. The method of claim 2, wherein the configuring the parameters in the service handler framework using the data processing configuration information comprises:
and based on the data processing configuration information, generating environment parameter configuration information, input/output file configuration information and data processing rule configuration information in a service processing program framework to obtain a service processing program corresponding to the service data processing request.
4. The method of claim 1, wherein the data processing configuration information further comprises exception handling configuration information; correspondingly, the configuring the parameters in the service processing program framework by using the data processing configuration information includes:
and generating an exception handler segment in the service handler frame based on the exception handling configuration information.
5. A service data processing apparatus, applied to a server, the apparatus comprising:
the first request receiving module is used for receiving a service data processing request; the service data processing request comprises data processing configuration information and a program framework template identifier; the program frame template identification comprises information for identifying the program frame template; the program framework template comprises a COBOL program framework which is constructed in advance and used for realizing the processing of specified business data;
the first template calling module is used for calling a program frame template corresponding to the program frame template identification and generating a service processing program frame corresponding to the service data processing request based on the called program frame template;
a first program generating module, configured to configure the parameter in the service processing program framework by using the data processing configuration information, to obtain a service processing program corresponding to the service data processing request, and to execute service data processing corresponding to the service data processing request by using the service processing program.
6. The apparatus of claim 5, wherein the data processing configuration information comprises at least operating environment information, structure information of input/output files/tables, and data processing rules.
7. The apparatus of claim 6, wherein the program generating module is further configured to generate, in a service processing program framework, environment parameter configuration information, input/output file configuration information, and data processing rule configuration information based on the data processing configuration information, so as to obtain a service processing program corresponding to the service data processing request.
8. A business data processing apparatus comprising at least one processor and a memory for storing processor-executable instructions which, when executed by the processor, implement steps comprising the method of any one of claims 1 to 4.
9. A business processing program generation method is applied to a server, and the method comprises the following steps:
receiving a service processing program generation request; the service processing program generation request comprises configuration information corresponding to a target service processing program and a program frame template identifier; the program frame template identification comprises information for identifying the program frame template; the program framework template comprises a COBOL program framework which is constructed in advance and used for realizing the processing of specified business data;
calling a program frame template corresponding to the program frame template identification, and generating a service processing program frame corresponding to the service data processing request based on the called program frame template;
and configuring parameters in the service processing program framework by using the configuration information to obtain a target service processing program.
10. A service processing program generation apparatus applied to a server, the apparatus comprising:
the second request receiving module is used for receiving a service processing program generation request; the service processing program generation request comprises configuration information corresponding to a target service processing program and a program frame template identifier; the program frame template identification comprises information for identifying the program frame template; the program framework template comprises a COBOL program framework which is constructed in advance and used for realizing the processing of specified business data;
the second template calling module is used for calling the program frame template corresponding to the program frame template identification and generating a service processing program frame corresponding to the service data processing request based on the called program frame template;
and the second program generation module is used for configuring the parameters in the service processing program framework by using the configuration information to obtain the target service processing program.
CN202010914908.9A 2020-09-03 2020-09-03 Service data processing method, device and equipment, program generating method and device Active CN112051987B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010914908.9A CN112051987B (en) 2020-09-03 2020-09-03 Service data processing method, device and equipment, program generating method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010914908.9A CN112051987B (en) 2020-09-03 2020-09-03 Service data processing method, device and equipment, program generating method and device

Publications (2)

Publication Number Publication Date
CN112051987A true CN112051987A (en) 2020-12-08
CN112051987B CN112051987B (en) 2023-10-24

Family

ID=73607304

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010914908.9A Active CN112051987B (en) 2020-09-03 2020-09-03 Service data processing method, device and equipment, program generating method and device

Country Status (1)

Country Link
CN (1) CN112051987B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109614409A (en) * 2018-10-29 2019-04-12 阿里巴巴集团控股有限公司 Business data processing method, device and server
CN111045751A (en) * 2019-12-27 2020-04-21 中国银行股份有限公司 Multi-service configuration chain processing method and device
CN111158798A (en) * 2019-12-27 2020-05-15 中国银行股份有限公司 Service data processing method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109614409A (en) * 2018-10-29 2019-04-12 阿里巴巴集团控股有限公司 Business data processing method, device and server
CN111045751A (en) * 2019-12-27 2020-04-21 中国银行股份有限公司 Multi-service configuration chain processing method and device
CN111158798A (en) * 2019-12-27 2020-05-15 中国银行股份有限公司 Service data processing method and device

Also Published As

Publication number Publication date
CN112051987B (en) 2023-10-24

Similar Documents

Publication Publication Date Title
CN110275861B (en) Data storage method and device, storage medium and electronic device
CN108280023B (en) Task execution method and device and server
CN111061475B (en) Software code generating method, device, computer equipment and storage medium
CN104133772A (en) Automatic test data generation method
JP2010524060A (en) Data merging in distributed computing
CN106991100B (en) Data import method and device
CN111126019B (en) Report generation method and device based on mode customization and electronic equipment
CN106293891B (en) Multidimensional investment index monitoring method
CN109299074B (en) Data verification method and system based on templated database view
CN104794048A (en) Automatic UI testing method and system
US10701213B2 (en) Dynamically generating an aggregation routine
CN104657274A (en) Method and device for testing software interface
CN109657803B (en) Construction of machine learning models
CN111367982B (en) Method, device, computer equipment and storage medium for importing TRRIGA basic data
CN109376148B (en) Data processing method and device for slow change dimension table and electronic equipment
CN112051987B (en) Service data processing method, device and equipment, program generating method and device
CN116227454A (en) Universal automatic report generation method and system
CN111782608B (en) File automatic generation method and device, electronic equipment and storage medium
CN113467782B (en) Method, device and equipment for determining business process
CN112181951B (en) Heterogeneous database data migration method, device and equipment
CN111352824B (en) Test method and device and computer equipment
CN112989775A (en) Report generation method and system
KR20220115859A (en) Edge table representation of the process
CN112836033A (en) Business model management method, device, equipment and storage medium
CN112130849A (en) Automatic code generation method and device

Legal Events

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