Notification Message Processing Method, Device, Computer Equipment, and Storage Medium
By obtaining resource transfer notification records and flow records in the resource transfer platform, identifying abnormal flow items and generating notification messages, the problem that the seller's equipment cannot obtain notifications in a timely manner is solved, and efficient notification message processing and timely order replenishment is achieved.
Patent Information
- Application Number
- CN202010964404.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-09-14
- Publication Date
- 2025-07-22
- Estimated Expiration
- 2040-09-14
AI Technical Summary
In the transaction scenario of resource transfer platform, the seller's equipment cannot obtain notification messages in time due to network jitter and other reasons, resulting in frequent order drops. The existing traversal verification method is inefficient and poses a processing burden on the resource transfer platform.
By obtaining resource transfer notification records and resource flow records, abnormal flow items are identified, and target resource transfer information is obtained from the notification server based on the abnormal flow items, a transfer notification message is generated and a notification prompt is issued.
It reduces the amount of query data on the notification server, improves the efficiency of notification message processing, and supports timely order replenishment operations in high concurrent transaction scenarios.
Smart Images

Figure CN114187105B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technologies, and in particular, to a method, an apparatus, a computer device, and a storage medium for processing notification messages. Background Art
[0002] In a transaction scenario based on a resource transfer platform, the resource transfer platform will obtain the resource transfer result uploaded by the buyer through a computer device, and generate a notification message to be sent to the computer device used by the seller, so that the seller can perform corresponding operations according to the notification message. In practice, after the buyer transfers resources through a computer device, due to factors such as network jitter, the computer device used by the seller may not be able to obtain the notification message sent by the resource transfer platform, resulting in an order-drop situation. Herein, the resources may be digital currencies, electronic banknotes, etc., and the resource transfer platform may be a payment platform, a social platform, etc.
[0003] Currently, in response to the above situation, the seller can traverse and query the resource transfer results for each transaction in the resource transfer platform through a computer device to verify the notification message sent by the resource transfer platform and timely discover the order-drop situation. However, the traversal-based verification method will bring a great processing burden to the resource transfer platform, and the processing efficiency of the manual notification method is relatively low. Summary of the Invention
[0004] Embodiments of the present invention provide a method, an apparatus, a computer device, and a storage medium for processing notification messages, which can perform verification processing on resource transfer notification records based on resource flow records.
[0005] On the one hand, embodiments of the present invention provide a method for processing notification messages, the method including:
[0006] Obtaining a resource transfer notification record and a resource flow record for a target account;
[0007] If the resource transfer notification record does not match the resource flow record, determining abnormal information based on the resource transfer notification record and the resource flow record, where the abnormal information includes: an abnormal flow item in the flow items included in the resource flow record that does not match the resource transfer notification record;
[0008] Obtaining target resource transfer information based on the information recorded in the abnormal flow item, where the target resource transfer information includes the resource transfer information for the abnormal flow item;
[0009] Generating a transfer notification message based on the target resource transfer information, and sending a notification prompt according to the transfer notification message.
[0010] On the one hand, embodiments of the present invention provide a notification message processing apparatus, the apparatus including:
[0011] An acquisition module, configured to acquire a resource transfer notification record and a resource transaction record for a target account;
[0012] A determination module, configured to, if the resource transfer notification record does not match the resource transaction record, determine exception information based on the resource transfer notification record and the resource transaction record, where the exception information includes: an abnormal transaction item in the transaction items included in the resource transaction record that does not match the resource transfer notification record;
[0013] The acquisition module is further configured to acquire target resource transfer information based on the information recorded in the abnormal transaction item, where the target resource transfer information includes the resource transfer information for the abnormal transaction item;
[0014] A generation module, configured to generate a transfer notification message based on the target resource transfer information;
[0015] A notification module, configured to send a notification prompt according to the transfer notification message.
[0016] On the one hand, an embodiment of the present invention provides a computer device, including a processor, an input interface, an output interface, and a memory, where the processor, the input interface, the output interface, and the memory are interconnected. Among them, the memory is used to store a computer program, the computer program includes program instructions, and the processor is configured to call the program instructions to execute the notification message processing method.
[0017] On the one hand, an embodiment of the present invention provides a computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program, the computer program includes program instructions, and when the program instructions are executed by a processor, the processor is caused to execute the notification message processing method.
[0018] In an embodiment of the present invention, a computer device acquires a resource transfer notification record and a resource transaction record for a target account. If the resource transfer notification record does not match the resource transaction record, an abnormal transaction item is determined based on the resource transfer notification record and the resource transaction record; target resource transfer information is acquired based on the information recorded in the abnormal transaction item, a transfer notification message is generated based on the target resource transfer information, and a notification prompt is sent according to the transfer notification message. By implementing the above method, the resource transfer notification record can be pre-verified based on the resource transaction record. After obtaining the abnormal transaction item, the resource transfer information corresponding to the abnormal transaction item is queried from the notification server corresponding to the resource transfer platform based on the abnormal transaction item, reducing the amount of data that needs to be queried from the notification server corresponding to the resource transfer platform and improving the processing efficiency for notification messages. Description of the Drawings
[0019] To more clearly illustrate the technical solutions of the embodiments of the present invention, the following will briefly introduce the accompanying drawings required for the description of the embodiments. Obviously, the accompanying drawings in the following description are some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other accompanying drawings can also be obtained based on these drawings.
[0020] Figure 1 It is a schematic diagram of a notification message processing system provided by an embodiment of the present invention;
[0021] Figure 2 It is a schematic flowchart of a notification message processing method provided by an embodiment of the present invention;
[0022] Figure 3 It is a schematic diagram of a notification record provided by an embodiment of the present invention;
[0023] Figure 4 It is a schematic diagram of a transaction record provided by an embodiment of the present invention;
[0024] Figure 5 It is a schematic flowchart of a notification message processing method provided by an embodiment of the present invention;
[0025] Figure 6 It is a schematic flowchart of a notification message processing method in a transaction scenario provided by an embodiment of the present invention;
[0026] Figure 7 It is a schematic diagram of the structure of a notification message processing device provided by an embodiment of the present invention;
[0027] Figure 8 It is a schematic diagram of the structure of a computer device provided by an embodiment of the invention. Detailed implementation manners
[0028] The computer technology field involved in this solution specifically includes the cloud technology field. Among them, cloud technology (Cloud technology) refers to a hosting technology that unifies a series of resources such as hardware, software, and networks within a wide area network or a local area network to achieve data calculation, storage, processing, and sharing. The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention.
[0029] With the development of Internet technology, online resource transfer has become an increasingly popular way of resource transfer. That is, the buyer can conduct online transactions through a resource transfer platform. In the transaction scenario based on the resource transfer platform, the resource transfer platform will obtain the resource transfer result uploaded by the buyer through a computer device and generate a notification message to be sent to the computer device used by the seller, so that the seller can perform corresponding operations according to the notification message, such as shipping operations, refund operations, etc. In practice, after the buyer executes the resource transfer through a computer device, due to factors such as network jitter, the computer device used by the seller may not be able to obtain the notification message sent by the resource transfer platform, and the seller will not perform the operation corresponding to the notification message, resulting in an order drop situation. Among them, the resource transfer platform can be a payment platform. The online transaction method based on the payment platform mainly includes the following steps: the buyer side initiates a pre-order for the transaction, the seller side records the details of the pre-order, the seller side calls the payment interface to initiate a payment, the buyer side enters a password in the payment interface to complete the payment for the transaction, and the payment platform sends a payment notification message corresponding to the buyer side's payment to the seller side. The buyer side can specifically be the computer device used by the buyer in the transaction, and the seller side can be the computer device used by the seller in the transaction. The computer device can include but is not limited to computers, tablet computers, mobile phones, etc.
[0030] The related technologies of the embodiments of the present invention mention that for the above-mentioned order drop situation, the order drop information can be queried in the following ways, specifically including: (1) Traverse the pre-order records to query payment information. Specifically, by traversing all the pre-order records of the seller side and calling the payment platform for each pre-order record to query the corresponding payment details, and analyzing the payment details to obtain the analysis result of whether the payment is successful, and determining the lost record of the payment notification message based on the analysis result to query the order drop information. (2) Reconcile based on the transaction orders provided by the payment platform to determine the lost record of the notification message. Specifically, the payment platform can regularly output the payment records of each buyer side for transactions within a period of time to the seller side. The specific time interval of regularity can be one day, one hour, etc. For example, the seller side can obtain the payment records of the T-th day sent by the payment platform on the (T + 1)-th day. The seller side compares the payment records sent by the payment platform with the payment notification messages recorded by itself to determine the lost record of the payment notification message to query the order drop information.
[0031] The present application proposes a notification message processing solution. When order loss detection is required, the resource transfer notification records are verified based on the resource flow records, and based on the abnormal flow items identified, the order loss situation in the resource transfer notification records is queried from the background server of the resource transfer platform, and corresponding notification messages are generated based on the order loss situation to achieve timely order replenishment. The above solution can be applied to online payment scenarios. The resource flow records can specifically be the fund flow records provided by the background server of a financial institution, and the resource transfer notification records can specifically be the payment notification records provided by a payment platform. Compared with the current method of traversing and querying each pre-order in the payment platform, the present solution has the following advantages: (1) Quickly discover missing notification message records. Since the fund flow of the seller's account is written in real time, it is possible to verify the incoming fund flow in the seller's account against the payment notification records actually received by the seller in real time, and quickly discover the incoming fund flow items from multiple sources in the fund flow records, that is, the missing payment notification messages in the payment notification records. (2) Support order replenishment for missing payment notification messages in high-concurrency transaction scenarios. Since the loss of payment notification messages is a low-probability event, by directly verifying the incoming fund flow of the seller's account against the payment success notification records received by the seller side, the bilateral differences can be quickly discovered, and the difference amount is small. The payment details can be accurately retrieved from the payment platform for these difference data and then the order replenishment operation can be performed, reducing the call volume of the payment details query interface, reducing the data processing volume of the payment platform, and also improving the query efficiency. (3) Accurately generate payment notification messages. After discovering difference data through reconciliation of the flows, the payment details are retrieved based on the payment order number in the flow, and payment notification messages are generated and displayed based on the returned payment details, achieving accurate automatic generation of notification messages.
[0032] Based on the above description, an embodiment of the present invention provides a notification message processing system. Please refer to Figure 1, the notification message processing system includes: a buyer side, a notification server connected to the buyer side, a seller side connected to the notification server, and an asset management server connected to the seller side. Among them, the buyer side can specifically be the computer device used by the buyer in the transaction, and the seller side can specifically be the computer device used by the seller in the transaction, which is used to interact with the buyer or the seller and upload or download corresponding notification messages from the notification server. The notification server can specifically be the background server of the payment platform, which is used to manage the transactions between the buyer and the seller. The resource management server can be the background server of a financial institution, which is used to interact with the seller side and provide the seller with the resource transaction record. Specifically, the computer device can be a terminal or a server. The server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers. It can also be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. The terminal can be a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, etc., but is not limited thereto. The terminal and the server can be directly or indirectly connected through wired or wireless communication methods, and this application does not make any restrictions here.
[0033] Figure 1 The working principle of the system shown roughly includes: ① The seller side obtains the resource transfer notification record stored at its end and the resource transaction record obtained from the asset management server. The resource transfer notification record is specifically generated based on the resource transfer operation of the buyer side and is sent by the notification server to the seller side. ② If the resource transfer notification record does not match the resource transaction record, the seller side determines the exception information based on the resource transfer notification record and the resource transaction record. The exception information includes: the abnormal transaction item in the transaction items included in the resource transaction record that does not match the resource transfer notification record. ③ The seller side sends a resource transfer record acquisition instruction to the notification server, and the resource transfer record acquisition instruction carries the identification information of the abnormal transaction item. ④ The notification server returns the resource transfer information of the abnormal transaction item to the seller side. ⑤ The seller side generates a transfer notification message based on the target resource transfer information and issues a notification prompt according to the transfer notification message. This enables the seller to perform a replenishment order operation in a timely manner based on the notification prompt.
[0034] In the above method, first, the resource transfer notification record is pre-checked based on the resource transaction record to query the abnormal transaction items, and then the corresponding resource transfer information is obtained from the notification server based on the abnormal transaction items. Compared with traversing and querying the resource transfer information from the notification server, it reduces the query volume of the resource transfer information, reduces the processing burden of the notification server, and can also improve the verification efficiency of the resource transfer notification record.
[0035] Based on the above description, an embodiment of the present invention provides a method for processing notification messages. This method can be executed by a computer device. In one embodiment, the computer device can be an intelligent terminal, such as a smart phone, a tablet computer, a smart wearable device, etc., which can perform processing such as payment and display, and can be accessed to a computer network through a computer network or a mobile communication network. The computer device can also be a server, for example, a server for performing dropped order detection, which can perform dropped order detection and processing in cases where the payer of both parties to a transaction has paid for the goods but the payee has not received the payment notice. Of course, in some other embodiments, the method can also be executed cooperatively by a server and a computer device. Specifically, please refer to Figure 2 , the method of the embodiment of the present invention may include the following steps S201-S204:
[0036] S201. The computer device obtains a resource transfer notification record and a resource transaction record for a target account.
[0037] In an embodiment of the present invention, the computer device can obtain a resource transfer notification record and a resource transaction record for a target account in response to a dropped order detection event. The dropped order detection event can be triggered regularly, such as every 1 minute, half an hour, or 1 hour, etc. Alternatively, the dropped order detection event can be triggered when a preset event is detected. Among them, the preset event can be an update of the resource transfer notification record, an update of the resource transaction record, detection of a preset operation input by the user, etc. The seller can view the notification message in the computer device and perform corresponding operations based on the viewing result. The target account can specifically be the account used by the seller, serving as an identifier of the seller. In a specific implementation scenario, the resource can specifically be digital currency. When a transaction occurs, a transfer of digital currency will occur, and the notification server will record the transfer process of the digital currency. Among them, the resource transfer process is the payment process. The resource transfer notification record can be a set of resource transfer notification messages recorded by an application program in the computer device for the transaction items provided by the seller. Specifically, the resource transfer notification record can include the amount, time, location, etc. The resource transaction record can specifically be the transaction item corresponding to each resource transfer recorded by a financial institution, as well as the information of the transaction item, such as the trigger time, location, method, etc.
[0038] In one implementation, the specific way for the computer device to obtain the resource transfer notification record and the resource transaction record for the target account can be that the computer device obtains the resource transfer notification record for the target account from the recorded historical resource transfer notification messages according to the detection period, and obtains the transaction record for the target account from the resource management server according to the detection period, and filters out at least one transaction item of the target type from the transaction record as the resource transaction record for the target account. Among them, the detection period is set according to the resource exchange rule associated with the target account, and the transaction record includes the transaction items corresponding to each resource transfer. The historical resource transfer notification messages can be the notification messages displayed in the target application in the computer device. The target application can be the application corresponding to the resource transfer platform. The buyer and the seller can complete the transaction based on the target application. The notification server corresponding to the target application can record each transaction and generate a notification message based on the resource transfer result of the buyer for the transaction, and send it to the computer device, so that the target application in the computer device records and displays the notification message. The seller can obtain the corresponding resource transfer result by checking the notification message. In a specific implementation, the computer device can obtain multiple historical resource transfer notification messages within a preset time range as the resource transfer notification record for the target account. The resource transaction record can specifically record the details of the inflow of each resource, such as the inflow time, the inflow location, the name of the inflow party, etc. The target type can be the income type, or the inflow type for the commodity price provided by the seller in the transaction, etc. The computer device can filter each transaction item based on the filtering rule corresponding to the target type to obtain the required transaction items as the resource transaction record.
[0039] It should be noted that the detection period is set according to the resource exchange rule associated with the target account. The resource exchange rule specifically indicates the time limit corresponding to the resource exchange. Different accounts can be associated with different resource exchange rules. In a specific implementation, the detection period interval can be set to be less than the time limit. For example, the resource exchange rule can specifically be that the seller obtains the resource transfer notification message within one day and then performs the corresponding delivery operation. Then, setting the detection period to be less than one day can ensure that the transaction will not fail due to the untimely verification of the resource transfer notification message.
[0040] In one implementation, when the resource management server detects a change in the resource transaction corresponding to the target account, it will immediately send the changed content to the computer device, and the computer device stores the transaction change content. Then, the specific way for the computer device to obtain the resource transfer notification record and the resource transaction record for the target account can be that the computer device obtains the resource transfer notification record and the resource transaction record for the target account from its local storage space.
[0041] S202. If the resource transfer notification record does not match the resource transaction record, the computer device determines the exception information based on the resource transfer notification record and the resource transaction record.
[0042] In an embodiment of the present invention, the exception information includes: the exception transaction items in the transaction items included in the resource transaction record that do not match the resource transfer notification record. After the computer device obtains the resource transfer notification record and the resource transaction record for the target account, it will detect whether the resource transfer notification record matches the resource transaction record. If not, the computer device determines the exception information based on the resource transfer notification record and the resource transaction record.
[0043] In one implementation, the resource transfer notification record includes: at least one historical resource transfer notification message and the first amount corresponding to each historical resource transfer notification message, and the resource transaction record includes at least one transaction item and the second amount corresponding to each transaction item. The specific manner for the computer device to detect whether the resource transfer notification record matches the resource transaction record may be that the computer device verifies whether the i-th first amount in at least one historical resource transfer notification message matches the i-th second amount in at least one transaction item, where i is a positive integer; if not, it is determined that the resource transfer notification record does not match the resource transaction record.
[0044] Further, the specific manner for the computer device to determine the exception information based on the resource transfer notification record and the resource transaction record may be that the computer device verifies whether the k-th first amount in at least one historical resource transfer notification message matches the k-th second amount in at least one transaction item. If they match, it verifies whether the (k + 1)-th first amount in at least one historical resource transfer notification message matches the (k + 1)-th second amount in at least one transaction item; if not, it determines the transaction item corresponding to the (k + 1)-th second amount as an exception transaction item, adds the exception transaction item to the exception information, and after finding one exception transaction item, verifies whether the (k + 1)-th first amount in at least one historical payment notification message matches the (k + 2)-th second amount in at least one transaction item. Through the above verification method, the verification is cycled until the resource transfer notification record and the resource transaction record are traversed and verified, and all the exception transaction items found are added to the exception information.
[0045] For example, as Figure 3 shown in the resource transfer notification record, it includes notification message 1 (the first amount is 13 yuan), notification message 2 (the first amount is 8 yuan), and notification message 3 (the first amount is 15 yuan), and as Figure 4In the recorded resource flow shown, it includes flow item 1 (the second amount is 13 yuan), flow item 2 (the second amount is 8 yuan), flow item 3 (the second amount is 25 yuan), and flow item 4 (the second amount is 15 yuan). If the computer device verifies and discovers that notification message 3 does not match flow item 3, then flow item 3 is added as an abnormal flow item to the abnormal message, and it continues to verify whether notification message 3 matches flow item 4.
[0046] In one implementation, the computer device triggers the execution of the steps of obtaining the resource transfer notification record and the resource flow record for the target account when it obtains the order-drop detection event. After the computer device determines each abnormal flow item in the resource flow record, it can store the abnormal flow items in the database, and when the statistical period arrives, it obtains the set of abnormal flow items within the preset time range from the database. The computer device obtains the time intervals of each abnormal flow item in the set of abnormal flow items, and determines the detection period for the order-drop detection event based on each time interval. Among them, the statistical period can be set in advance, such as one day, ten days, etc. The set of abnormal flow items includes multiple abnormal flow items stored in the database. The specific method for the computer device to determine the detection period for the order-drop detection event based on the time intervals of each abnormal flow item can be that the computer device obtains the shortest time interval among each time interval, and determines the period corresponding to the shortest time interval based on the corresponding relationship between the interval and the period, as the detection period for the order-drop detection event. Or, the computer device can also calculate the average time interval corresponding to each time interval, and determine the period corresponding to the average time interval based on the corresponding relationship between the interval and the period, as the detection period for the order-drop detection event. This detection period is used to trigger the order-drop detection event, that is, when the detection period arrives, it triggers the generation of the order-drop detection event, so that the computer device, in response to the order-drop detection event, obtains the resource transfer notification record and the resource flow record for the target account. It should be noted that the corresponding relationship between the interval and the period can specifically be a proportional relationship, that is, the shorter the time interval, the shorter the detection period.
[0047] For example, the abnormal flow items include abnormal flow item 1 (time: 8:00), abnormal flow item 2 (time 9:00), and abnormal flow item 3 (12:00). Then the computer device determines that the time interval 1 between abnormal flow item 1 and 2 is 1 hour, and the time interval 2 between abnormal flow item 2 and 3 is 3 hours. When the corresponding relationship between the interval and the period is that the period is half of the interval, the computer device determines that the shortest interval is 1 hour, and determines the detection period to be half an hour based on the corresponding relationship.
[0048] S203. The computer device obtains the target resource transfer information based on the information recorded in the abnormal flow item.
[0049] In an embodiment of the present invention, after a computer device determines an abnormal transaction item based on a resource transfer notice record and a resource transaction record, it can obtain target resource transfer information from a notification server based on the information recorded in the abnormal transaction item. The target resource transfer information includes the resource transfer information for the abnormal transaction item. The notification server is specifically the background server of the resource transfer platform, which records the resource transfer information for each transaction between different buyers and sellers in the resource transfer platform, such as whether the buyer successfully performs a resource transfer, the time and location of the resource transfer, etc.
[0050] The specific manner in which the computer device obtains the target resource transfer information based on the information recorded in the abnormal transaction item may be that the computer device sends a resource transfer information acquisition instruction to the notification server and receives the reference resource transfer information returned by the notification server based on the identification information of the abnormal transaction item. If it is determined that the resource transfer is successful based on the reference resource transfer information, the reference resource transfer information is determined as the target resource transfer information. Among them, the resource transfer information acquisition instruction carries the identification information of the abnormal transaction item, and the identification information of the abnormal transaction item may specifically be the order number, amount, trigger time, trigger location, etc. of the abnormal transaction item.
[0051] For example, the resource transfer process is specifically the payment process of the buyer in the transaction, and the order number of the abnormal transaction item is 2020. Then the computer device can send a resource transfer information acquisition instruction to the notification server based on the above order number. If the reference resource transfer information for the order number 2020 returned by the notification server indicates that the payment is successful, the computer device determines the reference resource transfer information as the target resource transfer information.
[0052] S204. The computer device generates a transfer notice message based on the target resource transfer information and issues a notification prompt according to the transfer notice message.
[0053] In an embodiment of the present invention, after the computer device obtains the target resource transfer information, it can generate a transfer notice message based on the target resource transfer information and issue a notification prompt according to the transfer notice message. Among them, the resource transfer notice message is used to prompt the seller that the resource transfer is successful, so that the seller performs corresponding delivery operations based on the message of the successful resource transfer.
[0054] In one implementation, the specific way for the computer device to issue a notification prompt according to the transfer notification message can be that the computer device adds corresponding marking information to the transfer notification message and displays the transfer notification message after adding the marking information. The marking information includes at least one of the characteristic information of the abnormal item in the abnormal information, the target abnormal mark, and the analysis result for the abnormal information. The characteristic information includes at least one of time information, location information, and account information. The computer device can screen out the target abnormal mark from at least one abnormal mark according to the characteristic information of the transfer notification message. For example, if the characteristic information is time, the computer device can screen out the target abnormal mark according to the correspondence between the time and the abnormal mark. The specific determination method for the analysis result for the abnormal information can be that the computer device determines the target analysis rule for the target account and analyzes the external factors corresponding to the abnormal information based on the target analysis rule to obtain the analysis result for the abnormal information, and adds the analysis result to the marking information. The external factors include at least one of network factors, device factors, and operation factors. For example, the target analysis rule for the target account is to obtain the trigger time of the abnormal item in the abnormal information and find the corresponding network factors, device factors, and operation factors at that trigger time, and determine whether the above network factors, device factors, and operation factors are abnormal to obtain the analysis result for the abnormal information. The analysis result specifically indicates which factor causes the abnormal information.
[0055] It should be noted that after the computer device generates a transfer notification message based on the target resource transfer information, it can also check whether there is a historical resource transfer notification message in the currently locally stored resource transfer notification record that matches the transfer notification message; if not, add the transfer notification message to the resource transfer notification record and obtain the time information corresponding to the transfer notification message; if the time information meets the preset time rule, perform the resource exchange operation corresponding to the resource transfer notification record, where the resource exchange operation can be a shipping operation, and the time rule specifically indicates the time requirement. When the time difference between the time in the time information and the current time is less than the preset time difference, it is determined that the time information meets the time rule. Or, if the time information does not meet the preset time rule, obtain the order identifier corresponding to the target resource transfer information; generate a refund identifier according to the order identifier; send a refund instruction carrying the refund identifier to the resource management server, and the refund instruction is used to instruct the resource management server to perform a refund process based on the refund identifier, that is, when the payment notification is generated within the time limit, perform a shipping process for the buyer, and when the payment notification is generated outside the time limit, perform a refund process for the buyer. By checking again whether there is a historical resource transfer notification message in the currently locally stored resource transfer notification record that matches the transfer notification message, duplicate prompts for the same notification message can be avoided.
[0056] In an embodiment of the present invention, a computer device obtains a resource transfer notification record and a resource transaction record for a target account. If the resource transfer notification record does not match the resource transaction record, the computer device determines an abnormal transaction item based on the resource transfer notification record and the resource transaction record; the computer device obtains target resource transfer information based on the information recorded in the abnormal transaction item, generates a transfer notification message based on the target resource transfer information, and issues a notification prompt according to the transfer notification message. By implementing the above method, the resource transfer notification record can be pre-verified based on the resource transaction record. After obtaining the abnormal transaction item, the corresponding resource transfer information of the abnormal transaction item can be queried from the notification server corresponding to the resource transfer platform based on the abnormal transaction item, reducing the amount of data that needs to be queried from the notification server corresponding to the resource transfer platform and improving the processing efficiency of the notification message.
[0057] Based on the above description, an embodiment of the present invention provides a method for processing a notification message. The method in the embodiment of the present invention can be executed by a computer device, which can be an intelligent terminal or a server. In some embodiments, the method can also be executed in cooperation by a server and a computer device. Please refer to Figure 5 and the notification message processing process may include the following steps S501 - S508:
[0058] S501. The computer device obtains a resource transfer notification record and a resource transaction record for a target account.
[0059] In an embodiment of the present invention, when the resource management server detects a change in the resource transaction corresponding to the target account, it will send the changed content to the computer device in real time. The computer device stores the transaction change content. The specific manner for the computer device to obtain the resource transfer notification record and the resource transaction record for the target account can be that the computer device obtains the resource transfer notification record and the resource transaction record for the target account from its local storage space. In a financial transaction scenario, the resource transfer notification record specifically records the payment situation of the buyer for the ordered product in the transaction. Specifically, after the buyer successfully pays for the ordered product, the background notification server of the payment platform generates a resource transfer notification message. After receiving the resource transfer notification message sent by the notification server, the computer device records it as the resource transfer notification record. The resource transaction record specifically records the change in the seller's fund transaction in the transaction and consists of multiple transaction items, and each transaction item can correspond to a fund inflow transaction.
[0060] S502. If the resource transfer notification record does not match the resource transaction record, the computer device determines abnormal information based on the resource transfer notification record and the resource transaction record.
[0061] In the embodiments of the present invention, the abnormal information includes: abnormal water flow items in the water flow items included in the resource water flow record that do not match the resource transfer notice record. After the computer device obtains the resource transfer notice record and the resource water flow record for the target account, it will detect whether the resource transfer notice record matches the resource water flow record. If they do not match, the computer device determines the abnormal information based on the resource transfer notice record and the resource water flow record.
[0062] S503. The computer device stores the feature information of the abnormal water flow items in the abnormal information into the blockchain network.
[0063] In the embodiments of the present invention, after the computer device determines the abnormal information, it can store the feature information of the abnormal water flow items in the abnormal information into the blockchain network, where the feature information includes at least one of time information, identification information of the abnormal water flow items, and account information. By uploading the feature information to the blockchain network, it is convenient to verify and analyze the abnormal water flow items later, determine the cause of the abnormal water flow items, count the time periods of high-frequency abnormal water flow items, and also formulate strategies to avoid triggering abnormal water flow items as much as possible.
[0064] In a specific implementation, the computer device broadcasts the feature information of the abnormal water flow items in the abnormal information in the blockchain network so that each node in the blockchain network performs a consensus check on the feature information. The computer device receives the consensus check results returned by each node in the blockchain network; if the consensus check results indicate that the check passes, the feature information of the abnormal water flow items is packaged into block data and the block data is stored in the blockchain network.
[0065] Optionally, the computer device can obtain at least one historical feature information from the blockchain network, determine the acquisition rules for the resource transfer notice record and the resource water flow record for the target account based on the at least one historical feature information, and when detecting a single-drop detection event next time, obtain the resource transfer notice record and the resource water flow record for the target account based on the acquisition rules. The acquisition rules specifically indicate the acquisition frequencies for the resource transfer notice record and the resource water flow record.
[0066] The specific manner in which the computer device determines the resource transfer notification record and the resource transaction record may be that the computer device obtains at least one historical feature information from the blockchain network. The historical feature information includes at least one of the historical time information, historical location information, and historical account information of the abnormal transaction items in the historical abnormal information. The computer device performs statistical processing on the at least one historical feature information to obtain statistical feature information for abnormal resource transfer. Based on the statistical feature information, the acquisition rule for the target resource transfer information is determined. That is, the computer device determines the high-frequency time period, high-frequency location, and high-frequency account that trigger the abnormal transaction items based on the statistical feature information, and when it detects that the current situation meets the high-frequency time period, high-frequency location, or high-frequency account, it increases the acquisition frequency of the resource transfer notification record and the resource transaction record of the target account.
[0067] S504. The computer device obtains the target resource transfer information based on the identification information of the abnormal transaction item.
[0068] In the embodiment of the present invention, after the computer device determines the abnormal transaction item based on the resource transfer notification record and the resource transaction record, it may obtain the target resource transfer information from the notification server based on the identification information of the abnormal transaction item. The target resource transfer information includes the resource transfer information for the abnormal transaction item. The notification server is specifically the background server of the resource transfer platform, which records the resource transfer information of each transaction between different buyers and sellers in the resource transfer platform, such as whether the buyer has successfully carried out the resource transfer, the time and location of the resource transfer, etc. In the transaction scenario, the computer device may obtain the payment details of the buyer for the transaction corresponding to the abnormal transaction item from the notification server based on the identification information of the abnormal transaction item. If the payment details indicate successful payment, the computer device may query again whether there is a resource transfer notification message corresponding to the successful payment based on the resource transfer notification record. If not, it determines that the resource transfer notification message corresponding to the successful payment is lost, and executes the step of generating a transfer notification message based on the target resource transfer information in step S505, avoiding the repeated display of the same resource transfer notification message due to network latency.
[0069] S505. The computer device generates a transfer notification message based on the target resource transfer information.
[0070] In the embodiment of the present invention, after the computer device obtains the target resource transfer information, it may generate a transfer notification message based on the target resource transfer information. In the transaction scenario, the transfer notification message may specifically indicate the payment situation of the buyer for the transaction, such as unpaid or paid successfully, and the payment time, location, buyer account, etc. corresponding to the successful payment.
[0071] S506. The computer device determines the target abnormal mark from the abnormal mark set according to the time feature of the transfer notification message.
[0072] In an embodiment of the present invention, after the computer device determines the transfer notification message, it will obtain the time feature of the transfer notification message. The time feature may specifically be the trigger time of the abnormal item corresponding to the transfer notification message. The computer device detects the time difference between the trigger time and the current time. If the time difference is less than the preset time difference, the first abnormal mark is determined as the target abnormal mark. If the time difference is greater than the preset time difference, the second abnormal mark is determined as the target abnormal mark. Among them, the preset time difference may specifically be determined by the shipping rule formulated by the seller. For example, if the goods are shipped within 1 hour and not shipped after 1 hour, the preset time difference may be 1 hour. The first abnormal mark is used to prompt the seller that they can ship the goods, and the second abnormal mark is used to prompt that the transfer notification message has timed out and no shipping is to be carried out. The display form of the first abnormal mark may be a green background, and the display form of the second abnormal mark may be a red background, which is not specifically limited.
[0073] S507. The computer device adds the target abnormal mark to the transfer notification message.
[0074] S508. The computer device determines the prompt rule for the transfer notification message based on the target abnormal mark, and performs a notification prompt on the transfer notification message after adding the target abnormal mark based on the prompt rule.
[0075] In an embodiment of the present invention, different target abnormal marks correspond to different prompt rules. For example, the prompt rule corresponding to the first abnormal mark is display and vibration, and the prompt rule corresponding to the second abnormal mark is display, vibration, and ringing. When the target abnormal mark is the first abnormal mark, the transfer notification message after adding the target abnormal mark can be displayed on the display page and accompanied by a vibration prompt, so that the user using the computer device can timely discover the transfer notification message and make a judgment based on the mark of the transfer notification message.
[0076] In an embodiment of the present invention, the computer device obtains the resource transfer notification record and the resource item record for the target account. If the resource transfer notification record does not match the resource item record, it determines the abnormal item based on the resource transfer notification record and the resource item record; the computer device obtains the target resource transfer information based on the information recorded in the abnormal item, generates a transfer notification message based on the target resource transfer information, and issues a notification prompt according to the transfer notification message. In the above method, first, the resource transfer notification record is pre-checked based on the resource item record, and the abnormal item is queried. Then, the corresponding resource transfer information is obtained from the notification server based on the abnormal item. Compared with traversing and querying the resource transfer information from the notification server, the query volume of the resource transfer information is reduced, the processing burden of the notification server is reduced, and the verification efficiency of the resource transfer notification record can also be improved.
[0077] In an implementation scenario, as Figure 6 shown, the embodiments of the present invention are specifically applied to the online financial transaction scenario. In this scenario, the resource transfer notification record is specifically a payment notification record, which specifically indicates that the buyer has paid the funds for the transaction. The resource transaction record is specifically a fund transaction record. The specific process of this solution is as follows: (1) Account transaction reconciliation. Specifically, obtain the payment notification record and the fund transaction record corresponding to the seller through a computer device, and check the differences between the two records. If there is a fund inflow in the fund transaction record, but there is no corresponding notification message in the payment notification record for this inflow, then determine this inflow as an abnormal transaction item, and use it as the payment notification drop record corresponding to the payment platform, and send this drop record to the drop integration service. (2) Reverse-check the payment details recorded in the payment platform for this drop record. Specifically, in the drop integration service, call the payment details query interface of the payment platform according to the identification information of the abnormal transaction item, confirm the payment success status, and obtain the relevant payment details. If the payment details indicate that the payment result for the abnormal transaction item is payment failure, then report an error. (3) If the payment details indicate that the payment result for the abnormal transaction item is payment success, then query the payment notification record again to determine whether there is a notification record of the payment result for this abnormal transaction item in the payment notification record. If there is, then report an error to avoid duplicate notifications of the same payment result due to time delay. (4) If there is no notification record of payment success for the abnormal transaction item in the payment notification record, then determine whether the notification record of the payment result for the abnormal transaction item meets the timeliness requirement. Specifically, determine whether the time corresponding to the notification record of the payment result for this abnormal transaction item is less than the replenishment order time window. (5) If it is less than the replenishment order time window, then simulate and generate a payment notification message sent by the payment platform and display it. Further, goods can also be shipped to the user according to the payment result to complete the transaction. (6) If it is greater than the replenishment order time window, then generate a refund order number and perform a refund process. Since the transaction has a timeliness requirement, if the transaction still has not been completed after exceeding the preset duration, a refund process needs to be performed in a timely manner.
[0078] The present solution has the following advantages: (1) Quickly discover the missing records of notification messages. Since the fund transactions of the seller's account are written in real time, it is possible to check in real time the fund inflow transactions in the seller's account against the payment notification records actually received by the seller, and quickly discover the fund inflow items from multiple sources in the fund transaction records, that is, the missing payment notification messages in the payment notification records. (2) Support the reissuance of payment notification messages in high-concurrency transaction scenarios. Since the loss of payment notification messages is a low-probability event, by directly checking the fund inflow transactions in the seller's account against the payment success notification records received by the seller's end, the bilateral differences can be quickly discovered, and the difference volume is small. The payment details can be accurately retrieved from the payment platform for these difference data and then the reissuance operation can be performed, reducing the call volume of the payment detail query interface, reducing the data processing volume of the payment platform, and also improving the query efficiency. (3) Accurately generate payment notification messages. After discovering the difference data through reconciliation of transactions, retrieve the payment details based on the payment order number in the transaction. Simulate the payment notification message according to the returned payment details and send it to the corresponding message receiving and processing interfaces. The same message processing interface in the computer device can process the messages from the payment platform and the messages generated by itself at the same time, effectively reducing the number of interfaces and the maintenance cost.
[0079] Based on the description of the embodiment of the above notification message processing method, an embodiment of the present invention also discloses a notification message processing device. The notification message processing device can be a computer program (including program code) running in a computer device, or an entity device included in the computer device. The notification message processing device can execute Figure 2 and Figure 5 the methods shown. Please refer to Figure 7 , the notification message processing device 70 includes: an acquisition module 701, a determination module 702, a generation module 703, and a notification module 704, where
[0080] The acquisition module 701 is configured to acquire a resource transfer notification record and a resource transaction record for a target account;
[0081] The determination module 702 is configured to, if the resource transfer notification record does not match the resource transaction record, determine abnormal information based on the resource transfer notification record and the resource transaction record. The abnormal information includes: abnormal transaction items in the transaction items included in the resource transaction record that do not match the resource transfer notification record;
[0082] The acquisition module 701 is further configured to acquire target resource transfer information based on the information recorded in the abnormal transaction items. The target resource transfer information includes the resource transfer information for the abnormal transaction items;
[0083] The generation module 703 is configured to generate a transfer notification message based on the target resource transfer information;
[0084] A notification module 704, configured to issue a notification prompt according to the transfer notification message.
[0085] In one implementation, the obtaining module 701 is specifically configured to:
[0086] Obtain, according to a detection period, a resource transfer notification record for a target account from the recorded historical resource transfer notification messages, where the detection period is set according to a resource exchange rule associated with the target account;
[0087] Obtain, according to the detection period, a transaction record for the target account from a resource management server, where the transaction record includes transaction items corresponding to each resource transfer;
[0088] Filter at least one transaction item of a target type from the transaction record as a resource transaction record for the target account.
[0089] In one implementation, the obtaining module 701 is specifically configured to:
[0090] Send a resource transfer information obtaining instruction to a notification server, where the resource transfer information obtaining instruction carries identification information of the abnormal transaction item;
[0091] Receive reference resource transfer information returned by the notification server based on the identification information of the abnormal transaction item;
[0092] If it is determined that the resource transfer is successful according to the reference resource transfer information, determine the reference resource transfer information as the target resource transfer information.
[0093] In one implementation, the determining module 702 is further configured to:
[0094] Store the abnormal transaction item in a database;
[0095] When a statistical period arrives, obtain a set of abnormal transaction items within a preset time range from the database;
[0096] Obtain a time interval of each abnormal transaction item in the set of abnormal transaction items;
[0097] Determine a detection period for the order-drop detection event based on the respective time intervals.
[0098] In one implementation, the obtaining module 701 is further configured to:
[0099] Verify whether there is a historical resource transfer notification message in the currently locally stored resource transfer notification records that matches the transfer notification message;
[0100] If not, add the transfer notification message to the resource transfer notification record, and obtain the time information corresponding to the transfer notification message;
[0101] If the time information meets the preset time rule, perform the resource exchange operation corresponding to the resource transfer notification record.
[0102] In one implementation, the obtaining module 701 is further configured to:
[0103] If the time information does not meet the preset time rule, obtain the order identifier corresponding to the target resource transfer information;
[0104] Generate a refund order identifier according to the order identifier;
[0105] Send a refund order instruction carrying the refund order identifier to the resource management server, and the refund order instruction is used to instruct the resource management server to perform a refund process based on the refund order identifier.
[0106] In one implementation, the obtaining module 701 is further configured to:
[0107] Broadcast the feature information of the abnormal transaction item in the abnormal information in the blockchain network, so that each node in the blockchain network performs a consensus check on the feature information, and the feature information includes at least one of time information, identifier information of the abnormal transaction item, and account information;
[0108] Receive the consensus check results returned by each node in the blockchain network;
[0109] If the consensus check result indicates that the check passes, package the feature information into block data, and store the block data in the blockchain network.
[0110] In one implementation, the notification module 704 is specifically configured to:
[0111] Determine a target abnormal mark from the abnormal mark set according to the time feature of the transfer notification message;
[0112] Add the target abnormal mark to the transfer notification message;
[0113] Determine a prompt rule for the transfer notification message based on the target abnormal mark, and perform a notification prompt on the transfer notification message with the target abnormal mark added based on the prompt rule.
[0114] In an embodiment of the present invention, the obtaining module 701 obtains a resource transfer notification record and a resource transaction record for a target account. If the resource transfer notification record does not match the resource transaction record, the determining module 702 determines an abnormal transaction item based on the resource transfer notification record and the resource transaction record; the obtaining module 701 obtains target resource transfer information based on the information recorded in the abnormal transaction item, and the generating module 703 generates a transfer notification message based on the target resource transfer information, and the notification module 704 issues a notification prompt according to the transfer notification message. By implementing the above method, the processing efficiency of the notification message can be improved.
[0115] Please refer to Figure 8 , which is a schematic structural diagram of a computer device provided by an embodiment of the present invention. As Figure 8 shown, the computer device includes: at least one processor 801, an input device 803, an output device 804, a memory 805, and at least one communication bus 802. Among them, the communication bus 802 is used to realize the connection and communication between these components. Among them, the memory 805 can be a high-speed RAM memory or a non-volatile memory, such as at least one disk memory. The memory 805 can also optionally be at least one storage device located far from the aforementioned processor 801. Among them, the processor 801 can be combined with Figure 7 the device described, a set of program codes are stored in the memory 805, and the processor 801, the input device 803, and the output device 804 call the program codes stored in the memory 805 to perform the following operations:
[0116] The processor 801 is used to obtain a resource transfer notification record and a resource transaction record for a target account;
[0117] The processor 801 is used to, if the resource transfer notification record does not match the resource transaction record, determine abnormal information based on the resource transfer notification record and the resource transaction record, and the abnormal information includes: an abnormal transaction item in the transaction items included in the resource transaction record that does not match the resource transfer notification record;
[0118] The processor 801 is used to obtain target resource transfer information based on the information recorded in the abnormal transaction item, and the target resource transfer information includes resource transfer information for the abnormal transaction item;
[0119] The processor 801 is used to generate a transfer notification message based on the target resource transfer information and issue a notification prompt according to the transfer notification message.
[0120] In one implementation, the processor 801 is specifically used for:
[0121] Obtain the resource transfer notification record for the target account from the recorded historical resource transfer notification messages according to the detection period, where the detection period is set according to the resource exchange rule associated with the target account;
[0122] Obtain the transaction record for the target account from the resource management server according to the detection period, where the transaction record includes transaction items corresponding to each resource transfer;
[0123] Filter out at least one transaction item of the target type from the transaction record as the resource transaction record for the target account.
[0124] In one implementation, the processor 801 is specifically configured to:
[0125] Send a resource transfer information acquisition instruction to the notification server, where the resource transfer information acquisition instruction carries the identification information of the abnormal transaction item;
[0126] Receive the reference resource transfer information returned by the notification server based on the identification information of the abnormal transaction item;
[0127] If it is determined that the resource transfer is successful according to the reference resource transfer information, then determine the reference resource transfer information as the target resource transfer information.
[0128] In one implementation, the processor 801 is specifically configured to:
[0129] Store the abnormal transaction item in the database;
[0130] When the statistical period arrives, obtain the set of abnormal transaction items within a preset time range from the database;
[0131] Obtain the time interval of each abnormal transaction item in the set of abnormal transaction items;
[0132] Determine the detection period for the single-drop detection event based on the respective time intervals.
[0133] In one implementation, the processor 801 is specifically configured to:
[0134] Verify whether there is a historical resource transfer notification message in the currently locally stored resource transfer notification record that matches the transfer notification message;
[0135] If not, add the transfer notification message to the resource transfer notification record and obtain the time information corresponding to the transfer notification message;
[0136] If the time information meets the preset time rule, then perform the resource exchange operation corresponding to the resource transfer notification record.
[0137] In one implementation, the processor 801 is specifically configured to:
[0138] If the time information does not meet the preset time rule, obtain the order identifier corresponding to the target resource transfer information;
[0139] Generate a refund order identifier according to the order identifier;
[0140] Send a refund order instruction carrying the refund order identifier to the resource management server, where the refund order instruction is used to instruct the resource management server to perform a refund process based on the refund order identifier.
[0141] In one implementation, the processor 801 is specifically configured to:
[0142] Broadcast the feature information of the abnormal transaction item in the abnormal information in the blockchain network, so that each node in the blockchain network performs a consensus check on the feature information, where the feature information includes at least one of time information, identification information of the abnormal transaction item, and account information;
[0143] Receive the consensus check results returned by each node in the blockchain network;
[0144] If the consensus check result indicates that the check passes, package the feature information into block data and store the block data in the blockchain network.
[0145] In one implementation, the processor 801 is specifically configured to:
[0146] Determine a target abnormal flag from the abnormal flag set according to the time feature of the transfer notification message;
[0147] Add the target abnormal flag to the transfer notification message;
[0148] Determine a prompt rule for the transfer notification message based on the target abnormal flag, and perform a notification prompt on the transfer notification message with the target abnormal flag added based on the prompt rule.
[0149] In the embodiment of the present invention, the processor 801 obtains a resource transfer notification record and a resource transaction record for a target account. If the resource transfer notification record does not match the resource transaction record, the processor 801 determines an abnormal transaction item based on the resource transfer notification record and the resource transaction record; the processor 801 obtains target resource transfer information based on the information recorded in the abnormal transaction item, generates a transfer notification message based on the target resource transfer information, and issues a notification prompt according to the transfer notification message. By implementing the above method, the processing efficiency of the notification message can be improved.
[0150] In the embodiments of the present invention, the module can be implemented by a general integrated circuit, such as a CPU (Central Processing Unit), or by an ASIC (Application Specific Integrated Circuit).
[0151] It should be understood that in the embodiments of the present invention, the so-called processor 801 may be a central processing module (Central Processing Unit, CPU), and this processor may also be other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field-programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or this processor may also be any conventional processor, etc.
[0152] The bus 802 may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, etc. This bus 802 can be divided into an address bus, a data bus, a control bus, etc. For the sake of convenience of representation, Figure 8 it is only represented by a thick line, but it does not mean that there is only one bus or one type of bus.
[0153] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. The described program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above methods. Among them, the computer-readable storage medium can be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), etc.
[0154] The above-disclosed are only the preferred embodiments of the present invention. Of course, the scope of the rights of the present invention cannot be limited thereby. Therefore, equivalent changes made according to the claims of the present invention still fall within the scope covered by the present invention.
Claims
1. An information processing method, characterized in that, The method includes: Obtaining a resource transfer notification record and a resource transaction record for a target account; If the resource transfer notification record does not match the resource transaction record, determining abnormal information based on the resource transfer notification record and the resource transaction record, where the abnormal information includes: abnormal transaction items in the transaction items included in the resource transaction record that do not match the resource transfer notification record; Sending a resource transfer information acquisition instruction to a notification server, where the resource transfer information acquisition instruction carries identification information of the abnormal transaction item; Receiving reference resource transfer information returned by the notification server based on the identification information of the abnormal transaction item; If it is determined that the resource transfer is successful according to the reference resource transfer information, determining the reference resource transfer information as target resource transfer information, where the target resource transfer information includes resource transfer information for the abnormal transaction item; Generating a transfer notification message based on the target resource transfer information and sending a notification prompt according to the transfer notification message.
2. The method according to claim 1, characterized in that, The obtaining of the resource transfer notification record and the resource transaction record for the target account includes: Obtaining, from the historical resource transfer notification messages recorded according to a detection period, a resource transfer notification record for the target account, where the detection period is set according to a resource exchange rule associated with the target account; Obtaining, according to the detection period, a transaction record for the target account from a resource management server, where the transaction record includes transaction items corresponding to each resource transfer; Screening at least one transaction item of a target type from the transaction record as the resource transaction record for the target account.
3. The method according to claim 1, wherein The step of obtaining the resource transfer notification record and the resource transaction record for the target account is triggered when a dropped order detection event is obtained. The dropped order detection event is generated when the detection period arrives. Before the dropped order detection event is obtained, the method further includes: When a statistical period arrives, obtaining a set of abnormal transaction items within a preset time range from a database, where the set of abnormal transaction items includes a plurality of abnormal transaction items stored in the database; Obtaining the time intervals of the respective abnormal transaction items in the set of abnormal transaction items; Determining a detection period for the dropped order detection event based on the time intervals of the respective abnormal transaction items in the set of abnormal transaction items.
4. The method according to claim 1, characterized in that After generating the transfer notification message based on the target resource notification information, the method further includes: Verifying whether there is a historical resource transfer notification message in the currently locally stored resource transfer notification record that matches the transfer notification message; If not, adding the transfer notification message to the resource transfer notification record and obtaining the time information corresponding to the transfer notification message; If the time information meets a preset time rule, performing a resource exchange operation corresponding to the resource transfer notification record.
5. The method according to claim 4, wherein The method further includes: If the time information does not meet the preset time rule, obtaining an order identifier corresponding to the target resource transfer information; Generating a refund order identifier according to the order identifier; Initiate a refund instruction carrying the refund identification to a resource management server, where the refund instruction is used to instruct the resource management server to perform a refund process based on the refund identification.
6. The method according to claim 1, characterized in that, After determining the exception information based on the resource transfer notification record and the resource flow record, the method further includes: Broadcasting the characteristic information of the exception item in the exception information in a blockchain network, so that each node in the blockchain network performs a consensus verification on the characteristic information, where the characteristic information includes at least one of time information, identification information of the exception item, and account information; Receiving the consensus verification results returned by each node in the blockchain network; If the consensus verification result indicates that the verification is passed, packaging the characteristic information into block data and storing the block data in the blockchain network.
7. The method according to claim 1, wherein The issuing a notification prompt according to the transfer notification message includes: Determining a target exception flag from an exception flag set according to the time characteristic of the transfer notification message; Adding the target exception flag to the transfer notification message; Determining a prompt rule for the transfer notification message based on the target exception flag, and performing a notification prompt on the transfer notification message with the target exception flag added based on the prompt rule.
8. A notification message processing device, characterized in that, The apparatus includes: An obtaining module, configured to obtain a resource transfer notification record and a resource flow record for a target account; A determining module, configured to, if the resource transfer notification record does not match the resource flow record, determine exception information based on the resource transfer notification record and the resource flow record, where the exception information includes: an exception item in the items included in the resource flow record that does not match the resource transfer notification record; The obtaining module is further configured to obtain target resource transfer information based on the information recorded in the exception item, where the target resource transfer information includes the resource transfer information for the exception item; A generating module, configured to generate a transfer notification message based on the target resource transfer information; A notification module, configured to issue a notification prompt according to the transfer notification message; Wherein, the obtaining module is configured to send a resource transfer information obtaining instruction carrying the identification information of the exception item to a notification server; receive the reference resource transfer information returned by the notification server based on the identification information of the exception item; if it is determined that the resource transfer is successful according to the reference resource transfer information, determine the reference resource transfer information as the target resource transfer information.
9. A computer device, characterized in that, Including a processor, an input interface, an output interface, and a memory, where the processor, the input interface, the output interface, and the memory are interconnected. Among them, the memory is used to store a computer program, and the computer program includes program instructions. The processor is configured to call the program instructions to execute the method according to any one of claims 1-7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, and the computer program includes program instructions. When the program instructions are executed by a processor, the processor is caused to execute the method according to any one of claims 1-7.
11. A computer program product, comprising a computer program, the computer program comprising program instructions, characterized in that, When executed by a processor, the program instructions cause the processor to perform the method according to any one of claims 1-7.
Citation Information
Patent Citations
Data clearing and settlement method, electronic equipment and storage medium
CN107862593A
A reconciliation method and system based on a block chain
CN109003175A
Business data storage method and device, storage medium and computer equipment
CN110633323A