A method and device for warning abnormal transaction volume

By obtaining historical transaction volume and preset scaling ratio, determining the target alarm threshold and monitoring bank transaction volume, solving the problem of abnormally low efficiency in judging transaction volume in the existing technology, achieving accurate judgment and efficient alarm, and reducing operation and maintenance costs.

CN113627940BActive Publication Date: 2024-11-22BANK OF CHINA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110998535.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-27
Publication Date
2024-11-22
Estimated Expiration
2041-08-27

AI Technical Summary

Technical Problem

It is difficult for the existing technology to accurately determine whether the bank's transaction volume is abnormal, resulting in high operation and maintenance costs and low efficiency. Especially on specific dates such as major festivals, the increase or decrease in transaction volume leads to incorrect judgment.

Method used

By obtaining the trading volume of historical trading days, historical periods and trading volume of preset periods, determining the target alarm threshold based on the preset scaling ratio, monitoring the target transaction volume and issuing alarm information to ensure accurate judgment of abnormal transaction volume.

Benefits of technology

It improves the accuracy and efficiency of abnormal transaction volume judgments, reduces operation and maintenance costs, and ensures data security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113627940B_ABST
    Figure CN113627940B_ABST
Patent Text Reader

Abstract

The present application provides an alarm method and device for abnormal trading volume, which relates to the field of computer application technology and is used to determine whether the trading volume is abnormal. The method includes: obtaining the trading volume of the first historical trading day, the first historical trading volume, and the second historical trading volume; wherein the first historical trading day is the trading day with the same date as the current day in the historical year, the first historical trading volume is the average value of the trading volume in the first historical period, the first historical period includes the first historical trading day and multiple trading days adjacent to the first historical trading day, and the second historical trading volume is the average value of the trading volume in a preset period in the first historical period. According to the trading volume of the first historical trading day, the first historical trading volume, the second historical trading volume and the preset scaling ratio, determine the target alarm threshold of the preset period. Monitor the target trading volume. Issue an alarm message according to the target trading volume and the target alarm threshold.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer application technology, and in particular to a method and device for warning of abnormal transaction volume. Background Art

[0002] With the development of society, people's living standards are gradually improving, people's consumption power is gradually increasing, and the demand for banking business and transaction volume are also gradually increasing. The banking system can integrate the bank's transaction volume by monitoring business data. However, problems may occur in the banking system, resulting in abnormal transaction volume. For example, the transaction volume suddenly increases. This may cause data errors in the banking system, seriously affecting the normal operation of the bank.

[0003] At present, we can manually query the transaction status and judge whether the system is normal according to the transaction status. However, the operation and maintenance cost of the current technical solution is high and the efficiency is low. Therefore, how to determine whether the transaction volume is abnormal has become a technical problem that needs to be solved urgently. Summary of the invention

[0004] The present application provides a method and device for warning of abnormal transaction volume, which can accurately determine whether there is an abnormality in the transaction volume.

[0005] In order to achieve the above purpose, this application adopts the following technical solutions:

[0006] In the first aspect, the present application provides an alarm method for abnormal trading volume. In the method, an alarm device for abnormal trading volume (which may be referred to as "alarm device") obtains the trading volume of the first historical trading day, the first historical trading volume, and the second historical trading volume; wherein the first historical trading day is the trading day with the same date as the current day in the historical year, the first historical trading volume is the average value of the trading volume in the first historical period, the first historical period includes the first historical trading day and multiple trading days adjacent to the first historical trading day, and the second historical trading volume is the average value of the trading volume in a preset period in the first historical period. According to the trading volume of the first historical trading day, the first historical trading volume, the second historical trading volume and the preset scaling ratio, the target alarm threshold of the preset period is determined. Monitor the target trading volume, which is the trading volume within the preset period of the day. According to the target trading volume and the target alarm threshold, an alarm message is issued, and the alarm message is used to indicate that the target trading volume is an abnormal trading volume.

[0007] Based on the above technical solution, the alarm device can determine the alarm volume threshold for the preset period of the day according to the daily trading volume in historical years, the trading volume of trading days close to the day in historical years, and the trading volume of the preset period in historical years. In this way, the alarm volume threshold can be accurately analyzed in combination with the trading volume of trading days close to the day in historical years. In addition, according to the trading volume in the preset period of the day and the target alarm threshold, an alarm message can be issued. In this way, it is possible to accurately determine whether the trading volume is abnormal, and issue a reminder in time, thereby improving the security of the data.

[0008] In one possible design, the target alarm threshold includes a first alarm threshold and a second alarm threshold, and the first alarm threshold is less than the second alarm threshold. The ratio between the trading volume of the first historical trading day and the first historical trading volume is calculated to determine the first ratio; wherein the preset scaling ratio includes a first preset ratio and a second preset ratio, and the first preset ratio is less than the second preset ratio. The first alarm threshold is determined based on the first ratio, the second historical trading volume, and the first preset ratio. The second alarm threshold is determined based on the first ratio, the second historical trading volume, and the second preset ratio.

[0009] In a possible design, if the target transaction volume is less than the first alarm threshold, an alarm message is issued. Alternatively, if the target transaction volume is greater than the second alarm threshold, an alarm message is issued.

[0010] In a possible design, abnormal trading volume is not included in the trading volume of the first historical trading day, the first historical trading volume, and the second historical trading volume.

[0011] In a second aspect, the present application provides an alarm device for abnormal transaction volume, which includes an acquisition unit, a determination unit and a monitoring unit.

[0012] The acquisition unit is used to acquire the trading volume of the first historical trading day, the first historical trading volume, and the second historical trading volume; wherein the first historical trading day is the trading day with the same date as the current day in the historical year, the first historical trading volume is the average value of the trading volume in the first historical period, the first historical period includes the first historical trading day and multiple trading days adjacent to the first historical trading day, and the second historical trading volume is the average value of the trading volume in a preset period in the first historical period. The determination unit is used to determine the target alarm threshold of the preset period according to the trading volume of the first historical trading day, the first historical trading volume, the second historical trading volume, and the preset scaling ratio. The monitoring unit is used to monitor the target trading volume, and the target trading volume is the trading volume in the preset period of the day. The determination unit is also used to issue an alarm message according to the target trading volume and the target alarm threshold, and the alarm message is used to indicate that the target trading volume is an abnormal trading volume.

[0013] In a possible design, the target alarm threshold includes a first alarm threshold and a second alarm threshold, and the first alarm threshold is less than the second alarm threshold. The determination unit is specifically used to calculate the ratio between the trading volume of the first historical trading day and the first historical trading volume to determine the first ratio; wherein the preset scaling ratio includes a first preset ratio and a second preset ratio, and the first preset ratio is less than the second preset ratio. The first alarm threshold is determined based on the first ratio, the second historical trading volume, and the first preset ratio. The second alarm threshold is determined based on the first ratio, the second historical trading volume, and the second preset ratio.

[0014] In a possible design, the determination unit is further specifically configured to issue an alarm message if the target transaction volume is less than a first alarm threshold, or to issue an alarm message if the target transaction volume is greater than a second alarm threshold.

[0015] In a possible design, abnormal trading volume is not included in the trading volume of the first historical trading day, the first historical trading volume, and the second historical trading volume.

[0016] In a third aspect, the present application provides an abnormal trading volume alarm device, the device comprising: a processor and a memory; the processor and the memory are coupled; the memory is used to store one or more programs, the one or more programs including computer execution instructions, when the abnormal trading volume alarm device is running, the processor executes the computer execution instructions stored in the memory to implement the abnormal trading volume alarm method as described in the first aspect and any possible implementation method of the first aspect.

[0017] In a fourth aspect, the present application provides a computer-readable storage medium, which stores instructions. When the instructions are executed on a computer, the computer executes the abnormal trading volume alarm method described in the above-mentioned first aspect and any possible implementation method of the first aspect.

[0018] In a fifth aspect, the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface and the processor are coupled, and the processor is used to run a computer program or instructions to implement the abnormal trading volume alarm method as described in the first aspect and any possible implementation method of the first aspect.

[0019] In the above scheme, the technical problems that can be solved and the technical effects achieved by the abnormal transaction volume alarm device, computer equipment, computer storage medium or chip can be referred to the technical problems and technical effects solved by the above-mentioned first aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figure 1 A system architecture diagram of a monitoring system provided in an embodiment of the present application;

[0021] Figure 2 A flowchart of a method for warning of abnormal transaction volume provided in an embodiment of the present application;

[0022] Figure 3 A flowchart of another method for warning of abnormal transaction volume provided in an embodiment of the present application;

[0023] Figure 4 A schematic diagram of the structure of an abnormal transaction volume alarm device provided in an embodiment of the present application;

[0024] Figure 5 A schematic diagram of the structure of another abnormal transaction volume alarm device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0025] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0026] In this article, the character " / " generally indicates that the objects before and after are in an "or" relationship. For example, A / B can be understood as A or B.

[0027] The terms “first” and “second” in the description and claims of the present application are used to distinguish different objects rather than to describe a specific order of the objects.

[0028] In addition, the terms "including" and "having" and any variations thereof mentioned in the description of this application are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or modules is not limited to the listed steps or modules, but may optionally include other steps or modules that are not listed, or may optionally include other steps or modules that are inherent to these processes, methods, products or devices.

[0029] In addition, in the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present concepts in a specific way.

[0030] In the current technical solution, an alarm threshold is usually set based on the average transaction volume in the current period to determine whether the transaction volume is abnormal. However, due to the occurrence of specific dates, such as major holidays, shopping festivals, etc., the transaction volume on that day will have a larger increase or decrease compared to the transaction volume of the previous few days. In this way, if the alarm threshold is set according to the average transaction volume in a period of time, it will lead to the judgment that the transaction volume is abnormal when there is no abnormality in the transaction volume due to the transaction volume being too high or too low. Therefore, in the current technical solution, it is impossible to accurately determine whether the transaction volume is abnormal on a specific trading day.

[0031] Before introducing in detail the abnormal transaction volume alarm method of the embodiment of the present application, the implementation environment and application scenarios of the embodiment of the present application are first introduced.

[0032] A monitoring system is provided in an embodiment of the present application, and the monitoring system includes one or more servers and at least one display device, and the server and the display device can be connected by wire.

[0033] Wherein, when a server is included in the monitoring system, the server can be used to obtain the trading volume of historical trading days from the database (e.g., the trading volume of the whole year of the previous year, the trading volume of the same day of the previous year, and the trading volume of each period of the same day of the previous year). The server can also monitor the trading volume of the day. The server can also calculate the trading volume of historical trading days and set a trading volume threshold for the day. The server can also send the trading volume to the display device. The server can also determine whether the trading volume is an abnormal trading volume. In addition, the server can also prompt that the trading volume is an abnormal trading volume (e.g., the server sends an alarm message to the display device).

[0034] The display device may receive the transaction volume from the server. Furthermore, the display device may display the transaction volume (e.g., the transaction volume of the day, the transaction volume of each period of the day, etc.). Optionally, the display device may also display the transaction volume threshold. Optionally, the display device may also display warning information.

[0035] When the monitoring system includes multiple servers, such as Figure 1 As shown, the monitoring system includes multiple servers (eg, server 101 , server 102 , and server 103 ) and a display device 104 .

[0036] Among them, the server 101 can obtain the transaction volume of the historical transaction day from the historical database. In addition, the server 101 can set the transaction volume threshold according to the transaction volume of the historical transaction day, and send the transaction volume threshold to the server 103. The server 102 can monitor the transaction volume of the day and send the transaction volume of the day to the server 103. The server 103 can receive the transaction volume threshold from the server 101 and receive the transaction volume of the day from the server 102. Afterwards, the server 103 can determine whether the transaction volume is abnormal based on the transaction volume of the day and the transaction volume threshold, and send transaction information (such as transaction volume, alarm information, etc.) to the display device 104.

[0037] The display device 104 can receive transaction information from the server 103 and display the transaction information.

[0038] The following takes the monitoring system including a server (also called an alarm device) and a display device, that is, the alarm device has the functions of server 101, server 102 and server 103 as an example, and describes the embodiments of the present application in detail in combination with the drawings in the specification.

[0039] like Figure 2 As shown, a method for warning of abnormal transaction volume provided by an embodiment of the present application, the method comprising:

[0040] S201. The alarm device obtains the trading volume of the first historical trading day, the first historical trading volume, and the second historical trading volume.

[0041] Among them, the first historical trading day is the trading day in the historical year that has the same date as the current day.

[0042] It should be noted that the embodiments of the present application do not limit the historical year. For example, if this year is 2021, the historical year can be 2020, 2019, or 2018. Usually, the historical year closest to this year is used as the historical year in the embodiments of the present application.

[0043] For example, if the date of the day is August 17, 2021, the first historical trading day may be August 17, 2020, and the trading volume of the first historical trading day is the trading volume on August 17, 2020.

[0044] Optionally, the trading volume of the first historical trading day may also be the average of the trading volumes of trading days with the same date as the current day in multiple historical years. For example, if the date of the current day is August 17, 2021, the trading volume of the first historical trading day may be the average of the trading volumes on August 17, 2020, the trading volume on August 17, 2019, and the trading volume on August 17, 2018. For example, if the trading volume on August 17, 2020 is 5,000, the trading volume on August 17, 2019 is 4,000, and the trading volume on August 17, 2018 is 3,000, then the trading volume of the first historical trading day is 4,000.

[0045] In the embodiment of the present application, the first historical transaction volume is the average value of the transaction volume in the first historical period, and the second historical transaction volume is the average value of the transaction volume in a preset period in the first historical period. The first historical period includes the first historical trading day and multiple trading days adjacent to the first historical trading day.

[0046] It should be noted that the embodiments of the present application do not limit the multiple trading days adjacent to the first historical trading day. For example, if the first historical trading day can be August 17, 2020, the multiple trading days adjacent to the first historical trading day can include: August 16, 2020, August 15, 2020, August 14, 2020, August 13, 2020, August 12, 2020, and August 11, 2020. For another example, the multiple trading days adjacent to the first historical trading day can include: August 16, 2020, August 15, 2020, August 14, 2020, August 18, 2020, August 19, 2020, and August 20, 2020.

[0047] For example, if the first historical trading day is August 17, 2020, the first historical period includes: August 17, 2020, August 16, 2020, August 15, 2020, August 14, 2020, August 13, 2020, August 12, 2020, and August 11, 2020, and the trading volumes in the first historical period are 21,000, 5,000, 4,000, 5,000, 4,500, 4,500, and 5,000, respectively. Then the first historical trading volume is 7,000.

[0048] It can be understood that the first historical trading volume is the average of the trading volume in the first historical period, which can reflect the overall trend of the trading volume in the first historical period.

[0049] It should be noted that the embodiments of the present application do not limit the preset time period. For example, the preset time period may be 09:00-09:05. For another example, the preset time period may be 09:00-09:30. For another example, the preset time period may be 09:00-10:00.

[0050] For example, if the trading volume of each trading day in the first historical period from 09:00 to 09:05 is 1200, 300, 500, 350, 400, 450, and 500 respectively, then the second historical trading volume is 500.

[0051] It can be understood that the second historical trading volume is the average value of the trading volume of the preset period in the first historical period, which can reflect the overall trend of the trading volume of the preset period in the first historical period.

[0052] In a possible implementation, the alarm device may obtain the transaction volume of the historical year from the historical database. Thereafter, the alarm device may determine the transaction volume of the first historical trading day, the first historical transaction volume, and the second historical transaction volume based on the transaction volume of the historical year.

[0053] S202. The alarm device determines a target alarm threshold for a preset time period according to the transaction volume of the first historical trading day, the first historical transaction volume, the second historical transaction volume and a preset scaling ratio.

[0054] In a possible implementation, the alarm device may pre-set a preset scaling ratio.

[0055] It should be noted that the embodiments of the present application do not limit the preset scaling ratio. For example, the preset scaling ratio may be related to the adjustment ratio of the transaction volume in the historical years. For example, if the transaction volume in 2019 is 10,000 and the transaction volume in 2020 is 15,000, the alarm device may determine the preset scaling ratio based on the transaction volume in 2019 and the transaction volume in 2020.

[0056] In the embodiment of the present application, the preset scaling ratio includes a first preset ratio and a second preset ratio, and the first preset ratio is smaller than the second preset ratio. For example, the first preset ratio may be 80%, and the second preset ratio may be 120%. For another example, the first preset ratio may be 70%, and the second preset ratio may be 130%.

[0057] Specifically, Figure 3 As shown, S202 may include S301-S303

[0058] S301. The alarm device calculates the ratio between the trading volume of the first historical trading day and the first historical trading volume to determine a first ratio.

[0059] For example, if the trading volume of the first historical trading day is 12,000 and the first historical trading volume is 6,000, the first ratio is 2.

[0060] It can be understood that by comparing the trading volume of the first historical trading day with the first historical trading volume, the trend of the trading volume on that day in the historical year compared with the recent trading volume in the historical year can be reflected.

[0061] It should be noted that there are two situations in which the trading volume is abnormal: situation one, the trading volume is too low; situation two, the trading volume is too high.

[0062] In the embodiment of the present application, the target alarm threshold includes a first alarm threshold and a second alarm threshold. The first alarm threshold is smaller than the second alarm threshold.

[0063] S302. The alarm device determines a first alarm threshold according to the first ratio, the second historical transaction volume, and the first preset ratio.

[0064] In a possible implementation, the alarm device may obtain the first transaction volume according to the first ratio and the second historical transaction volume, wherein the first transaction volume is used to reflect the transaction volume of a preset time period on the day in a historical year.

[0065] Afterwards, the alarm device can obtain the first alarm threshold according to the first transaction volume and the first preset ratio.

[0066] In a possible design, the alarm device can calculate the first alarm threshold through formula one.

[0067] The first alarm threshold = the first ratio × the second historical transaction volume × the first preset ratio formula 1.

[0068] Exemplarily, if the first ratio is 2, the second historical transaction volume is 800, and the first preset ratio is 80%, then the first alarm threshold is 1280.

[0069] It is understandable that the second historical transaction volume can reflect the overall trend of the transaction volume in the preset period of the first historical period, and the first ratio can reflect the trend of the transaction volume of the day in the historical year compared with the recent transaction volume in the historical year. In this way, the alarm device can determine the first transaction volume (i.e., reflecting the transaction volume of the preset period of the day in the historical year). Afterwards, the alarm device can obtain the first alarm threshold according to the first preset ratio.

[0070] S303: The alarm device determines a second alarm threshold according to the first ratio, the second historical transaction volume, and the second preset ratio.

[0071] In a possible design, the alarm device can calculate the second alarm threshold by using formula 2.

[0072] Second alarm threshold = first ratio × second historical transaction volume × second preset ratio formula 2.

[0073] Exemplarily, if the first ratio is 2, the second historical transaction volume is 800, and the second preset ratio is 120%, then the first alarm threshold is 1920.

[0074] It is understandable that the alarm device can obtain the first alarm threshold and the second alarm threshold of the day according to the first ratio, the second historical transaction volume, the first preset ratio and the second preset ratio. In this way, the alarm device can determine whether the transaction volume is abnormal according to the first alarm threshold and the second alarm threshold, thereby improving the accuracy of determining whether the transaction volume is abnormal.

[0075] S203: The alarm device monitors the target transaction volume.

[0076] Among them, the target trading volume is the trading volume within the preset period of the day.

[0077] Exemplarily, the target trading volume can be the trading volume from 09:00 to 09:05 on the day (e.g., August 17, 2021).

[0078] In a possible implementation, the alarm device can monitor the transaction volume in real time to obtain the target transaction volume. For example, the alarm device can obtain the transaction volume within five minutes every five minutes.

[0079] S204: The alarm device issues an alarm message according to the target transaction volume and the target alarm threshold.

[0080] The warning information is used to indicate that the target transaction volume is an abnormal transaction volume. For example, the warning information may be "The transaction volume from 09:00 to 09:05 is too high (or too low), and the transaction volume is abnormal!".

[0081] In a possible implementation, the alarm device compares the target transaction volume with the target alarm threshold. If the target transaction volume is less than the first alarm threshold, an alarm message is issued. Alternatively, if the target transaction volume is greater than the second alarm threshold, an alarm message is issued. Exemplarily, the alarm device may send the alarm message to a display device. Thereafter, the display device may display the alarm message.

[0082] It is understandable that the target alarm threshold is determined based on the daily trading volume in historical years. Therefore, the alarm device can accurately determine whether the trading volume is abnormal based on the target alarm threshold and the target trading volume, and issue an alarm message in the abnormal case to remind the user of the abnormal trading volume.

[0083] It should be noted that, when the transaction volume is abnormal, if the alarm device determines the target alarm threshold based on the abnormal transaction volume, it may cause the target alarm threshold to be inaccurate, thereby affecting the judgment of whether the transaction volume is abnormal.

[0084] In some embodiments, the trading volume of the first historical trading day, the first historical trading volume, and the second historical trading volume do not include abnormal trading volume.

[0085] It should be noted that the trading volume of the first historical trading day, the first historical trading volume and the second historical trading volume do not include abnormal trading volume, which means that the above trading volumes are not determined based on abnormal trading volume.

[0086] For example, if the transaction volume of the first period in the first historical trading day is 1000, the transaction volume of the second period is 1500, and the transaction volume of the third period is 7000. Among them, the transaction volume of the third period is determined to be abnormal transaction volume, then the transaction volume of the first historical trading day does not include the transaction volume of the third period. For another example, the transaction volumes of the preset periods in the first historical period are 2000, 3000, 1500, 1500, and 10000 (abnormal transaction volumes), respectively, then the second historical transaction volume is 2000.

[0087] It is understandable that the trading volume of the first historical trading day, the first historical trading volume, and the second historical trading volume do not include abnormal trading volume, which can ensure that the target alarm threshold is obtained based on the trading volume without abnormality. In this way, it is possible to accurately determine whether the trading volume is abnormal based on the target alarm threshold, thereby improving the accuracy.

[0088] The above mainly introduces the solution provided by the embodiment of the present application from the perspective of computer equipment. It is understandable that in order to realize the above functions, the computer equipment includes hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the steps of the alarm method for abnormal trading volume in each example described in the embodiment disclosed in this application, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0089] The embodiment of the present application also provides an alarm device for abnormal transaction volume. The alarm device for abnormal transaction volume can be a computer device, a CPU in the above computer device, a processing module in the above computer device for issuing an alarm for abnormal transaction volume, or a client in the above computer device for issuing an alarm for abnormal transaction volume.

[0090] The embodiment of the present application can divide the alarm of abnormal trading volume into functional modules or functional units according to the above method example. For example, each functional module or functional unit can be divided corresponding to each function, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware or in the form of software functional modules or functional units. Among them, the division of modules or units in the embodiment of the present application is schematic, which is only a logical function division. There may be other division methods in actual implementation.

[0091] like Figure 4 FIG. 1 is a schematic diagram of a structure of an abnormal transaction volume alarm device provided in an embodiment of the present application. The abnormal transaction volume alarm device is used to execute Figure 2 or Figure 3 The method for warning abnormal transaction volume is shown. The device for warning abnormal transaction volume may include an acquisition unit 401 , a determination unit 402 and a monitoring unit 403 .

[0092] The acquisition unit 401 is used to acquire the trading volume of the first historical trading day, the first historical trading volume, and the second historical trading volume; wherein the first historical trading day is the trading day with the same date as the current day in the historical year, the first historical trading volume is the average value of the trading volume in the first historical period, the first historical period includes the first historical trading day and multiple trading days adjacent to the first historical trading day, and the second historical trading volume is the average value of the trading volume in the preset period in the first historical period. The determination unit 402 is used to determine the target alarm threshold of the preset period according to the trading volume of the first historical trading day, the first historical trading volume, the second historical trading volume, and the preset scaling ratio. The monitoring unit 403 is used to monitor the target trading volume, which is the trading volume in the preset period of the day. The determination unit 402 is also used to issue an alarm message according to the target trading volume and the target alarm threshold, and the alarm message is used to indicate that the target trading volume is an abnormal trading volume.

[0093] Optionally, the target alarm threshold includes a first alarm threshold and a second alarm threshold, and the first alarm threshold is less than the second alarm threshold. The determination unit 402 is specifically used to calculate the ratio between the trading volume of the first historical trading day and the first historical trading volume, and determine the first ratio. Among them, the preset scaling ratio includes a first preset ratio and a second preset ratio, and the first preset ratio is less than the second preset ratio. The first alarm threshold is determined based on the first ratio, the second historical trading volume, and the first preset ratio. The second alarm threshold is determined based on the first ratio, the second historical trading volume, and the second preset ratio.

[0094] Optionally, the determination unit 402 is further configured to issue an alarm message if the target transaction volume is less than a first alarm threshold, or issue an alarm message if the target transaction volume is greater than a second alarm threshold.

[0095] Optionally, the trading volume of the first historical trading day, the first historical trading volume, and the second historical trading volume do not include abnormal trading volume.

[0096] Figure 5 Another possible structure of the abnormal transaction volume alarm device involved in the above embodiment is shown. The abnormal transaction volume alarm device includes: a processor 501 and a communication interface 502. The processor 501 is used to control and manage the actions of the device, for example, to execute the various steps in the method flow shown in the above method embodiment, and / or to execute other processes of the technology described in this article. The communication interface 502 is used to support the communication between the abnormal transaction volume alarm device and other network entities. The abnormal transaction volume alarm device may also include a memory 503 and a bus 504, and the memory 503 is used to store the program code and data of the device.

[0097] Among them, the above-mentioned processor 501 can implement or execute various exemplary logic blocks, units and circuits described in conjunction with the disclosure of the present invention. The processor can be a central processing unit, a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a field programmable gate array or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It can implement or execute various exemplary logic blocks, units and circuits described in conjunction with the disclosure of the present invention. The processor can also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of DSP and microprocessors, etc.

[0098] The memory 503 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a read-only memory, a flash memory, a hard disk or a solid-state drive; the memory may also include a combination of the above types of memory.

[0099] The bus 504 may be an Extended Industry Standard Architecture (EISA) bus, etc. The bus 504 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 5 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0100] In actual implementation, the acquisition unit 401 and the monitoring unit 403 can be composed of Figure 5 The communication interface 502 shown in FIG. 4 is implemented, and the determination unit 402 can be implemented by Figure 5The processor 501 shown calls the program code in the memory 503 to implement. The specific execution process can be referred to Figure 2 or Figure 3 The description of the alarm method for abnormal trading volume shown in the figure will not be repeated here.

[0101] Through the description of the above implementation methods, technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0102] An embodiment of the present application provides a computer program product comprising instructions. When the computer program product is run on a computer, the computer is caused to execute the method for alarming abnormal transaction volume in the above method embodiment.

[0103] An embodiment of the present application also provides a computer-readable storage medium, in which instructions are stored. When the instructions are executed on a computer, the computer executes the method for warning of abnormal transaction volume in the method flow shown in the above method embodiment.

[0104] Among them, the computer readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a register, a hard disk, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above, or any other form of computer readable storage medium known in the art. An exemplary storage medium is coupled to a processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an application-specific integrated circuit (ASIC). In the embodiments of the present application, a computer-readable storage medium may be any tangible medium that contains or stores a program, which may be used by or in conjunction with an instruction execution system, apparatus, or device.

[0105] Since the abnormal transaction volume alarm device, computer-readable storage medium, and computer program product in the embodiments of the present invention can be applied to the above method, the technical effects that can be obtained can also refer to the above method embodiments, and the embodiments of the present invention will not be repeated here.

[0106] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A method for warning of abnormal transaction volume, characterized in that: The method comprises: Obtaining the trading volume of the first historical trading day, the first historical trading volume, and the second historical trading volume; wherein the first historical trading day is a trading day in a historical year that has the same date as the current day, the first historical trading volume is an average value of the trading volumes in a first historical period, the first historical period includes the first historical trading day and multiple trading days adjacent to the first historical trading day, and the second historical trading volume is an average value of the trading volumes in a preset period in the first historical period; Calculating a ratio between the trading volume of the first historical trading day and the first historical trading volume to determine a first ratio; Determine a first alarm threshold according to the first ratio, the second historical transaction volume, and a first preset ratio, wherein the first alarm threshold=the first ratio×the second historical transaction volume×the first preset ratio; Determine a second alarm threshold according to the first ratio, the second historical transaction volume, and a second preset ratio, wherein the first alarm threshold is less than the second alarm threshold, and the first preset ratio is less than the second preset ratio, wherein the second alarm threshold=the first ratio×the second historical transaction volume×the second preset ratio; Monitor the target transaction volume, where the target transaction volume is the transaction volume within the preset period of time on the day; If the target transaction volume is less than the first alarm threshold, an alarm message is issued; or, If the target transaction volume is greater than the second alarm threshold, an alarm message is issued, where the alarm message is used to indicate that the target transaction volume is an abnormal transaction volume.

2. The method according to claim 1, characterized in that The abnormal trading volume is not included in the trading volume of the first historical trading day, the first historical trading volume, and the second historical trading volume.

3. An alarm device for abnormal transaction volume, characterized in that: The device comprises: an acquisition unit, configured to acquire the trading volume of a first historical trading day, a first historical trading volume, and a second historical trading volume; wherein the first historical trading day is a trading day in a historical year that is the same date as the current day, the first historical trading volume is an average value of trading volumes in a first historical period, the first historical period includes the first historical trading day and a plurality of trading days adjacent to the first historical trading day, and the second historical trading volume is an average value of trading volumes in a preset period in the first historical period; a determining unit, configured to determine a first ratio by calculating a ratio between the trading volume of the first historical trading day and the first historical trading volume; The determining unit is further configured to determine a first alarm threshold according to the first ratio, the second historical transaction volume, and a first preset ratio, wherein the first alarm threshold=the first ratio×the second historical transaction volume×the first preset ratio; The determining unit further determines a second alarm threshold according to the first ratio, the second historical transaction volume, and a second preset ratio, wherein the first alarm threshold is less than the second alarm threshold, and the first preset ratio is less than the second preset ratio, wherein the second alarm threshold=the first ratio×the second historical transaction volume×the second preset ratio; A monitoring unit, used to monitor a target transaction volume, where the target transaction volume is the transaction volume within the preset time period on the day; The determination unit is further specifically configured to issue an alarm message if the target transaction volume is less than the first alarm threshold; or issue an alarm message if the target transaction volume is greater than the second alarm threshold, wherein the alarm message is used to indicate that the target transaction volume is an abnormal transaction volume.

4. The device according to claim 3, characterized in that The abnormal trading volume is not included in the trading volume of the first historical trading day, the first historical trading volume, and the second historical trading volume.

5. An alarm device for abnormal transaction volume, characterized in that: include: Processor and memory; The processor is coupled to the memory; The memory is used to store one or more programs, which include computer execution instructions. When the abnormal trading volume alarm device is running, the processor executes the computer execution instructions stored in the memory to enable the abnormal trading volume alarm device to perform the method as described in any one of claims 1-2.

6. A computer-readable storage medium, wherein instructions are stored in the computer-readable storage medium, characterized in that: When a computer executes the instruction, the computer executes the method according to any one of claims 1 to 2.