CN116244347A - Recording method and device of service data and computer equipment - Google Patents

Recording method and device of service data and computer equipment Download PDF

Info

Publication number
CN116244347A
CN116244347A CN202310246287.5A CN202310246287A CN116244347A CN 116244347 A CN116244347 A CN 116244347A CN 202310246287 A CN202310246287 A CN 202310246287A CN 116244347 A CN116244347 A CN 116244347A
Authority
CN
China
Prior art keywords
service data
data
service
business
business data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310246287.5A
Other languages
Chinese (zh)
Inventor
赵韫志
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Construction Bank Corp
CCB Finetech Co Ltd
Original Assignee
China Construction Bank Corp
CCB Finetech Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Construction Bank Corp, CCB Finetech Co Ltd filed Critical China Construction Bank Corp
Priority to CN202310246287.5A priority Critical patent/CN116244347A/en
Publication of CN116244347A publication Critical patent/CN116244347A/en
Pending legal-status Critical Current

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/24Querying
    • G06F16/245Query processing
    • G06F16/2457Query processing with adaptation to user needs
    • 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/24Querying
    • G06F16/248Presentation of query results
    • 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/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/284Relational databases
    • G06F16/285Clustering or classification
    • G06F16/287Visualization; Browsing
    • 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
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06311Scheduling, planning or task assignment for a person or group
    • 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
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management
    • 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

Abstract

The application relates to the field of big data, and particularly discloses a recording method, a recording device and computer equipment of service data. The method comprises the steps of obtaining service data record notes in a service data record request, and obtaining service data record operations matched with the service data record notes based on section-oriented programming; executing the business data recording operation, and acquiring input parameters, output parameters and annotation configuration information facing to the section programming; and obtaining the business data to be recorded according to the input parameters, the output parameters and the annotation configuration information, determining a preset business data template corresponding to the type of the business data to be recorded, storing the business data to be recorded into the preset business data template, and generating a target business data record text. The method can be adapted to various business transaction messages, cut in by the dimension of the method, and process the messages in an asynchronous mode without affecting the normal flow.

Description

Recording method and device of service data and computer equipment
Technical Field
The present invention relates to the field of big data, and in particular, to a method, an apparatus, and a computer device for recording service data.
Background
After the business transaction is finished, a large amount of business data can be generated, wherein the business data comprises information such as a transactor, business type, transaction time and the like, the transactor needs to classify the business data, record completed business for subsequent query of the transacted business data, and query the transacted business data from multiple dimensions such as the transactor, the transaction organization and the like to display related information.
In the related art, after the business transaction is completed, a public business transaction registration interface can be called to inquire a business field, or a business registration module is added and used when a new business transaction record is scanned and extracted at a later period. However, when the service information is queried later, only the registered service information field can be displayed, and the pertinence of the contained service information and the type of the display layout is weak.
Disclosure of Invention
Based on this, it is necessary to provide a recording method of service data, which can adapt to various service transaction messages, cut in with the dimension of the method, process the messages in an asynchronous manner, and not affect the normal flow.
In a first aspect, the present application provides a method for recording service data. The method comprises the following steps:
acquiring a service data record annotation in a service data record request, and acquiring a service data record operation matched with the service data record annotation based on section-oriented programming;
executing the business data recording operation, and acquiring input parameters, output parameters and annotation configuration information facing to the section programming;
and obtaining the business data to be recorded according to the input parameters, the output parameters and the annotation configuration information, determining a preset business data template corresponding to the type of the business data to be recorded, storing the business data to be recorded into the preset business data template, and generating a target business data record text.
In one embodiment, the preset service data template includes a placeholder and a variable identifier, a matched service data type is obtained according to the variable identifier, and the placeholder is replaced by the matched service data to obtain a target service data record text.
In one embodiment, the service data to be recorded is sent to a message queue, the service data record is returned to generate a message, and meanwhile, a target service data record text is generated.
In one embodiment, the annotation configuration information includes an interface field corresponding to the service data, an interface is called according to the interface field, the supplementary service data returned by the interface is received, the input parameter, the output parameter, the annotation configuration information and the supplementary service data are stored in a data pool, and the data in the data pool are used as the input parameter of the interface.
In one embodiment, corresponding service browsing pages are called according to different service types, and the service browsing pages are configured through a service data template.
In a second aspect, the present application further provides a recording apparatus for service data, where the apparatus includes:
the annotation definition module is used for acquiring the business data record annotation in the business data record request and acquiring business data record operation matched with the business data record annotation based on the section-oriented programming;
the method calling module is used for executing the business data recording operation and obtaining the input parameters, the output parameters and the annotation configuration information which are programmed for the section;
and the business data recording module is used for obtaining business data to be recorded according to the input parameters, the output parameters and the annotation configuration information, determining a preset business data template corresponding to the type of the business data to be recorded, and storing the business data to be recorded into the preset business data template to generate a target business data recording text.
In one embodiment, the preset service data template includes a placeholder and a variable identifier, a matched service data type is obtained according to the variable identifier, and the placeholder is replaced by the matched service data to obtain a target service data record text.
In one embodiment, the service data to be recorded is sent to a message queue, the service data record is returned to generate a message, and meanwhile, a target service data record text is generated.
In one embodiment, the annotation configuration information includes an interface field corresponding to the service data, an interface is called according to the interface field, the supplementary service data returned by the interface is received, the input parameter, the output parameter, the annotation configuration information and the supplementary service data are stored in a data pool, and the data in the data pool are used as the input parameter of the interface.
In one embodiment, corresponding service browsing pages are called according to different service types, and the service browsing pages are configured through a service data template.
In a third aspect, the present disclosure also provides a computer device. The computer device comprises a memory storing a computer program and a processor implementing the steps of the method for recording service data when the processor executes the computer program.
In a fourth aspect, the present disclosure also provides a computer-readable storage medium. The computer readable storage medium has stored thereon a computer program which, when executed by a processor, implements the steps of a method of recording business data.
In a fifth aspect, the present disclosure also provides a computer program product. The computer program product comprises a computer program which, when being executed by a processor, implements the steps of the method of recording business data.
The recording method of the service data at least comprises the following beneficial effects:
the embodiment proposal provided by the disclosure can customize notes, is suitable for different business transaction messages, can intercept the method with notes through the tangent plane, can select any link cut in the business data processing process, processes the data in an asynchronous mode, does not influence the normal business processing flow, and improves the processing efficiency.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments or the conventional techniques of the present disclosure, the drawings required for the descriptions of the embodiments or the conventional techniques will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present disclosure, and other drawings may be obtained according to the drawings without inventive effort to those of ordinary skill in the art.
FIG. 1 is an application environment diagram of a method of recording business data in one embodiment;
FIG. 2 is a flow chart of a recording method of service data in one embodiment;
FIG. 3 is a schematic diagram of a recording method of service data in one embodiment;
FIG. 4 is a schematic diagram of a recording method of service data in one embodiment;
FIG. 5 is a block diagram of a business data device in one embodiment;
FIG. 6 is an internal block diagram of a computer device in one embodiment;
fig. 7 is an internal structural diagram of a server in one embodiment.
Detailed Description
In order to enable those skilled in the art to better understand the technical solutions of the present disclosure, the technical solutions of the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings. The data acquisition, storage, use, processing and the like in the technical scheme meet the relevant regulations of national laws and regulations.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the foregoing figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the disclosure described herein may be capable of operation in sequences other than those illustrated or described herein. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims. The terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, it is not excluded that additional identical or equivalent elements may be present in a process, method, article, or apparatus that comprises a described element. For example, if first, second, etc. words are used to indicate a name, but not any particular order. The data acquisition, storage, use, processing and the like in the technical scheme meet the relevant regulations of national laws and regulations.
The embodiment of the disclosure provides a recording method of service data, which can be applied to an application environment as shown in fig. 1. Wherein the terminal 102 communicates with the server 104 via a network. The data storage system may store data that the server 104 needs to process. The data storage system may be integrated on the server 104 or may be located on a cloud or other network server. The terminal 102 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, internet of things devices, and portable wearable devices, where the internet of things devices may be smart speakers, smart televisions, smart air conditioners, smart vehicle devices, and the like. The portable wearable device may be a smart watch, smart bracelet, headset, or the like. The server 104 may be implemented as a stand-alone server or as a server cluster of multiple servers.
In some embodiments of the present disclosure, as shown in fig. 2, a recording method of service data is provided, and the method is applied to the server in fig. 1 to process the service data for illustration. It will be appreciated that the method may be applied to a server, and may also be applied to a system comprising a terminal and a server, and implemented by interaction of the terminal and the server. In a specific embodiment, the method may include the steps of:
s202: and acquiring the service data record annotation in the service data record request, and acquiring the service data record operation matched with the service data record annotation based on the section-oriented programming.
An annotation may be viewed as a way or method of associating data information or data in a program provided in a computer language, and may be an interface through which an annotation object may be retrieved by reflection and through which data in the annotation may be retrieved when a particular annotation is used. The section-oriented programming can isolate each part of the business logic, so that the coupling degree among the parts of the business logic is reduced, the reusability of the program is improved, and the development efficiency is improved.
In some embodiments of the present disclosure, annotations may be added to the business data recording method and data source representations may be specified in the annotated attributes, and default field presentations may also be obtained from the business data recording request. For example, the bank type is acquired by default from the service data record request by the bank type field name, but may be acquired from the acctbanktype field name by annotation designation. Intercepting the business data recording method with the annotation by the section-oriented programming, so as to obtain the data corresponding to the data source identification by executing the data source selection method in the section-oriented programming.
S204: and executing the business data recording operation to acquire the input parameters, the output parameters and the annotation configuration information facing to the tangent plane programming.
The input parameter may be service data for recording, the output data may be service data processed by a recording method of the service data, and the annotation configuration information may include a service information query interface for solving the problem of insufficient input parameter and output parameter. The section-oriented programming can acquire annotations containing methods and execute corresponding business data recording operations.
S206: and obtaining the business data to be recorded according to the input parameters, the output parameters and the annotation configuration information, determining a preset business data template corresponding to the type of the business data to be recorded, storing the business data to be recorded into the preset business data template, and generating a target business data record text.
Different business data templates correspond to different business data types, business information variable names and positions for storing business information variable values can be included in the business data templates, and the positions of the business information variable values can be represented by using placeholders or initial numbers. After the service data to be recorded is obtained, a corresponding preset service data template can be determined according to the type of the service data to be recorded, and the service information variable value is replaced by the placeholder or the initial number in the service data template, so that a target service data recording text can be generated.
In some embodiments of the present disclosure, annotations may be developed for specifying the field names corresponding to special fields that may be obtained from a service data record request. For example, when the annotation is not developed, the annotation may be obtained from the business data record request according to the default field name account of the account, and when the annotation is developed, the annotation may be obtained from the aacount field name. Intercepting the business data recording method with annotation by facing to the section programming, namely acquiring an account, collecting input parameters, output parameters and annotation configuration information, acquiring a business data template matched with the account information, and generating a recording text of the business data.
In the method for recording service data, notes can be added on the method for recording service data, the method for recording service data with the notes is intercepted by the programming of the section, so that the method for recording service data in the programming of the section is executed, an asynchronous processing mechanism of the notes and the programming of the section is used, the service processing flow is not influenced, and the service processing efficiency is improved.
In some embodiments of the present disclosure, the preset service data template includes a placeholder and a variable identifier, and the matched service data type is obtained according to the variable identifier, and the placeholder is replaced with the matched service data to obtain the target service data record text.
The placeholders are used to represent the locations of variable identifiers, which may also be replaced with traffic data, and variable identifiers may be used to represent traffic data types. In some embodiments of the present disclosure, variable identifiers may be placed in the middle of placeholders, after matching to a business data template, all of the placeholders may be retrieved, and then the middle variable identifiers are extracted according to the placeholders, and the placeholders are replaced with business data according to the business data types represented by the variable identifiers.
For example, the service data template may be represented as a placeholder+a variable identifier+a placeholder, the variable identifier is riqi, format conversion may be performed, the variable identifier is Date, the service data is obtained to replace the placeholder, and the target service data record text may be represented as 1 month 1 day 2000.
In some embodiments of the present disclosure, the service data to be recorded is sent to a message queue, and a service data record generation message is returned, and a target service data record text is generated at the same time.
Fig. 3 is a flow chart of recording business data in one embodiment. After the input parameters, the output parameters and the annotation configuration information are acquired by facing the section programming, the recorded service data can be sent to a message queue, the message queue can decouple the system, the response speed is improved, the section processing flow is exited in a non-waiting mode, and the used method can be returned to a calling party for continuous use.
In some embodiments of the present disclosure, the annotation configuration information includes an interface field corresponding to the service data, an interface is called according to the interface field, supplementary service data returned by the interface is received, the input parameter, the output parameter, the annotation configuration information, and the supplementary service data are stored in a data pool, and data in the data pool is used as an input parameter of the interface.
The annotation configuration information can contain a field for specifying a service information query interface, the deficiency of input parameters and output parameters can be supplemented through the service information query interface, query services which are required to be called by messages corresponding to service types can be configured in a service data template, and the query services can be called in sequence according to the sequence, so that the supplementary information can be obtained. The input parameters can include information such as service serial numbers, and each service module can be called according to the service serial numbers to acquire service detailed information. The input parameters, the output parameters and the annotation configuration information can be placed in a data pool, the obtained supplementary service data can also be stored in the data pool and used as the input parameters in the service query service, and the query result returned afterwards can also be placed in the data pool and used as the subsequent service data query.
In some embodiments of the present disclosure, corresponding business browsing pages are invoked according to different business types, the business browsing pages being configured by a business data template.
The browsing interface corresponding to the service type can be configured according to the service data templates of different types, and the browsing interface can comprise detailed information such as a transacting user, the service type, the transacting time and the like, and can also be added to a browsing page for browsing service details by a client when the latest service data is acquired.
Fig. 4 is a schematic diagram of a recording method of service data in an embodiment. In the service processing process, the fields can be acquired from the request information or the response information for display, and if part of the fields are default names and do not comprise notes, the service data can be acquired according to a general method, registered and can be used for information inquiry. If a specific field reference is used and annotation is included, the business data can be obtained from the specific field name through the annotation, so that the business data recording operation is completed. In addition, information inquiry service can be included, which can be used for inquiring the done tasks and browsing the done business.
In the related art, after registration is performed by using the registration module, only originally registered service fields are displayed in the query stage, and the service query function of the present disclosure can display various kinds of information. When the service data is acquired by using the query statement, the query statement is applied to the timestamp to acquire the newly added service data, the service information may not be updated in time, and the latest service data may not be displayed during the query. In addition, the service processing flows are decoupled, different service flows cannot be affected mutually, and service processing efficiency is improved. And the information displayed by the finally formed information inquiry page is rich, the pertinence of the layout is strong, and the information inquiry page is convenient for users to use.
It should be understood that, although the steps in the flowcharts related to the embodiments described above are sequentially shown as indicated by arrows, these steps are not necessarily sequentially performed in the order indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in the flowcharts described in the above embodiments may include a plurality of steps or a plurality of stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of the steps or stages is not necessarily performed sequentially, but may be performed alternately or alternately with at least some of the other steps or stages.
Based on the same inventive concept, the embodiments of the present disclosure also provide a recording apparatus for service data for implementing the above-mentioned recording method for service data. The implementation scheme of the device for solving the problem is similar to that described in the above method, so the specific limitation in the embodiment of the device for recording service data provided below can be referred to the limitation of the method for recording service data hereinabove, and will not be repeated here.
The apparatus may comprise a system (including a distributed system), software (applications), modules, components, servers, clients, etc. that employ the methods described in the embodiments of the present specification in combination with the necessary apparatus to implement the hardware. Based on the same innovative concepts, embodiments of the present disclosure provide for devices in one or more embodiments as described in the following examples. Because the implementation scheme and the method for solving the problem by the device are similar, the implementation of the device in the embodiment of the present disclosure may refer to the implementation of the foregoing method, and the repetition is not repeated. As used below, the term "unit" or "module" may be a combination of software and/or hardware that implements the intended function. While the means described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
In one embodiment, as shown in fig. 5, a recording apparatus 500 of service data is provided, where the apparatus may be the foregoing server, or a module, a component, a device, a unit, etc. integrated with the server.
The apparatus 500 may include:
the annotation definition module 502 is configured to obtain a service data record annotation in a service data record request, and obtain a service data record operation matched with the service data record annotation based on a section-oriented programming;
the method calling module 504 is configured to perform the service data recording operation, and obtain an input parameter, an output parameter and annotation configuration information for the section-oriented programming;
the service data recording module 506 is configured to obtain service data to be recorded according to the input parameter, the output parameter, and the annotation configuration information, determine a preset service data template corresponding to a type of the service data to be recorded, and store the service data to be recorded into the preset service data template to generate a target service data recording text.
In one embodiment, the preset service data template includes a placeholder and a variable identifier, a matched service data type is obtained according to the variable identifier, and the placeholder is replaced by the matched service data to obtain a target service data record text.
In one embodiment, the service data to be recorded is sent to a message queue, and the service data record generation message is returned, and meanwhile, a target service data record text is generated.
In one embodiment, the annotation configuration information includes an interface field corresponding to the service data, an interface is called according to the interface field, the supplementary service data returned by the interface is received, the input parameter, the output parameter, the annotation configuration information and the supplementary service data are stored in a data pool, and the data in the data pool are used as the input parameter of the interface.
In one embodiment, corresponding service browsing pages are invoked according to different service types, and the service browsing pages are configured through a service data template.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
The respective modules in the recording apparatus for service data described above may be implemented in whole or in part by software, hardware, and combinations thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer device is provided, which may be a server, the internal structure of which may be as shown in fig. 6. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database of the computer device is used for storing business data. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program, when executed by a processor, implements a method of recording service data.
In one embodiment, a computer device is provided, which may be a terminal, and the internal structure of which may be as shown in fig. 7. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless mode can be realized through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. The computer program, when executed by a processor, implements a method of recording business data. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, can also be keys, a track ball or a touch pad arranged on the shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the structures shown in fig. 6 and 7 are merely block diagrams of partial structures related to the disclosed aspects and do not constitute a limitation of the computer device on which the disclosed aspects are applied, and that a particular computer device may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, implements the method of any of the embodiments of the present disclosure.
In one embodiment, a computer program product is provided, comprising a computer program which, when executed by a processor, implements the method described in any of the embodiments of the present disclosure.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, database, or other medium used in embodiments provided by the present disclosure may include at least one of non-volatile and volatile memory, among others. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high density embedded nonvolatile Memory, resistive random access Memory (ReRAM), magnetic random access Memory (Magnetoresistive Random Access Memory, MRAM), ferroelectric Memory (Ferroelectric Random Access Memory, FRAM), phase change Memory (Phase Change Memory, PCM), graphene Memory, and the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory, and the like. By way of illustration, and not limitation, RAM can be in the form of a variety of forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), and the like. The databases referred to in the various embodiments provided by the present disclosure may include at least one of a relational database and a non-relational database. The non-relational database may include, but is not limited to, a blockchain-based distributed database, and the like. The processors involved in the embodiments provided by the present disclosure may be general-purpose processors, central processing units, graphics processors, digital signal processors, programmable logic, quantum computing-based data processing logic, etc., without limitation thereto.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The foregoing examples have expressed only a few embodiments of the present disclosure, which are described in more detail and detail, but are not to be construed as limiting the scope of the present disclosure. It should be noted that variations and modifications can be made by those skilled in the art without departing from the spirit of the disclosure, which are within the scope of the disclosure. Accordingly, the scope of the present disclosure should be determined from the following claims.

Claims (13)

1. A method for recording service data, the method comprising:
acquiring a service data record annotation in a service data record request, and acquiring a service data record operation matched with the service data record annotation based on section-oriented programming;
executing the business data recording operation, and acquiring input parameters, output parameters and annotation configuration information facing to the section programming;
and obtaining the business data to be recorded according to the input parameters, the output parameters and the annotation configuration information, determining a preset business data template corresponding to the type of the business data to be recorded, storing the business data to be recorded into the preset business data template, and generating a target business data record text.
2. The method of claim 1, wherein the preset service data template includes a placeholder and a variable identifier, and the matching service data type is obtained according to the variable identifier, and the placeholder is replaced by the matching service data to obtain the target service data record text.
3. The method of claim 1, wherein the service data to be recorded is sent to a message queue, and a service data record generation message is returned while a target service data record text is generated.
4. The method of claim 1, wherein the annotation configuration information includes an interface field corresponding to the service data, an interface is called according to the interface field, the supplementary service data returned by the interface is received, the input parameter, the output parameter, the annotation configuration information and the supplementary service data are stored in a data pool, and the data in the data pool are used as the input parameter of the interface.
5. The method of claim 2, wherein corresponding service browsing pages are invoked according to different service types, the service browsing pages being configured by a service data template.
6. A recording apparatus for service data, the apparatus comprising:
the annotation definition module is used for acquiring the business data record annotation in the business data record request and acquiring business data record operation matched with the business data record annotation based on the section-oriented programming;
the method calling module is used for executing the business data recording operation and obtaining the input parameters, the output parameters and the annotation configuration information which are programmed for the section;
and the business data recording module is used for obtaining business data to be recorded according to the input parameters, the output parameters and the annotation configuration information, determining a preset business data template corresponding to the type of the business data to be recorded, and storing the business data to be recorded into the preset business data template to generate a target business data recording text.
7. The apparatus of claim 6, wherein the preset service data template includes a placeholder and a variable identifier, and the matching service data type is obtained according to the variable identifier, and the placeholder is replaced by the matching service data to obtain the target service data record text.
8. The apparatus of claim 6 wherein the service data to be recorded is sent to a message queue and a service data record generation message is returned while a target service data record text is generated.
9. The apparatus of claim 6, wherein the annotation configuration information includes an interface field corresponding to the service data, wherein an interface is called according to the interface field, wherein supplementary service data returned by the interface is received, wherein the input parameter, the output parameter, the annotation configuration information, and the supplementary service data are stored in a data pool, and wherein data in the data pool is used as the input parameter of the interface.
10. The apparatus of claim 7, wherein corresponding service browsing pages are invoked according to different service types, the service browsing pages being configured by a service data template.
11. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any one of claims 1 to 5 when the computer program is executed.
12. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 5.
13. A computer program product comprising a computer program, characterized in that the computer program, when being executed by a processor, implements the steps of the method according to any one of claims 1 to 5.
CN202310246287.5A 2023-03-06 2023-03-06 Recording method and device of service data and computer equipment Pending CN116244347A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310246287.5A CN116244347A (en) 2023-03-06 2023-03-06 Recording method and device of service data and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310246287.5A CN116244347A (en) 2023-03-06 2023-03-06 Recording method and device of service data and computer equipment

Publications (1)

Publication Number Publication Date
CN116244347A true CN116244347A (en) 2023-06-09

Family

ID=86631173

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310246287.5A Pending CN116244347A (en) 2023-03-06 2023-03-06 Recording method and device of service data and computer equipment

Country Status (1)

Country Link
CN (1) CN116244347A (en)

Similar Documents

Publication Publication Date Title
CN105740368A (en) Method and device for generating report form
CN115544183B (en) Data visualization method, device, computer equipment and storage medium
CN114611481A (en) Template configuration method and device, computer equipment and storage medium
CN116466935A (en) Template processing method, device, computer equipment and storage medium
US20180107719A1 (en) Data access using aggregation
CN114693283B (en) Cross-system business process approval processing method and device and computer equipment
CN116244347A (en) Recording method and device of service data and computer equipment
CN116738960B (en) Document data processing method, system, computer equipment and storage medium
CN118052214A (en) Report automatic generation method, device, computer equipment and storage medium
CN117216164A (en) Financial data synchronous processing method, apparatus, device, medium and program product
CN117519871A (en) Method, device and equipment for configuring operation layout of financial service application
CN113987322A (en) Index data query method and device, computer equipment and computer program product
CN116128616A (en) Method and device for calculating data processing of resource risk trial calculation and computer equipment
CN117234639A (en) Business data display method and device and computer equipment
CN117435589A (en) Data transfer method, device, computer equipment and storage medium
CN117130606A (en) Front-end page configuration method, front-end page configuration device, computer equipment and storage medium
CN117389605A (en) Service interface configuration method, device, equipment, storage medium and program product
CN116955386A (en) Data processing method and device and data processing task generation method and device
CN117289840A (en) Menu determination method, device, equipment, medium and product based on portrait tag
CN116415914A (en) Service data processing method, device, computer equipment and storage medium
CN117555521A (en) Business requirement development method, device, computer equipment and storage medium
CN118035423A (en) Information query method, device, computer equipment and storage medium
CN117350831A (en) Data processing method and device in cross-border scene, computer equipment and storage medium
CN117493377A (en) Financial index report configuration method, device, equipment and storage medium
CN117312307A (en) Service data processing method, device, computer equipment and storage medium

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