CN115482108A - Exchange rate monitoring transaction reminding method and device based on 5G message - Google Patents
Exchange rate monitoring transaction reminding method and device based on 5G message Download PDFInfo
- Publication number
- CN115482108A CN115482108A CN202211204515.4A CN202211204515A CN115482108A CN 115482108 A CN115482108 A CN 115482108A CN 202211204515 A CN202211204515 A CN 202211204515A CN 115482108 A CN115482108 A CN 115482108A
- Authority
- CN
- China
- Prior art keywords
- exchange rate
- transaction
- user
- time
- real
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/04—Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/10—Office automation; Time management
- G06Q10/109—Time management, e.g. calendars, reminders, meetings or time accounting
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/12—Messaging; Mailboxes; Announcements
Landscapes
- Business, Economics & Management (AREA)
- Engineering & Computer Science (AREA)
- Human Resources & Organizations (AREA)
- Strategic Management (AREA)
- Finance (AREA)
- Entrepreneurship & Innovation (AREA)
- Accounting & Taxation (AREA)
- Economics (AREA)
- Marketing (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- Technology Law (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Data Mining & Analysis (AREA)
- Development Economics (AREA)
- Operations Research (AREA)
- Quality & Reliability (AREA)
- Tourism & Hospitality (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The present disclosure relates to the field of software development, and in particular, to a method and an apparatus for reminding exchange rate monitoring transaction based on 5G message. The method comprises the following steps: acquiring a transaction request input by a user, wherein the transaction request comprises transaction type, target exchange rate, user identity information, exchange rate monitoring time, transaction amount and user account information; acquiring real-time exchange rate information in exchange rate monitoring time; judging whether the real-time exchange rate meets the transaction request of the user or not according to the transaction type, the numerical value of the real-time exchange rate information in the exchange rate monitoring time and the target exchange rate, wherein the transaction type comprises a closing transaction and a selling transaction; and if the transaction request of the user is met, calling a 5G message interface, and sending a transaction prompt to the user by using the 5G message interface. According to the scheme, the client experience is improved by utilizing the high speed, low delay and safety of the 5G message; meanwhile, an exchange rate and price trading system is established, so that the benefit of the customer is maximized, and the satisfaction of the customer on bank service is integrally improved.
Description
Technical Field
The invention relates to the field of software development, in particular to a method and a device for reminding exchange rate monitoring transaction based on 5G message.
Background
The settlement and sales remittance business is one of important businesses of banks and one of necessary businesses of customers in cross-border scenes, and in order to seek for benefit maximization, the customers usually select a time point with a higher remittance rate to exchange remittance, but the settlement and sales remittance quotation price of the banks is in real-time fluctuation, and the customers hardly predict the highest time point of the quotation price to trade.
At present, in the prior art, the bank settlement and selling exchange quotation price is in real-time fluctuation, a client hardly predicts the highest time point of the quotation price and hardly meets the requirement of maximizing the benefit of the client, and the remittance arrival price reminding method is only reminding, is not suitable for real-time transaction and has defects in timeliness and client experience. And the efficiency of the client is low based on the mode information of the client APP, the short message and the like, and the transaction success rate of the client is influenced.
Aiming at the problems of poor exchange rate reminding timeliness and low efficiency of information reaching clients in the prior art, an exchange rate monitoring transaction reminding method and device based on 5G messages are needed.
Disclosure of Invention
In order to solve the above problems in the prior art, embodiments herein provide a method, an apparatus, and a computer device for transaction reminding monitoring based on 5G messages.
The embodiment of the invention provides a transaction reminding method based on 5G message and exchange rate monitoring, which comprises the following steps: acquiring a transaction request input by a user, wherein the transaction request comprises transaction type, target exchange rate, user identity information, exchange rate monitoring time, transaction amount and user account information; acquiring real-time exchange rate information in exchange rate monitoring time; judging whether the real-time exchange rate meets the transaction request of the user or not according to the transaction type, the numerical value of the real-time exchange rate information in the exchange rate monitoring time and the target exchange rate, wherein the transaction type comprises a remittance transaction and a remittance sale transaction; and if the transaction request of the user is met, calling a 5G message interface, and sending a transaction prompt to the user by using the 5G message interface.
According to one aspect of embodiments herein, determining whether the real-time rate satisfies the user's transaction request based on the transaction type, the value of the real-time rate information during the rate monitoring time, and the target rate comprises: splicing the target exchange rates of different users with user account information to obtain user exchange rate data; sequencing the user exchange rate data according to the numerical value of the target exchange rate in the user exchange rate data and storing the user exchange rate data in Redis; processing the real-time exchange rate information into a data format which is the same as the user exchange rate data; inserting the real-time exchange rate information into Redis stored with user exchange rate data according to the numerical value of the real-time exchange rate information to form new sequencing of the real-time exchange rate information and the user exchange rate data; when the transaction type is a settlement transaction, determining user exchange rate data of a numerical value larger than a real-time exchange rate in the new sequence and a corresponding user, extracting the user exchange rate data of the numerical value larger than the real-time exchange rate information, and deleting the user exchange rate data from Redis, wherein the real-time exchange rate meets a transaction request of the user; and when the transaction type is a sales transaction, determining user exchange rate data of the numerical value smaller than the real-time exchange rate in the new sequence and a corresponding user, extracting the user exchange rate data of the numerical value smaller than the real-time exchange rate information, and deleting the user exchange rate data from Redis, wherein the real-time exchange rate meets the transaction request of the user.
According to one aspect of embodiments herein, the method further comprises: recording the storage time of the user exchange rate data in Redis; and when the storage time exceeds the exchange rate monitoring time, deleting the user exchange rate data from Redis.
According to one aspect of embodiments herein, the method further comprises: and when the real-time exchange rate is judged not to meet the transaction request of the user, calling a 5G message interface, and sending a message prompt of transaction failure to the user.
According to one aspect of embodiments herein, the method further comprises: and after sending a message prompt of transaction failure to the user, acquiring a transaction request re-input by the user, and re-executing monitoring on the real-time exchange rate and the target exchange rate within the exchange rate monitoring time, wherein the transaction request re-input by the user comprises the target exchange rate modified by the user.
According to an aspect of embodiments herein, the method further comprises: according to a transaction authorization instruction sent by a user after receiving a transaction prompt, performing transaction for the user; returning a transaction result to the 5G message interface; and sending a transaction completion prompt to the user by using the 5G message interface.
Embodiments herein also provide a device for monitoring transaction reminding based on exchange rate of 5G messages, the device including: the transaction request acquisition module is used for acquiring a transaction request input by a user, wherein the transaction request comprises a transaction type, a target exchange rate, user identity information, exchange rate monitoring time, a transaction amount and user account information; the real-time exchange rate information acquisition module is used for acquiring real-time exchange rate information in exchange rate monitoring time; the judging module is used for judging whether the real-time exchange rate meets the transaction request of the user or not according to the transaction type, the numerical value of the real-time exchange rate information in the exchange rate monitoring time and the target exchange rate, wherein the transaction type comprises a settlement transaction and a sales transaction; and the transaction reminding sending module is used for calling the 5G message interface if the transaction request of the user is met, and sending the transaction reminding to the user by using the 5G message interface.
Embodiments also provide a computing device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor implements the exchange rate monitoring transaction reminding method based on 5G messages when executing the computer program.
Embodiments herein also provide a computer-readable storage medium storing a computer program, which when executed by a processor implements the method for rate-of-exchange monitoring transaction alerting based on 5G messages.
Embodiments herein also provide a computer program product comprising a computer program that when executed by a processor implements the 5G message-based exchange rate monitoring transaction alerting method.
The scheme mainly utilizes the high speed, low delay and safety of the 5G message, improves the efficiency of information reaching the client and gives consideration to the transaction safety.
Drawings
In order to more clearly illustrate the embodiments or technical solutions in the prior art, the drawings used in the embodiments or technical solutions in the prior art are briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present disclosure, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a flow diagram illustrating a method for monitoring transaction reminders based on exchange rate of 5G messages according to an embodiment of the disclosure;
FIG. 2 is a flow diagram illustrating a method for determining whether a transaction request of a user is satisfied according to an embodiment of the disclosure;
FIG. 3 is a flow diagram illustrating a method for rate monitoring transaction reminders according to an embodiment of the disclosure;
FIG. 4 is a flow diagram illustrating another method for rate monitoring transaction reminders according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram illustrating an apparatus for monitoring a transaction reminder based on a rate of exchange of a 5G message according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram illustrating a specific structure of a transaction reminding apparatus for monitoring a transaction based on a rate of exchange of a 5G message according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of a computer device according to an embodiment of the present disclosure.
Description of the symbols of the drawings:
501. a transaction request acquisition unit;
502. a real-time exchange rate information acquisition unit;
503. a judgment unit;
5031. a user exchange rate data determining module;
5032. a storage module;
5033. a user exchange rate data extraction module;
5034. a storage time recording module;
5035. a deletion module;
504. a transaction reminder sending unit;
5041. a transaction authorization instruction acquisition module;
702. a computer device;
704. a processor;
706. a memory;
708. a drive mechanism;
710. an input/output module;
712. an input device;
714. an output device;
716. a presentation device;
718. a graphical user interface;
720. a network interface;
722. a communication link;
724. a communication bus.
Detailed Description
In order to make the technical solutions in the present specification better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments, but not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments herein without making any creative effort, shall fall within the scope of protection.
It should be noted that the terms "first," "second," and the like in the description and claims herein and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments herein described are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, apparatus, article, or device that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or device.
The present specification provides method steps as described in the examples or flowcharts, but may include more or fewer steps based on routine or non-inventive labor. The order of steps recited in the embodiments is merely one manner of performing the steps in a multitude of orders and does not represent the only order of execution. In the actual implementation of the system or the device product, the method according to the embodiments or shown in the drawings can be executed in sequence or in parallel.
It should be noted that the exchange rate monitoring transaction reminding method based on the 5G message can be used in the field of software development and can also be used in the field of financial technology, and the application fields of the exchange rate monitoring transaction reminding method based on the 5G message and the device are not limited.
Fig. 1 is a flowchart of a method for monitoring a transaction reminder based on a rate of exchange of a 5G message according to an embodiment of the present disclosure, which specifically includes the following steps:
In this step, the user is the customer who uses the bank settlement remittance service. The user can fill out the transaction request through the 5G client and input the transaction request into the 5G client. The transaction account information of the transaction request comprises information such as an account name and an account balance, and the user identity information in the transaction request comprises information such as a client number, a user identity card number, a user name, a user age, a user gender and a user historical settlement and exchange transaction record. In addition to the several types of information described above, the user transaction request includes: authentication information such as a transaction password.
And 103, judging whether the real-time exchange rate meets the transaction request of the user or not according to the transaction type, the value of the real-time exchange rate information in the exchange rate monitoring time and the target exchange rate, wherein the transaction type comprises a closing transaction and a selling transaction. In this specification, when the service type is an aggregation transaction, the real-time exchange rate is considered to satisfy the transaction request of the user when the real-time exchange rate is higher than the target exchange rate of the user. In some embodiments of the present description, transaction requests of multiple different users may be obtained simultaneously, and if the transaction types of the multiple users are all settlement transactions, it may be determined that the transaction targets of all the users are the same: that is, when the real-time exchange rate is greater than or equal to the target exchange rate, the exchange transaction can be performed. Correspondingly, when the service type is a sales exchange transaction, the real-time exchange rate can be considered to meet the transaction request of the user when the real-time exchange rate is lower than the target exchange rate of the user.
And 104, if the transaction request of the user is met, calling a 5G message interface, and sending a transaction prompt to the user by using the 5G message interface. When the transaction request of the user is determined to be met, the 5G message interface can be called, the 5G message prompt is sent to the user, and the 5G message has the characteristics of high speed, low delay and safety, so that the efficiency of the information reaching the client can be improved, and the transaction safety is also considered.
In some embodiments of the present specification, when it is determined that the real-time exchange rate does not satisfy the transaction request of the user, a 5G message interface may also be invoked to send a message prompt of transaction failure to the user.
In some embodiments of the present specification, after sending a message prompt of transaction failure to the user, obtaining a transaction request re-input by the user, and re-performing monitoring on the real-time exchange rate and the target exchange rate within the exchange rate monitoring time, where the transaction request re-input by the user includes the target exchange rate modified by the user. For example, in the exchange rate monitoring time, the real-time exchange rate is always fluctuating but always lower than the target exchange rate of the user b who is ready to perform the exchange transaction, so that the real-time exchange rate does not meet the transaction request of the user b, after the business system sends a message prompt of transaction failure to the user through the 5G message interface, the user b adjusts the value of the target exchange rate in the transaction request, inputs the transaction request again at the client, and re-executes the steps shown in fig. 1.
Fig. 2 is a flowchart of a method for determining whether a transaction request of a user is satisfied according to an embodiment of the present disclosure, which specifically includes the following steps:
The user exchange rate data in the Redis queue is shown in Table 1, where the left column of the table is the target exchange rate for different users and the right column of the table is the user/customer number for different users.
12.3456 | 61112736 |
12.4456 | 87918542 |
13.3456 | 97104511 |
13.3476 | 94189571 |
14.0000 | 93452455 |
And 204, inserting the real-time exchange rate information into Redis in which user exchange rate data is stored according to the numerical value of the real-time exchange rate information to form a new sequence of the real-time exchange rate information and the user exchange rate data. Corresponding to step 202, the real-time exchange rate information is inserted into the Redis queue listed in step 202, as shown in Table 2.
Table 2 shows the Redis queue inserted for real-time exchange rates.
12.3456 | 61112736 |
12.4456 | 87918542 |
13.3456 | 97104511 |
13.3457 | 00000000 |
13.3476 | 94189571 |
14.0000 | 93452455 |
The inserted real-time exchange rate is 13.3457, and the inserted real-time exchange rate and the corresponding blank client number are inserted between the target exchange rate 13.3456 and the target exchange rate 13.3476, so as to form a new sequence in Redis.
In some embodiments of the present description, data may be sorted and buffered in order from large to small or from small to large in a Redis queue.
Fig. 3 is a flowchart illustrating a method for rate monitoring transaction reminding according to an embodiment of the present disclosure, which includes the following steps:
and step 301, recording the storage time of the user exchange rate data in Redis. In this step, the user exchange rate data is stored in Redis, and the time of storing the user exchange rate data in the Redis is continuously recorded, which can also be understood as the validity period of the user exchange rate data.
Fig. 4 is a flowchart of another method for rate monitoring transaction reminding according to an embodiment of the present disclosure, which specifically includes the following steps:
And step 403, sending a transaction completion reminder to the user by using the 5G message interface. In this specification, the 5G message is an upgrade of a short message service, and the user is reached in a light application manner, so that convenience is good. Compared with channels such as a short message bank, a telephone bank and a mobile phone APP, the binding authentication of the 5G message and the mobile phone of the customer is safer.
Fig. 5 is a schematic structural diagram of a rate monitoring transaction reminder based on a 5G message according to an embodiment of the present disclosure, and a basic structure of the rate monitoring transaction reminder based on the 5G message is described in this diagram, where functional units and modules may be implemented in a software manner, or may also be implemented in a general chip or a specific chip to implement rate monitoring transaction reminder based on the 5G message, and the apparatus specifically includes:
a transaction request obtaining unit 501, configured to obtain a transaction request input by a user, where the transaction request includes a transaction type, a target exchange rate, user identity information, exchange rate monitoring time, a transaction amount, and user account information;
a real-time exchange rate information obtaining unit 502, configured to obtain real-time exchange rate information within exchange rate monitoring time;
the judging unit 503 is configured to judge whether the real-time exchange rate meets a transaction request of a user according to the transaction type, a value of the real-time exchange rate information within the exchange rate monitoring time, and the target exchange rate, where the transaction type includes a closing transaction and a selling transaction;
and the transaction reminder sending unit 504 is configured to, if the transaction request of the user is satisfied, invoke a 5G message interface, and send a transaction reminder to the user by using the 5G message interface.
According to the scheme, the 5G message is used for reaching the user, in a transaction scene with frequently fluctuating exchange rate, the high speed and low delay of the 5G message are fully utilized to reach the transaction for the client, and meanwhile, the 5G message also ensures the safety and convenience of service transaction.
As an embodiment herein, reference may also be made to fig. 6, which is a schematic structural diagram of the exchange rate monitoring transaction reminding apparatus based on a 5G message according to this embodiment.
As an embodiment herein, the determining unit 503 further includes a user exchange rate data determining module 5031, configured to splice target exchange rates of different users with user account information to obtain user exchange rate data;
the determining unit 503 further includes a storage module 5032, configured to sort and store the user exchange rate data in Redis according to the value of the target exchange rate in the user exchange rate data;
the judging unit 503 further includes: a user exchange rate data extracting module 5033 for extracting user exchange rate data
The judging unit 503 further includes: a storage time recording module 5034, configured to record a storage time of the user exchange rate data in Redis;
the judging unit 503 further includes: a deleting module 5035 configured to delete the user exchange rate data from Redis when the storage time exceeds the exchange rate monitoring time.
As an embodiment herein, the transaction reminder sending unit 504 further includes:
the transaction authorization instruction obtaining module 5041 is configured to perform a transaction for the user according to a transaction authorization instruction sent after the user receives the transaction reminder.
Fig. 7 is a schematic structural diagram of a computer device provided in an embodiment of the present disclosure, and the exchange rate monitoring transaction reminding method based on 5G message described herein may be applied to the computer device. The computer device 702 may include one or more processors 704, such as one or more Central Processing Units (CPUs), each of which may implement one or more hardware threads. The computer device 702 may also include any memory 706 for storing any kind of information, such as code, settings, data, etc. For example, and without limitation, the memory 706 may include any one or combination of: any type of RAM, any type of ROM, flash memory devices, hard disks, optical disks, etc. More generally, any memory may use any technology to store information. Further, any memory may provide volatile or non-volatile retention of information. Further, any memory may represent fixed or removable components of computer device 702. In one case, when the processor 704 executes associated instructions that are stored in any memory or combination of memories, the computer device 702 can perform any of the operations of the associated instructions. The computer device 702 also includes one or more drive mechanisms 708, such as a hard disk drive mechanism, an optical disk drive mechanism, or the like, for interacting with any of the memories.
Communication link 722 may be implemented in any manner, such as over a local area network, a wide area network (e.g., the Internet), a point-to-point connection, etc., or any combination thereof. Communication link 722 may include any combination of hardwired links, wireless links, routers, gateway functions, name servers, etc., as dictated by any protocol or combination of protocols.
Corresponding to the methods in fig. 1 to 4, the embodiments herein also provide a computer-readable storage medium having stored thereon a computer program, which, when executed by a processor, performs the steps of the above-described method.
Embodiments herein also provide computer readable instructions, wherein when executed by a processor, a program thereof causes the processor to perform the method as shown in fig. 1-4.
Embodiments herein also provide a computer program product comprising a computer program which, when executed by a processor, implements the method as shown in fig. 1 to 4.
It should be understood that, in various embodiments herein, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments herein.
It should also be understood that, in the embodiments herein, the term "and/or" is only one kind of association relation describing an associated object, meaning that three kinds of relations may exist. For example, a and/or B, may represent: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
Those of ordinary skill in the art will appreciate that the various illustrative components and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the components and steps of the various examples have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present disclosure.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided herein, it should be understood that the disclosed system, apparatus, and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may also be an electric, mechanical or other form of connection.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purposes of the embodiments herein.
In addition, functional units in the embodiments herein may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present invention may be implemented in a form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The principles and embodiments of this document are explained herein using specific examples, which are presented only to aid in understanding the methods and their core concepts; meanwhile, for the general technical personnel in the field, according to the idea of this document, there may be changes in the concrete implementation and the application scope, in summary, this description should not be understood as the limitation of this document.
Claims (10)
1. A exchange rate monitoring transaction reminding method based on 5G messages is characterized by comprising the following steps:
acquiring a transaction request input by a user, wherein the transaction request comprises transaction type, target exchange rate, user identity information, exchange rate monitoring time, transaction amount and user account information;
acquiring real-time exchange rate information in exchange rate monitoring time;
judging whether the real-time exchange rate meets the transaction request of the user or not according to the transaction type, the numerical value of the real-time exchange rate information in the exchange rate monitoring time and the target exchange rate, wherein the transaction type comprises a closing transaction and a selling transaction;
and if the transaction request of the user is met, calling a 5G message interface, and sending a transaction prompt to the user by using the 5G message interface.
2. The exchange rate monitoring transaction reminding method based on 5G message according to claim 1, wherein the step of judging whether the real-time exchange rate meets the transaction request of the user according to the transaction type, the value of the real-time exchange rate information in the exchange rate monitoring time and the target exchange rate comprises the steps of:
splicing the target exchange rates of different users with the user identity information to obtain user exchange rate data;
sequencing the user exchange rate data in a Redis zset format according to the numerical value of the target exchange rate in the user exchange rate data and storing the user exchange rate data in the Redis;
processing the real-time exchange rate information into a data format which is the same as the user exchange rate data;
inserting the real-time exchange rate information into Redis stored with user exchange rate data according to the numerical value of the real-time exchange rate information to form new sequencing of the real-time exchange rate information and the user exchange rate data;
when the transaction type is a settlement transaction, determining user exchange rate data of a numerical value larger than a real-time exchange rate in the new sequence and a corresponding user, extracting the user exchange rate data of the numerical value larger than the real-time exchange rate information, and deleting the user exchange rate data from Redis, wherein the real-time exchange rate meets a transaction request of the user;
and when the transaction type is a money selling transaction, determining the user exchange rate data with the numerical value smaller than the real-time exchange rate in the new sequence and the corresponding user, extracting the user exchange rate data with the numerical value smaller than the real-time exchange rate information, and deleting the user exchange rate data from Redis, wherein the real-time exchange rate meets the transaction request of the user.
3. The 5G message-based exchange rate monitoring transaction reminding method according to claim 2, further comprising:
recording the storage time of the user exchange rate data in Redis;
and when the storage time exceeds the exchange rate monitoring time, deleting the user exchange rate data from Redis.
4. The 5G message-based exchange rate monitoring transaction reminding method according to claim 3, further comprising:
and when the real-time exchange rate is judged not to meet the transaction request of the user, calling a 5G message interface, and sending a message prompt of transaction failure to the user.
5. The 5G message-based exchange rate monitoring transaction reminding method according to claim 1, further comprising:
and after sending a message prompt of transaction failure to the user, acquiring a transaction request re-input by the user, and re-executing monitoring on the real-time exchange rate and the target exchange rate within the exchange rate monitoring time, wherein the transaction request re-input by the user comprises the target exchange rate modified by the user.
6. The 5G message-based exchange rate monitoring transaction reminding method according to claim 1, further comprising:
according to a transaction authorization instruction sent by a user after receiving a transaction prompt, performing transaction for the user;
returning a transaction result to the 5G message interface;
and sending a transaction completion prompt to the user by using the 5G message interface.
7. A rate monitoring transaction reminder device based on 5G messages, the device comprising:
the transaction request acquisition unit is used for acquiring a transaction request input by a user, wherein the transaction request comprises transaction type, target exchange rate, user identity information, exchange rate monitoring time, transaction amount and user account information;
the real-time exchange rate information acquisition unit is used for acquiring real-time exchange rate information in exchange rate monitoring time;
the judging unit is used for judging whether the real-time exchange rate meets the transaction request of the user or not according to the transaction type, the numerical value of the real-time exchange rate information in the exchange rate monitoring time and the target exchange rate, wherein the transaction type comprises a settlement transaction and a sales transaction;
and the transaction reminding sending unit is used for calling the 5G message interface if the transaction request of the user is met, and sending the transaction reminding to the user by using the 5G message interface.
8. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method of any one of claims 1 to 6 when executing the computer program.
9. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which, when executed by a processor, implements the method of any one of claims 1 to 6.
10. A computer program product, characterized in that the computer program product comprises a computer program which, when being executed by a processor, carries out the method of any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211204515.4A CN115482108A (en) | 2022-09-29 | 2022-09-29 | Exchange rate monitoring transaction reminding method and device based on 5G message |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211204515.4A CN115482108A (en) | 2022-09-29 | 2022-09-29 | Exchange rate monitoring transaction reminding method and device based on 5G message |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115482108A true CN115482108A (en) | 2022-12-16 |
Family
ID=84394637
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211204515.4A Pending CN115482108A (en) | 2022-09-29 | 2022-09-29 | Exchange rate monitoring transaction reminding method and device based on 5G message |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115482108A (en) |
-
2022
- 2022-09-29 CN CN202211204515.4A patent/CN115482108A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10643180B2 (en) | Fraud detection system automatic rule population engine | |
US8407142B1 (en) | Managing a universal payment account | |
CN108764911B (en) | Transaction method and system for internet points | |
CN117252590A (en) | Method and apparatus for digital asset account management | |
US20070233597A1 (en) | Least cost network routing for electronic transactions | |
US11126996B2 (en) | Settlement system, server device, terminal device, method and program | |
CN110503564B (en) | Security case processing method, system, equipment and storage medium based on big data | |
US9129321B2 (en) | Fraud detection system audit capability | |
CN112036890B (en) | Customer identity authentication method and device | |
CN114862110A (en) | Method and device for building middle platform of commercial banking business, electronic equipment and storage medium | |
CN112651733A (en) | Channel route selection method, device, equipment and storage medium | |
CN111258750B (en) | Data volume processing method and system, and credit allocation method and system | |
CN112990871A (en) | Document processing method and related equipment | |
CN111565151A (en) | Customer service line routing method and device | |
CN111105238A (en) | Transaction risk control method and device | |
CN110689424A (en) | Capital supply and demand matching method and system | |
CN113052673B (en) | Account checking and clearing method and device, computer equipment and storage medium | |
CN115482108A (en) | Exchange rate monitoring transaction reminding method and device based on 5G message | |
CN115358876A (en) | Transaction risk control method and device, computer equipment and storage medium | |
US20200074547A1 (en) | Blockchain-enabled electronic futures trading system with optional computerized delivery of cryptocurrency | |
US20150294404A1 (en) | Method and system for legal processing for debt collection | |
CN111445325A (en) | Credit card information processing method, device, system and storage medium | |
CN110688584A (en) | User matching method, electronic equipment and computer program product | |
CN111932368B (en) | Credit card issuing system and construction method and device thereof | |
CN115375324A (en) | Excess verification method, device, storage medium and equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |