Right and interest processing method and device, electronic equipment and computer readable medium
By receiving rights processing requests in the banking system, determining the user type and target control, and executing target transaction operations, it solves the problem of the bank system being difficult to support real-time carbon emissions rights transaction interaction, and achieves efficient and safe rights transaction processing.
Patent Information
- Application Number
- CN202411373205.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-29
- Publication Date
- 2025-01-24
AI Technical Summary
The existing banking system is difficult to support real-time trading interactions of carbon emission rights.
By receiving equity processing requests, obtain user logos to determine the user type, obtain user operation data to determine the target control, and perform target transaction operations according to the user type and operation data to achieve real -time interactive transaction processing of equity.
A real -time interactive transaction processing of equity has been realized, the efficiency of equity transaction processing has been improved, and the consistency and security of the transaction data is ensured.
Smart Images

Figure CN119359438A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a rights and interests processing method, device, electronic device and computer-readable medium. Background Art
[0002] Carbon emissions are an emerging issue. There is no mature and complete financial solution in the current market, and it is difficult to achieve real-time interaction between financial data and transaction data. The solution is incomplete and only includes some scenarios and functions; it is difficult for the banking system to support real-time transaction interaction of carbon emission-related rights and interests. Summary of the invention
[0003] In view of this, the embodiments of the present application provide a rights and interests processing method, device, electronic device and computer-readable medium, which can solve the problem that the existing banking system is difficult to support real-time rights and interests transaction interaction.
[0004] To achieve the above-mentioned purpose, according to one aspect of an embodiment of the present application, a method for processing rights and interests is provided, including: receiving a request for processing rights and interests, obtaining a corresponding user identifier, and then determining a user type based on the user identifier; obtaining user operation data on a rights and interests trading interface, and determining a target control based on the operation data; determining a target transaction operation that the target control needs to perform based on the user type and the operation data; determining the target transaction operation that the target control needs to perform, including: determining an applicable object of the operation data based on the user type, determining a corresponding logical working unit based on the applicable object, and determining a target transaction operation that the target control needs to perform based on the logical working unit; calling the target control to perform the target transaction operation and obtaining transaction operation result data; in response to the transaction operation result data corresponding to a transaction operation failure, executing a rollback procedure to obtain consistent account data related to the transaction of rights and interests.
[0005] Optionally, determining the user type includes: judging whether the user identifier contains a platform identifier, and if so, determining the user type is a platform member; otherwise, determining the user type is an ordinary member.
[0006] Optionally, determining the target control includes: extracting action words in the operation data, obtaining function description data corresponding to each candidate control; and determining the target control among the candidate controls based on the action words and the function description data.
[0007] Optionally, based on the action words and the function description data, a target control among the candidate controls is determined, including: calculating the vector similarity between the action words and the function description data, and determining the candidate control corresponding to the function description data corresponding to one or more vector similarities greater than a preset threshold as the target control.
[0008] Optionally, determining the target transaction operation that the target control needs to execute includes: determining the applicable object of the operation data according to the user type; determining the corresponding database command based on the applicable object, and then determining the logical working unit corresponding to the database command; determining the target transaction according to the logical working unit, and then determining the target transaction operation that the target control needs to execute.
[0009] Optionally, the target control includes one or more of a platform sign-in or sign-out control, a member signing or contract termination or information query and maintenance control, a deposit and withdrawal management control, a day-end settlement control, and a fund supervision control.
[0010] In addition, the present application also provides an equity processing device, including: a user type determination unit, configured to receive an equity processing request, obtain a corresponding user identifier, and then determine the user type according to the user identifier; a target control determination unit, configured to obtain user operation data on the equity trading interface, and determine the target control according to the operation data; a target transaction operation determination unit, configured to determine the target transaction operation that the target control needs to perform according to the user type and the operation data; determining the target transaction operation that the target control needs to perform, including: determining the applicable object of the operation data according to the user type, determining the corresponding logical working unit based on the applicable object, and determining the target transaction operation that the target control needs to perform according to the logical working unit; an execution unit, configured to call the target control to perform the target transaction operation and obtain transaction operation result data; a rollback unit, configured to execute a rollback program in response to the transaction operation result data corresponding to the failure of the transaction operation, so as to obtain consistent account data related to the equity transaction.
[0011] Optionally, the user type determination unit is further configured to: determine whether the user identifier contains a platform identifier, and if so, determine the user type as a platform member; otherwise, determine the user type as an ordinary member.
[0012] Optionally, the target control determination unit is further configured to: extract action words in the operation data, obtain function description data corresponding to each candidate control; and determine the target control among the candidate controls based on the action words and the function description data.
[0013] Optionally, the target control determination unit is further configured to: calculate the vector similarity between the action word and the function description data, and determine the candidate control corresponding to the function description data corresponding to one or more vector similarities greater than a preset threshold as the target control.
[0014] Optionally, the target transaction operation determination unit is further configured to: determine the applicable objects of the operation data according to the user type; determine the corresponding database command based on the applicable objects, and then determine the logical work unit corresponding to the database command; determine the target transaction according to the logical work unit, and then determine the target transaction operation that the target control needs to execute.
[0015] Optionally, the target control includes one or more of a platform sign-in or sign-out control, a member signing or contract termination or information query and maintenance control, a deposit and withdrawal management control, a day-end settlement control, and a fund supervision control.
[0016] In addition, the present application also provides an equity processing electronic device, including: one or more processors; a storage device for storing one or more programs, when the one or more programs are executed by one or more processors, the one or more processors implement the equity processing method as described above.
[0017] In addition, the present application also provides a computer-readable medium on which a computer program is stored, and when the program is executed by a processor, the equity processing method as described above is implemented.
[0018] To achieve the above objective, according to another aspect of the embodiments of the present application, a computer program product is provided.
[0019] A computer program product according to an embodiment of the present application includes a computer program, and when the program is executed by a processor, the equity processing method provided by the embodiment of the present application is implemented.
[0020] One embodiment of the above invention has the following advantages or beneficial effects: the application receives a rights and interests processing request, obtains the corresponding user identification, and then determines the user type according to the user identification; obtains the user's operation data on the rights and interests trading interface, and determines the target control according to the operation data; determines the target transaction operation to be performed by the target control according to the user type and the operation data; determines the target transaction operation to be performed by the target control, including: determining the applicable object of the operation data according to the user type, determining the corresponding logical working unit based on the applicable object, and determining the target transaction operation to be performed by the target control according to the logical working unit; calling the target control to perform the target transaction operation and obtain the transaction operation result data; in response to the transaction operation result data corresponding to the transaction operation failure, executing the rollback program to obtain the consistent account data related to the transaction of the rights and interests. In this way, real-time interactive transaction processing of rights and interests is realized, and the efficiency of rights and interests transaction processing is improved.
[0021] The further effects of the above-mentioned non-conventional optional manner will be described below in conjunction with the specific implementation manner. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] The accompanying drawings are used to better understand the present application and do not constitute an improper limitation on the present application.
[0023] Figure 1 It is a schematic diagram of the main process of the equity processing method according to an embodiment of the present application;
[0024] Figure 2 It is a schematic diagram of the main process of the equity processing method according to an embodiment of the present application;
[0025] Figure 3 It is a schematic diagram of the main process of a method for handling equity according to an embodiment of the present application;
[0026] Figure 4 is a schematic diagram of the main units of the equity processing device according to an embodiment of the present application;
[0027] Figure 5 is an exemplary system architecture diagram to which the embodiments of the present application can be applied;
[0028] Figure 6 It is a structural diagram of a computer system of a terminal device or server suitable for implementing an embodiment of the present application. DETAILED DESCRIPTION
[0029] The following is a description of the exemplary embodiments of the present application in conjunction with the accompanying drawings, including various details of the embodiments of the present application to facilitate understanding, and they should be considered as merely exemplary. Therefore, those of ordinary skill in the art should recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the present application. Similarly, for the sake of clarity and conciseness, the description of known functions and structures is omitted in the following description. It should be noted that the acquisition, transmission, storage, use, and processing of data in the technical solution of the present application are in compliance with the relevant provisions of national laws and regulations. It should be noted that in the embodiments of the present application, certain software, components, models, and other existing solutions in the industry may be mentioned, which should be considered as exemplary, and their purpose is only to illustrate the feasibility of the implementation of the technical solution of the present application, but it does not mean that the applicant has or must have used the solution. In the technical solution of the present application, the collection, analysis, use, transmission, storage, and other aspects of the user's personal information involved are in compliance with the provisions of relevant laws and regulations, and are used for legal and reasonable purposes, and are not shared, leaked, or sold outside of these legal uses, and are subject to supervision and management by regulatory authorities. Take necessary measures to prevent illegal access to such personal information, ensure that persons with access to personal information comply with relevant laws and regulations, and ensure the security of personal information. Once such personal information is no longer needed, risks should be minimized by limiting or even prohibiting data collection and / or deleting data.
[0030] When used, including in certain related applications, user privacy is protected by de-identifying data, such as by removing specific identifiers when used, controlling the amount or specificity of data stored, controlling how data is stored, and / or other methods of de-identification.
[0031] Figure 1 is a schematic diagram of the main process of the equity processing method according to an embodiment of the present application, such as Figure 1 As shown, the equity processing method mainly includes the following steps S101 to S105.
[0032] Step S101, receiving a rights processing request, obtaining a corresponding user identifier, and then determining the user type according to the user identifier.
[0033] In this embodiment, the execution subject of the rights and interests processing method (for example, it can be a server) can receive the rights and interests processing request through a wired connection or a wireless connection. For example, the rights and interests in the embodiment of the present application can be carbon emission rights, or water rights, energy use rights, pollution discharge rights, etc. The embodiment of the present application does not specifically limit the processed rights and interests. After receiving the rights and interests processing request, the execution subject can obtain the user identifier carried in the request. The user identifier can be used to represent the number or name of the user who is to perform rights and interests processing (such as rights and interests trading). The user type can be determined based on the user identifier, and the user type can include platform members and ordinary members. The number of rights and interests that can be used by platform members is more than that of ordinary members.
[0034] Step S102, obtaining the user's operation data on the equity trading interface, and determining the target control according to the operation data.
[0035] When the execution entity detects that a user logs in to the equity trading interface of the platform, it can obtain the user's operation data, extract keywords from the operation data, and determine the target control according to the extracted keywords. For example, the target control may include one or more of the platform sign-in or sign-out control, member signing or termination or information query and maintenance control, deposit and withdrawal management control, end-of-day settlement control, and fund supervision control.
[0036] Step S103, determining the target transaction operation that the target control needs to execute according to the user type and the operation data; determining the target transaction operation that the target control needs to execute includes: determining the applicable object of the operation data according to the user type, determining the corresponding logical working unit based on the applicable object, and determining the target transaction operation that the target control needs to execute according to the logical working unit.
[0037] The user's operation data, for example, can be clicking on the member information query and maintenance control. When the user type is a platform member, it is determined whether the user has the authority to query and maintain member information based on the platform member's authority. If so, the target transaction operation to be performed by the target control is determined to be the transaction operation corresponding to member information query and maintenance. Specifically, the transaction operation of querying and changing the specified trading account, member contact, contact number, and contact address information can be performed. Ensure data security and final data consistency during equity processing.
[0038] In some embodiments, after determining the user type of the user who initiated the equity processing request, the execution subject can determine the applicable object of the operation data according to the user type. For example, the user type can include managers and managed persons, and the user's operational authority is determined according to the user type, and the applicable object of the user's operation data on the equity trading interface is determined according to the user's operational authority.
[0039] For example, when the user type is a manager, the objects that can be acted on by the user's operation data on the equity trading interface can be controls corresponding to functions such as initiating notifications, checking, scoring, and approving. When the user type is a managed person, the objects that can be acted on by the user's operation data on the equity trading interface can be controls corresponding to functions such as weekly report submission, leave, submission, new creation, tasks, and refresh.
[0040] After determining the applicable objects of the user's operation data on the equity trading interface, the execution subject can obtain the corresponding function definition data based on the applicable objects, and perform similarity matching between the corresponding function definition data and the definition data of each logical work unit in the logical work unit pool to determine the matching logical work unit, and based on the matching logical work unit, more accurately determine the target transaction operation that the target control needs to execute.
[0041] Step S104, calling the target control to execute the target transaction operation and obtain the transaction operation result data.
[0042] For example, the target control is a member signing or contract termination or information query and maintenance control, and the target transaction operation can be a transaction operation corresponding to member information query and maintenance. The execution subject can call the member signing or contract termination or information query and maintenance control to perform the transaction operation corresponding to member information query and maintenance, query and change the specified transaction account, member contact, contact number, and contact address information, and obtain the query and change result data, that is, the transaction operation result data. The consistency and integrity of the data can be guaranteed through transaction processing.
[0043] Step S105 , in response to the transaction operation result data corresponding to the transaction operation failure, executing a rollback procedure to obtain consistent account data related to the equity transaction.
[0044] If a failure occurs at a certain point in the transaction, causing the transaction operation to fail, a rollback procedure can be executed to roll back all updates to the state before the transaction started to obtain consistent accounting data related to the equity transaction.
[0045] This embodiment receives a rights and interests processing request, obtains the corresponding user identification, and then determines the user type according to the user identification; obtains the user's operation data on the rights and interests trading interface, and determines the target control according to the operation data; determines the target transaction operation to be performed by the target control according to the user type and operation data; calls the target control to perform the target transaction operation and obtains the transaction operation result data; in response to the transaction operation result data corresponding to the transaction operation failure, executes the rollback program to obtain the consistent account data related to the rights and interests transaction. In this way, real-time interactive transaction processing of rights and interests is realized, and the efficiency of rights and interests transaction processing is improved.
[0046] Figure 2 is a schematic diagram of the main flow of a method for handling equity according to an embodiment of the present application, such as Figure 2 As shown, the equity processing method mainly includes the following steps S201 to S207.
[0047] Step S201, receiving a rights processing request, obtaining a corresponding user identifier, and then determining the user type according to the user identifier.
[0048] Specifically, determining the user type includes: judging whether the user identifier contains a platform identifier, if so, determining the user type is a platform member, if not, determining the user type is an ordinary member.
[0049] The identifier contained in the user identifier may be a platform identifier or may not be a platform identifier. When the identifier contained in the user identifier is a platform identifier, the user type can be determined to be a platform member. If the user identifier does not contain a platform identifier, the user type can be determined to be an ordinary member. This improves the efficiency and accuracy of determining the user type.
[0050] Step S202, obtaining the user's operation data on the equity trading interface.
[0051] The user's operation data on the equity trading interface can be checked operation data or input data. The embodiment of the present application does not specifically limit the operation data.
[0052] Step S203, extracting action words from the operation data, and obtaining function description data corresponding to each candidate control.
[0053] After obtaining the user's operation data on the equity trading interface, the execution subject can determine the type of the operation data. In response to the operation data being an image, the execution subject can call an image recognition tool to extract the text in the image corresponding to the operation data, and obtain the action word from the extracted text. Each candidate control has associated functional description data, and the execution subject can obtain the functional description data of each candidate control for matching with the action word in the extracted operation data.
[0054] Step S204: determining a target control among the candidate controls according to the action word and the function description data.
[0055] Specifically, based on the action words and the function description data, the target control among the candidate controls is determined, including: calculating the vector similarity between the action words and the function description data, and determining the candidate control corresponding to the function description data corresponding to one or more vector similarities greater than a preset threshold as the target control.
[0056] It can be understood that the number of target controls (i.e., controls that users need to use) can be one or more. When one or more vector similarities between the extracted action words and the various function description data are greater than a preset threshold, it indicates that there are one or more target controls. Then, the candidate controls corresponding to the function description data corresponding to one or more vector similarities greater than the preset threshold can be determined as target controls.
[0057] For example, when the candidate controls corresponding to the functional description data corresponding to one or more vector similarities greater than a preset threshold are the deposit and withdrawal management control, the end-of-day settlement control, and the fund supervision control, the target controls are the deposit and withdrawal management control, the end-of-day settlement control, and the fund supervision control.
[0058] Specifically, the target controls include one or more of platform sign-in or sign-out controls, member signing or termination or information query and maintenance controls, deposit and withdrawal management controls, end-of-day settlement controls, and fund supervision controls.
[0059] Step S205, determining the target transaction operation that the target control needs to execute according to the user type and the operation data; determining the target transaction operation that the target control needs to execute includes: determining the applicable object of the operation data according to the user type, determining the corresponding logical working unit based on the applicable object, and determining the target transaction operation that the target control needs to execute according to the logical working unit.
[0060] User operation data, for example, may be clicking on the platform sign-in control. When the user type is an ordinary member, it is determined based on the ordinary member's permissions whether the user has the permission to sign in to the platform. If so, it is determined that the target transaction operation to be executed by the target control is the transaction operation of platform sign-in.
[0061] In some embodiments, after determining the user type of the user who initiated the equity processing request, the execution subject can determine the applicable object of the operation data according to the user type. For example, the user type can include the transaction initiator and the transaction terminator, and the user's operational authority is determined according to the user type, and the applicable object of the user's operation data on the equity transaction interface is determined according to the user's operational authority.
[0062] For example, when the user type is a transaction initiator, the objects that can be acted on by the user's operation data on the equity transaction interface can be controls corresponding to functions such as sign-in, initiation, and submission. When the user type is a transaction terminator, the objects that can be acted on by the user's operation data on the equity transaction interface can be controls corresponding to functions such as sign-out, end-of-day reconciliation, and end-of-day settlement.
[0063] After determining the applicable object of the user's operation data on the equity trading interface, the execution subject can obtain the corresponding function definition data based on the applicable object, and perform similarity matching with the definition data of each logical work unit in the logical work unit pool according to the corresponding function definition data to determine the matching logical work unit, and determine the target transaction operation that the target control needs to perform according to the matching logical work unit. Specifically, the execution subject can determine the corresponding constituted transaction according to the database command in the matching logical work unit, and then determine the corresponding target transaction operation that the target control needs to perform according to the determined constituted transaction. The speed and accuracy of determining the target transaction operation can be improved, thereby realizing real-time interactive transaction processing of equity and improving the efficiency and accuracy of equity transaction processing.
[0064] Step S206, calling the target control to execute the target transaction operation and obtain the transaction operation result data.
[0065] Call the platform sign-in control to execute the platform sign-in transaction operation to obtain the transaction operation result data.
[0066] Step S207 , in response to the transaction operation result data corresponding to the transaction operation failure, executing a rollback procedure to obtain consistent account data related to the equity transaction.
[0067] After a transaction operation fails, a rollback procedure can be executed to roll back all updates to the state before the transaction started to obtain consistent accounting data related to equity transactions.
[0068] Figure 3 is a schematic diagram of the main flow of a method for handling equity according to an embodiment of the present application, such as Figure 3 As shown, the equity processing method mainly includes the following steps S301 to S307.
[0069] Step S301, receiving a rights processing request, obtaining a corresponding user identifier, and then determining the user type according to the user identifier.
[0070] After receiving the rights processing request, the execution subject can obtain the user ID carried in the request. The user ID can be used to represent the number or name of the user who is to perform rights processing (such as rights trading). The user type can be determined based on the user ID, and the user type can include platform members and ordinary members.
[0071] Step S302, obtaining the user's operation data on the equity trading interface, and determining the target control according to the operation data.
[0072] In some embodiments, the execution subject may match each word in the operation data with each word in the name of each candidate control, and determine the matched candidate control as the target control, so as to improve the efficiency and accuracy of determining the target control.
[0073] Step S303: determining the applicable objects of the operation data according to the user type.
[0074] The applicable objects of the operation data are determined according to the operation permissions corresponding to the user type. For example, when the user type is a platform member, the applicable objects of the user's operation data on the equity trading interface may be controls corresponding to functions such as sign-in, sign-out, contract signing, contract termination, information query, information maintenance, and deposit and withdrawal management.
[0075] Step S304: determine the corresponding database command based on the applicable object, and then determine the logical work unit corresponding to the database command.
[0076] Each actionable object may have corresponding execution logic to implement the corresponding function of the actionable object. The execution subject may use the execution logic corresponding to the actionable object as the corresponding database command and allocate a logical work unit to the database command.
[0077] Step S305: determine the target transaction according to the logical work unit, and then determine the target transaction operation that the target control needs to execute.
[0078] A series of operations performed on the logical work unit assigned to the database command is taken as the target transaction, and the series of operations are the target transaction operations that the target control needs to execute.
[0079] Step S306, calling the target control to execute the target transaction operation and obtain the transaction operation result data.
[0080] A series of target transaction operations are executed by calling the target control to obtain consistent and complete transaction operation result data.
[0081] Step S307 , in response to the transaction operation result data corresponding to the transaction operation failure, executing a rollback procedure to obtain consistent account data related to the equity transaction.
[0082] If a transaction operation fails, it is rolled back so that all updates can be rolled back to the state before the transaction started to obtain consistent accounting data related to the equity transaction.
[0083] In the embodiment of the present application, the rights processing can be the processing of carbon emission rights. In the carbon emission rights processing scenario, carbon emission rights: carbon emission rights refer to the rights traded and transferred in the carbon market, representing the emission of greenhouse gases such as carbon dioxide generated per unit time. The number of carbon emission rights issued is usually allocated according to the emission reduction policies and targets of the country or region, and can be allocated to specific industries, enterprises or units in fixed quantities, which can be carried out through auctions or allocations. The allocation of carbon emission rights quotas is divided into primary and secondary markets. The primary market is generally issued by the National Development and Reform Commission for quota issuance, which is divided into free allocation and paid allocation. The secondary market is a market where emission-controlled enterprises or investment institutions conduct transactions. Member: an enterprise or individual participating in carbon emission rights trading. It is necessary to open an account at the exchange to obtain a seat number and open a ledger at the bank for fund and account management. Members are divided into ordinary members, platform members, etc. Regulatory account: a public deposit account opened by the exchange in a bank. This account is strictly regulated and cannot be traded through ordinary channels. Funds can only be entered and exited after the carbon emission trading order is verified. Prevent funds from being misappropriated. Ledger: The account management system is a virtual account opened for members. Members can recharge, withdraw and trade in the virtual account. The ledger is divided into: general member ledger, platform member ledger, interest ledger, unknown account ledger, income ledger, etc.
[0084] The rights and interests processing method of the embodiment of the present application can provide financial services for the entire process of carbon emission rights trading, including member recharge, withdrawal, and payment. Member management, order management, and fund supervision, etc. Through the connection between the application system and the exchange system, the exchange and its members are provided with services such as opening, changing, canceling, querying, depositing, withdrawing, reconciliation, interest settlement, fund settlement, and transfer. Through the dedicated direct connection channel and the exchange trading system data connection, a carbon trading fund settlement and clearing platform is built to manage member fund ledgers, transaction records, and member information maintenance. And in the bank's external channels such as online banking and mobile banking, member signing and termination, member deposits and withdrawals, transaction details inquiry, balance inquiry and other functions are open.
[0085] The embodiment of this application provides a fund supervision solution for the account management of exchanges and members in carbon emission rights trading. With member and ledger management as the core, it integrates payment management, contract order management and other functions. Through the docking of bank-enterprise systems, banks can accurately grasp the member information and transaction orders of platform enterprises, and provide a package of payment and settlement services such as payment, recharge, and withdrawal, so as to achieve the true unification of capital flow and information flow, solve the problem of fund trust between exchanges and members, and meet the regulatory compliance requirements of platform operations. At the same time, convenient operating terminals such as online banking and mobile banking are provided to greatly improve transaction efficiency and user experience. The specific advantages are as follows: Transaction fund supervision: The exchange opens a transaction fund supervision account in the bank, and the bank collects account authority to prevent the exchange from directly misappropriating customer trading funds; Real customer intentions: The bank can only process accounts after the customer verifies the transaction password on the bank interface to ensure the safety of customer trading funds; Real transaction orders: Real customer information + real customer intentions → real transaction orders to prevent the platform from misappropriating customer trading funds in disguise; Control of fund flow: Accounts are divided according to real contract orders, and restrictions are imposed on the account division entities, account division ratios and fund flows; Information report verification: The exchange can query various statements and statistical reports by itself to verify whether the account processing is correct.
[0086] The technical implementation can be divided into the following aspects: Platform sign-in and sign-out: sign-in at the bank before the exchange starts, the platform allows deposit operations, and members can perform bank fund operations during trading hours. Sign out to the bank after the exchange closes, and members cannot perform fund operations. Member signing, termination, member information query and maintenance: Member signing: used for members who have opened a seat number at the exchange to sign a bank membership through the CCB channel; member information query and maintenance: including the query and change of designated trading accounts, member contacts, contact numbers, and contact address information; member termination: supports different deposit and withdrawal requirements, and multiple account combinations. Deposit and withdrawal management: Deposit: members transfer funds from the member's designated trading account to the exchange's supervision account. After the deposit is successful, the system adjusts the member's ledger balance accordingly; Withdrawal: members transfer funds from the exchange's supervision account to the member's designated physical account. After the withdrawal is successful, the system reduces the member's ledger balance accordingly. End-of-day settlement: Sign in and sign out: After the exchange system initiates the sign out, the member deposit and withdrawal functions are closed; the deposit and withdrawal functions are opened after signing in; End-of-day reconciliation: The exchange reconciles according to the bank's end-of-day reconciliation documents; End-of-day settlement: After the reconciliation is completed, the bank conducts fund settlement according to the exchange's settlement documents and notifies the exchange of the settlement results. Fund supervision: Funds in the supervision account can only be traded after being verified by the trading system, and there is no authority to trade funds in other channels (branch counters). The bank can only execute fund transfers after the exchange's transaction data and the bank's data are cleared and verified to be consistent. Data transmission uses national encryption to ensure safe and reliable data transmission.
[0087] Compared with traditional models such as XA, the TCC (Try-Confirm-Cancel) distributed transaction model does not rely on the support of the resource manager (RM) for distributed transactions, but implements distributed transactions by decomposing business logic.
[0088] The transaction management mechanism based on the TCC model ensures the consistency of account data, and can also ensure the consistency of account data in abnormal scenarios, ensuring that bank accounts are error-free. Mobile banking applets improve customer experience and expand business channels, allowing users to handle business anytime and anywhere.
[0089] Figure 4 Schematic diagram of the main units of the equity processing device according to the embodiment of the present application. Figure 4 As shown, the equity processing device 400 includes a user type determination unit 401 , a target control determination unit 402 , a target transaction operation determination unit 403 , an execution unit 404 and a rollback unit 405 .
[0090] The user type determination unit 401 is configured to receive a rights processing request, obtain a corresponding user identifier, and then determine the user type according to the user identifier.
[0091] The target control determination unit 402 is configured to obtain the user's operation data on the equity trading interface and determine the target control according to the operation data.
[0092] The target transaction operation determination unit 403 is configured to determine the target transaction operation that the target control needs to perform according to the user type and the operation data; determining the target transaction operation that the target control needs to perform includes: determining the applicable object of the operation data according to the user type, determining the corresponding logical working unit based on the applicable object, and determining the target transaction operation that the target control needs to perform according to the logical working unit.
[0093] The execution unit 404 is configured to call the target control to execute the target transaction operation and obtain the transaction operation result data.
[0094] The rollback unit 405 is configured to execute a rollback procedure in response to the transaction operation result data corresponding to the transaction operation failure, so as to obtain consistent account data related to the equity transaction.
[0095] In some embodiments, the user type determination unit 401 is further configured to: determine whether the user identification contains a platform identification, and if so, determine the user type as a platform member; otherwise, determine the user type as an ordinary member.
[0096] In some embodiments, the target control determination unit 402 is further configured to: extract action words from the operation data, obtain function description data corresponding to each candidate control; and determine the target control among the candidate controls based on the action words and the function description data.
[0097] In some embodiments, the target control determination unit 402 is further configured to: calculate the vector similarity between the action word and the function description data, and determine the candidate control corresponding to the function description data corresponding to one or more vector similarities greater than a preset threshold as the target control.
[0098] In some embodiments, the target transaction operation determination unit 403 is further configured to: determine the applicable objects of the operation data according to the user type; determine the corresponding database command based on the applicable objects, and then determine the logical working unit corresponding to the database command; determine the target transaction according to the logical working unit, and then determine the target transaction operation that the target control needs to perform.
[0099] In some embodiments, the target controls include one or more of platform sign-in or sign-out controls, member signing or termination or information query and maintenance controls, deposit and withdrawal management controls, end-of-day settlement controls, and fund supervision controls.
[0100] It should be noted that the equity processing method and the equity processing device of the present application have a corresponding relationship in terms of specific implementation contents, so the repeated contents will not be described again.
[0101] Figure 5 An exemplary system architecture 500 is shown to which the equity processing method or the equity processing device according to the embodiment of the present application can be applied.
[0102] like Figure 5 As shown, system architecture 500 may include terminal devices 501, 502, 503, a network 504 and a server 505. Network 504 is used to provide a medium for communication links between terminal devices 501, 502, 503 and server 505. Network 504 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.
[0103] Users can use terminal devices 501, 502, 503 to interact with server 505 through network 504 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 501, 502, 503, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. (only for example).
[0104] The terminal devices 501, 502, 503 may be various electronic devices having a rights processing screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, desktop computers, and the like.
[0105] Server 505 may be a server that provides various services, such as a background management server that provides support for the rights and interests processing request submitted by the user using terminal devices 501, 502, and 503 (only as an example). The background management server may receive the rights and interests processing request, obtain the corresponding user identification, and then determine the user type according to the user identification; obtain the user's operation data on the rights and interests trading interface, and determine the target control according to the operation data; determine the target transaction operation that the target control needs to perform according to the user type and the operation data; determine the target transaction operation that the target control needs to perform, including: determining the applicable object of the operation data according to the user type, determining the corresponding logical working unit based on the applicable object, and determining the target transaction operation that the target control needs to perform according to the logical working unit; calling the target control to perform the target transaction operation and obtain the transaction operation result data; in response to the transaction operation result data corresponding to the transaction operation failure, executing the rollback program to obtain the consistent account data related to the transaction of the rights and interests. In order to realize the real-time interactive transaction processing of rights and interests and improve the efficiency of the rights and interests transaction processing.
[0106] It should be noted that the equity processing method provided in the embodiment of the present application is generally executed by the server 505 , and accordingly, the equity processing device is generally set in the server 505 .
[0107] It should be understood that Figure 5 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.
[0108] Reference below Figure 6 , which shows a schematic diagram of the structure of a computer system 600 of a terminal device suitable for implementing an embodiment of the present application. Figure 6 The terminal device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0109] like Figure 6As shown, the computer system 600 includes a central processing unit (CPU) 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage part 608 into a random access memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the computer system 600 are also stored. The CPU 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.
[0110] The following components are connected to the I / O interface 605: an input section 606 including a keyboard, a mouse, etc.; an output section 607 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 608 including a hard disk, etc.; and a communication section 609 including a network interface card such as a LAN card, a modem, etc. The communication section 609 performs communication processing via a network such as the Internet. A drive 610 is also connected to the I / O interface 605 as needed. A removable medium 611, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 610 as needed, so that a computer program read therefrom is installed into the storage section 608 as needed.
[0111] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 609, and / or installed from the removable medium 611. When the computer program is executed by the central processing unit (CPU) 601, the above-mentioned functions defined in the system of the present application are executed.
[0112] It should be noted that the computer-readable medium shown in the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. Computer-readable storage media may include, for example, but are not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal 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 computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. 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, RF, etc., or any suitable combination of the above.
[0113] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the above-mentioned module, program segment or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0114] The units involved in the embodiments described in the present application may be implemented by software or hardware. The units described may also be set in a processor, for example, it may be described as: a processor includes a user type determination unit, a target control determination unit, a target transaction operation determination unit, an execution unit, and a rollback unit. The names of these units do not, in some cases, constitute limitations on the units themselves.
[0115] As another aspect, the present application also provides a computer-readable medium, which may be included in the device described in the above embodiment; or it may exist independently and not be assembled into the device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by a device, the device receives a rights and interests processing request, obtains a corresponding user identifier, and then determines the user type according to the user identifier; obtains the user's operation data on the rights and interests trading interface, and determines the target control according to the operation data; determines the target transaction operation to be performed by the target control according to the user type and the operation data; determines the target transaction operation to be performed by the target control, including: determining the applicable object of the operation data according to the user type, determining the corresponding logical working unit based on the applicable object, and determining the target transaction operation to be performed by the target control according to the logical working unit; calling the target control to perform the target transaction operation and obtain the transaction operation result data; in response to the transaction operation result data corresponding to the transaction operation failure, executing the rollback program to obtain the consistent account data related to the equity transaction.
[0116] The computer program product of the present application includes a computer program, and when the computer program is executed by a processor, the equity processing method in the embodiment of the present application is implemented.
[0117] According to the technical solution of the embodiment of the present application, real-time interactive transaction processing of rights and interests can be realized, thereby improving the efficiency of rights and interests transaction processing.
[0118] The above specific implementations do not constitute a limitation on the protection scope of this application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may occur depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of this application should be included in the protection scope of this application.
Claims
1. A method for handling equity, characterized in that: include: Receive a rights processing request, obtain a corresponding user identifier, and then determine the user type based on the user identifier; Obtaining the user's operation data on the equity trading interface, and determining the target control according to the operation data; Determining a target transaction operation that the target control needs to perform according to the user type and the operation data; The determining the target transaction operation to be executed by the target control includes: determining the applicable object of the operation data according to the user type, determining the corresponding logical working unit based on the applicable object, and determining the target transaction operation to be executed by the target control according to the logical working unit; Calling the target control to execute the target transaction operation and obtain transaction operation result data; In response to the transaction operation result data corresponding to a transaction operation failure, a rollback procedure is executed to obtain consistent account data related to the transaction of the equity.
2. The method according to claim 1, characterized in that The determining of the user type includes: It is determined whether the user identifier contains a platform identifier. If so, the user type is determined to be a platform member. Otherwise, the user type is determined to be an ordinary member.
3. The method according to claim 1, characterized in that The determining of the target control comprises: Extracting action words from the operation data to obtain function description data corresponding to each candidate control; According to the action word and the function description data, a target control among the candidate controls is determined.
4. The method according to claim 3, characterized in that The step of determining a target control among the candidate controls according to the action word and the function description data includes: The vector similarity between the action word and the function description data is calculated, and the candidate controls corresponding to the function description data corresponding to one or more vector similarities greater than a preset threshold are determined as target controls.
5. The method according to claim 1, characterized in that The determining of the target transaction operation to be performed by the target control includes: Determining the applicable objects of the operation data according to the user type; Based on the applicable object, determine the corresponding database command, and then determine the logical work unit corresponding to the database command; According to the logical working unit, a target transaction is determined, and then a target transaction operation that needs to be executed by the target control is determined.
6. The method according to any one of claims 1 to 5, characterized in that The target controls include one or more of a platform sign-in or sign-out control, a member signing or contract termination or information query and maintenance control, a deposit and withdrawal management control, a day-end settlement control, and a fund supervision control.
7. A rights and interests processing device, characterized in that: include: A user type determination unit is configured to receive a rights processing request, obtain a corresponding user identifier, and then determine a user type according to the user identifier; A target control determination unit is configured to obtain operation data of a user on the equity trading interface and determine a target control according to the operation data; A target transaction operation determination unit, configured to determine a target transaction operation to be performed by the target control according to the user type and the operation data; The determining the target transaction operation to be executed by the target control includes: determining the applicable object of the operation data according to the user type, determining the corresponding logical working unit based on the applicable object, and determining the target transaction operation to be executed by the target control according to the logical working unit; An execution unit, configured to call the target control to execute the target transaction operation and obtain transaction operation result data; The rollback unit is configured to execute a rollback procedure in response to the transaction operation result data corresponding to the transaction operation failure, so as to obtain consistent account data related to the transaction of the equity.
8. The device according to claim 7, characterized in that The user type determination unit is further configured to: It is determined whether the user identifier contains a platform identifier. If so, the user type is determined to be a platform member. Otherwise, the user type is determined to be an ordinary member.
9. The device according to claim 7, characterized in that The target control determination unit is further configured to: Extracting action words from the operation data to obtain function description data corresponding to each candidate control; According to the action word and the function description data, a target control among the candidate controls is determined.
10. The device according to claim 9, characterized in that The target control determination unit is further configured to: The vector similarity between the action word and the function description data is calculated, and the candidate controls corresponding to the function description data corresponding to one or more vector similarities greater than a preset threshold are determined as target controls.
11. The device according to claim 7, characterized in that The target transaction operation determination unit is further configured to: Determining the applicable objects of the operation data according to the user type; Based on the applicable object, determine the corresponding database command, and then determine the logical work unit corresponding to the database command; According to the logical working unit, a target transaction is determined, and then a target transaction operation that needs to be executed by the target control is determined.
12. The device according to any one of claims 7 to 11, characterized in that The target controls include one or more of a platform sign-in or sign-out control, a member signing or contract termination or information query and maintenance control, a deposit and withdrawal management control, a day-end settlement control, and a fund supervision control.
13. An electronic device for processing rights and interests, characterized in that: include: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 6.
14. A computer readable medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.
15. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.