Method and device for controlling network payment, electronic device and medium

By monitoring and processing of user terminal messages, the forwarding of messages containing payment instruction identifiers is blocked, and the uncontrolled payment problem of teenagers and children and the elderly during online payment is solved, and the security protection of user funds is achieved.

CN112150137BActive Publication Date: 2025-05-16BEIJING QIHOOD TECHNOLOGY CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN201910570886.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-06-28
Publication Date
2025-05-16
Estimated Expiration
2039-06-28

AI Technical Summary

Technical Problem

When using the online payment function, children and the elderly are prone to inducement or fraud by the program content due to lack of social experience and self-control, resulting in uncontrolled online payment problems, especially in the case of small-scale password-free payment and reminder-free functions.

Method used

By monitoring and processing the messages generated by the user terminal, the feature identifier of the message is extracted, and whether the payment instruction identifier is included. If so, the forwarding of the message is blocked to avoid triggering the real payment behavior.

Benefits of technology

It effectively avoids uncontrolled online payment problems, protects users' funds security, especially for young children and the elderly, and improves their security when using the online payment function.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112150137B_ABST
    Figure CN112150137B_ABST
Patent Text Reader

Abstract

The present application provides a method and device, electronic device and medium for controlling network payment, wherein the non-method includes: receiving and temporarily storing the current message sent by the user terminal; extracting the characteristic identifier of the current message; judging whether the characteristic identifier includes the payment instruction identifier; when the characteristic identifier includes the payment instruction identifier, blocking the forwarding of the current message; wherein: the payment instruction identifier is used to identify that the current message includes the payment instruction. The aforementioned method parses the current message sent by the user terminal to determine the characteristic identifier, and when the characteristic identifier includes the payment instruction identifier, blocks the forwarding of the current message, thereby preventing the current message from being forwarded to the server of the network payment platform and triggering a real payment behavior.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of online payment, and in particular to a method and device for controlling online payment, as well as an electronic device for implementing the aforementioned method and a medium for storing instructions for implementing the aforementioned method. Background Art

[0002] Online payment has the advantages of being easy to use, which greatly facilitates users' payment methods after shopping. Currently, some online payment platforms have also launched small-amount payment without passwords and reminders to better enhance the user experience.

[0003] At present, more and more children are equipped with electronic devices such as smart phones or tablets, and use such electronic devices to study and entertain online. Due to their lack of social experience and self-control, when using electronic devices, children may be induced or deceived by the content of certain programs and use the online payment function to pay certain specific websites, resulting in financial losses. This situation especially occurs in the case of small-amount payments and the parents' financial accounts are set to be free of small-amount reminders. Similarly, this situation also occurs among the elderly. Summary of the invention

[0004] The present application provides a method and device for controlling network payment, which avoids the problem of uncontrolled network payment by monitoring and processing the messages generated by the user terminal. In addition, the present application also provides an electronic device for implementing the aforementioned method for controlling network payment, and a medium for storing instructions for implementing the aforementioned method for controlling network payment.

[0005] The present application provides a method for controlling network payment, including:

[0006] Receive and temporarily store the current message sent by the user terminal;

[0007] Extracting a characteristic identifier of the current message;

[0008] Determining whether the characteristic identifier includes a payment instruction identifier;

[0009] If yes, blocking the forwarding of the current message;

[0010] Wherein: the payment instruction identifier is used to identify that the current message contains a payment instruction.

[0011] Optionally, the blocking of forwarding of the current message includes:

[0012] Determine the payee according to the payee identifier in the characteristic identifier;

[0013] Determining whether there is authority to pay the payee;

[0014] If not, forwarding of the current message is blocked.

[0015] Optionally, the blocking of forwarding of the current message includes:

[0016] Searching for a payee identifier corresponding to a first message received within a first time period and having a characteristic identifier including a payment request identifier;

[0017] Determining whether there is authority to pay the payee corresponding to the payee identifier;

[0018] If not, blocking the forwarding of the current message;

[0019] Among them: the first time period is the time period before the current message is received and is continuous with the time of receiving the current message.

[0020] Optionally, the determining whether there is authority to pay the payee includes:

[0021] Generate a permission request message, and send the permission request message to the control terminal;

[0022] Receiving the control command message returned by the control terminal;

[0023] Determining whether the control instruction message includes an instruction to agree to pay;

[0024] Wherein, the permission request message includes the payee information.

[0025] Optionally, the blocking of forwarding of the current message includes:

[0026] Searching for a program identifier corresponding to a first message received within a first time period and having a characteristic identifier including a payment request identifier;

[0027] Determining whether the application program identified by the program identifier has the authority to initiate a payment request;

[0028] If not, blocking the forwarding of the current message;

[0029] Among them: the first time period is a time period before receiving the current message and continuous with the time of receiving the current message; the first message is sent by the user terminal.

[0030] Optionally, determining whether the application has permission to initiate a payment request includes:

[0031] Generate a permission request message, and send the permission request message to the control terminal;

[0032] Receiving the control command message returned by the control terminal;

[0033] Determining whether the control message includes an instruction to agree to pay;

[0034] The permission request message includes information about the application.

[0035] Optionally, the blocking of forwarding of the current message includes:

[0036] Generate a permission request message, and send the permission request message to the control terminal;

[0037] Receiving the control command message returned by the control terminal;

[0038] Determining whether the control message includes an instruction to agree to pay;

[0039] If not, blocking the forwarding of the current message;

[0040] Wherein: the authority request message includes information that the current message contains a payment instruction.

[0041] This application provides another method for controlling network payment, including:

[0042] Receive and temporarily store the current message sent by the user terminal;

[0043] Extracting a characteristic identifier of the current message;

[0044] Determining whether the characteristic identifier of the current message includes a payment request identifier;

[0045] If yes, blocking the forwarding of the current message;

[0046] Wherein: the payment request identifier is used to identify that the current message contains payment request information.

[0047] Optionally, the blocking of forwarding of the current message includes:

[0048] Determine the application program according to the application program identifier in the characteristic identifier;

[0049] Determining whether the application has permission to initiate a payment request;

[0050] If not, forwarding of the current message is blocked.

[0051] Optionally, determining whether the application has permission to initiate a payment request includes:

[0052] Generate a permission request message, and send the permission request message to the control terminal;

[0053] Receiving the control message returned by the control terminal;

[0054] Determining whether the control message includes an order approval instruction;

[0055] Wherein: the authority request message includes information that the current message contains a payment request.

[0056] The present application also provides a device for controlling network payment, comprising:

[0057] A storage unit, used for receiving and temporarily storing the current message sent by the user terminal;

[0058] A feature extraction unit, used to extract a feature identifier of the current message;

[0059] A judging unit, used for judging whether the characteristic identifier includes a payment instruction identifier;

[0060] a blocking unit, configured to block forwarding of the current message when the judging unit determines whether the characteristic identifier includes a payment instruction identifier;

[0061] Wherein: the payment instruction identifier is used to identify that the current message contains a payment instruction.

[0062] Optionally, the blocking unit blocks forwarding of the current message, including:

[0063] Determine the payee according to the payee identifier in the characteristic identifier;

[0064] Determining whether there is authority to pay the payee;

[0065] If not, forwarding of the current message is blocked.

[0066] Optionally, the blocking unit blocks forwarding of the current message, including:

[0067] Searching for a payee identifier corresponding to a first message received within a first time period and having a characteristic identifier including a payment request identifier;

[0068] Determining whether there is authority to pay the payee corresponding to the payee identifier;

[0069] If not, blocking the forwarding of the current message;

[0070] Among them: the first time period is the time period before the current message is received and is continuous with the time of receiving the current message.

[0071] Optionally, the determining whether there is authority to pay the payee includes:

[0072] Generate a permission request message, and send the permission request message to the control terminal;

[0073] Receiving the control command message returned by the control terminal;

[0074] Determining whether the control instruction message includes an instruction to agree to pay;

[0075] Wherein, the permission request message includes the payee information.

[0076] Optionally, the blocking unit blocks forwarding of the current message, including:

[0077] Searching for a program identifier corresponding to a first message received within a first time period and having a characteristic identifier including a payment request identifier;

[0078] Determining whether the application program identified by the program identifier has the authority to initiate a payment request;

[0079] If not, blocking the forwarding of the current message;

[0080] Among them: the first time period is a time period before receiving the current message and continuous with the time of receiving the current message; the first message is sent by the user terminal.

[0081] Optionally, determining whether the application has permission to initiate a payment request includes:

[0082] Generate a permission request message, and send the permission request message to the control terminal;

[0083] Receiving the control command message returned by the control terminal;

[0084] Determining whether the control message includes an instruction to agree to pay;

[0085] The permission request message includes information about the application.

[0086] Optionally, the blocking unit blocks forwarding of the current message, including:

[0087] Generate a permission request message, and send the permission request message to the control terminal;

[0088] Receiving the control command message returned by the control terminal;

[0089] Determining whether the control message includes an instruction to agree to pay;

[0090] If not, blocking the forwarding of the current message;

[0091] Wherein: the authority request message includes information that the current message contains a payment instruction.

[0092] The present application provides another device for controlling network payment, which includes:

[0093] A storage unit, used for receiving and temporarily storing the current message sent by the user terminal;

[0094] A feature extraction unit, used to extract a feature identifier of the current message;

[0095] A judging unit, configured to judge whether the characteristic identifier of the current message includes a payment request identifier;

[0096] A blocking unit, configured to block forwarding of the current message if the judging unit determines that the characteristic identifier of the current message includes a payment request identifier;

[0097] Wherein: the payment request identifier is used to identify that the current message contains payment request information.

[0098] Optionally, the blocking unit blocks forwarding of the current message, including:

[0099] Determine the application program according to the application program identifier in the characteristic identifier;

[0100] Determining whether the application has permission to initiate a payment request;

[0101] If not, forwarding of the current message is blocked.

[0102] Optionally, determining whether the application has permission to initiate a payment request includes:

[0103] Generate a permission request message, and send the permission request message to the control terminal;

[0104] Receiving the control message returned by the control terminal;

[0105] Determining whether the control message includes an order approval instruction;

[0106] Wherein: the authority request message includes information that the current message contains a payment request.

[0107] The present application also provides a medium, which is a storage medium; the storage medium stores multiple instructions, and the instructions are suitable for being loaded by a processor and executing the method for controlling network payment as described in any of the preceding items.

[0108] The present application also provides an electronic device, comprising a memory and a processor; the memory is used to store multiple instructions; the processor is used to implement each of the instructions; the instructions are suitable for being loaded by the processor and executing the method for controlling network payment as described above.

[0109] The method for controlling online payment provided by the present application parses the current message sent by the user terminal to determine the characteristic identifier, and when the characteristic identifier includes the payment instruction identifier, blocks the forwarding of the current message to prevent the current message from being forwarded to the server of the online payment platform and triggering the real payment behavior. In the aforementioned case, even if the user using the user terminal knows that the payment behavior has been triggered by entering the payment password, loading the payment key, etc., and the current message including the payment instruction has been formed; however, the current message is intercepted by the network control device, which prevents the payment instruction from being transmitted to the server of the online payment platform and triggering the payment behavior. BRIEF DESCRIPTION OF THE DRAWINGS

[0110] Figure 1 A method for controlling network payment provided by an embodiment;

[0111] Figure 2 Another embodiment provides a method for controlling network payment;

[0112] Figure 3 is a flow chart of a method for controlling network payment provided by another embodiment;

[0113] Figure 4 is a flow chart of a method for controlling network payment provided by another embodiment;

[0114] Figure 5 is a flow chart of a method for controlling network payment provided by another embodiment;

[0115] Figure 6 is a flow chart of a method for controlling network payment provided by another embodiment;

[0116] Figure 7 is a schematic diagram of the structure of a device for controlling network payment provided by an embodiment;

[0117] Among them: 11-storage unit, 12-feature extraction unit, 13-judgment unit, 14-blocking unit. DETAILED DESCRIPTION

[0118] The present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the relevant invention, rather than to limit the invention. It should also be noted that, for ease of description, only the parts related to the relevant invention are shown in the accompanying drawings.

[0119] The present application provides a method for controlling network payment, which performs feature recognition on messages sent by user terminals, and when it is determined that the messages may contain payment instructions or payment requests, controls the forwarding of messages to achieve the function of blocking payment.

[0120] Embodiment 1

[0121] Figure 1 A method for controlling network payment provided by an embodiment. Figure 1 As shown, in one embodiment, the method for controlling network payment includes steps S101-S105.

[0122] S101: receiving and temporarily storing a current message sent by a user terminal.

[0123] In actual applications, when an application installed on a user terminal and in use needs to obtain network resources, it will call the underlying communication module of the user terminal operating system and use the underlying communication module to send the generated current message to the gateway device in the Internet (local area network or wide area network).

[0124] After receiving the current message, the gateway device temporarily stores the current message and determines how to process the current message according to subsequent steps.

[0125] S102: Extract the characteristic identifier of the current message.

[0126] After the gateway device temporarily stores the current message, the corresponding identification device parses and processes the current message; the embodiment of the present application does not specifically limit the identification device. In specific applications, the processor built into the gateway device may parse and process the current message, or the gateway device may send the current message to a specific device in a message forwarding mode, and the specific device may parse and process the current message;.

[0127] Extracting the characteristic identifier of the current message may include one or more of the following, preferably including all of the following: (1) parsing the IP frame header data of the current message to determine the source IP address and the destination IP address; (2) parsing the transport layer packet header of the current message to determine the source port and the destination port number; (3) parsing the main part of the transport layer of the current message to determine other identification information that can represent the characteristics of this message.

[0128] In specific applications: (1) and (2) are executed by parsing the current message according to the corresponding protocol rules; (3) is executed, and there are multiple options: [1] If the application layer protocol used by the main part of the transport layer data can be determined, and the corresponding application layer protocol does not encrypt the transmission content, the application layer protocol can be used to parse and identify the corresponding data; [2] If the application layer protocol used by the main part of the transport layer data cannot be determined, or the corresponding application layer protocol encrypts the transmission content, the feature recognition algorithm can be used to perform overall feature recognition on the data.

[0129] In actual applications, in order to ensure the security of data during online payment and avoid data leakage, the main data of the transport layer in the messages used for online payment is mostly encrypted data, which cannot be directly parsed according to the application layer protocol. Correspondingly, a feature recognition algorithm can be used to parse the main data of the transport layer.

[0130] The feature recognition algorithm mentioned in the previous paragraph should be obtained by training a deep learning model with a sufficient number of sample messages containing various payment instructions, where the deep learning model can be a neural network model or other types of data models.

[0131] In practical applications, considering that the training of feature recognition algorithms requires a sufficient number of message samples and consumes a large amount of resources, the feature recognition algorithm can be trained by a specific terminal (such as a server) and then sent to the device that recognizes the current message.

[0132] S103: Determine whether the characteristic identifier of the current message contains a payment instruction identifier; if so, execute S104; if not, execute S105.

[0133] After obtaining the characteristic identifier of the current message, the identification device analyzes and identifies the attributes of the characteristic identifier to determine whether the message identifier contains the payment instruction identifier.

[0134] S104: Block the forwarding of the current message.

[0135] S105: Forward the current message.

[0136] To determine whether the characteristic identifier includes the payment instruction identifier, the characteristic identifier of the current message is compared with data in a preset database, wherein the preset database stores payment instruction identifiers corresponding to payment instructions of various typical network payment platforms.

[0137] For example, in the preset database, characteristic information representing a payment instruction of a typical third-party payment platform includes {application identifier, target IP address, target port number, payment instruction identifier}.

[0138] The recognition device uses the characteristic identifier to traverse and compare with the data in the preset database. After determining that the characteristic identifier of the current message includes the payment instruction identifier, it is determined that the current message includes the payment instruction.

[0139] In order to prevent the current message from being forwarded outward and triggering the corresponding server to execute a real payment action, it is necessary to block the forwarding of the current message; and if the characteristic identifier does not include the payment instruction identifier, it proves that the current message does not include a payment instruction, so the current message can be forwarded.

[0140] The method for controlling online payment provided in the embodiment of the present application parses the current message sent by the user terminal to determine the characteristic identifier, and when the characteristic identifier includes a payment instruction identifier, blocks the forwarding of the current message to prevent the current message from being forwarded to the server of the online payment platform and triggering a real payment behavior.

[0141] In the above situation, even if the user of the user terminal knows that the payment behavior has been triggered by entering the payment password, loading the payment key, etc., and a current message including the payment instruction has been formed; however, the current message is intercepted by the network control device, preventing the payment instruction from being transmitted to the server of the network payment platform and triggering the payment behavior.

[0142] The method provided in the embodiments of the present application can have the following practical applications: (1) restricting teenagers from using online payment methods to purchase goods at will, especially using online payment methods to pay game platforms and online live broadcast platforms to achieve the purpose of purchasing game point cards and rewarding anchors. (2) preventing teenagers and the elderly from being tempted by online propaganda or being deceived by online fraud and paying to accounts provided by criminals.

[0143] It should be noted that in the aforementioned method, the payment instruction identifier is an identifier representing that the current message includes a payment instruction, which may be the payment instruction in the current message or may not be the payment instruction in the current message.

[0144] Embodiment 2

[0145] Figure 2 Another embodiment provides a method for controlling network payment. Figure 2 As shown, in another embodiment, the method for controlling network payment includes steps S201-S205.

[0146] S201: Receive and temporarily store the current message sent by the user terminal.

[0147] In actual applications, when an application installed on a user terminal and in use needs to obtain network resources, it will call the underlying communication module of the user terminal operating system and use the underlying communication module to send the generated current message to the gateway device in the Internet (local area network or wide area network).

[0148] After receiving the current message, the gateway device temporarily stores the current message and determines how to process the current message according to subsequent steps.

[0149] S202: Extract the characteristic identifier of the current message.

[0150] Similar to the first embodiment, in the embodiment of the present application, the method for extracting the characteristic identifier of the current message includes at least the following: Extracting the characteristic identifier of the current message may include one or more of the following, preferably including all the contents: (1) parsing the IP frame header data of the current message to determine the source IP address and the destination IP address; (2) parsing the transport layer packet header of the current message to determine the source port and the destination port number; (3) parsing the main part of the transport layer of the current message to determine other identification information that can represent the characteristics of this message; wherein (3) can be parsed according to the corresponding protocol type, or it can be obtained by processing using a deep learning algorithm

[0151] S203: Determine whether the characteristic identifier of the current message contains a payment instruction identifier; if not, execute S204; if so, execute S205.

[0152] To determine whether the characteristic identifier includes the payment instruction identifier, the characteristic identifier of the current message is compared with data in a preset database, wherein the preset database stores payment instruction identifiers of various typical online payment software and payment instruction identifiers generated by applications that have been determined through network monitoring to have illegally obtained user account information and password information.

[0153] For example, in the preset database, the payment instruction information for a specific application includes {application identifier, target IP address, target port number, payment identifier, payee identifier}.

[0154] The identification device uses the characteristic identifier to traverse and compare with the data in the preset database, and after determining whether the characteristic identifier of the current message includes the payment instruction identifier, it determines whether the current message includes the payment instruction.

[0155] S204: Forward the current message.

[0156] If the characteristic identifier does not include the payment instruction identifier, it proves that the current message does not contain a payment instruction, and the current message can be forwarded directly without triggering a payment action.

[0157] S205: Determine the payee according to the payee identifier in the feature identifier.

[0158] If the characteristic identifier includes a payment instruction identifier, the payee targeted by the payment instruction needs to be determined based on the payee identifier in the characteristic identifier.

[0159] The inventors of the present application have found through analysis of payment message characteristics that messages generated and triggered by applications developed by some third-party payment platforms for initiating payment actions include a payee ID; therefore, the payee ID can be used to determine the payee to whom the payment instruction is directed.

[0160] S206: Determine whether there is authority to pay the payee; if so, execute S204; if not, execute S207.

[0161] S207: Block the forwarding of the current message.

[0162] If the user terminal has the authority to pay the payee, it proves that the payment instruction of the current message is legal and the current message can be forwarded; if the user terminal does not have the authority to pay the payee, it proves that the payment instruction of the current message is illegal and the forwarding of the current message needs to be blocked.

[0163] In actual applications, users have the following requirements: (1) When paying certain specific payees, such as paying water companies or telecommunications companies to recharge water and electricity, the online payment function can be used; (2) When the user terminal attempts to pay some game service providers or video service providers, the payment function is blocked.

[0164] In response to the above requirements, the method for controlling network payment provided in the embodiment of the present application does not simply block the forwarding of the current message after determining that the current message has a payment instruction identifier, but determines the payee according to the payee identifier therein, and blocks the forwarding of the current message when the payee is a specific payee (such as a game service provider or a video service provider). The use of such a method for controlling network payment will not block the network payment behavior initiated by the user terminal due to normal life needs, thus avoiding the impact on the user's daily life.

[0165] Embodiment 3

[0166] Figure 3 FIG. 1 is a flow chart of a method for controlling network payment provided by another embodiment. Figure 3 As shown, in another embodiment, the method for controlling network payment includes steps S301-S308.

[0167] S301: Receive and temporarily store the current message sent by the user terminal.

[0168] S302: Extract the characteristic identifier of the current message.

[0169] S303: Determine whether the characteristic identifier of the current message contains a payment instruction identifier; if not, execute S304; if so, execute S305.

[0170] Possible implementations of the aforementioned steps S301-S303 are similar to those of the first and second embodiments and will not be elaborated here.

[0171] S304: Forward the current message.

[0172] If the characteristic identifier does not include the payment instruction identifier, it proves that the current message is not a message including a payment instruction, and the current message can be directly forwarded without triggering the payment behavior.

[0173] S305: Searching for the payee identifier corresponding to the first message received in the first time period and having a characteristic identifier including a payment request identifier.

[0174] Before analyzing the execution of S305, a brief introduction is first given to the existing payment process using a third-party payment platform.

[0175] For example, when a user using a user terminal selects a certain item on an online shopping platform and needs to pay for it, after clicking the corresponding order confirmation button, the user terminal will generate a payment request message; the payment request message will be sent to the server of the online shopping platform; then, the online shopping platform communicates with the third-party payment platform to obtain the payment slip number, which is used to identify the order corresponding to the user's payment behavior; the online shopping platform server then sends the payment slip number to the user terminal; when the user terminal initiates a payment instruction and generates the current message, it needs to add the payment slip number in the current message.

[0176] From the above analysis, we can know that when using a third-party platform to pay, the user terminal needs to initiate a payment request message, and the online shopping platform will send a message containing the payment slip number, and the information contained in these two messages can be regarded as payment request information. After parsing any of the above two messages, the payment request identifier may be found.

[0177] Only after issuing the aforementioned payment request identifier or receiving the aforementioned payment request identifier will the user terminal issue the current message including the payment instruction; therefore, the corresponding payee identifier can be determined using the message including the payment request identifier, and the payee identifier can be used to determine the payee.

[0178] Taking into account the continuity of the aforementioned payment behavior in time, a general user can initiate the current message containing the payment instruction within the first time period of initiating the payment request message. Therefore, the first message received within the first time period can be parsed to determine the first message containing the payment request identifier, and the payee identifier can be searched based on the characteristic identifier of the first message to determine the final payee. Please note that the first time period mentioned here is the time period before the moment the current message is received and continuous with the moment the current message is received.

[0179] The aforementioned first time period can be determined according to the network conditions and the response speed of the online shopping platform. Considering that the current network speed and the response speed of the online shopping platform can reach the millisecond level, the aforementioned first time period can be a millisecond level time period. Please note that setting the first time period to a shorter time period can reduce the possibility of identifying multiple first messages containing payment request identifiers, thereby reducing the possibility of association errors.

[0180] S306: Determine the payee according to the payee identifier.

[0181] S307: Determine whether there is authority to pay the payee; if so, execute S304; if not, execute S308.

[0182] S308: Block forwarding of the current message.

[0183] According to the above steps, after the payee ID is found, the corresponding payee can be determined according to the payee ID.

[0184] If the user terminal has the authority to pay the payee, it proves that the payment instruction of the current message is legal and the current message can be forwarded; if the user terminal does not have the authority to pay the payee, it proves that the payment instruction of the current message is illegal and the forwarding of the current message needs to be blocked.

[0185] By adopting the method for controlling online payment provided in the embodiment of the present application, even if the payee cannot be found through the current message (in this case, the current message may not have the payee identification, or the payee identification is encrypted and cannot be identified), the payee can be determined based on the first message containing the payment request identification received within the first time period.

[0186] It should be noted that the aforementioned first message including the payment request may be a message sent by a user terminal, or may be a message sent by an online shopping platform, which is not limited in the embodiment of the present application.

[0187] In the aforementioned Embodiment 2 and Embodiment 3, determining whether there is authority to pay the payee may be performed according to steps S401-S403.

[0188] S401: Generate a permission request message, and send the permission request message to the control terminal.

[0189] S402: Receive a control instruction message returned by the control terminal.

[0190] S403: Determine whether the control instruction message includes a payment consent instruction.

[0191] If yes, execute S204 or S304, if no, execute S207 or S208.

[0192] In some applications, whether or not to have the authority to pay to various payees is not set in advance; instead, upon receiving the current message including the payment instruction, a permission request is sent to the control terminal so that the control terminal prompts the management personnel to set the authority. The permission request is sent to the control terminal in the form of a permission request message, which includes the payee information.

[0193] Embodiment 4

[0194] Figure 4 FIG. 1 is a flow chart of a method for controlling network payment provided by another embodiment. Figure 4 As shown, the method for controlling online payment provided in this embodiment includes steps S501-S508.

[0195] S501: Receive and temporarily store the current message sent by the user terminal.

[0196] S502: Extracting a characteristic identifier from the current message.

[0197] S503: Determine whether the characteristic identifier of the current message contains a payment instruction identifier; if not, execute S504; if so, execute S505.

[0198] Possible implementations of the aforementioned steps S501-S503 are similar to those of the first and second embodiments and will not be elaborated here.

[0199] S504: Forward the current message.

[0200] If the characteristic identifier does not include the payment instruction identifier, it proves that the current message is not a message including a payment instruction, and the current message can be directly forwarded.

[0201] S505: Searching for a program identifier corresponding to a first message received within a first time period and having a characteristic identifier including a payment request identifier.

[0202] S506: Determine the application program according to the program identifier.

[0203] Here, the payment process using a third-party payment platform is still introduced, but the focus of the introduction is slightly different from that of the third embodiment.

[0204] For example, when a user is shopping using a specific network platform APP on a user terminal and selects a product to pay for, after clicking the corresponding order confirmation button, the user terminal will generate a payment request message; and the payment request message contains the application identifier that initiates the payment request, so the application that initiates the payment request can be determined by the program identifier.

[0205] S507: Determine whether the application has the authority to initiate a payment request; if so, execute S504; if not, execute S508;

[0206] S508: Block the forwarding of the current message.

[0207] If the application in the user terminal has the authority to initiate payment, it proves that the payment instruction of the current message is legal and the current message can be forwarded; if the user terminal application does not have the authority to initiate payment request, it proves that the payment instruction of the current message is illegal and the forwarding of the current message needs to be blocked.

[0208] By adopting the method for controlling online payment provided in the embodiment of the present application, even if the payee cannot be found through the current message (in this case, the current message may not have the payee identification, or the payee identification is encrypted and cannot be identified), it is possible to determine the application that initiates the payment request based on the first message containing the payment request identification received within the first time period, and determine whether to forward the current message by judging whether the application has the authority to initiate the payment request.

[0209] In the aforementioned embodiment, determining whether the application has the authority to initiate a payment request may be performed according to steps S601-S603.

[0210] S601: Generate a permission request message, and send the permission request message to the control terminal.

[0211] S602: Receive a control instruction message returned by the control terminal.

[0212] S603: Determine whether the control instruction message includes a payment consent instruction.

[0213] If yes, execute S504, if no, execute S508.

[0214] In some application scenarios, it is not set in advance whether the application has the authority to initiate a payment request; instead, a permission request is sent to the control terminal only after receiving the current message including the payment instruction, so that the control terminal prompts the management personnel to set the authority. The permission request is sent to the control terminal in the form of a permission request message, which includes the information of the application.

[0215] Embodiment 5

[0216] Figure 5 FIG. 1 is a flow chart of a method for controlling network payment provided by another embodiment. Figure 5 As shown, the method for controlling online payment provided in this embodiment includes steps S701-S708.

[0217] S701: Receive and temporarily store the current message sent by the user terminal.

[0218] S702: Extract the characteristic identifier in the current message.

[0219] S703: Determine whether the characteristic identifier of the current message contains a payment instruction identifier; if not, execute S704; if so, execute S705.

[0220] Possible implementations of the aforementioned steps S701-S303 are similar to those of the first and second embodiments and will not be elaborated here.

[0221] S704: Forward the current message.

[0222] If the characteristic identifier does not include the payment instruction identifier, it proves that the current message is not a message including a payment instruction, and the current message can be directly forwarded.

[0223] S705: Generate a permission request message, and send the permission request message to the control terminal.

[0224] S706: Receive the control message returned by the control terminal.

[0225] S707: Determine whether the control message includes an instruction to agree to pay; if not, execute S708; if so, execute S704.

[0226] S708: Block forwarding of the current message.

[0227] In some application scenarios, it is not set in advance whether the user terminal has the authority to initiate a payment request; instead, after receiving the current message including the payment instruction, a permission request is sent to the control terminal so that the control terminal prompts the control personnel to set the authority. The permission request is sent to the control terminal in the form of a permission request message, which includes information that the current message contains the payment instruction.

[0228] The method for controlling network payment provided in the embodiment of the present application directly sends an authority request message to the control terminal when it is determined that the current message includes a payment instruction, and determines whether to block the forwarding of the current message based on whether the authority request message includes an instruction to agree to pay.

[0229] Embodiment 6

[0230] Figure 6 FIG. 1 is a flow chart of a method for controlling network payment provided by another embodiment. Figure 6 As shown, the method for controlling online payment provided in this embodiment includes steps S801-S805.

[0231] S801: Receive and temporarily store the current message sent by the user terminal.

[0232] S802: Extract the characteristic identifier of the current message.

[0233] The possible implementation of S801 and S802 is the same as that in the first embodiment, and will not be repeated here.

[0234] S803: Determine whether the characteristic identifier of the current message includes a payment request identifier; if so, execute S804; if not, execute S805.

[0235] S804: Block forwarding of the current message.

[0236] S805: Forward the current message.

[0237] Different from the above-mentioned embodiment, in the embodiment of the present application, after extracting the characteristic identifier of the current message, it is not determined whether the characteristic identifier contains the payment instruction identifier, but whether the current message contains the payment request identifier. The payment request identifier is used to identify that the current message contains payment request information.

[0238] For example, when a user using a user terminal selects a product on an online shopping platform and needs to pay for it, after clicking a corresponding order confirmation button, the user terminal will generate a message containing payment request information.

[0239] If it is determined that the payment request information is included, this embodiment directly blocks the forwarding of the current message; according to the process of using a third-party payment platform for online payment mentioned above, it can be seen that because the forwarding of the current message containing the payment request information is blocked, the server of the online shopping platform cannot generate a payment serial number, and cannot trigger subsequent payment behavior.

[0240] In addition, based on the sixth embodiment, S804 blocking the forwarding of the current message may include steps S901-S903.

[0241] S901: Determine the application program according to the characteristic identifier;

[0242] S902: Determine whether the application has the authority to initiate a payment request; if so, execute S805; if not, execute S903.

[0243] S903: Block forwarding of the current message.

[0244] In some application scenarios, after determining that the characteristic identifier of the current message includes the payment request identifier, the program identifier of the current message is checked to determine which application triggered the user terminal to generate the current message; then it is determined whether the application has the authority to initiate a payment request. If it has the authority to initiate a payment request, the current message is forwarded; if it does not have the authority to initiate a payment request, the forwarding of the current message is blocked.

[0245] By adopting the above method, it is possible to set whether each application (excluding third-party payment software programs) that may be installed in the user terminal has the authority to initiate a payment request, and then control the payment initiation behavior of each application separately.

[0246] Furthermore, based on the sixth embodiment, S903 of determining whether the application has the authority to initiate a payment request may include steps S1001-S1004.

[0247] S1001: Generate a permission request message, and send the permission request message to the control terminal.

[0248] S1002: Receive the control message returned by the control terminal.

[0249] S1003: Determine whether the control message contains an order approval instruction

[0250] In some application scenarios, it is not set in advance whether the user terminal has the authority to initiate a payment request; instead, after receiving the current message including the payment request, the permission request is sent to the control terminal so that the control terminal prompts the control personnel to set the authority. The permission request is sent to the control terminal in the form of a permission request message, which includes information that the current message includes a payment request.

[0251] Only when the message returned by the control terminal includes the order instruction of approval, the current message will be forwarded, so that the online shopping platform will initiate the payment order number to the third-party payment platform, and then send the payment order number to the user terminal.

[0252] Correspondingly, based on the sixth embodiment, S804 blocking the forwarding of the current message may include steps S1101-S1103.

[0253] S1101: Generate a permission request message, and send the permission request message to the control terminal.

[0254] S1102: Receive a control message returned by the control terminal;

[0255] S1103 determines whether the control message includes an order approval instruction.

[0256] In addition to providing the aforementioned method for controlling online payment, the embodiment of the present application also provides an apparatus for controlling online payment.

[0257] Embodiment 7

[0258] Figure 7 The following is a schematic diagram of the structure of a device for controlling network payment provided by an embodiment. Figure 7 As shown, in this embodiment, the aforementioned device includes a storage unit 11, a feature extraction unit 12, a judgment unit and a blocking unit 14.

[0259] The storage unit 11 is used to receive and temporarily store the current message sent by the user terminal; the feature extraction unit 12 is used to extract the feature identifier of the current message; the judgment unit is used to judge whether the feature identifier includes a payment instruction identifier; the blocking unit 14 is used to block the forwarding of the current message when the judgment unit determines whether the feature identifier includes a payment instruction identifier; wherein: the payment instruction identifier is used to identify that the current message contains a payment instruction.

[0260] Similar to the first embodiment, the device for controlling online payment provided in the embodiment of the present application parses the current message sent by the user terminal to determine the characteristic identifier, and when the characteristic identifier includes a payment instruction identifier, blocks the forwarding of the current message to prevent the current message from being forwarded to the server of the online payment platform and triggering a real payment behavior.

[0261] In an embodiment based on embodiment seven, the step of blocking the forwarding of the current message by the blocking unit 14 includes: determining the payee according to the payee identifier in the feature identifier; judging whether there is authority to pay the payee; if there is no authority to pay the payee, blocking the forwarding of the current message; if there is authority to pay the payee, forwarding the current message.

[0262] In another embodiment based on the seventh embodiment, the step of blocking the forwarding of the current message by the blocking unit 14 includes: searching for the payee identifier corresponding to the first message received in the first time period and whose characteristic identifier includes the payment request identifier; judging whether there is authority to pay the payee corresponding to the payee identifier; if there is no authority to pay the payee, blocking the forwarding of the current message; if there is authority to pay the payee, forwarding the current message. Wherein: the first time period is the time period before the current message is received and is continuous with the time of receiving the current message.

[0263] In the above two embodiments, when it is determined that the characteristic identifier corresponding to the current message includes the payment instruction identifier, that is, when the current message contains a payment instruction, the payee corresponding to the payment instruction of the current message is searched. If the payee has the payment authority, the current message is forwarded; if the payee does not have the payment authority, the forwarding of the current message is blocked.

[0264] In another embodiment based on the seventh embodiment, determining whether there is permission to pay the payee includes: generating a permission request message and sending the permission request message to the control terminal; then, receiving the control instruction message returned by the control terminal, and determining whether the control instruction message includes an instruction to agree to pay; wherein the permission request message includes the payee information. In this embodiment, the control of the permission is not set by the data stored in the device for controlling the network payment, but by sending a permission request message to the control terminal to trigger the control terminal to set the permission and return the control instruction message.

[0265] In another embodiment based on the seventh embodiment, the blocking unit 14 blocks the forwarding of the current message, including: searching for the program identifier corresponding to the first message received in the first time period and whose characteristic identifier includes the payment request identifier; determining the application according to the application identifier; judging whether the application has the authority to initiate a payment request; if the application does not have the authority to initiate a payment request, blocking the forwarding of the current message; if the application has the authority to initiate a payment request, forwarding the current message. Wherein: the first time period is a time period before the current message is received and is continuous with the time of receiving the current message; the first message is sent by the user terminal.

[0266] In the embodiment mentioned in the previous paragraph, judging whether the application has the authority to initiate a payment request includes: generating an authority request message and sending the authority request message to the control terminal; receiving a control instruction message returned by the control terminal; judging whether the control message includes an instruction to agree to pay; wherein the authority request message includes information about the application. In this embodiment, the control of authority is not set by data stored in the device that controls network payment, but by sending an authority request message to the control terminal to trigger the control terminal to set authority and return a control instruction message.

[0267] In another embodiment based on Embodiment 7, the blocking unit 14 blocks the forwarding of the current message, including: generating a permission request message, and sending the permission request message to the control terminal; receiving the control message returned by the control terminal; judging whether the control message includes an instruction to agree to pay; if not, blocking the forwarding of the current message; wherein: the permission request message includes information that the current message includes a payment instruction. In this embodiment, after determining that the current message includes a payment instruction, the device sends a permission request message to the control terminal to trigger the control terminal to set the permission and return the control instruction message, and determines whether to forward the current message based on whether the control instruction message includes an instruction to agree to pay.

[0268] The embodiment of the present application also provides another device for controlling network payment, which is similar to the seventh embodiment and also includes a storage unit 11, a feature extraction unit 12, a judgment unit and a blocking unit 14, but the judgment unit and the blocking unit 14 have different functions from the corresponding units in the seventh embodiment. Specifically, the storage unit 11 is used to receive and temporarily store the current message sent by the user terminal; the feature extraction unit 12 is used to extract the feature identifier of the current message; the judgment unit is used to judge whether the feature identifier of the current message contains a payment request identifier; the blocking unit 14 is used to block the forwarding of the current message when the judgment unit determines that the feature identifier of the current message contains a payment request identifier; wherein: the payment request identifier is used to identify that the current message contains payment request information.

[0269] The device for controlling network payment provided in the embodiment of the present application directly sends an authority request message to the control terminal when determining that the current message includes a payment instruction, and determines whether to block the forwarding of the current message based on whether the authority request message includes an instruction to agree to pay.

[0270] In the aforementioned embodiment, the step of blocking the forwarding of the current message by the blocking unit 14 may include: determining the application according to the application identifier in the feature identifier; judging whether the application has the authority to initiate a payment request; if the application does not have the authority to initiate a payment request, blocking the forwarding of the current message.

[0271] Furthermore, in the aforementioned embodiment, determining whether the application has the authority to initiate a payment request may include: generating a permission request message, and sending the permission request message to the control terminal; receiving a control message returned by the control terminal; determining whether the control message includes an instruction to agree to place an order; wherein: the permission request message includes information that the current message contains a payment request.

[0272] An embodiment of the present invention further provides a storage medium storing a plurality of instructions, wherein the instructions are used for a processor to load and execute the aforementioned method for controlling network payment.

[0273] In addition, an embodiment of the present application also provides an electronic device, which includes a storage medium and a processor; the processor is used to implement various instructions, and the memory is used to store multiple instructions, and the instructions are suitable for being loaded and executed by the processor to execute the aforementioned method of controlling network payment.

[0274] In a specific application, the aforementioned electronic device is preferably a router, and the router is often used as a router connecting a local area network with the outside world or with a shared file server.

[0275] A1. A method for controlling online payment, comprising:

[0276] Receive and temporarily store the current message sent by the user terminal;

[0277] Extracting a characteristic identifier of the current message;

[0278] Determining whether the characteristic identifier includes a payment instruction identifier;

[0279] If yes, blocking the forwarding of the current message;

[0280] Wherein: the payment instruction identifier is used to identify that the current message contains a payment instruction.

[0281] A2. According to the method for controlling network payment described in A1, the blocking of forwarding of the current message includes:

[0282] Determine the payee according to the payee identifier in the characteristic identifier;

[0283] Determining whether there is authority to pay the payee;

[0284] If not, forwarding of the current message is blocked.

[0285] A3. According to the method for controlling network payment described in A1, the blocking of forwarding of the current message includes:

[0286] Searching for a payee identifier corresponding to a first message received within a first time period and having a characteristic identifier including a payment request identifier;

[0287] Determining whether there is authority to pay the payee corresponding to the payee identifier;

[0288] If not, blocking the forwarding of the current message;

[0289] Among them: the first time period is the time period before the current message is received and is continuous with the time of receiving the current message.

[0290] A4. According to the method for controlling online payment described in A2 or 3, the determining whether there is authority to pay the payee comprises:

[0291] Generate a permission request message, and send the permission request message to the control terminal;

[0292] Receiving the control command message returned by the control terminal;

[0293] Determining whether the control instruction message includes an instruction to agree to pay;

[0294] Wherein, the permission request message includes the payee information.

[0295] A5. According to the method for controlling network payment described in A1, the blocking of forwarding of the current message includes:

[0296] Searching for a program identifier corresponding to a first message received within a first time period and having a characteristic identifier including a payment request identifier;

[0297] Determining whether the application program identified by the program identifier has the authority to initiate a payment request;

[0298] If not, blocking the forwarding of the current message;

[0299] Among them: the first time period is a time period before receiving the current message and continuous with the time of receiving the current message; the first message is sent by the user terminal.

[0300] A6. According to the method for controlling online payment described in A5, the step of determining whether the application has the authority to initiate a payment request comprises:

[0301] Generate a permission request message, and send the permission request message to the control terminal;

[0302] Receiving the control command message returned by the control terminal;

[0303] Determining whether the control message includes an instruction to agree to pay;

[0304] The permission request message includes information about the application.

[0305] A7. According to the method for controlling online payment described in A1,

[0306] The blocking of forwarding of the current message includes:

[0307] Generate a permission request message, and send the permission request message to the control terminal;

[0308] Receiving the control command message returned by the control terminal;

[0309] Determining whether the control message includes an instruction to agree to pay;

[0310] If not, blocking the forwarding of the current message;

[0311] Wherein: the authority request message includes information that the current message contains a payment instruction.

[0312] A8. A method for controlling online payment, comprising:

[0313] Receive and temporarily store the current message sent by the user terminal;

[0314] Extracting a characteristic identifier of the current message;

[0315] Determining whether the characteristic identifier of the current message includes a payment request identifier;

[0316] If yes, blocking the forwarding of the current message;

[0317] Wherein: the payment request identifier is used to identify that the current message contains payment request information.

[0318] A9. The method for controlling online payment according to A8,

[0319] The blocking of forwarding of the current message includes:

[0320] Determine the application program according to the application program identifier in the characteristic identifier;

[0321] Determining whether the application has permission to initiate a payment request;

[0322] If not, forwarding of the current message is blocked.

[0323] A10. According to the method for controlling online payment described in A9, the step of determining whether the application has the authority to initiate a payment request comprises:

[0324] Generate a permission request message, and send the permission request message to the control terminal;

[0325] Receiving the control message returned by the control terminal;

[0326] Determining whether the control message includes an order approval instruction;

[0327] Wherein: the authority request message includes information that the current message contains a payment request.

[0328] A11. A device for controlling online payment, comprising:

[0329] A storage unit, used for receiving and temporarily storing the current message sent by the user terminal;

[0330] A feature extraction unit, used to extract a feature identifier of the current message;

[0331] A judging unit, used for judging whether the characteristic identifier includes a payment instruction identifier;

[0332] a blocking unit, configured to block forwarding of the current message when the judging unit determines whether the characteristic identifier includes a payment instruction identifier;

[0333] Wherein: the payment instruction identifier is used to identify that the current message contains a payment instruction.

[0334] A12. The device for controlling network payment according to A11,

[0335] The blocking unit blocks forwarding of the current message, including:

[0336] Determine the payee according to the payee identifier in the characteristic identifier;

[0337] Determining whether there is authority to pay the payee;

[0338] If not, forwarding of the current message is blocked.

[0339] A13. According to the apparatus for controlling network payment described in A11, the blocking unit blocks forwarding of the current message, including:

[0340] Searching for a payee identifier corresponding to a first message received within a first time period and having a characteristic identifier including a payment request identifier;

[0341] Determining whether there is authority to pay the payee corresponding to the payee identifier;

[0342] If not, blocking the forwarding of the current message;

[0343] Among them: the first time period is the time period before the current message is received and is continuous with the time of receiving the current message.

[0344] A14. The apparatus for controlling online payment according to A12 or A13, wherein the determining whether there is authority to pay the payee comprises:

[0345] Generate a permission request message, and send the permission request message to the control terminal;

[0346] Receiving the control command message returned by the control terminal;

[0347] Determining whether the control instruction message includes an instruction to agree to pay;

[0348] Wherein, the permission request message includes the payee information.

[0349] A15. According to the apparatus for controlling network payment described in A11, the blocking unit blocks forwarding of the current message, including:

[0350] Searching for a program identifier corresponding to a first message received within a first time period and having a characteristic identifier including a payment request identifier;

[0351] Determining whether the application program identified by the program identifier has the authority to initiate a payment request;

[0352] If not, blocking the forwarding of the current message;

[0353] Among them: the first time period is a time period before receiving the current message and continuous with the time of receiving the current message; the first message is sent by the user terminal.

[0354] A16. According to the apparatus for controlling online payment described in A15, the step of determining whether the application has the authority to initiate a payment request comprises:

[0355] Generate a permission request message, and send the permission request message to the control terminal;

[0356] Receiving the control command message returned by the control terminal;

[0357] Determining whether the control message includes an instruction to agree to pay;

[0358] The permission request message includes information about the application.

[0359] A17. According to the apparatus for controlling network payment described in A11, the blocking unit blocks forwarding of the current message, including:

[0360] Generate a permission request message, and send the permission request message to the control terminal;

[0361] Receiving the control command message returned by the control terminal;

[0362] Determining whether the control message includes an instruction to agree to pay;

[0363] If not, blocking the forwarding of the current message;

[0364] Wherein: the authority request message includes information that the current message contains a payment instruction.

[0365] A18. A device for controlling online payment, comprising:

[0366] A storage unit, used for receiving and temporarily storing the current message sent by the user terminal;

[0367] A feature extraction unit, used to extract a feature identifier of the current message;

[0368] A judging unit, configured to judge whether the characteristic identifier of the current message includes a payment request identifier;

[0369] A blocking unit, configured to block forwarding of the current message if the judging unit determines that the characteristic identifier of the current message includes a payment request identifier;

[0370] Wherein: the payment request identifier is used to identify that the current message contains payment request information.

[0371] A19. According to the apparatus for controlling network payment described in A18, the blocking unit blocks forwarding of the current message, including:

[0372] Determine the application program according to the application program identifier in the characteristic identifier;

[0373] Determining whether the application has permission to initiate a payment request;

[0374] If not, forwarding of the current message is blocked.

[0375] A20. The device for controlling network payment according to A19,

[0376] The determining whether the application has the authority to initiate a payment request includes:

[0377] Generate a permission request message, and send the permission request message to the control terminal;

[0378] Receiving the control message returned by the control terminal;

[0379] Determining whether the control message includes an order approval instruction;

[0380] Wherein: the authority request message includes information that the current message contains a payment request.

[0381] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0382] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the device for controlling network usage behavior described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0383] It should be noted that the algorithm and display provided in the embodiment are not inherently related to any specific computer, virtual system or other equipment. Various general systems can also be used together with the teaching based on this. According to the above description, it is obvious to construct the structure required for this type of system. In addition, the present invention is not directed to any specific programming language yet. It should be understood that various programming languages ​​can be utilized to realize the content of the present invention described here, and the description made to specific languages ​​above is for disclosing the best mode of the present invention.

[0384] In the description provided herein, a large number of specific details are described. However, it is understood that embodiments of the present invention can be practiced without these specific details. In some instances, well-known methods, structures and techniques are not shown in detail so as not to obscure the understanding of this description.

[0385] Similarly, it should be understood that in order to streamline the present disclosure and aid in understanding one or more of the various inventive aspects, in the above description of exemplary embodiments of the present invention, the various features of the present invention are sometimes grouped together into a single embodiment, figure, or description thereof. However, this disclosed method should not be interpreted as reflecting the following intention: that the claimed invention requires more features than those explicitly recited in each claim. More specifically, as reflected in the claims below, inventive aspects lie in less than all the features of the individual embodiments disclosed above. Therefore, the claims that follow the specific embodiment are hereby expressly incorporated into the specific embodiment, with each claim itself serving as a separate embodiment of the present invention.

[0386] Those skilled in the art will appreciate that the modules in the devices in the embodiments may be adaptively changed and arranged in one or more devices different from the embodiments. The modules or units or components in the embodiments may be combined into one module or unit or component, and in addition they may be divided into a plurality of submodules or subunits or subcomponents. Except that at least some of such features and / or processes or units are mutually exclusive, all features disclosed in this specification (including the accompanying claims, abstracts and drawings) and all processes or units of any method or device disclosed in this manner may be combined in any combination. Unless otherwise expressly stated, each feature disclosed in this specification (including the accompanying claims, abstracts and drawings) may be replaced by an alternative feature providing the same, equivalent or similar purpose.

[0387] In addition, those skilled in the art will appreciate that, although some embodiments described herein include certain features included in other embodiments but not other features, the combination of features of different embodiments is meant to be within the scope of the present invention and form different embodiments. For example, in the following claims, any one of the claimed embodiments can be used in any combination.

[0388] The above description is only a preferred embodiment of the present application and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the present application is not limited to the technical solution formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above invention concept. For example, the above features are replaced with the technical features disclosed in the present application but not limited to those with similar functions.

Claims

1. A method for controlling online payment, characterized in that: include: Receive and temporarily store the current message sent by the user terminal; Extracting a characteristic identifier of the current message; Determining whether the characteristic identifier includes a payment instruction identifier; If yes, blocking the forwarding of the current message; Wherein: the payment instruction identifier is used to identify that the current message contains a payment instruction; Determining whether the characteristic identifier includes a payment instruction identifier includes: The characteristic identifier of the current message is compared with data in a preset database; wherein the preset database stores payment instruction identifiers corresponding to payment instructions of various typical network payment platforms.

2. The method for controlling network payment according to claim 1, characterized in that: The blocking of forwarding of the current message includes: Determine the payee according to the payee identifier in the characteristic identifier; Determining whether there is authority to pay the payee; If not, forwarding of the current message is blocked.

3. The method for controlling network payment according to claim 1, characterized in that: The blocking of forwarding of the current message includes: Searching for a payee identifier corresponding to a first message received within a first time period and having a characteristic identifier including a payment request identifier; Determining whether there is authority to pay the payee corresponding to the payee identifier; If not, blocking the forwarding of the current message; Among them: the first time period is the time period before the current message is received and is continuous with the time of receiving the current message.

4. The method for controlling network payment according to claim 2 or 3, characterized in that: The determining whether there is authority to pay the payee includes: Generate a permission request message, and send the permission request message to the control terminal; Receiving the control command message returned by the control terminal; Determining whether the control instruction message includes an instruction to agree to pay; Wherein, the permission request message includes the payee information.

5. The method for controlling network payment according to claim 1, characterized in that: The blocking of forwarding of the current message includes: Searching for a program identifier corresponding to a first message received within a first time period and having a characteristic identifier including a payment request identifier; Determining whether the application program identified by the program identifier has the authority to initiate a payment request; If not, blocking the forwarding of the current message; Among them: the first time period is a time period before receiving the current message and continuous with the time of receiving the current message; the first message is sent by the user terminal.

6. The method for controlling network payment according to claim 5, characterized in that: The determining whether the application has the authority to initiate a payment request includes: Generate a permission request message, and send the permission request message to the control terminal; Receiving the control command message returned by the control terminal; Determining whether the control message includes an instruction to agree to pay; The permission request message includes information about the application.

7. The method for controlling online payment according to claim 1, characterized in that: The blocking of forwarding of the current message includes: Generate a permission request message, and send the permission request message to the control terminal; Receiving the control command message returned by the control terminal; Determining whether the control message includes an instruction to agree to pay; If not, blocking the forwarding of the current message; Wherein: the authority request message includes information that the current message contains a payment instruction.

8. A method for controlling online payment, characterized in that: include: Receive and temporarily store the current message sent by the user terminal; Extracting a characteristic identifier of the current message; Determining whether the characteristic identifier of the current message includes a payment request identifier; If yes, blocking the forwarding of the current message; Wherein: the payment request identifier is used to identify that the current message contains payment request information; Determining whether the characteristic identifier of the current message includes a payment request identifier includes: The characteristic identifier of the current message is compared with data in a preset database; wherein the preset database stores payment instruction identifiers of typical online payment software, as well as payment instruction identifiers generated by applications that have been determined through network monitoring to have illegally obtained user account information and password information.

9. The method for controlling network payment according to claim 8, characterized in that: The blocking of forwarding of the current message includes: Determine the application program according to the application program identifier in the characteristic identifier; Determining whether the application has permission to initiate a payment request; If not, forwarding of the current message is blocked.

10. The method for controlling network payment according to claim 9, characterized in that: The determining whether the application has the authority to initiate a payment request includes: Generate a permission request message, and send the permission request message to the control terminal; Receiving the control message returned by the control terminal; Determining whether the control message includes an order approval instruction; Wherein: the authority request message includes information that the current message contains a payment request.

11. A device for controlling online payment, characterized in that: include: A storage unit, used for receiving and temporarily storing the current message sent by the user terminal; A feature extraction unit, used to extract a feature identifier of the current message; A judging unit, used for judging whether the characteristic identifier includes a payment instruction identifier; a blocking unit, configured to block forwarding of the current message if the judging unit determines that the characteristic identifier includes a payment instruction identifier; Wherein: the payment instruction identifier is used to identify that the current message contains a payment instruction; The judgment unit is used to compare the characteristic identifier of the current message with data in a preset database; wherein the preset database stores payment instruction identifiers corresponding to payment instructions of various typical network payment platforms.

12. The device for controlling network payment according to claim 11, characterized in that: The blocking unit blocks forwarding of the current message, including: Determine the payee according to the payee identifier in the characteristic identifier; Determining whether there is authority to pay the payee; If not, forwarding of the current message is blocked.

13. The device for controlling network payment according to claim 11, characterized in that: The blocking unit blocks forwarding of the current message, including: Searching for a payee identifier corresponding to a first message received within a first time period and having a characteristic identifier including a payment request identifier; Determining whether there is authority to pay the payee corresponding to the payee identifier; If not, blocking the forwarding of the current message; Among them: the first time period is the time period before the current message is received and is continuous with the time of receiving the current message.

14. The device for controlling network payment according to claim 12 or 13, characterized in that: The determining whether there is authority to pay the payee includes: Generate a permission request message, and send the permission request message to the control terminal; Receiving the control command message returned by the control terminal; Determining whether the control instruction message includes an instruction to agree to pay; Wherein, the permission request message includes the payee information.

15. The device for controlling network payment according to claim 11, characterized in that: The blocking unit blocks forwarding of the current message, including: Searching for a program identifier corresponding to a first message received within a first time period and having a characteristic identifier including a payment request identifier; Determining whether the application program identified by the program identifier has the authority to initiate a payment request; If not, blocking the forwarding of the current message; Among them: the first time period is a time period before receiving the current message and continuous with the time of receiving the current message; the first message is sent by the user terminal.

16. The device for controlling network payment according to claim 15, characterized in that: The determining whether the application has the authority to initiate a payment request includes: Generate a permission request message, and send the permission request message to the control terminal; Receiving the control command message returned by the control terminal; Determining whether the control message includes an instruction to agree to pay; The permission request message includes information about the application.

17. The device for controlling network payment according to claim 11, characterized in that: The blocking unit blocks forwarding of the current message, including: Generate a permission request message, and send the permission request message to the control terminal; Receiving the control command message returned by the control terminal; Determining whether the control message includes an instruction to agree to pay; If not, blocking the forwarding of the current message; Wherein: the authority request message includes information that the current message contains a payment instruction.

18. A device for controlling online payment, characterized in that: include: A storage unit, used for receiving and temporarily storing the current message sent by the user terminal; A feature extraction unit, used to extract a feature identifier of the current message; A judging unit, configured to judge whether the characteristic identifier of the current message includes a payment request identifier; A blocking unit, configured to block forwarding of the current message if the judging unit determines that the characteristic identifier of the current message includes a payment request identifier; Wherein: the payment request identifier is used to identify that the current message contains payment request information; The judgment unit is used to compare the characteristic identifier of the current message with data in a preset database; wherein the preset database stores payment instruction identifiers of various typical online payment software, as well as payment instruction identifiers generated by applications that have been determined through network monitoring to illegally obtain user account information and password information.

19. The device for controlling network payment according to claim 18, characterized in that: The blocking unit blocks forwarding of the current message, including: Determine the application program according to the application program identifier in the characteristic identifier; Determining whether the application has permission to initiate a payment request; If not, forwarding of the current message is blocked.

20. The device for controlling network payment according to claim 19, characterized in that: The determining whether the application has the authority to initiate a payment request includes: Generate a permission request message, and send the permission request message to the control terminal; Receiving the control message returned by the control terminal; Determining whether the control message includes an order approval instruction; Wherein: the authority request message includes information that the current message contains a payment request.

21. A medium, wherein the medium is a storage medium; the storage medium stores a plurality of instructions, wherein the instructions are suitable for being loaded by a processor and executing the method for controlling network payment as described in any one of claims 1 to 10.

22. An electronic device, characterized in that: including memory and processor; The memory is used to store a plurality of instructions; The processor is used to implement each of the instructions; The instructions are suitable for being loaded by the processor and executing the method for controlling network payment as described in any one of claims 1-10.

Citation Information

Patent Citations

  • Networked transaction method and system

    CN102801710A

  • Method and system for improving payment terminal application security

    CN106372496A

  • Account transfer control method and apparatus, and terminal

    CN107918869A

  • Network behavior management and control method and device

    CN109525419A

  • Method and device for controlling network use behavior, electronic equipment and medium

    CN112152971A