Business processing method and device, equipment and medium
By querying the broker's transaction control table and delay parameter table in the bank securities trading system, verifying the compliance and time permissions of transaction requests, providing delayed transaction deadlines, solving the problem of bank securities trading time limit in the bank securities trading system, improving the Trading opportunities and customer satisfaction.
Patent Information
- Application Number
- CN202411327506.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-23
- Publication Date
- 2025-01-03
AI Technical Summary
The existing bank securities trading system cannot conduct bank securities trading outside the securities business day, resulting in limited capital turnover speed and affecting investor experience.
By querying broker trading control tables and delay parameter tables, verify the compliance and time permissions of transaction requests, and provide delayed transaction deadlines after the initial transaction deadline, dynamically manage transaction requests to ensure compliance and flexibility.
It realizes that the transaction requests that meet the conditions can still be processed after the initial trading time window is closed, reducing the possibility of missing trading opportunities due to time limits, and improving trading opportunities and customer satisfaction.
Smart Images

Figure CN119250970A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of Internet technology, and in particular to a business processing method, device, equipment and medium. Background Art
[0002] As the financial market continues to mature and investor demand continues to grow, banks, as an important role in financial intermediaries, not only provide traditional deposit and loan services, but also actively participate in securities market trading activities. Bank securities trading has not only enriched the business scope of banks, but also promoted the overall development of the financial market.
[0003] In securities trading, the compliance and timeliness of business processing are crucial. Compliance and timely handling of business in securities trading is not only directly related to investors' capital security and trading experience, but also affects the stability and liquidity of the market. Therefore, how to handle business in a compliance and timely manner is very important. Summary of the invention
[0004] The present disclosure provides a business processing method, device, equipment and medium to solve one of the technical problems in the related art at least to a certain extent. The technical solution of the present disclosure is as follows:
[0005] According to a first aspect of an embodiment of the present disclosure, a business processing method is provided, including: in response to receiving a transaction request, querying from a broker transaction control table whether a first transaction broker corresponding to the transaction request allows the transaction; in a case where the first transaction broker allows the transaction, determining whether a reception time of the transaction request is greater than an initial transaction deadline of the first transaction broker; in response to the reception time being greater than or equal to the initial transaction deadline, querying from a broker transaction delay parameter table whether the first transaction broker has a configured delayed transaction deadline; wherein the delayed transaction deadline is after the initial transaction deadline; in response to the first transaction broker having the delayed transaction deadline and the reception time being less than or equal to the delayed transaction deadline, performing business processing on the transaction request.
[0006] According to a second aspect of an embodiment of the present disclosure, there is provided a business processing device, comprising: a query module, for querying from a broker transaction control table whether a first transaction broker corresponding to the transaction request allows the transaction in response to receiving a transaction request; a judgment module, for judging whether a reception time of the transaction request is greater than an initial transaction deadline of the first transaction broker if the first transaction broker allows the transaction; a query module, for querying from a broker transaction delay parameter table whether a configured delayed transaction deadline exists for the first transaction broker in response to the reception time being greater than or equal to the initial transaction deadline; wherein the delayed transaction deadline is after the initial transaction deadline; and a processing module, for performing business processing on the transaction request in response to the first transaction broker having the delayed transaction deadline and the reception time being less than or equal to the delayed transaction deadline.
[0007] According to a third aspect of an embodiment of the present disclosure, an electronic device is provided, comprising: a processor; and a memory for storing instructions executable by the processor; wherein the processor is configured to execute the instructions to implement the business processing method proposed in the above-mentioned first aspect of the present disclosure.
[0008] According to the fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided. When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device can execute the business processing method proposed in the first aspect of the present disclosure.
[0009] According to a fifth aspect of an embodiment of the present disclosure, a computer program product is provided, including: a computer program, which implements the business processing method as described in the above embodiment of the present disclosure when executed by a processor.
[0010] The technical solution provided by the embodiments of the present disclosure brings at least the following beneficial effects:
[0011] In response to receiving a transaction request, querying from the broker's transaction control table whether the first transaction broker corresponding to the transaction request allows the transaction, thereby ensuring the compliance of the transaction request by verifying the transaction broker's transaction authority; subsequently, when the first transaction broker allows the transaction, judging whether the receiving time of the transaction request is greater than the initial transaction deadline of the first transaction broker, thereby quickly screening out situations requiring business processing by comparing the receiving time with the initial transaction deadline; further, when the receiving time is greater than or equal to the initial transaction deadline, querying from the broker's transaction delay parameter table whether the first transaction broker has a configured delayed transaction deadline, and if the first transaction broker has a delayed transaction deadline and the receiving time is less than or equal to the delayed transaction deadline, performing business processing on the transaction request, thereby dynamically managing the delayed transaction deadline in the broker's transaction delay parameter table, effectively improving the broker's flexible processing capabilities for transaction requests, and ensuring that even after the initial transaction time window is closed, eligible transaction requests can be processed within the delayed transaction time, reducing the possibility of missing transaction opportunities due to time constraints, thereby increasing transaction opportunities and improving customer satisfaction.
[0012] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] The drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, and do not constitute improper limitations on the present disclosure.
[0014] Figure 1 It is a flowchart of the business processing method shown in the first embodiment of the present disclosure.
[0015] Figure 2 It is a flowchart of a business processing method shown in the second embodiment of the present disclosure.
[0016] Figure 3 This is a flowchart of a business processing method shown in the third embodiment of the present disclosure.
[0017] Figure 4 It is a schematic diagram of the update process of the trading switch of the trading broker shown in the embodiment of the present disclosure.
[0018] Figure 5 It is a schematic diagram of the update process of the trading switch of the trading broker shown in the embodiment of the present disclosure.
[0019] Figure 6 This is a flowchart of a business processing method shown in the fourth embodiment of the present disclosure.
[0020] Figure 7 It is a structural diagram of a business processing device shown in the fifth embodiment of the present disclosure.
[0021] Figure 8 It is a schematic diagram of the structure of an electronic device shown in an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION
[0022] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.
[0023] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0024] It should be noted that the acquisition, storage, use, and processing of data in the technical solution disclosed in this disclosure are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.
[0025] It should also be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.) and signals involved in this disclosure are all authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.
[0026] It should also be noted that in the embodiments of the present disclosure, certain software, components, models and other existing solutions in the industry may be mentioned, which should be regarded as exemplary. Their purpose is only to illustrate the feasibility of implementing the technical solution of the present disclosure, but it does not mean that the applicant has or will necessarily use the solution.
[0027] At present, investors in the agency bank-securities system can only initiate bank-securities transactions (such as transfers) from 8:12 to 16:00 on securities business days. After 16:00, the bank-securities trading channel will be closed, and investors can only initiate transactions on the next securities business day (such as transferring funds from a bank account to a securities account, or from a securities account to a bank account), which seriously affects the speed of capital turnover.
[0028] In view of the above problems, the present disclosure proposes a service processing method, device, equipment and medium.
[0029] The following describes the service processing method, apparatus, device, and medium of the embodiments of the present disclosure with reference to the accompanying drawings.
[0030] Figure 1 It is a flowchart of the business processing method shown in the first embodiment of the present disclosure. It should be noted that the embodiment of the present disclosure is applied to a business processing device, and the business processing device can be a bank-securities system.
[0031] like Figure 1 As shown, the service processing method may include the following steps S11 to S14.
[0032] In step S11, in response to receiving a transaction request, a query is made from the broker transaction control table to determine whether the first transaction broker corresponding to the transaction request allows the transaction.
[0033] In order to avoid the occurrence of illegal transactions and improve the compliance of transactions, as an example, when a transaction request is received, the transaction authority of the first transaction broker corresponding to the transaction request is verified to determine whether the first transaction broker allows the transaction.
[0034] In step S12, when the first trading broker allows the transaction, it is determined whether the receiving time of the transaction request is greater than the initial transaction deadline of the first trading broker.
[0035] In order to ensure that the transaction is conducted within the specified effective time range, as an example, when the first trading broker allows the transaction, it is further determined whether the receipt time of the transaction request is greater than the initial transaction deadline of the first trading broker, where the initial transaction deadline refers to the transaction deadline of the broker during the normal trading time period of each trading day.
[0036] In order to ensure that requests received during non-trading time periods can be properly stored and processed in order of priority during the time period when trading is allowed, as an example, when the receiving time is greater than the initial trading deadline of the first trading broker and the first trading broker has not configured a delayed trading deadline, the trading request is parsed to obtain the trading type of the trading request; based on the trading type, the priority of the trading request is determined; based on the priority, the trading request is written into a pending transaction queue associated with the first trading broker; and in response to the trading start time reaching the trading time range of the first trading broker, the trading requests in the pending transaction queue are processed in sequence.
[0037] That is to say, when the receiving time is greater than the initial trading deadline of the first trading broker and the first trading broker has not configured a delayed trading deadline, the trading request will be parsed to obtain the trading type (such as transfer, futures), and the priority of the trading request will be determined according to the trading type; then, the trading request will be written into the pending transaction queue associated with the first trading broker according to the priority; when the start time of the trading time range of the first trading broker is reached, the trading requests in the pending transaction queue will be processed in sequence.
[0038] In step S13, in response to the receiving time being greater than or equal to the initial transaction deadline, a query is made from the broker transaction delay parameter table as to whether the first transaction broker has a configured delayed transaction deadline.
[0039] Among them, the delayed trading deadline is after the initial trading deadline.
[0040] In order to improve trading flexibility and avoid missing trading opportunities due to time constraints, as an example, when the receipt time of the trading request is greater than or equal to the initial trading deadline, the broker's trading delay parameter table is queried to determine whether the first trading broker has configured a delayed trading deadline.
[0041] In step S14, in response to the first trading broker having a delayed trading deadline and the receiving time being less than or equal to the delayed trading deadline, business processing is performed on the trading request.
[0042] Furthermore, if there is a delayed transaction deadline at the first transaction broker, and the time of the received transaction request is between the initial transaction deadline and the delayed transaction deadline, the transaction request is processed.
[0043] In summary, by querying from the broker's transaction control table whether the first trading broker corresponding to the trading request allows the transaction in response to receiving the transaction request, the transaction authority of the trading broker is verified, thereby ensuring the compliance of the transaction request; subsequently, when the first trading broker allows the transaction, it is determined whether the receiving time of the transaction request is greater than the initial transaction deadline of the first trading broker, thereby quickly screening out the transaction requests that meet the time requirements by comparing the receiving time with the initial transaction deadline; further, when the receiving time is greater than or equal to the initial transaction deadline, it is queried from the broker's transaction delay parameter table whether there is a configured delayed transaction deadline for the first trading broker, and if there is a delayed transaction deadline for the first trading broker and the receiving time is less than or equal to the delayed transaction deadline, the transaction request is processed, thereby dynamically managing the delayed transaction deadline in the broker's transaction delay parameter table, effectively improving the broker's flexible processing capabilities for transaction requests, ensuring that even after the initial transaction time window is closed, qualified transaction requests can be processed within the delayed transaction time, reducing the possibility of missing transaction opportunities due to time constraints, thereby increasing transaction opportunities and improving customer satisfaction.
[0044] The present disclosure provides another service processing method. Figure 2 It is a flowchart of a business processing method shown in the second embodiment of the present disclosure.
[0045] It should be noted that the business processing method can be executed alone, or it can be executed in combination with any embodiment of the present disclosure or a possible implementation method in the embodiment, or it can be executed in combination with any technical solution in the related technology, and the embodiments of the present disclosure are not limited to this.
[0046] like Figure 2 As shown, the business processing method may include the following steps S21 to S27.
[0047] In step S21, in response to receiving a transaction request, first identity information of an investment target and second identity information of a first transaction broker are acquired.
[0048] It should be understood that the transaction request is used to conduct transactions between a source object and a destination object, the source object is one of the investment object and the first transaction broker, and the destination object is the other of the investment object and the first transaction broker.
[0049] In order to improve the compliance of transactions, as an example, when a transaction request is received, the basic identifications of both parties to the transaction are extracted from the transaction request, and the identity information of the source object and the destination object is queried through the basic identification information.
[0050] In step S22, identity authentication is performed on the investment object and the first trading broker based on the first identity information and the second identity information.
[0051] In order to ensure the authenticity and legitimacy of the identities of both parties to the transaction, as an example, the investment object and the first trading broker are authenticated based on the first identity information and the second identity information. For example, the authenticity, legitimacy and accuracy of the personal identity information of the investment object and the identity information of the first trading broker are confirmed by verifying the official identity documents submitted by both parties and using biometric technology or cross-verification.
[0052] In step S23, in response to both the investment object and the first trading broker passing identity authentication, the value of the switch flag bit of the trading switch of the first trading broker is queried from the broker trading control table.
[0053] It should be understood that the brokerage trading control table is used to manage and control the trading rights of trading brokers. As a possible implementation method, the brokerage trading control table includes the trading switches of each trading broker, and sets a switch flag for the trading switch of each trading broker in the brokerage trading control table, and configures the value of each switch flag to manage and control the trading rights of each trading broker.
[0054] As an example, when both the investment object and the first verification broker have passed identity authentication, the broker transaction control table is queried to obtain the value of the switch flag bit of the transaction switch of the first verification broker.
[0055] In step S24, it is determined whether the first trading broker corresponding to the transaction request allows the transaction according to the value of the switch flag.
[0056] In order to accurately obtain the trading authority of the first trading broker, as an example, in response to the switch flag bit being a first value, it is determined that the first trading broker allows trading; wherein the first value is used to indicate that the trading switch is in the on state; in response to the switch flag bit being a second value, it is determined that the first trading broker does not allow trading; wherein the second value is used to indicate that the trading switch is in the off state.
[0057] That is to say, different values of the switch flag indicate different trading permissions of the first trading broker. When the switch flag is a first value (e.g., the value of the switch flag is 1), it is determined that the first trading broker allows trading. When the switch flag is a second value (e.g., the value of the switch flag is 0), it is determined that the first trading broker does not allow trading.
[0058] In step S25, if the first trading broker allows the transaction, it is determined whether the receiving time of the trading request is greater than the initial trading deadline of the first trading broker.
[0059] In step S26, in response to the receiving time being greater than or equal to the initial transaction deadline, the broker transaction delay parameter table is queried to determine whether the first transaction broker has a configured delayed transaction deadline.
[0060] Among them, the delayed trading deadline is after the initial trading deadline.
[0061] In step S27, in response to the first trading broker having a delayed trading deadline and the receiving time being less than or equal to the delayed trading deadline, business processing is performed on the trading request.
[0062] In order to improve user experience, the business processing results of the transaction request need to be fed back to the source object in a timely manner. As an example, after the transaction request is processed and the processing result is obtained, the processing result of the business processing of the transaction request is sent to the source object; in order to improve the accuracy and timeliness of transaction management, in response to the delayed transaction deadline reaching the first verification transaction broker, and the value of the switch flag of the first verification broker is the second value, reconciliation and settlement are performed on the first verification broker.
[0063] That is to say, when the transaction request completes the business processing, the processing result will be fed back to the source object that initiated the request in a timely manner. At the same time, monitoring and responding to the arrival of the delayed transaction deadline of the first verification transaction broker, and when the value of the switch flag of the first verification broker is the second value (that is, the transaction switch is closed), the process of reconciliation and clearing of the first verification broker is automatically triggered to ensure the accuracy of transaction data and the safe settlement of funds.
[0064] In addition, in order to further improve the user experience, as a possible implementation method, when the source object does not receive the processing result within a set period of time after sending the transaction request, the source object can query and understand the progress and status of the transaction request in real time.
[0065] As an example, a query request sent by a source object is received; wherein the query request is sent by the source object when no processing result is received within a set period of time after the source object sends a transaction request, and the query request includes a transaction serial number of the transaction request; in response to the query request, the processing result of processing the transaction request is queried according to the transaction serial number, and a query response is generated according to the processing result; and the query response is sent to the source object.
[0066] That is, when the source object does not receive the corresponding processing result within the preset time period after sending the transaction request, it actively sends a query request to query the status of the transaction. The query request contains a transaction serial number used to uniquely identify the transaction request. After receiving the query request, the transaction serial number provided is used to query the specific processing status of the transaction request, such as whether the processing has been completed and the processing result. When the corresponding processing result is queried, a query response is generated according to the queried processing result, and the query response is sent back to the source object through the network or other communication methods, so that the source object can timely understand the current status and processing result of the transaction request.
[0067] It should be noted that the explanation of steps S25 to S27 can be found in the relevant description in any embodiment of the present disclosure and will not be repeated here.
[0068] In summary, by obtaining the first identity information of the investment object and the second identity information of the first trading broker in response to receiving a transaction request, and performing identity authentication on both parties, the authenticity and legality of the identities of both parties to the transaction can be ensured; then, the value of the transaction switch flag of the first trading broker is queried from the broker transaction control table to determine whether the transaction broker is allowed to conduct the transaction, thereby enhancing the security of the transaction, effectively preventing unauthorized trading activities, and thus ensuring the compliance of the transaction and the stability of the system.
[0069] In order to clearly illustrate the above embodiment, another service processing method is proposed in the embodiment of the present disclosure. Figure 3 This is a flowchart of a business processing method shown in the third embodiment of the present disclosure.
[0070] like Figure 3 As shown, based on any of the above embodiments, the brokerage transaction control table is generated by following steps S31 to S34:
[0071] In step S31, broker identification information of multiple trading brokers is obtained.
[0072] In order to uniquely identify each trading broker, as a possible implementation method, each trading broker is identified by using broker identification information.
[0073] As an example, broker identification information of multiple trading brokers is extracted from registration information of multiple trading brokers.
[0074] In step S32, for any trading broker, the trading time range of any trading broker is queried according to the broker identification information of any trading broker.
[0075] Among them, the deadline of the transaction time range is the initial transaction deadline.
[0076] It should be understood that the trading time ranges of various trading brokers may be the same or different. As an example, based on the broker identification information of any trading broker, the normal trading time range of any trading broker on the trading day can be queried, where the end time of the trading time range is the initial trading end time of any trading broker.
[0077] In step S33, the value of the switch flag of the trading switch of any trading broker is determined according to the trading time range of any trading broker.
[0078] The value of the switch flag is used to indicate whether the trading broker allows the transaction.
[0079] In order to effectively control the transactions of each trading broker, as a possible implementation method, for any trading broker, the value of the flag bit of the trading switch of any trading broker is determined according to the current system time and the trading time range of the any trading broker; wherein the value of the switch flag bit is used to indicate whether the trading broker allows trading.
[0080] As an example, determine whether the current system time is within the trading time range; in response to the current system time being within the trading time range, determine that the value of the switch flag bit of the trading switch of any trading broker is a first value; in response to the current system time not being within the trading time range, determine that the value of the switch flag bit of the trading switch of any trading broker is a second value.
[0081] That is to say, the current system time and the trading time range are compared to determine whether the current system time is within the trading time range. If the current system time is within the trading time range of any trading broker, the value of the switch flag bit of the trading switch of any trading broker is determined to be the first value, that is, the trading switch of any trading broker is in the on state. If the current system time is not within the trading time range of any trading broker, the value of the switch flag bit of the trading switch of any trading broker is determined to be the second value, that is, the trading switch of any trading broker is in the off state.
[0082] As another example, in response to the current system time being greater than or equal to the initial trading deadline of any trading broker, a second trading broker that is not configured with a delayed trading deadline is obtained from multiple brokers according to the broker trading delay parameter table; in response to the second trading broker stopping trading, the value of the switch flag bit of the trading switch of the second trading broker is updated to a second value; in response to the second trading broker not stopping trading, the value of the switch flag bit of the trading switch of the second trading broker is updated to the second value within a first specified time period after the initial trading deadline.
[0083] That is to say, in order to improve the flexibility of transaction control, when the initial transaction deadline of each trading broker is the same, if the current system time reaches or exceeds the initial transaction deadline, the brokers that have not configured a delayed transaction deadline (called second trading brokers) are screened out from the broker transaction delay parameter table; for these second trading brokers, if trading has been stopped, the switch flag bits of the trading switches of these brokers are set to the second value indicating the suspension of trading; if these second trading brokers have not yet stopped trading, then within the first specified time period after the corresponding initial transaction deadline, the switch flag bits of the trading switches of these brokers are set to the second value indicating the suspension of trading. The above process ensures that after the transaction deadline, the trading functions of the trading brokers are gradually closed according to different conditions and time windows.
[0084] For example, the initial trading deadline of each trading broker is 16:00. Figure 4 As shown, at 16:00, the brokerage information that is not configured with delayed transfer in the brokerage transaction delay parameter table is scanned to check whether all brokerages have stopped transfers. If all have stopped trading, the trading switches of these brokerages are turned off. If not all have stopped trading, the trading switches of the brokerages that have stopped trading are turned off, and the scanning continues until the trading switches of all brokerages are forcibly turned off at 16:30.
[0085] As another example, in response to the current system time being greater than or equal to the delayed trading deadline of any trading broker, a third trading broker configured with a delayed trading deadline is obtained from the broker trading delay parameter table; in response to the third trading broker stopping trading and reaching the corresponding delayed trading deadline, the value of the switch flag bit of the trading switch of the third trading broker is updated to a second value; in response to the third trading broker not stopping trading and reaching the corresponding delayed trading deadline, the value of the switch flag bit of the trading switch of the third trading broker is updated to the second value within a second specified time period after the delayed trading deadline of any trading broker.
[0086] That is, when the current system time reaches or exceeds the delayed trading deadline of any trading broker, the system will identify the trading brokers (called third trading brokers) that have configured delayed trading deadlines from the broker trading delay parameter table. For these third trading brokers, if they have stopped trading and reached the corresponding delayed trading deadline, the switch flag bits of the trading switches of these brokers are set to the second value indicating that trading is stopped; if these third trading brokers have not stopped trading and reached the corresponding delayed trading deadline, the switch flag bits of the trading switches of these trading brokers are set to the second value indicating that trading is stopped within the second specified period after the delayed trading deadline of any trading broker. The above process ensures that after the delayed trading deadline, according to the actual situation, the trading functions of the relevant trading brokers are gradually closed within the specified time period.
[0087] For example, if the delayed trading deadline of any trading broker is 16:30, Figure 5 As shown, at 16:30, the brokerage information configured with delayed transfer in the brokerage transaction delay parameter table is scanned to check whether all brokerages have stopped transfers. If all brokerages have stopped trading and the corresponding delayed trading deadline has been reached, the trading switches of these brokerages will be turned off. If not all brokerages have stopped trading and the corresponding delayed trading deadline has been reached, the trading switches of the brokerages that have stopped trading will be turned off. The scanning continues until 17:00 when the trading switches of all brokerages are forcibly turned off.
[0088] In step S34, a broker transaction control table is generated according to the broker identification of each trading broker and the value of the switch flag.
[0089] As an example, a broker transaction control table is created based on the broker identification information of each trading broker and the value of the switch flag, wherein each record in the verification control table includes the following fields: a broker identification and a corresponding switch flag, wherein the broker identification is used to uniquely identify each broker, and the value of the switch flag (e.g., a Boolean value or a specific integer value) indicates whether the broker is currently allowed to trade.
[0090] In summary, by obtaining the broker identification information of multiple trading brokers; for any trading broker, query the trading time range of any trading broker according to the broker identification information of any trading broker; wherein the deadline of the trading time range is the initial trading deadline; according to the trading time range of any trading broker, determine the value of the switch flag of the trading switch of any trading broker; wherein the value of the switch flag is used to indicate whether the trading broker allows trading; according to the broker identification of each trading broker and the value of the switch flag, generate a broker trading control table, thereby setting personalized trading time ranges for different trading brokers, ensuring that each trading broker trades within its allowed time period, improving the flexibility and accuracy of management, automatically adjusting the trading switch state according to the current system time and the trading time range, ensuring that the trading activities are strictly carried out according to the scheduled time, avoiding erroneous operations during non-trading periods, and thus generating a broker trading control table according to the broker identification of each trading broker and the value of the switch flag, realizing centralized management of the status information of all trading brokers, facilitating real-time monitoring and adjustment, and enhancing the overall stability and controllability of the system.
[0091] In order to clearly illustrate the above embodiment, another service processing method is proposed in the embodiment of the present disclosure. Figure 6 This is a flowchart of a business processing method shown in the fourth embodiment of the present disclosure.
[0092] like Figure 6 As shown, based on any of the above embodiments, the brokerage transaction control table is generated by following steps S61 to S63:
[0093] In step S61, a transaction delay request sent by at least one of a plurality of transaction brokers is received.
[0094] The transaction delay request carries the delayed transaction deadline.
[0095] It should be noted that when a trading broker needs to delay the trading time, it can send a transaction delay request to a business processing device (such as a banking and securities system), wherein the delayed transaction request carries a delayed transaction deadline.
[0096] In step S62, at least one transaction delay request is parsed to extract a delayed transaction deadline from the at least one transaction delay request.
[0097] Furthermore, when a transaction delay request sent by a transaction broker is received, the transaction delay request is parsed to extract the delayed transaction deadline from the transaction delay request.
[0098] In step S63, a broker transaction delay parameter table is generated according to the delayed transaction deadline of at least one trading broker and the broker identification information.
[0099] Furthermore, based on the delayed trading deadline and broker identification information of at least one trading broker, a broker trading delay parameter table is created, wherein the broker trading delay parameter table includes the following fields: delayed trading deadline and broker identification information, wherein the broker identification information is used to uniquely identify the trading broker, and the delayed trading deadline is used to indicate the delayed trading deadline of the corresponding trading broker.
[0100] In summary, by receiving a transaction delay request sent by at least one transaction broker among multiple transaction brokers; parsing at least one transaction delay request to extract a delayed transaction deadline from the at least one transaction delay request; generating a broker transaction delay parameter table according to the delayed transaction deadline of at least one transaction broker and broker identification information, the broker transaction delay parameter table can be accurately generated, and the generated broker transaction delay parameter table concentrates all broker information applying for delayed transactions, including broker identification and delayed transaction deadline, which is convenient for unified management and improves management efficiency.
[0101] With the above Figures 1 to 6 Corresponding to the service processing method provided in the embodiment, the present disclosure also provides a service processing device. Figures 1 to 6 The business processing method provided in the embodiment corresponds to the business processing method, so the implementation method of the business processing method is also applicable to the business processing device provided in the embodiment of the present disclosure, and will not be described in detail in the embodiment of the present disclosure.
[0102] Figure 7 It is a structural diagram of a business processing device shown in the fifth embodiment of the present disclosure.
[0103] Reference Figure 7 The business processing device 700 includes: a first query module 710, a judgment module 720, a second query module 730 and a first processing module 740.
[0104] Among them, the first query module 710 is used to query from the broker transaction control table whether the first trading broker corresponding to the trading request allows the transaction in response to receiving the trading request; the judgment module 720 is used to judge whether the receiving time of the trading request is greater than the initial trading deadline of the first trading broker when the first trading broker allows the transaction; the second query module 730 is used to query from the broker transaction delay parameter table whether the first trading broker has a configured delayed trading deadline in response to the receiving time being greater than or equal to the initial trading deadline; wherein the delayed trading deadline is after the initial trading deadline; the first processing module 740 is used to perform business processing on the trading request in response to the first trading broker having a delayed trading deadline and the receiving time being less than or equal to the delayed trading deadline.
[0105] In a possible implementation of the embodiment of the present disclosure, a transaction request is used to conduct a transaction between a source object and a destination object, the source object is one of the investment object and the first trading broker, and the destination object is the other of the investment object and the first trading broker, and the first query module 710 is used to obtain the first identity information of the investment object and the second identity information of the first trading broker in response to receiving the transaction request; perform identity authentication on the investment object and the first trading broker based on the first identity information and the second identity information; in response to the investment object and the first trading broker both passing the identity authentication, query the value of the switch flag bit of the trading switch of the first trading broker from the broker transaction control table; and determine whether the first trading broker corresponding to the transaction request allows the transaction based on the value of the switch flag bit.
[0106] In a possible implementation of the embodiment of the present disclosure, the first query module 710 is used to determine that the first trading broker allows trading in response to the switch flag bit being a first value; wherein the first value is used to indicate that the trading switch is in an on state; and to determine that the first trading broker does not allow trading in response to the switch flag bit being a second value; wherein the second value is used to indicate that the trading switch is in a off state.
[0107] In a possible implementation manner of the embodiment of the present disclosure, the business processing device 700 further includes: a sending module and a clearing module.
[0108] Among them, the sending module is used to send the processing result obtained by performing business processing on the transaction request to the source object; the clearing module is used to respond to the delayed transaction deadline time reaching the first verification transaction broker, and the value of the switch flag bit of the first verification broker is the second value, and reconcile and clear the first verification broker.
[0109] In a possible implementation manner of the embodiment of the present disclosure, the service processing device 700 further includes: a first receiving module and a third query module.
[0110] Among them, the first receiving module is used to receive the query request sent by the source object; wherein the query request is sent by the source object when no processing result is received within a set time period after sending the transaction request, and the query request includes the transaction serial number of the transaction request; the third query module is used to respond to the query request, query the processing result of processing the transaction request according to the transaction serial number, and generate a query response according to the processing result; the sending module is used to send the query response to the source object.
[0111] In a possible implementation of the embodiment of the present disclosure, the brokerage transaction control table is generated by using the following modules: a fourth query module, a determination module, and a first generation module.
[0112] Among them, the fourth query module is used to obtain the broker identification information of multiple trading brokers; for any trading broker, according to the broker identification information of any trading broker, query the trading time range of any trading broker; wherein the deadline of the trading time range is the initial trading deadline of any trading broker; the determination module is used to determine the value of the switch flag of the trading switch of any trading broker according to the trading time range of any trading broker; wherein the value of the switch flag is used to indicate whether the trading broker allows trading; the first generation module is used to generate a broker transaction control table according to the broker identification of each trading broker and the value of the switch flag.
[0113] In a possible implementation of the embodiment of the present disclosure, a determination module is used to determine whether the current system time is within the trading time range of any trading broker; in response to the current system time being within the trading time range of any trading broker, determine that the value of the switch flag bit of the trading switch of any trading broker is a first value; in response to the current system time not being within the trading time range of any trading broker, determine that the value of the switch flag bit of the trading switch of any trading broker is a second value.
[0114] In a possible implementation manner of the embodiment of the present disclosure, the service processing device 700 further includes: an update module.
[0115] Among them, the update module is used to respond to the current system time being greater than or equal to the initial trading deadline of any trading broker, and obtain a second trading broker that is not configured with a delayed trading deadline from multiple brokers according to the broker trading delay parameter table; in response to the second trading broker stopping trading, update the value of the switch flag bit of the trading switch of the second trading broker to a second value; in response to the second trading broker not stopping trading, update the value of the switch flag bit of the trading switch of the second trading broker to the second value within a first specified time period after the initial trading deadline.
[0116] In a possible implementation of the embodiment of the present disclosure, the update module is further used to, in response to the current system time being greater than or equal to the delayed trading deadline of any trading broker, obtain a third trading broker that configures a delayed trading deadline from the broker trading delay parameter table; in response to the third trading broker stopping trading and reaching the corresponding delayed trading deadline, update the value of the switch flag bit of the trading switch of the third trading broker to a second value; in response to the third trading broker not stopping trading and reaching the corresponding delayed trading deadline, update the value of the switch flag bit of the trading switch of the third trading broker to the second value within a second specified time period after the delayed trading deadline of any trading broker.
[0117] In a possible implementation of the embodiment of the present disclosure, the brokerage transaction delay parameter table is generated using the following modules: a second receiving module, an extraction module, and a second generating module.
[0118] Among them, the second receiving module is used to receive a transaction delay request sent by at least one trading broker among multiple trading brokers; wherein the transaction delay request carries a delayed transaction deadline; the extraction module is used to parse at least one transaction delay request to extract the delayed transaction deadline from at least one transaction delay request; the second generating module is used to generate a broker transaction delay parameter table based on the delayed transaction deadline and broker identification information of at least one trading broker.
[0119] In a possible implementation manner of the embodiment of the present disclosure, the service processing device 700 further includes: a second processing module.
[0120] Among them, the second processing module is used to parse the transaction request to obtain the transaction type of the transaction request when the receiving time is greater than the initial transaction deadline of the first trading broker and the first trading broker has not configured a delayed transaction deadline; determine the priority of the transaction request according to the transaction type; write the transaction request into the pending transaction queue associated with the first trading broker according to the priority; and process the transaction requests in the pending transaction queue in sequence in response to the transaction start time reaching the transaction time range of the first trading broker.
[0121] The business processing device of the embodiment of the present disclosure queries from the broker's transaction control table whether the first trading broker corresponding to the trading request allows the transaction in response to receiving the trading request, thereby ensuring the validity of the trading request by verifying the trading authority of the trading broker; then, if the first trading broker allows the transaction, it determines whether the receiving time of the trading request is greater than the initial trading deadline of the first trading broker, thereby quickly screening out the situations requiring business processing by comparing the receiving time with the initial trading deadline; further, if the receiving time is greater than or equal to the initial trading deadline, it queries from the broker's transaction delay parameter table whether the first trading broker has a configured delayed trading deadline, and if the first trading broker has a delayed trading deadline and the receiving time is less than or equal to the delayed trading deadline, the trading request is processed, thereby dynamically managing the delayed trading deadline in the broker's transaction delay parameter table, effectively improving the broker's flexible processing capability for trading requests, ensuring that even after the initial trading time window is closed, qualified trading requests can be processed within the delayed trading time, reducing the possibility of missing trading opportunities due to time constraints, thereby increasing trading opportunities and improving customer satisfaction.
[0122] In an exemplary embodiment, the present disclosure also provides an electronic device.
[0123] Among them, electronic equipment includes:
[0124] processor;
[0125] a memory for storing processor-executable instructions;
[0126] The processor is configured to execute instructions to implement the service processing method proposed in any of the aforementioned embodiments.
[0127] As an example, Figure 8 is a schematic diagram of the structure of an electronic device 800 shown in an exemplary embodiment of the present disclosure, such as Figure 8 As shown, the electronic device 800 may further include:
[0128] The memory 810 and the processor 820, a bus 830 connecting different components (including the memory 810 and the processor 820), the memory 810 stores a computer program, and when the processor 820 executes the program, the business processing method described in the embodiment of the present disclosure is implemented.
[0129] Bus 830 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor or a local bus using any of a variety of bus architectures. For example, these architectures include but are not limited to Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MAC) bus, Enhanced ISA bus, Video Electronics Standards Association (VESA) local bus and Peripheral Component Interconnect (PCI) bus.
[0130] The electronic device 800 typically includes a variety of electronic device readable media. These media can be any available media that can be accessed by the electronic device 800, including volatile and non-volatile media, removable and non-removable media.
[0131] The memory 810 may also include computer system readable media in the form of volatile memory, such as random access memory (RAM) 840 and / or cache memory 850. The server 800 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, the storage system 860 may be used to read and write non-removable, non-volatile magnetic media ( Figure 8 not shown, usually called a "hard drive"). Although Figure 8Not shown, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, a DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to the bus 830 via one or more data medium interfaces. The memory 810 may include at least one program product having a set (e.g., at least one) of program modules that are configured to perform the functions of the various embodiments of the present disclosure.
[0132] A program / utility 880 having a set (at least one) of program modules 870 may be stored, for example, in the memory 810, such program modules 870 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment. The program modules 870 generally perform the functions and / or methods of the embodiments described in the present disclosure.
[0133] The electronic device 800 may also communicate with one or more external devices 890 (e.g., keyboard, pointing device, display 891, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 800, and / or may communicate with any device that enables the electronic device 800 to communicate with one or more other computing devices (e.g., network card, modem, etc.). Such communication may be performed via an input / output (I / O) interface 892. Furthermore, the electronic device 800 may also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN) and / or public network, such as the Internet) via a network adapter 893. As shown, the network adapter 893 communicates with other modules of the electronic device 800 via a bus 830. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 800, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0134] The processor 820 executes various functional applications and data processing by running the programs stored in the memory 810 .
[0135] It should be noted that the implementation process and technical principles of the electronic device of this embodiment refer to the aforementioned explanation of the business processing method of the embodiment of the present disclosure, and will not be repeated here.
[0136] In an exemplary embodiment, a computer-readable storage medium including instructions is also provided, such as a memory including instructions, and the above instructions can be executed by a processor of an electronic device to complete the service processing method proposed in any of the above embodiments. Optionally, the computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0137] In an exemplary embodiment, a computer program product is also provided, including a computer program / instruction, characterized in that when the computer program / instruction is executed by a processor, the business processing method proposed in any of the above embodiments is implemented.
[0138] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0139] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A business processing method, characterized in that: include: In response to receiving the transaction request, querying from the broker transaction control table whether the first transaction broker corresponding to the transaction request allows the transaction; If the first trading broker allows the transaction, determining whether the receiving time of the transaction request is greater than the initial transaction deadline of the first trading broker; In response to the receiving time being greater than or equal to the initial transaction deadline, querying from the broker transaction delay parameter table whether the first transaction broker has a configured delayed transaction deadline; wherein the delayed transaction deadline is after the initial transaction deadline; In response to the first trading broker having the delayed trading deadline and the receiving time being less than or equal to the delayed trading deadline, performing business processing on the trading request.
2. The method according to claim 1, characterized in that The transaction request is used to conduct a transaction between a source object and a destination object, the source object is one of the investment object and the first transaction broker, and the destination object is the other of the investment object and the first transaction broker. In response to receiving the transaction request, querying from the broker transaction control table whether the first transaction broker corresponding to the transaction request allows the transaction, including: In response to receiving the transaction request, obtaining the first identity information of the investment object and the second identity information of the first transaction broker; Performing identity authentication on the investment object and the first trading broker according to the first identity information and the second identity information; In response to both the investment object and the first trading broker passing identity authentication, querying the value of the switch flag bit of the trading switch of the first trading broker from the broker trading control table; According to the value of the switch flag bit, it is determined whether the first trading broker corresponding to the trading request allows the transaction.
3. The method according to claim 2, characterized in that The determining, according to the value of the switch flag bit, whether the first trading broker corresponding to the trading request allows the transaction includes: In response to the switch flag being a first value, determining that the first trading broker allows trading; wherein the first value is used to indicate that the trading switch is in an on state; In response to the switch flag being a second value, it is determined that the first trading broker does not allow trading; wherein the second value is used to indicate that the trading switch is in a closed state.
4. The method according to claim 2, characterized in that: The method further comprises: Sending a processing result obtained by performing business processing on the transaction request to the source object; In response to reaching the delayed transaction deadline of the first verification trading broker, and the value of the switch flag bit of the first verification trading broker being the second value, reconciliation and settlement are performed on the first verification trading broker.
5. The method according to claim 4, characterized in that The method further comprises: Receiving a query request sent by the source object; wherein the query request is sent when the source object does not receive the processing result within a set period of time after sending the transaction request, and the query request includes the transaction serial number of the transaction request; In response to the query request, query the processing result of the transaction request according to the transaction serial number, and generate a query response according to the processing result; The query response is sent to the source object.
6. The method according to claim 2, characterized in that The brokerage transaction control table is generated by the following steps: Obtain broker identification information of multiple trading brokers; For any trading broker, query the trading time range of any trading broker according to the broker identification information of the any trading broker; wherein the end time of the trading time range is the initial trading end time of the any trading broker; Determining the value of the switch flag bit of the trading switch of any trading broker according to the trading time range of any trading broker; wherein the value of the switch flag bit is used to indicate whether the trading broker allows trading; The broker transaction control table is generated according to the broker identification and the switch flag value of each of the transaction brokers.
7. The method according to claim 6, characterized in that Determining the value of the switch flag bit of the trading switch of any trading broker according to the trading time range of any trading broker includes: Determine whether the current system time is within the trading time range of any of the trading brokers; In response to the current system time being within the trading time range of any trading broker, determining that the value of a switch flag bit of a trading switch of any trading broker is a first value; In response to the current system time not being within the trading time range of any of the trading brokers, determining that the value of a switch flag bit of a trading switch of any of the trading brokers is a second value.
8. The method according to claim 7, characterized in that The method further comprises: In response to the current system time being greater than or equal to the initial transaction deadline of any of the trading brokers, obtaining a second trading broker that is not configured with a delayed transaction deadline from the multiple brokers according to the broker transaction delay parameter table; In response to the second trading broker stopping trading, updating the value of the switch flag bit of the trading switch of the second trading broker to the second value; In response to the second trading broker not stopping trading, the value of the switch flag bit of the trading switch of the second trading broker is updated to the second value within a first specified time period after the initial trading deadline of any of the trading brokers.
9. The method according to claim 7, further comprising: In response to the current system time being greater than or equal to the delayed transaction deadline of any of the trading brokers, obtaining a third trading broker that configures a delayed transaction deadline from the broker transaction delay parameter table; In response to the third trading broker stopping trading and reaching the corresponding delayed trading deadline, updating the value of the switch flag bit of the trading switch of the third trading broker to the second value; In response to the third trading broker not stopping trading and reaching the corresponding delayed trading deadline, the value of the switch flag bit of the trading switch of the third trading broker is updated to the second value within a second specified time period after the delayed trading deadline of any trading broker.
10. The method according to claim 1, characterized in that The brokerage transaction delay parameter table is generated by the following steps: Receiving a transaction delay request sent by at least one of the multiple transaction brokers; wherein the transaction delay request carries a delayed transaction deadline; parsing the at least one transaction delay request to extract a delayed transaction deadline from the at least one transaction delay request; The broker transaction delay parameter table is generated according to the delayed transaction deadline of the at least one transaction broker and the broker identification information.
11. The method according to claim 1, characterized in that: The method further comprises: If the receiving time is greater than the initial transaction deadline of the first transaction broker and the first transaction broker has not configured a delayed transaction deadline, parsing the transaction request to obtain a transaction type of the transaction request; Determining the priority of the transaction request according to the transaction type; writing the transaction request into a pending transaction queue associated with the first transaction broker according to the priority; In response to reaching the transaction start time of the transaction time range of the first transaction broker, the transaction requests in the pending transaction queue are processed in sequence.
12. A service processing device, characterized in that: include: A query module, configured to query, in response to receiving a transaction request, whether the first transaction broker corresponding to the transaction request allows the transaction from the broker transaction control table; a judgment module, configured to judge whether the receiving time of the transaction request is greater than the initial transaction deadline of the first transaction broker, if the first transaction broker allows the transaction; A query module, configured to query whether the first trading broker has a configured delayed trading deadline from the broker trading delay parameter table in response to the receiving time being greater than or equal to the initial trading deadline; wherein the delayed trading deadline is after the initial trading deadline; The processing module is used to perform business processing on the transaction request in response to the first transaction broker having the delayed transaction deadline and the receiving time being less than or equal to the delayed transaction deadline.
13. An electronic device, characterized in that: include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the service processing method according to any one of claims 1 to 11.
14. A computer-readable storage medium, when instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the service processing method according to any one of claims 1 to 11.
15. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the service processing method according to any one of claims 1 to 11 is implemented.
