Credit card point docking processing method, device, equipment and medium
The credit card points docking module is built through a low-code platform, which solves the problems of complexity and low efficiency of points docking in traditional methods, and realizes the rapid and efficient docking of credit card points with external platforms, reducing development costs and time.
Patent Information
- Application Number
- CN202411309053.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-19
- Publication Date
- 2024-12-03
AI Technical Summary
Traditional credit card points docking methods require a lot of code development, resulting in a long docking cycle and error-prone, making it difficult to efficiently and flexibly connect points with different external platforms.
After obtaining credit card points and third-party platforms, a low-code platform is used to create and configure the API interface, add logical components and API call components, analyze the requirements information and build the points docking module, and process the received points docking instructions. And call the API interface for specified operations.
Through visual construction of low-code platforms, API interfaces can be quickly created and configured, which reduces development time and costs, and achieves fast and efficient docking between points and external platforms, and improves the efficiency and flexibility of point docking processing.
Smart Images

Figure CN119067770A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of financial technology, and is applied to a point docking scenario for a bank credit card account, and in particular to a credit card point docking processing method, device, equipment and medium. Background Art
[0002] Credit card points are a reward mechanism provided by banks or credit card companies to cardholders. Points are usually accumulated based on the cardholder's consumption history or specific activities. Points can be used to redeem gifts, discounts or other benefits. With the rapid development of Internet finance, the connection between credit card points and external platforms has become an important means to improve user stickiness and service experience. However, traditional connection methods often require a lot of code development work, the connection cycle is long and prone to errors, and it is difficult to efficiently and flexibly connect points with different external platforms. Summary of the invention
[0003] In view of the above-mentioned deficiencies in the prior art, the purpose of the present invention is to provide a credit card points docking processing method, device, equipment and medium that can be applied to financial technology or other related fields. Its main purpose is to achieve fast and efficient docking of credit card points with external platforms, and to improve the efficiency and flexibility of points docking processing.
[0004] The technical solution of the present invention is as follows:
[0005] A first aspect of the present invention provides a credit card points docking processing method, comprising:
[0006] Obtain the information required for credit card points connection with points on third-party platforms;
[0007] In response to the interface configuration instructions, create and configure the corresponding API interface on the low-code platform;
[0008] In response to the component adding instruction, adding a number of logic components and API call components from the component library of the low-code platform to the module building interface;
[0009] Parsing the points docking requirement information, configuring the association relationship between the components in the module construction interface and the calling relationship between the components and the API interface according to the parsing result, and constructing a points docking module;
[0010] When a points docking instruction is received from the third-party platform, the points docking instruction is processed by the points docking module, and the corresponding API interface is called according to the processing result to perform the specified points docking operation.
[0011] In one embodiment, obtaining credit card points and points connection requirement information between the third-party platform includes:
[0012] Collect historical transactions associated with credit card points on third-party platforms;
[0013] Use the trained points transaction prediction model to predict demand for the historical transactions and identify key demand points for points docking;
[0014] Generate corresponding points docking demand information according to the key demand points.
[0015] In one embodiment, in response to the interface configuration instruction, creating and configuring a corresponding API interface on the low-code platform includes:
[0016] Receiving an interface configuration instruction, parsing and obtaining an operation type and an operation permission in the interface configuration instruction;
[0017] On the low-code platform, an API interface with corresponding functions is created according to the operation type, and the access rights and security authentication mechanism of the API interface are configured according to the operation permissions.
[0018] In one embodiment, the point docking requirement information is parsed, and the association relationship between the components in the module construction interface and the calling relationship between the components and the API interface are configured according to the parsing result to construct the point docking module, including:
[0019] Analyze the points docking demand information to obtain the points docking scenarios, user groups and docking rules;
[0020] Generate a business logic process for point docking according to the point docking scenario, user group and docking rules;
[0021] Configure the data flow relationship between the plurality of logic components and the API calling component according to the business logic process, and configure the calling relationship between the API calling component and the corresponding API interface;
[0022] Integrate the configured components and API interfaces to build the points docking module.
[0023] In one embodiment, when receiving the points docking instruction from the third-party platform, the points docking instruction is processed by the points docking module, and the corresponding API interface is called according to the processing result to perform the specified points docking operation, including:
[0024] When receiving the points docking instruction from the third-party platform, obtaining the docking request type and docking request parameters carried by the points docking instruction through the logic component, and performing data processing on the docking request parameters;
[0025] The API calling component calls the corresponding API interface based on the docking request type to perform a specified points docking operation on the processed data.
[0026] In one embodiment, the docking request parameters include user parameters and transaction parameters, and the data processing of the docking request parameters includes:
[0027] Confirming the user level according to the user parameters, and modifying the transaction parameters according to the point operation threshold corresponding to the user level;
[0028] The corrected transaction parameters are converted into points according to the points calculation logic to obtain the points data for the operation to be connected.
[0029] In one embodiment, after parsing the points docking requirement information, configuring the association relationship between the components in the module construction interface and the calling relationship between the components and the API interface according to the parsing result, and constructing the points docking module, the method further includes:
[0030] Generate mock data in the test environment to test the integration docking module, and collect corresponding test feedback data according to preset performance indicators;
[0031] A performance analysis is performed on the test feedback data to confirm whether the performance of the integral docking module meets the preset standard.
[0032] A second aspect of the present invention provides a credit card points docking processing device, comprising:
[0033] Demand acquisition module, used to obtain demand information for credit card points connection with third-party platforms;
[0034] An interface configuration module, used to create and configure corresponding API interfaces on the low-code platform in response to interface configuration instructions;
[0035] A component adding module, for adding a number of logic components and API calling components from the component library of the low-code platform to the module building interface in response to a component adding instruction;
[0036] A parsing and building module, used to parse the points docking demand information, configure the association relationship between the various components in the module building interface and the calling relationship between the components and the API interface according to the parsing result, and build a points docking module;
[0037] The points docking module is used to process the points docking instruction through the points docking module when receiving the points docking instruction from the third-party platform, and call the corresponding API interface to perform the specified points docking operation according to the processing result.
[0038] A third aspect of the present invention provides a computer device, comprising at least one processor; and
[0039] a memory communicatively connected to the at least one processor; wherein,
[0040] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the above-mentioned credit card points docking processing method.
[0041] A fourth aspect of the present invention provides a non-volatile computer-readable storage medium, which stores computer-executable instructions. When the computer-executable instructions are executed by one or more processors, the one or more processors can execute the above-mentioned credit card points docking processing method.
[0042] Beneficial effects: The present invention discloses a credit card points docking processing method, device, equipment and medium. Compared with the prior art, the embodiment of the present invention obtains the points docking demand information between the credit card points and the third-party platform; in response to the interface configuration instruction, the corresponding API interface is created and configured on the low-code platform; in response to the component addition instruction, several logical components and API call components are added from the component library of the low-code platform to the module construction interface; the points docking demand information is parsed, and the association relationship between each component in the module construction interface and the calling relationship between the component and the API interface are configured according to the parsing result to construct a points docking module; when the points docking instruction of the third-party platform is received, the points docking instruction is processed by the points docking module, and the corresponding API interface is called according to the processing result to perform the specified points docking operation. By visually constructing the points docking module on the low-code platform with different points docking requirements, the API interface can be quickly created and configured without writing a lot of code. It can reduce development time and cost, thereby realizing the fast and efficient docking of points with external platforms, and improving the efficiency and flexibility of points docking processing. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] In order to more clearly illustrate the scheme in the present invention, a brief introduction is given below to the drawings required for use in the description of the embodiments of the present invention. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0044] Figure 1 A flow chart of a credit card points docking processing method provided by an embodiment of the present invention;
[0045] Figure 2 A flow chart of step S101 in the credit card points connection processing method provided in an embodiment of the present invention;
[0046] Figure 3 A flow chart of step S102 in the credit card points connection processing method provided in an embodiment of the present invention;
[0047] Figure 4 A flow chart of step S104 in the credit card points connection processing method provided in an embodiment of the present invention;
[0048] Figure 5 A flow chart of step S105 in the credit card points connection processing method provided in an embodiment of the present invention;
[0049] Figure 6 A schematic diagram of the functional modules of the credit card points docking processing device provided by an embodiment of the present invention;
[0050] Figure 7 A schematic diagram of the hardware structure of a computer device provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0051] In order to make the purpose, technical solution and effect of the present invention clearer and more specific, the present invention is further described in detail below. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. The embodiments of the present invention are described below in conjunction with the accompanying drawings.
[0052] Credit card points are a reward mechanism provided by banks or credit card companies to cardholders. Points are usually accumulated based on the cardholder's consumption history or specific activities. Points can be used to redeem gifts, discounts or other benefits. With the rapid development of Internet finance, the connection between credit card points and external platforms has become an important means to improve user stickiness and service experience. However, traditional connection methods often require a lot of code development work, the connection cycle is long and prone to errors, and it is difficult to efficiently and flexibly connect points with different external platforms.
[0053] In order to solve the above problems, the present invention proposes a credit card points docking processing method, please refer to Figure 1 , Figure 1 The flowchart of one embodiment of the credit card points docking processing method provided by the present invention. The system architecture of the credit card points docking processing method provided by this embodiment may include a first terminal device, a second terminal device, a third terminal device, a network and a server. The network is used to provide a medium for a communication link between the first terminal device, the second terminal device, the third terminal device and the server. The network may include various connection types, such as wired and / or wireless communication links, etc.
[0054] The user may use the first terminal device, the second terminal device, and the third terminal device to interact with the server through the network to receive or send messages, etc. Various communication client applications may be installed on the first terminal device, the second terminal device, and the third terminal device, such as knowledge reading applications, web browser applications, search applications, instant messaging tools, email clients, and / or social platform software, etc. (only as examples).
[0055] The first terminal device, the second terminal device, and the third terminal device may be various electronic devices having display screens and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, desktop computers, and the like.
[0056] The server may be a server that provides various services, such as a background management server that provides support for the content browsed by the user using the first terminal device, the second terminal device, and the third terminal device (for example only). The background management server may analyze and process the received data such as the user request, and feed back the processing results (such as web pages, information, or data obtained or generated according to the user request) to the terminal device. The server may be a cloud server, also known as a cloud computing server or a cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services ("Virtual Private Server", or "VPS" for short). The server may also be a server for a distributed system, or a server combined with a blockchain.
[0057] It should be noted that the credit card points docking processing method provided in the embodiment of the present invention can generally be executed by the first terminal device, the second terminal device or the third terminal device. Correspondingly, the credit card points docking processing device provided in the embodiment of the present invention can also be set in the first terminal device, the second terminal device or the third terminal device.
[0058] Alternatively, the credit card points docking processing method provided in the embodiment of the present invention may also be generally executed by a server. Accordingly, the credit card points docking processing device provided in the embodiment of the present invention may generally be arranged in a server. The credit card points docking processing method provided in the embodiment of the present invention may also be executed by a server or server cluster that is different from the server and can communicate with the first terminal device, the second terminal device, the third terminal device and / or the server. Accordingly, the credit card points docking processing device provided in the embodiment of the present invention may also be arranged in a server or server cluster that is different from the server and can communicate with the first terminal device, the second terminal device, the third terminal device and / or the server.
[0059] It should be understood that the numbers of the above terminal devices, networks and servers are only illustrative. Any number of terminal devices, networks and servers may be provided according to implementation requirements.
[0060] like Figure 1 As shown, the credit card points docking processing method provided in this embodiment specifically includes the following steps:
[0061] S101, obtaining the points docking demand information between the credit card points and the third-party platform. In this embodiment, different external platforms, such as shopping platforms, travel platforms, etc., may have different requirements for the intercommunication of credit card points, such as the purpose of points intercommunication, usage scenarios, user groups involved, etc. Therefore, the points docking demand information between the credit card points and the third-party platform is first obtained. The points docking demand information may include docking scenarios, user group permissions, docking rules, etc. Specifically, the demand document sent by the third-party platform can be directly received, or the points docking demand information can be obtained through data analysis and mining, so as to ensure the accuracy and completeness of the docking requirements, provide clear guidance for the subsequent development of points docking, meet the points docking requirements of different platforms, and improve the compatibility of points docking processing.
[0062] S102. In response to the interface configuration instruction, create and configure the corresponding API interface on the low-code platform.
[0063] In this embodiment, the low-code platform specifically refers to a tool that implements rapid application development through a graphical interface and a small amount of code. It can create web pages and mobile applications by dragging and dropping components and model-driven logic without writing a lot of code, thereby achieving a more efficient and intuitive development process. In the process of realizing efficient docking processing of credit card points, developers can log in to the low-code platform, enter the corresponding interface configuration instructions in the low-code platform according to the interface functions and permissions required for point docking, such as point redemption function, point query function, etc., use the API management tool provided by the platform to create and configure the corresponding API interface, and quickly realize the creation and configuration of the API for external platform calls to realize the corresponding functions.
[0064] S103. In response to the component adding instruction, several logical components and API call components are added from the component library of the low-code platform to the module building interface.
[0065] In this embodiment, component libraries are pre-configured in the low-code platform. These component libraries may include multiple aspects such as front-end interface display, data processing, and logic control, so that developers can quickly build a fully functional application module. The specific pre-configured component libraries may include a basic component library, a layout component library, a business component library, a logic component library, etc., among which the basic component library may include a button (Button): used to trigger operations such as submit, query, etc., and its properties include text, color, size, click events, etc.; an input box (Input): used to receive user input, and its properties include type (text, password, etc.), default value, verification rules, etc.; a list (List): used to display a data list, and its properties include data source, column configuration, sorting method, etc. The layout component library may include a container (Container): used to wrap other components to achieve layout and style control, and its properties include background color, margin, internal padding, etc.; a grid (Grid): used to achieve flexible grid layout, and its properties include the number of columns, row height, cell content, etc. The business component library may include a form: used to collect user information and trigger subsequent operations, and its properties include form items, validation rules, submission events, etc.; a chart: used for data visualization, and its properties include data source, chart type, style configuration, etc. The logic component library may include a logic component: used to implement business logic processes, such as conditional branches, loop processing, etc.; an API call: used to call an external API to obtain or send data. Properties include API address, request method, parameter configuration, etc.
[0066] Developers trigger corresponding component adding instructions in the low-code platform by clicking, dragging, etc. according to the docking requirements, and add several logical components and API call components from the component library of the low-code platform to the module construction interface based on the component adding instructions to realize the business logic processing and API call functions of the points docking module. The component library of the low-code platform is used to quickly build the points docking module, which can not only reduce the code development work, but also improve the maintainability of the application module in a componentized way. Of course, in other embodiments, other types of components can be flexibly added according to needs, such as adding containers and grid components to build the overall layout structure, adding lists or chart components to display the corresponding points docking results, etc., thereby enriching the functionality of the points docking processing.
[0067] S104, parsing the points docking requirement information, configuring the association relationship between the components in the module construction interface and the calling relationship between the components and the API interface according to the parsing result, and constructing a points docking module.
[0068] In this embodiment, by parsing the points docking demand information of the third-party platform, analyzing and determining the logical associations between the various logical components, API call components, and API interfaces in the module construction interface, the association relationship between the various components and the calling relationship between the components and the API interface are configured to construct a points docking module. The points docking module can be docked between the third-party platform and the bank system, so that when users consume on the third-party platform, they can use the points docking module to implement docking operations such as points query and points redemption for credit card points. Components and interfaces are intuitively configured through a graphical interface to improve development efficiency and accuracy, ensuring that the points docking module can correctly process points data as required.
[0069] S105. When receiving a points docking instruction from the third-party platform, the points docking instruction is processed by the points docking module, and a corresponding API interface is called according to the processing result to perform a specified points docking operation.
[0070] In this embodiment, the user can initiate a points docking instruction on a third-party platform, and the points docking module listens to the points docking instruction initiated by the third-party platform, parses the instruction content and triggers the corresponding logic component and API call component to process the user request, clarifies the type of points docking operation that the current user wants to perform, and obtains the order number, order amount, user information and other request data, and then calls the corresponding API interface based on the processing result to perform the specified points docking operation, so as to realize the automated points docking operation, reduce manual intervention and improve efficiency. For example, when a user places an order on a shopping platform and hopes to redeem a part of the cash by credit card points, he can click the points query button or the points deduction button on the payment page to trigger the corresponding type of points docking instruction to realize the points docking operation of querying the points balance or directly deducting. After receiving the points docking instruction, the points docking module processes it, identifies the type of points docking instruction and obtains the request data such as order number, order amount, user information, etc. carried in the instruction. If it is a points query instruction, the points query API is called through the API call component to obtain the user's current points and then returned to the third-party platform. If it is a points deduction instruction, the points are first calculated through the logic component and then the points deduction API is called through the API call component to perform the deduction operation and then the deduction result is returned to the third-party platform. This can realize the effective docking of points and provide users with more convenient services.
[0071] In the above embodiment, the present invention discloses a credit card points docking processing method, by obtaining the points docking demand information between the credit card points and the third-party platform; in response to the interface configuration instruction, creating and configuring the corresponding API interface on the low-code platform; in response to the component addition instruction, adding several logical components and API call components from the component library of the low-code platform to the module construction interface; parsing the points docking demand information, configuring the association relationship between the components in the module construction interface and the calling relationship between the components and the API interface according to the parsing result, and constructing the points docking module; when receiving the points docking instruction of the third-party platform, the points docking instruction is processed by the points docking module, and the corresponding API interface is called according to the processing result to perform the specified points docking operation. By visually constructing the points docking module on the low-code platform with different points docking requirements, the API interface can be quickly created and configured without writing a lot of code. It can reduce development time and cost, thereby realizing the fast and efficient docking of points with external platforms, and improving the efficiency and flexibility of points docking processing.
[0072] In one embodiment, after step S104, the method further includes:
[0073] Generate mock data in the test environment to test the integration docking module, and collect corresponding test feedback data according to preset performance indicators;
[0074] A performance analysis is performed on the test feedback data to confirm whether the performance of the integral docking module meets the preset standard.
[0075] In this embodiment, after the point docking module is constructed, the user's behavior on the external platform is simulated in the test environment to test the normal operation and performance of the point docking function, and the module is released online after the performance is confirmed to meet the standard. Specifically, a series of test scenarios can be defined according to the functions and business requirements of the point docking module, including normal point redemption, point transfer, abnormal request processing, etc., and simulated user request data can be created through mock data generation tools or services. These mock data can cover all predefined test scenarios, deploy the point docking module in the test environment, send Mock data to the point docking module through automated test scripts or manual operations, and trigger the module's point processing flow. Collect key performance indicators during the test process, such as response time, throughput, resource utilization, etc., analyze the collected test feedback data, such as statistical analysis, trend analysis, etc., compare the analysis results with the preset performance threshold, evaluate whether the performance of the point docking module reaches the expected goal, and if the performance does not meet the preset standard, tune the point docking module, and then retest to verify the effect of performance improvement until the online standard is met. Through performance testing, analysis and tuning, we ensure that the points docking module can meet business requirements and performance standards in actual operation, and reduce the operational risks of points docking.
[0076] In one embodiment, Figure 2 As shown, step S101 includes:
[0077] S201, collecting historical transactions associated with credit card points on a third-party platform;
[0078] S202, using the trained point transaction prediction model to perform demand prediction on the historical transactions and identify key demand points for point docking;
[0079] S203: Generate corresponding points docking demand information according to the key demand points.
[0080] In this embodiment, the demand information for connecting credit card points with points on third-party platforms is obtained through data analysis. While meeting explicit demands, potential demands can also be accurately mined to improve the comprehensiveness of the demand for connecting points. Specifically, data collection is first performed. Based on the user's associated transaction records on the credit card and the third-party platform, historical transactions associated with the credit card points on the third-party platform are collected, that is, historical transactions in which the third-party platform and the bank system directly have points docking behaviors, including user behavior data, user attribute data, and points transaction data, etc. The collected data is processed, for example, to clarify the data, process missing values and outliers, ensure the consistency and accuracy of the data, and facilitate subsequent analysis; the trained points transaction prediction model is used to predict the demand for the historical transactions. The specific points transaction prediction model is preferably a time series analysis model such as a long short-term memory neural network (LSTM), which can capture the long-term dependencies in time series data and is more suitable for demand prediction of historical transactions related to time series, and identify key demand points for points docking, such as identifying the peak time of points transactions, potential growth points for points redemption, user group distribution, etc.; according to several key demand points obtained from data mining, corresponding points docking demand information is generated, including points docking scenarios, user group distribution, docking rules, etc., to ensure that the points docking demand information can meet the key demand points and improve the attractiveness of the points system and user participation.
[0081] In one embodiment, Figure 3 As shown, step S102 includes:
[0082] S301, receiving an interface configuration instruction, parsing and obtaining an operation type and an operation authority in the interface configuration instruction;
[0083] S302. Create an API interface with corresponding functions on the low-code platform according to the operation type, and configure the access rights and security authentication mechanism of the API interface according to the operation permissions.
[0084] In this embodiment, in the API management interface of the low-code platform, the developer's interface configuration instructions are received, the operation type (such as points redemption, points query, points clearing, etc.) and operation permissions (such as public, authorized users, specific roles, etc.) in the interface configuration quality are parsed and extracted, and an API interface with corresponding functions is created or the existing interface is modified according to the operation type to ensure that the interface can support the specified operation. At the same time, the access rights of the API interface are configured, such as setting API keys, JWT and other authentication methods, and defining which users or roles can access the interface, etc.; the API interface's security authentication mechanism is further configured, such as using HTTPS encrypted transmission, setting access control lists (ACLs), implementing cross-origin resource sharing (CORS) policies, etc., to protect the security of the API interface. Through automated configuration and testing processes, the deployment speed of the API interface in the credit card docking development process is accelerated, and development efficiency is improved.
[0085] In one embodiment, Figure 4 As shown, step S104 includes:
[0086] S401, parsing the points docking demand information to obtain the points docking scenario, user group and docking rules;
[0087] S402: Generate a business logic process for point docking according to the point docking scenario, user group and docking rules;
[0088] S403: configuring the data flow relationship between the plurality of logic components and the API calling component according to the business logic process, and configuring the calling relationship between the API calling component and the corresponding API interface;
[0089] S404: Integrate the configured components and API interfaces to construct a points docking module.
[0090] In this embodiment, when constructing the points docking module, the points docking requirements are first analyzed to obtain the scenarios, user groups and docking rules of the points docking, wherein the scenarios may be, for example, shopping scenarios, transportation scenarios, accommodation scenarios, etc., the user groups may be credit card levels of different users, and the docking rules may be the exchange ratio of points, validity period, single exchange upper limit value, etc. The business logic flow of the points docking is generated by comprehensively analyzing the scenarios, user groups and docking rules, etc. The business logic flow includes the points exchange ratio and exchange upper limit value of users with different credit card levels in a certain scenario, so as to achieve the adjustment of the points docking logic for different scenarios and users and meet different points docking requirements. Through the generated business logic flow, the data flow relationship between several logic components and API call components is configured, such as setting input and output parameters, defining data transmission paths, etc., and the calling relationship between the API call component and the corresponding API interface is configured, such as setting the parameters, methods and authentication mechanisms of the API call, etc., and the configured components and API interfaces are integrated to construct the points docking module, and the business logic of the points docking module is realized by configuration rather than coding, thereby improving the processing efficiency of the points docking.
[0091] For example, when you need to build a points docking module, the points docking module includes the following functions: the user enters the order information, the system automatically calculates the deductible points, and after displaying it to the user for confirmation, calls the API to deduct the points and update the order amount, and the business logic process of the points docking module is: when the user spends 100 yuan on the external platform, he can use 10 credit card points to deduct 1 yuan in cash. At the same time, the upper limit of points usage for different user levels is different, with an upper limit of 50 yuan for ordinary users and 100 yuan for VIP users. The above business logic process can be implemented through the logic components and conditional judgments of the low-code platform, and the corresponding points docking function can be implemented in conjunction with the API call components and the corresponding API interfaces.
[0092] Specifically, configure the input box component to receive the order number and order amount of the current order, configure the API call component to call the points query API of the bank credit card system to obtain the user's current points and user level information; then configure the business logic component in the logic component to calculate the number of points that the user can use and the corresponding deductible amount (shopping amount * 10%); also use conditional expressions to determine the user's level, and set different upper limits for points usage. The upper limit for ordinary users is 50 yuan, and the upper limit for VIP users is 100 yuan. If the calculated deductible amount exceeds the upper limit of the user level, only the upper limit amount is used for deduction, otherwise, the entire deductible amount is used; then configure the button component for confirming whether to use the points deduction. When the user clicks the confirmation button, the event processing logic is triggered; finally, in the event processing logic, the points deduction API is called again through the API call component, and the order information and the number of points to be deducted are passed in. After the API call is successful, the order amount is updated, and a prompt message of successful deduction is displayed to the user and the user's points balance is updated.
[0093] In one embodiment, Figure 5 As shown, step S105 includes:
[0094] S501. When receiving a points docking instruction from the third-party platform, obtaining a docking request type and docking request parameters carried by the points docking instruction through the logic component, and performing data processing on the docking request parameters;
[0095] S502: Call the corresponding API interface based on the docking request type through the API calling component to perform a specified points docking operation on the processed data.
[0096] In this embodiment, the points docking module is configured to monitor and receive the points docking instruction from the third-party platform. When the points docking instruction from the third-party platform is received, the docking request type and docking request parameters carried by the points docking instruction are obtained through the logic component in the points docking module, and the docking request parameters are processed, wherein the docking request type includes the points query type and the points exchange type, that is, the user can initiate the instructions for points query or points exchange, and the carried docking request parameters include user parameters and transaction parameters, which can be used for subsequent user levels and points exchange, and the transaction parameters are the order amount. The docking request type is confirmed by the logic component and the docking request parameters are processed, such as points conversion processing, correction of the points conversion result in combination with the user level, etc., so as to obtain accurate data for the final participation in the points docking. The corresponding API interface is called based on the docking request type through the API calling component, and the parameters required for the API call, such as API key, request header, request body, etc., are set according to the processed docking request parameters, so as to perform the specified points docking operation on the processed data, such as points exchange, points query, etc. The corresponding business logic process is executed through logic components and API call components to ensure that the points docking operation can be correctly executed according to the predetermined business logic, ensuring the flexibility and reliability of the points docking processing.
[0097] In one embodiment, the data processing of the connection request parameters includes:
[0098] Confirming the user level according to the user parameters, and modifying the transaction parameters according to the point operation threshold corresponding to the user level;
[0099] The corrected transaction parameters are converted into points according to the points calculation logic to obtain the points data for the operation to be connected.
[0100] In this embodiment, the user information (such as user ID) provided in the docking request parameter is queried to the user database or user management system to obtain the user's level information. According to the user level, the point operation threshold corresponding to the current user level in the business logic process is obtained, and the threshold may include the point exchange ratio, the daily point operation upper limit, etc. According to the threshold obtained, the user's transaction parameters (such as the point amount requested for exchange) are corrected. For example, if the point amount requested by the user exceeds the daily upper limit allowed by its level, the requested amount is reduced accordingly. The transaction parameters are corrected based on the point operation threshold by the logic component to ensure that the user's operation meets its level limit, reduce the point misoperation caused by the mismatch of the user level, protect the system from potential financial risks, and avoid abuse or fraud. The corrected transaction parameters are input into the point calculation logic of the logic component to perform point conversion. For example, the points to be deducted are calculated according to the consumption amount and the point exchange ratio to participate in the subsequent point docking operation. Through the clear point calculation logic, the calculation of points is ensured to be accurate, and the flexible point calculation logic can support a variety of business scenarios and promotional activities, increasing the scalability of point docking.
[0101] It should be noted that there is not necessarily a certain order between the above-mentioned steps. A person skilled in the art can understand, based on the description of the embodiments of the present invention, that in different embodiments, the above-mentioned steps may have different execution orders, that is, they may be executed in parallel, may be executed interchangeably, and so on.
[0102] Further references Figure 6 , as a response to the above Figure 1 The present invention provides an embodiment of a credit card points docking processing device, which is similar to Figure 1 Corresponding to the method embodiment shown, the device can be specifically applied to various electronic devices.
[0103] like Figure 6 As shown, the credit card points docking processing device 60 described in this embodiment includes:
[0104] Demand acquisition module 601, used to obtain demand information for credit card points connection with third-party platforms;
[0105] The interface configuration module 602 is used to create and configure the corresponding API interface on the low-code platform in response to the interface configuration instruction;
[0106] A component adding module 603 is used to add a number of logic components and API call components from the component library of the low-code platform to the module building interface in response to a component adding instruction;
[0107] The parsing and building module 604 is used to parse the points docking requirement information, configure the association relationship between the components in the module building interface and the calling relationship between the components and the API interface according to the parsing result, and build a points docking module;
[0108] The points docking module 605 is used to process the points docking instruction through the points docking module when receiving the points docking instruction from the third-party platform, and call the corresponding API interface to perform the specified points docking operation according to the processing result.
[0109] The module referred to in the present invention refers to a series of computer program instruction segments that can perform specific functions, which is more suitable for describing the credit card points docking processing execution process than a program. For the specific implementation of each module, please refer to the corresponding method embodiment above, which will not be repeated here.
[0110] In one embodiment, the demand acquisition module 601 includes:
[0111] A collection unit, used to collect historical transactions associated with credit card points on a third-party platform;
[0112] An identification unit, used to use the trained point transaction prediction model to perform demand prediction on the historical transactions and identify key demand points for point docking;
[0113] The demand generation unit is used to generate corresponding integral docking demand information according to the key demand points.
[0114] In one embodiment, the interface configuration module 602 includes:
[0115] An instruction parsing unit, used for receiving an interface configuration instruction, parsing and obtaining an operation type and an operation permission in the interface configuration instruction;
[0116] An interface configuration unit is used to create an API interface with corresponding functions on a low-code platform according to the operation type, and configure the access rights and security authentication mechanism of the API interface according to the operation permissions.
[0117] In one embodiment, the parsing construction module 604 includes:
[0118] A demand analysis unit, used to analyze the points docking demand information to obtain the scenarios, user groups and docking rules of points docking;
[0119] A process generation unit, used to generate a business logic process of the points docking according to the scenario, user group and docking rules of the points docking;
[0120] A component configuration unit, configured to configure the data flow relationship between the plurality of logic components and the API calling component according to the business logic process, and to configure the calling relationship between the API calling component and the corresponding API interface;
[0121] The module construction unit is used to integrate the configured components and API interfaces to construct the points docking module.
[0122] In one embodiment, the integral docking module 605 includes:
[0123] a logic processing unit, configured to, when receiving a points docking instruction from the third-party platform, obtain, through the logic component, a docking request type and a docking request parameter carried by the points docking instruction, and perform data processing on the docking request parameter;
[0124] The interface calling unit is used to call the corresponding API interface based on the docking request type through the API calling component to perform a specified integral docking operation on the processed data.
[0125] In one embodiment, the logic processing unit includes:
[0126] A correction unit, configured to confirm a user level according to the user parameters, and to correct the transaction parameters according to a point operation threshold corresponding to the user level;
[0127] The point calculation unit is used to convert the corrected transaction parameters into points according to the point calculation logic to obtain the point data for the operation to be connected.
[0128] In one embodiment, the device 60 further includes:
[0129] A test module, used to generate mock data in a test environment to test the integration docking module and collect corresponding test feedback data according to preset performance indicators;
[0130] The performance analysis module is used to perform performance analysis on the test feedback data to confirm whether the performance of the integral docking module meets the preset standard.
[0131] In the above embodiment, the present invention discloses a credit card points docking processing device, which obtains the points docking demand information between the credit card points and the third-party platform; creates and configures the corresponding API interface on the low-code platform in response to the interface configuration instruction; adds several logical components and API call components from the component library of the low-code platform to the module construction interface in response to the component addition instruction; parses the points docking demand information, configures the association relationship between the components in the module construction interface and the calling relationship between the components and the API interface according to the parsing result, and constructs the points docking module; when the points docking instruction of the third-party platform is received, the points docking instruction is processed by the points docking module, and the corresponding API interface is called according to the processing result to perform the specified points docking operation. By visually constructing the points docking module on the low-code platform with different points docking requirements, the API interface can be quickly created and configured without writing a lot of code. It can reduce development time and cost, thereby realizing the fast and efficient docking of points with external platforms, and improving the efficiency and flexibility of points docking processing.
[0132] Another embodiment of the present invention provides a computer device, such as Figure 7 As shown, the computer device 70 includes:
[0133] One or more processors 701 and memory 702, Figure 7 A processor 701 is used as an example for description. The processor 701 and the memory 702 may be connected via a bus or other means. Figure 7 The example of connecting through bus is taken in the following.
[0134] Processor 701 is used to complete various control logics of computer device 70, and it can be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), a single-chip microcomputer, an ARM (Acorn RISC Machine) or other programmable logic device, a discrete gate or transistor logic, a discrete hardware component or any combination of these components. In addition, processor 701 can also be any traditional processor, microprocessor or state machine. Processor 701 can also be implemented as a combination of computing devices, for example, a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors combined with a DSP and / or any other such configuration.
[0135] The memory 702 is a non-volatile computer-readable storage medium that can be used to store non-volatile software programs, non-volatile computer executable programs and modules, such as program instructions corresponding to the credit card points docking processing method in the embodiment of the present invention. The processor 701 executes various functional applications and data processing of the computer device 70 by running the non-volatile software programs, instructions and units stored in the memory 702, that is, the credit card points docking processing method in the above method embodiment is implemented.
[0136] The memory 702 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the computer device 70, etc. In addition, the memory 702 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory 702 may optionally include a memory remotely arranged relative to the processor 701, and these remote memories may be connected to the computer device 70 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof. One or more units are stored in the memory 702, and when executed by one or more processors 701, the steps of the credit card points docking processing method in any of the above-mentioned method embodiments are executed.
[0137] In the above embodiment, the present invention discloses a computer device, which obtains the points docking demand information between the credit card points and the third-party platform; creates and configures the corresponding API interface on the low-code platform in response to the interface configuration instruction; adds several logical components and API call components from the component library of the low-code platform to the module construction interface in response to the component addition instruction; parses the points docking demand information, configures the association relationship between the components in the module construction interface and the calling relationship between the components and the API interface according to the parsing result, and constructs the points docking module; when the points docking instruction of the third-party platform is received, the points docking instruction is processed by the points docking module, and the corresponding API interface is called according to the processing result to perform the specified points docking operation. By visually constructing the points docking module on the low-code platform with different points docking requirements, the API interface can be quickly created and configured without writing a lot of code. It can reduce development time and cost, thereby realizing the fast and efficient docking of points with external platforms, and improving the efficiency and flexibility of points docking processing.
[0138] An embodiment of the present invention provides a non-volatile computer-readable storage medium, which stores computer-executable instructions. When the computer-executable instructions are executed by one or more processors, the steps of the credit card points docking processing method in any of the above method embodiments are executed.
[0139] In the above embodiment, the present invention discloses a non-volatile computer-readable storage medium, which obtains the credit card points and the points docking demand information between the third-party platform; creates and configures the corresponding API interface on the low-code platform in response to the interface configuration instruction; adds several logical components and API call components from the component library of the low-code platform to the module construction interface in response to the component addition instruction; parses the points docking demand information, configures the association relationship between the components in the module construction interface and the calling relationship between the components and the API interface according to the parsing result, and constructs the points docking module; when the points docking instruction of the third-party platform is received, the points docking instruction is processed by the points docking module, and the corresponding API interface is called according to the processing result to perform the specified points docking operation. By visually constructing the points docking module on the low-code platform with different points docking requirements, the API interface can be quickly created and configured without writing a lot of code. It can reduce development time and cost, thereby realizing the fast and efficient docking of points with external platforms, and improving the efficiency and flexibility of points docking processing.
[0140] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0141] The present invention can be used in many general or special computer system environments or configurations. For example: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronic devices, network PCs, minicomputers, mainframe computers, distributed computing environments including any of the above systems or devices, etc. The present invention can be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present invention can also be practiced in distributed computing environments, in which tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media including storage devices.
[0142] In summary, the present invention discloses a credit card points docking processing method, device, equipment and medium, the method includes: obtaining the points docking demand information between the credit card points and the third-party platform; in response to the interface configuration instruction, creating and configuring the corresponding API interface on the low-code platform; in response to the component addition instruction, adding several logical components and API call components from the component library of the low-code platform to the module construction interface; parsing the points docking demand information, configuring the association relationship between the components in the module construction interface and the calling relationship between the components and the API interface according to the parsing result, and constructing the points docking module; when the points docking instruction of the third-party platform is received, the points docking instruction is processed by the points docking module, and the corresponding API interface is called according to the processing result to perform the specified points docking operation. By visually constructing the points docking module on the low-code platform with different points docking requirements, the API interface can be quickly created and configured without writing a lot of code. It can reduce development time and cost, thereby realizing the fast and efficient docking of points with external platforms, and improving the efficiency and flexibility of points docking processing.
[0143] Of course, those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing related hardware (such as a processor, a controller, etc.) through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium, and the computer program can include the processes of the above-mentioned method embodiments when executed. The storage medium can be a memory, a disk, a floppy disk, a flash memory, an optical storage device, etc.
[0144] It should be noted that if any software tools or components other than those of the Company appear in the embodiments of the present application, they are merely used for illustration and do not represent actual use. It should be understood that the application of the present invention is not limited to the above examples, and that those skilled in the art can make improvements or changes based on the above description, and all such improvements and changes shall fall within the scope of protection of the claims attached to the present invention.
Claims
1. A credit card points docking processing method, characterized in that: include: Obtain the information required for credit card points connection with points on third-party platforms; In response to the interface configuration instructions, create and configure the corresponding API interface on the low-code platform; In response to the component adding instruction, adding a number of logic components and API call components from the component library of the low-code platform to the module building interface; Parsing the points docking requirement information, configuring the association relationship between the components in the module construction interface and the calling relationship between the components and the API interface according to the parsing result, and constructing a points docking module; When a points docking instruction is received from the third-party platform, the points docking instruction is processed by the points docking module, and the corresponding API interface is called according to the processing result to perform the specified points docking operation.
2. The credit card points docking processing method according to claim 1, characterized in that: The obtaining of credit card points and points connection demand information between the third-party platform includes: Collect historical transactions associated with credit card points on third-party platforms; Use the trained points transaction prediction model to predict demand for the historical transactions and identify key demand points for points docking; Generate corresponding points docking demand information according to the key demand points.
3. The credit card points docking processing method according to claim 1, characterized in that: In response to the interface configuration instruction, the corresponding API interface is created and configured on the low-code platform, including: Receiving an interface configuration instruction, parsing and obtaining an operation type and an operation permission in the interface configuration instruction; On the low-code platform, an API interface with corresponding functions is created according to the operation type, and the access rights and security authentication mechanism of the API interface are configured according to the operation permissions.
4. The credit card points docking processing method according to claim 1, characterized in that: The point docking requirement information is parsed, and the association relationship between the components in the module construction interface and the calling relationship between the components and the API interface are configured according to the parsing result to construct a point docking module, including: Analyze the points docking demand information to obtain the points docking scenarios, user groups and docking rules; Generate a business logic process for point docking according to the point docking scenario, user group and docking rules; Configure the data flow relationship between the plurality of logic components and the API calling component according to the business logic process, and configure the calling relationship between the API calling component and the corresponding API interface; Integrate the configured components and API interfaces to build the points docking module.
5. The credit card points docking processing method according to claim 1, characterized in that: When receiving the points docking instruction from the third-party platform, the points docking instruction is processed by the points docking module, and the corresponding API interface is called according to the processing result to perform the specified points docking operation, including: When receiving the points docking instruction from the third-party platform, obtaining the docking request type and docking request parameters carried by the points docking instruction through the logic component, and performing data processing on the docking request parameters; The API calling component calls the corresponding API interface based on the docking request type to perform a specified points docking operation on the processed data.
6. The credit card points docking processing method according to claim 5, characterized in that: The connection request parameters include user parameters and transaction parameters, and the data processing of the connection request parameters includes: Confirming the user level according to the user parameters, and modifying the transaction parameters according to the point operation threshold corresponding to the user level; The corrected transaction parameters are converted into points according to the points calculation logic to obtain the points data for the operation to be connected.
7. The credit card points docking processing method according to claim 1, characterized in that: After parsing the points docking requirement information, configuring the association relationship between the components in the module construction interface and the calling relationship between the components and the API interface according to the parsing result, and constructing the points docking module, the method further includes: Generate mock data in the test environment to test the integration docking module, and collect corresponding test feedback data according to preset performance indicators; A performance analysis is performed on the test feedback data to confirm whether the performance of the integral docking module meets the preset standard.
8. A credit card points docking processing device, characterized in that: include: Demand acquisition module, used to obtain demand information for credit card points connection with third-party platforms; An interface configuration module, used to create and configure corresponding API interfaces on the low-code platform in response to interface configuration instructions; A component adding module, for adding a number of logic components and API calling components from the component library of the low-code platform to the module building interface in response to a component adding instruction; A parsing and building module, used to parse the points docking demand information, configure the association relationship between the various components in the module building interface and the calling relationship between the components and the API interface according to the parsing result, and build a points docking module; The points docking module is used to process the points docking instruction through the points docking module when receiving the points docking instruction from the third-party platform, and call the corresponding API interface to perform the specified points docking operation according to the processing result.
9. A computer device, characterized in that: comprising at least one processor; and, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the credit card points docking processing method described in any one of claims 1-7.
10. A non-volatile computer-readable storage medium, characterized in that: The non-volatile computer-readable storage medium stores computer-executable instructions, which, when executed by one or more processors, enable the one or more processors to execute the credit card points docking processing method described in any one of claims 1-7.
