Operation relationship configuration method, device, computer equipment and storage medium
By obtaining and mapping the calculation relationship configuration information in the management page, the problem of low efficiency in modifying the configuration of page information items in the existing technology is solved, the dynamic configuration and real-time effect of the calculation relationship are realized, and the processing cost of new formulas is reduced and improved. efficiency.
Patent Information
- Application Number
- CN202110369162.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-04-06
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2041-04-06
AI Technical Summary
In the existing technology, modifying the configuration of page information items needs to be published to the server and restarted to take effect, resulting in low efficiency of modifying the configuration and high cost of formula processing.
By obtaining the operation relationship configuration information input by the user in the management page, extracting the identification information and code of the target operation relationship, establishing a mapping relationship between the identification information and the code, updating the operation relationship list, allowing the user to select the identification information to call the corresponding code, Realize dynamic configuration and calculation of operational relationships.
It reduces the processing cost of new formulas, improves the processing efficiency of new formulas, and enables real-time configuration of calculation relationships to take effect without restarting the server.
Smart Images

Figure CN112860464B
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of data processing, and in particular to a method, device, computer equipment and storage medium for configuring an operation relationship. Background Art
[0002] The clearing and billing process for funding parties in Internet financial services is usually relatively fixed, and the differences are generally reflected in the calculation formulas for various information items.
[0003] When a new calculation formula needs to be added, it is usually implemented by adding formula code in the code and adding formula configuration on the server page.
[0004] To add a new formula, you need to modify the application code and publish the entire application code to the server for restart to take effect. At the same time, you need to modify the page information item configuration and publish the entire page code to the server for restart to take effect. Summary of the invention
[0005] The embodiments of the present invention provide a method, apparatus, computer equipment and storage medium for configuring an operation relationship, which can reduce the processing cost of a new formula and improve the processing efficiency of a new formula.
[0006] In a first aspect, an embodiment of the present invention provides a method for configuring an operation relationship, including:
[0007] In the management page, obtain the operation relationship configuration information entered by the user for the operation relationship setting item;
[0008] Extracting identification information and code of a target operation relation from the operation relation configuration information;
[0009] A mapping relationship between the identification information and the code is established, and an operation relationship list is updated according to the identification information, the operation relationship list is used to be displayed to the user, and the code is called according to the identification information selected by the user to realize calculation using the target operation relationship.
[0010] In a second aspect, an embodiment of the present invention further provides an operation relationship configuration device, including:
[0011] The operation relationship configuration information acquisition module is used to obtain the operation relationship configuration information input by the user for the operation relationship setting item in the management page;
[0012] An operation relation extraction module, used for extracting identification information and code of a target operation relation from the operation relation configuration information;
[0013] A mapping relationship configuration module is used to establish a mapping relationship between the identification information and the code, and to update an operation relationship list according to the identification information, wherein the operation relationship list is used to be displayed to the user, and to call the code according to the identification information selected by the user to realize calculation using the target operation relationship.
[0014] In a third aspect, an embodiment of the present invention further provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, an operation relationship configuration method as described in any one of the embodiments of the present invention is implemented.
[0015] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the operation relationship configuration method as described in any one of the embodiments of the present invention.
[0016] The embodiment of the present invention obtains the operation relationship configuration information input by the user for the operation relationship setting item, extracts the identification information and code of the target operation relationship, establishes a mapping relationship, and adds the identification information to the operation relationship list to display it to the user, so that the user can select the identification information therefrom, and calls the code according to the mapping relationship to calculate the data using the target operation relationship. This solves the problem in the prior art that the configuration of page information items needs to be published to the server and restarted to take effect, resulting in low efficiency in modifying the configuration. This can reduce the processing cost of new formulas and improve the processing efficiency of new formulas. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1a is a flow chart of a method for configuring a computing relationship in Embodiment 1 of the present invention;
[0018] Figure 1b is a flow chart of a method for configuring a computing relationship in Embodiment 1 of the present invention;
[0019] Figure 2a is a flow chart of a method for configuring a computing relationship in Embodiment 2 of the present invention;
[0020] Figure 2b is a flow chart of a method for configuring a computing relationship in Embodiment 2 of the present invention;
[0021] Figure 3 It is a structural schematic diagram of an operation relationship configuration device in Embodiment 3 of the present invention;
[0022] Figure 4 It is a structural diagram of a computer device in Embodiment 4 of the present invention. DETAILED DESCRIPTION
[0023] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only parts related to the present invention, rather than all structures, are shown in the accompanying drawings.
[0024] Embodiment 1
[0025] Figure 1a This is a flow chart of a method for configuring an operation relationship in Embodiment 1 of the present invention. This embodiment is applicable to the case of configuring an operation relationship. The method can be executed by the operation relationship configuration device provided by the embodiment of the present invention. The device can be implemented in software and / or hardware and can generally be integrated into a computer device. Figure 1a As shown, the method of this embodiment specifically includes:
[0026] S110, in the management page, obtaining the operation relationship configuration information input by the user for the operation relationship setting item.
[0027] The management page displays the operation relationship setting items. The management page can refer to the human-computer interaction page generated and displayed during the development process. The management page is used to obtain the user's input data and perform corresponding configurations. The operation relationship setting items are used to receive the operation relationship configuration information input by the user when triggered. The operation relationship configuration information is used to add the operation relationship in the database for subsequent calculation tasks.
[0028] S120: extracting identification information and code of the target operation relationship from the operation relationship configuration information.
[0029] The operation relationship is used to describe the operation relationship between at least two elements, and the operation includes numerical operation, logical operation and relational operation. The operation relationship may refer to a calculation formula. The identification information is used to uniquely identify the target operation relationship. The identification information may include a key value and description information. The description information may refer to text content, which is used to display to the user so that the user understands the function of the corresponding operation relationship. The key corresponds to the description information. The key value corresponds to the code. The user can determine the key by selecting the description information, and determine the corresponding code based on the key. The key can be obtained by calculating the configuration information of the target operation relationship using a digest algorithm. The digest algorithm may include a hash algorithm. Other algorithms may also be used to calculate the identification information, and there is no specific limitation on this. The code of the target operation relationship is used to implement the use of the target operation relationship to calculate at least one numerical value and obtain a calculation result when executed.
[0030] S130, establishing a mapping relationship between the identification information and the code, and updating an operation relationship list according to the identification information, wherein the operation relationship list is used to be displayed to the user, and the code is called according to the identification information selected by the user to implement calculation using the target operation relationship.
[0031] The mapping relationship between identification information and code is used to query the code according to the identification information and call the code. The operation relationship list is used to store the identification information of the pre-configured operation relationship. The operation relationship list can be displayed to the user, and the user can select and trigger the identification information of any operation relationship displayed in the operation relationship list. The code of the operation relationship can be determined and obtained based on the selected identification information and the mapping relationship. The obtained code can be called, and when the code is called, the operation relationship is used to calculate at least one numerical value. If the identification information includes description information and key, updating according to the identification information can refer to adding the description information in the identification information to the operation relationship list, and displaying the description information in the identification information in the operation relationship list.
[0032] Store the extracted identification information and code. You can preset formula containers and manage codes. Configure the application programming interface (API) corresponding to the code according to the identification information, call the corresponding API through the identification information, and call the pointed code through the API.
[0033] A manager may be preset to manage the identification information of each operation relationship. The front-end page obtains the operation relationship list including the identification information of each operation relationship through the manager for display.
[0034] The operation relationship configuration method can be applied to the field of amount calculation, such as in the loan settlement application scenario. Optionally, the operation relationship includes a clearing calculation formula. The clearing calculation formula is used to clear the claims between accounts. Usually, different financial institutions have different clearing methods, and the corresponding clearing calculation formulas are different. Exemplarily, the operation relationship may include equal principal and interest or equal principal, etc. By configuring the operation relationship as a clearing calculation formula, the required operation relationship can be quickly configured in real time according to business needs, thereby improving the efficiency of formula configuration and thus improving business development efficiency.
[0035] Optionally, the operation relationship configuration method further includes: when the operation relationship list is triggered to be displayed, displaying identification information of the operation relationship included in the operation relationship list.
[0036] When the operation relationship list is triggered to be displayed, the identification information of the operation relationship included is displayed in the display area at the specified position. The display mode can be displayed in the form of a drop-down menu.
[0037] Exemplarily, when a trigger instruction of a control associated with the operation relationship list is received, it is determined that a display instruction of the operation relationship list is received, thereby determining that the operation relationship list is triggered to be displayed, obtaining the description information in the identification information of at least one operation relationship included in the operation relationship list, and generating a display area at a specified position for display. The display area may only display the description information of part of the operation relationships included in the operation relationship list, and the description information of the remaining operation relationships included is switched to be displayed through the switching control of the display area.
[0038] By displaying the operation relationships included in the operation relationship list when the operation relationship list is triggered to display, the operation relationship configured in real time can be displayed immediately when the operation relationship configuration is completed, without restarting the server for the configuration to take effect, thereby improving the real-time effectiveness of the configuration of the operation relationship and thus improving the development efficiency of the operation relationship.
[0039] Optionally, after displaying the identification information of the operation relationship included in the operation relationship list, it also includes: receiving the user's selection instruction for the identification information of the operation relationship list; obtaining the identification information matching the selection instruction, and querying the corresponding code according to the mapping relationship; and executing the corresponding code.
[0040] The selection instruction may refer to a trigger instruction input by a user using any identification information in the operation relationship list. Specifically, the selection instruction may be an instruction input by at least one of the triggering operations such as clicking, pressing, and sliding gestures. The selection instruction is used to determine the identification information selected by the user. The identification information matched by the selection instruction may refer to the identification information selected by the user. Based on the identification information determined by the user and the mapping relationship, the code selected by the user may be determined. The execution of the code may be calculated using the operation relationship selected by the user.
[0041] By receiving a selection instruction of an operation relationship list, obtaining identification information selected by a user, and calling corresponding codes, after adding a new operation relationship, the new operation relationship can be quickly applied to improve the configuration efficiency of the new operation relationship.
[0042] Optionally, the obtaining of operation relationship configuration information input by the user for the operation relationship setting item includes: when the operation relationship setting item is triggered, receiving a data packet uploaded by the user through an associated interactive interface; and parsing the data packet to obtain the operation relationship configuration information.
[0043] The interactive interface is used to receive the data package uploaded by the user. By configuring the interactive interface for human-computer interaction, the user's configuration information for the operation relationship can be quickly obtained. By parsing the data package, the operation relationship configuration information included in the data package can be obtained. The data package can refer to a jar package. The code parser can be pre-configured, and the data format of the jar package can be specified. The jar package is parsed by the code parser to obtain the operation relationship configuration information included in the jar package.
[0044] By configuring the interactive interface, receiving the data packets uploaded by the user and parsing them to obtain the operation relationship configuration information, the user's configuration information can be quickly obtained through the interface, and new configurations of the operation relationship can be performed, providing a new function channel for the operation relationship and improving the configuration efficiency of the operation relationship.
[0045] In a specific example, Figure 1b As shown, the user can send a jar package to the management station through a client or other server, where the management station is a server. The management station parses the jar package to obtain the operation relationship configuration information. The management station extracts the code and identification information from the operation relationship configuration information and establishes a mapping relationship between the code and the identification information. The management station updates the operation relationship list according to the identification information and adds the description information in the identification information to the operation relationship list. After the management station completes the addition, it can feedback the response result of the completion of the operation relationship configuration to the user.
[0046] Users can expand the operation relationship online. At the same time, the operation relationship list is dynamically managed, the page configuration displays the operation relationship list, and the code automatically establishes a linkage configuration. There is no need to publish the page version to update the operation relationship, and there is no need to modify the page code.
[0047] The embodiment of the present invention obtains the operation relationship configuration information input by the user for the operation relationship setting item, extracts the identification information and code of the target operation relationship, establishes a mapping relationship, and adds the identification information to the operation relationship list to display it to the user, so that the user can select the identification information therefrom, and calls the code according to the mapping relationship to calculate the data using the target operation relationship. This solves the problem in the prior art that the configuration of page information items needs to be published to the server and restarted to take effect, resulting in low efficiency in modifying the configuration. This can reduce the processing cost of new formulas and improve the processing efficiency of new formulas.
[0048] Embodiment 2
[0049] Figure 2aThis is a flow chart of a method for configuring an operation relationship in Embodiment 2 of the present invention. This embodiment is optimized based on the above embodiment. After establishing the mapping relationship between the identification information and the code, the optimization is as follows: obtaining the calculation process configuration information input by the user; obtaining at least one target identification information input by the user for the calculation process configuration information; querying the code matching each target identification information according to the preset mapping relationship; generating a calculation process code according to the code matching each target identification information and the calculation process configuration information, and when the calculation process code is executed, the calculation is performed using the operation relationship of each target identification information.
[0050] The method of this embodiment specifically includes:
[0051] S210, in the management page, obtaining the operation relationship configuration information input by the user for the operation relationship setting item.
[0052] For descriptions not described in detail in the embodiments of the present invention, reference may be made to the descriptions of the above embodiments.
[0053] S220: extracting identification information and code of the target operation relationship from the operation relationship configuration information.
[0054] S230, establishing a mapping relationship between the identification information and the code, and updating an operation relationship list according to the identification information, wherein the operation relationship list is used to be displayed to the user, and the code is called according to the identification information selected by the user to implement calculation using the target operation relationship.
[0055] S240: Obtain computing process configuration information input by the user.
[0056] The calculation process configuration information is used to configure a calculation process. Usually, a calculation process includes multiple steps of calculation, and multiple calculation formulas are used for calculation in the calculation process of the calculation process.
[0057] S250: Obtain at least one target identification information input by the user for the computing process configuration information.
[0058] The calculation process configuration information needs to configure multiple operation relationships, and the user needs to select the corresponding target identification information for each operation relationship. The calculation process configuration information needs to configure at least one operation relationship, and accordingly, the user needs to determine the target identification information corresponding to each operation relationship, that is, it is necessary to obtain at least one target identification information input by the user for the calculation process configuration information.
[0059] S260: According to a preset mapping relationship, query the code matching each of the target identification information.
[0060] The target identification information may be the same or different. The matching code is queried for each target identification information and mapping relationship.
[0061] S270, generating a calculation process code according to the code matched by each target identification information and the calculation process configuration information, and when the calculation process code is executed, the calculation is performed using the operation relationship of each target identification information.
[0062] The calculation process code is used to implement the corresponding calculation process when it is executed. The initial code can be generated according to the calculation process configuration information. The initial code includes the filling position of the code matching the target identification information. The corresponding code can be written in the filling position to form the calculation process code. Therefore, when the calculation process code is executed, the corresponding operation relationship code can be called to execute when calculation is required, so as to implement the calculation using the corresponding operation relationship.
[0063] Optionally, obtaining at least one target identification information input by the user for the calculation process configuration information includes: displaying the operation relationship list for each operation relationship included in the calculation process configuration information; obtaining the target identification information selected by the user in the operation relationship list, and determining it as the target identification information of the operation relationship.
[0064] Each operation relationship included in the calculation process configuration information may refer to an operation relationship used in the calculation process of the calculation process. For each operation relationship, a display of an operation relationship list may be triggered. The target identification information selected by the user in the operation relationship list is used as the identification information corresponding to the currently configured operation relationship.
[0065] By displaying the list of operation relationships and obtaining the target identification information specified by the user for each operation relationship included in the calculation process configuration information, each operation relationship included in the calculation process configuration information can be accurately configured, and each operation relationship included in the calculation process configuration information can be flexibly configured, thereby increasing the application scenarios of the operation relationships and enriching the business models of the operation relationships.
[0066] In a specific example, Figure 2b As shown, the user can send the calculation process configuration information to the management station through the client or other server to configure the calculation process. The management station obtains the list of each operation relationship according to the calculation process and sends it to the user for display. The user selects the target identification information from the displayed list of each operation relationship. The management station obtains the target identification information specified by the user and queries the corresponding code to determine the operation relationship associated with the calculation process. After each operation relationship in the calculation process is configured, the calculation process is saved. The management station sends the calculation process to the user.
[0067] The embodiment of the present invention obtains computing flow configuration information, receives target identification information of operation relationships specified by the user for the computing flow configuration information, obtains matching codes respectively according to the mapping relationships, generates computing flow codes, and executes the calculation of the specified computing flow by combining and using various operation relationships. The operation relationships associated with the computing flow can be flexibly configured, thereby improving the flexibility of the computing flow and the configuration efficiency of the computing flow.
[0068] Embodiment 3
[0069] Figure 3 Schematic diagram of a computing relationship configuration device in Embodiment 3 of the present invention. Embodiment 3 is a corresponding device for implementing the computing relationship configuration method provided in the above embodiments of the present invention, which can be implemented in software and / or hardware and can generally be integrated into a computer device.
[0070] Accordingly, the device of this embodiment may include:
[0071] The operation relationship configuration information acquisition module 310 is used to acquire the operation relationship configuration information input by the user for the operation relationship setting item in the management page;
[0072] An operation relation extraction module 320, configured to extract identification information and code of a target operation relation from the operation relation configuration information;
[0073] The mapping relationship configuration module 330 is used to establish a mapping relationship between the identification information and the code, and to update an operation relationship list according to the identification information, wherein the operation relationship list is used to be displayed to the user, and to call the code according to the identification information selected by the user to realize calculation using the target operation relationship.
[0074] The embodiment of the present invention obtains the operation relationship configuration information input by the user for the operation relationship setting item, extracts the identification information and code of the target operation relationship, establishes a mapping relationship, and adds the identification information to the operation relationship list to display it to the user, so that the user can select the identification information therefrom, and calls the code according to the mapping relationship to calculate the data using the target operation relationship. This solves the problem in the prior art that the configuration of page information items needs to be published to the server and restarted to take effect, resulting in low efficiency in modifying the configuration. This can reduce the processing cost of new formulas and improve the processing efficiency of new formulas.
[0075] Furthermore, the operation relationship configuration device also includes: a calculation process configuration module, which is used to obtain the calculation process configuration information input by the user after establishing the mapping relationship between the identification information and the code; obtain at least one target identification information input by the user for the calculation process configuration information; query the code matching each target identification information according to the preset mapping relationship; generate a calculation process code according to the code matching each target identification information and the calculation process configuration information, and when the calculation process code is executed, the operation relationship of each target identification information is used for calculation.
[0076] Furthermore, the calculation process configuration module is specifically used to: display the operation relationship list for each operation relationship included in the calculation process configuration information; obtain the target identification information selected by the user in the operation relationship list, and determine it as the target identification information of the operation relationship.
[0077] Furthermore, the operation relationship configuration device also includes: an operation relationship list display module, which is used to display the identification information of the operation relationship included in the operation relationship list when the operation relationship list is triggered to be displayed.
[0078] Furthermore, the operation relationship configuration device also includes: an operation relationship list selection trigger module, which is used to receive the user's selection instruction for the identification information of the operation relationship list after displaying the identification information of the operation relationship included in the operation relationship list; obtain the identification information matched by the selection instruction, and query the corresponding code according to the mapping relationship; and execute the corresponding code.
[0079] Furthermore, the operation relationship configuration information acquisition module 310 is specifically used to: when the operation relationship setting item is triggered, receive the data packet uploaded by the user through the associated interactive interface; and parse the data packet to obtain the operation relationship configuration information.
[0080] Furthermore, the operation relationship includes a liquidation calculation formula.
[0081] The above-mentioned device can execute the method provided by the embodiment of the present invention, and has the corresponding functional components and beneficial effects of executing the method.
[0082] Embodiment 4
[0083] Figure 4 A schematic diagram of the structure of a computer device provided in Embodiment 4 of the present invention. Figure 4 A block diagram of an exemplary computer device 12 suitable for use in implementing embodiments of the present invention is shown. Figure 4 The computer device 12 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0084] like Figure 4 As shown, the computer device 12 is in the form of a general-purpose computing device. The components of the computer device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 connecting different system components (including the system memory 28 and the processing unit 16). The computer device 12 may be a device attached to the bus.
[0085] Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus structures. For example, these architectures include but are not limited to Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MCA) bus, Enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
[0086] The computer device 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by the computer device 12, including volatile and non-volatile media, removable and non-removable media.
[0087] The system memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and / or cache memory 32. The computer device 12 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, the storage system 34 may be used to read and write non-removable, non-volatile magnetic media ( Figure 4 not shown, usually called a "hard drive"). Although Figure 4Not shown in the figure, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing to a removable non-volatile optical disk (e.g., a compact disk read-only memory (CD-ROM), a digital video disk (DVD-ROM) or other optical media) may be provided. In these cases, each drive may be connected to the bus 18 via one or more data medium interfaces. The system memory 28 may include at least one program product having a set (e.g., at least one) of program components that are configured to perform the functions of the various embodiments of the present invention.
[0088] A program / utility 40 having a set (at least one) of program components 42 may be stored, for example, in system memory 28, such program components 42 including, but not limited to, an operating system, one or more application programs, other program components, and program data, each of which or some combination may include an implementation of a network environment. Program components 42 generally perform the functions and / or methods of the embodiments described herein.
[0089] The computer device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), one or more devices that enable a user to interact with the computer device 12, and / or any device that enables the computer device 12 to communicate with one or more other computing devices (e.g., network card, modem, etc.). Such communication may be performed through an input / output (I / O) interface 22. In addition, the computer device 12 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN)) through a network adapter 20. As shown, the network adapter 20 communicates with other components of the computer device 12 through the bus 18. It should be understood that although Figure 4 Not shown, other hardware and / or software components may be used in conjunction with computer device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays (Redundant Arrays of Inexpensive Disks, RAID) systems, tape drives, and data backup storage systems.
[0090] The processing unit 16 executes the programs stored in the system memory 28 to execute various functional applications and data processing, such as implementing the method provided by any embodiment of the present invention.
[0091] Embodiment 5
[0092] Embodiment 5 of the present invention provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the operation relationship configuration method provided in all the embodiments of the present invention is implemented:
[0093] That is, when the program is executed by the processor, it is achieved: in the management page, the operation relationship configuration information input by the user for the operation relationship setting item is obtained; the identification information and code of the target operation relationship are extracted from the operation relationship configuration information; a mapping relationship between the identification information and the code is established, and the operation relationship list is updated according to the identification information, the operation relationship list is used to display to the user, and the code is called according to the identification information selected by the user to realize the calculation using the target operation relationship.
[0094] The computer storage medium of the embodiment of the present invention can adopt any combination of one or more computer-readable media. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, - but not limited to - an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a RAM, a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable CD-ROM, an optical storage device, a magnetic storage device, or any suitable combination of the above. In this document, a computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, a device or a device or used in combination with it.
[0095] Computer-readable signal media may include a data signal propagated in baseband or as part of a carrier wave, which carries a computer-readable program code. Such propagated data signals may take a variety of forms, including, but not limited to, electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0096] The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wire, optical cable, radio frequency (RF), etc., or any suitable combination of the foregoing.
[0097] Computer program code for performing the operations of the present invention may be written in one or more programming languages or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a LAN or WAN, or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0098] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims
1. A method for configuring an operation relationship, characterized in that: include: In the management page, obtain the operation relationship configuration information entered by the user for the operation relationship setting item; Extracting identification information and code of a target operation relation from the operation relation configuration information; Establishing a mapping relationship between the identification information and the code, and updating an operation relationship list according to the identification information, wherein the operation relationship list is used to be displayed to the user, and calling the code according to the identification information selected by the user to implement calculation using the target operation relationship; Wherein, the method further comprises: when the operation relationship list is triggered to be displayed, displaying identification information of the operation relationship included in the operation relationship list; After displaying the identification information of the operation relationship included in the operation relationship list, the method further includes: receiving a selection instruction from the user for identification information of the calculation relationship list; Obtaining identification information matched by the selection instruction, and querying the corresponding code according to the mapping relationship; Execute the corresponding code; The calling the code according to the identification information selected by the user comprises: An application programming interface corresponding to the code is configured according to the identification information, the corresponding application programming interface is called through the identification information, and the pointed code is called through the corresponding application programming interface.
2. The method according to claim 1, characterized in that After establishing the mapping relationship between the identification information and the code, the method further includes: Obtaining computing process configuration information input by the user; Acquire at least one target identification information input by the user for the computing process configuration information; According to a preset mapping relationship, query the code matching each of the target identification information; A calculation process code is generated according to the code matched by each target identification information and the calculation process configuration information. When the calculation process code is executed, the calculation is performed using the operation relationship of each target identification information.
3. The method according to claim 2, characterized in that The obtaining of at least one target identification information input by the user for the computing process configuration information includes: For each operation relationship included in the calculation process configuration information, display the operation relationship list; The target identification information selected by the user in the operation relationship list is obtained and determined as the target identification information of the operation relationship.
4. The method according to claim 1, characterized in that: The obtaining of the operation relationship configuration information input by the user for the operation relationship setting item includes: When the operation relationship setting item is triggered, the data packet uploaded by the user is received through the associated interactive interface; The data packet is parsed to obtain operation relationship configuration information.
5. The method according to claim 1, characterized in that The operation relationship includes a liquidation calculation formula.
6. A computing relationship configuration device, characterized in that: Configured on the graphics processor, including: The operation relationship configuration information acquisition module is used to obtain the operation relationship configuration information input by the user for the operation relationship setting item in the management page; An operation relation extraction module, used for extracting identification information and code of a target operation relation from the operation relation configuration information; A mapping relationship configuration module, used to establish a mapping relationship between the identification information and the code, and update an operation relationship list according to the identification information, wherein the operation relationship list is used to be displayed to the user, and call the code according to the identification information selected by the user to realize calculation using the target operation relationship; The operation relationship configuration device further includes: An operation relationship list display module, used for displaying identification information of the operation relationships included in the operation relationship list when the operation relationship list is triggered for display; an operation relationship list selection triggering module, configured to receive a selection instruction from the user for the identification information of the operation relationship list after displaying the identification information of the operation relationship included in the operation relationship list; obtain the identification information matched by the selection instruction, and query the corresponding code according to the mapping relationship; and execute the corresponding code; The mapping relationship configuration module is further used to configure the application programming interface corresponding to the code according to the identification information, call the corresponding application programming interface through the identification information, and call the pointed code through the corresponding application programming interface.
7. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the operation relationship configuration method as described in any one of claims 1-5 is implemented.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the operation relationship configuration method as described in any one of claims 1 to 5 is implemented.
