A payment information query method, device, equipment and storage medium
By receiving and processing user identity information in the payment platform, obtaining and feeding back target payment information, the complexity of payment information query is solved, cross-platform sharing of payment information is realized, and user experience is improved.
Patent Information
- Application Number
- CN202011045375.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-09-28
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2040-09-28
AI Technical Summary
The payment information query mechanism of existing payment programs requires users to actively initiate queries, and information cannot be automatically shared between different payment programs, resulting in a complex query process and high time costs.
By receiving the current user identity information provided by the payment client, the matching target payment information is obtained in the payment platform and fed back to the client to realize cross-platform sharing of payment information.
It reduces the complexity of payment information query, enables users to know payment item information in a timely manner, and improves the overall experience of the payment industry.
Smart Images

Figure CN112182345B
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to data processing technology, and in particular to a method, device, equipment and storage medium for querying payment information. Background Art
[0002] With the development of technology, self-service payment is becoming more and more common in people's daily lives. Users can pay various fees (such as telephone bills, water bills, and electricity bills, etc.) through a specific payment platform without going to a bank.
[0003] An existing payment item may correspond to multiple payment programs, and the multiple payment programs are installed in different applications. Each payment program has the function of identifying the user identity and saving the payment information.
[0004] However, the payment information query mechanism of the existing payment program is based on the user's active query. If the user does not receive a reminder or does not actively query, the user cannot timely obtain the payment information of the payment item; secondly, the existing payment programs are independent program systems. After the user completes the payment in a payment program corresponding to a payment item, if the user wants to query the payment information in another payment program, the user can only re-enter the user's payment identity information and query instructions in the other payment program for query, resulting in the problem that the process of querying payment information is too complicated and time-consuming. Summary of the invention
[0005] The embodiments of the present invention provide a method, device, equipment and storage medium for querying payment information, which can provide a payment platform information sharing mechanism, thereby improving the overall experience of the payment industry.
[0006] In a first aspect, an embodiment of the present invention provides a method for querying payment information, which is applied to a server, and the method includes:
[0007] Receive the current user identity information provided by the payment client;
[0008] According to the current user identity information, target payment information matching the payment items provided by the payment client is obtained in the payment platform, wherein the payment platform includes payment information of all payment items;
[0009] The target payment information is fed back to the payment client so that the payment client displays the target payment information.
[0010] In a second aspect, an embodiment of the present invention further provides a method for querying payment information, which is applied to a payment client, and the method includes:
[0011] When it is detected that a user logs in to the payment client, the current user identity information is obtained;
[0012] Sending the current user identity information to the server;
[0013] Receive the target payment information sent by the server, and display the target payment information.
[0014] In a third aspect, an embodiment of the present invention further provides a payment information query device, which is applied to a server, and the device includes:
[0015] The current user identity information receiving module is used to receive the current user identity information provided by the payment client;
[0016] A target payment information acquisition module, used to acquire target payment information matching the payment items provided by the payment client in a payment platform according to the current user identity information, wherein the payment platform includes payment information of all payment items;
[0017] The target payment information feedback module is used to feed back the target payment information to the payment client so that the payment client can display the target payment information.
[0018] In a fourth aspect, an embodiment of the present invention further provides a payment information query device, which is applied to a payment client, and the device includes:
[0019] The current user identity information acquisition module is used to obtain the current user identity information when it is detected that the user logs in to the payment client;
[0020] A current user identity information sending module, used to send the current user identity information to a server;
[0021] The target payment information display module is used to receive the target payment information sent by the server and display the target payment information.
[0022] In a fifth aspect, an embodiment of the present invention further provides a computer device, the computer device comprising:
[0023] one or more processors;
[0024] A storage device for storing one or more programs;
[0025] When the one or more programs are executed by the one or more processors, the one or more processors implement a method for querying payment information provided by any embodiment of the present invention.
[0026] In a sixth aspect, an embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements a method for querying payment information provided by any embodiment of the present invention.
[0027] The technical solution of the embodiment of the present invention receives the current user identity information provided by the payment client, obtains the target payment information matching the payment items provided by the payment client in the payment platform according to the current user identity information, and then feeds back the target payment information to the payment client so that the payment client can display the target payment information. The technical solution of the embodiment of the present invention can provide a payment platform information sharing mechanism, create an output mode of payment platform information, enable users to know the payment information of payment items in a timely manner, reduce the complexity of the payment information query process, and improve the overall experience of the payment industry. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1 It is a flow chart of a method for querying payment information in Embodiment 1 of the present invention;
[0029] Figure 2 It is a flow chart of a method for querying payment information in Embodiment 2 of the present invention;
[0030] Figure 3 It is a flow chart of a method for querying payment information in Embodiment 3 of the present invention;
[0031] Figure 4 It is a flow chart of a method for querying payment information in Embodiment 4 of the present invention;
[0032] Figure 5 It is a flow chart of a method for querying payment information in Embodiment 5 of the present invention;
[0033] Figure 6 It is a structural diagram of a payment information query device in Embodiment 6 of the present invention;
[0034] Figure 7 This is a structural diagram of a payment information query device in Embodiment 7 of the present invention;
[0035] Figure 8 It is a structural diagram of a computer device in Embodiment 8 of the present invention. DETAILED DESCRIPTION
[0036] The present invention 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 present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only parts related to the present invention, rather than all structures, are shown in the accompanying drawings.
[0037] Embodiment 1
[0038] Figure 1 This is a flow chart of a payment information query method provided in the first embodiment of the present invention. This embodiment is applicable to the case of automatically querying user payment information. The method can be executed by a payment information query device, which can be implemented by software and / or hardware and can generally be integrated in a server matching the payment client or a third-party server communicating with the payment client. The method specifically includes the following steps:
[0039] Step 110: Receive the current user identity information provided by the payment client.
[0040] In this step, the payment client may be an application (Application, APP) installed on a mobile smart terminal (such as a smart phone or tablet, etc.), or a web client running in a browser.
[0041] Typically, the payment client may be an instant messaging APP or a payment APP. The payment client carries a small program that provides payment functions, and users can pay and query payment information through the small program.
[0042] In this embodiment, optionally, when the user logs in to the payment client, the payment client sends the current user identity information to the server. The current user identity information may be the identity information of the user logging in to the payment client, such as a mobile phone number and ID card number.
[0043] Step 120: According to the current user identity information, target payment information matching the payment items provided by the payment client is obtained in the payment platform, wherein the payment platform includes payment information of all payment items.
[0044] In this step, optionally, the payment information of all payment items (such as telephone bills, water bills, and electricity bills, etc.) corresponding to the current user can be obtained in the payment platform based on the current user identity information, and then based on the payment items (such as electricity bills) provided by the payment client, all the electricity bill payment information corresponding to the current user can be filtered out from all the payment information, and then all the electricity bill payment information corresponding to the current user can be used as the target payment information.
[0045] In a specific embodiment, if a user completes payment in a payment client and immediately logs in to another new payment client, the new payment client can obtain the payment information by providing the user identity information to the server without the user having to re-enter the instruction to query the payment information. In this way, information sharing of the payment platform across clients can be achieved, reducing the complexity of the payment information query process, reducing the time cost consumed by the query process, and improving the overall experience of the payment industry.
[0046] Step 130: Feedback the target payment information to the payment client, so that the payment client displays the target payment information.
[0047] In this step, the server feeds back the target payment information to the payment client, and the payment client displays the target payment information. This allows the user to promptly know the payment information of the payment item without the user actively initiating a query, thereby preventing the payment item from affecting the user's normal life due to long-term arrears.
[0048] The technical solution of the embodiment of the present invention receives the current user identity information provided by the payment client, obtains the target payment information matching the payment items provided by the payment client in the payment platform according to the current user identity information, and then feeds back the target payment information to the payment client so that the payment client can display the target payment information. The technical solution of the embodiment of the present invention can provide a payment platform information sharing mechanism, create an output mode of payment platform information, enable users to know the payment information of payment items in a timely manner, reduce the complexity of the payment information query process, and improve the overall experience of the payment industry.
[0049] Embodiment 2
[0050] This embodiment is a further refinement of the above embodiment. The explanation of terms that are the same or corresponding to those in the above embodiment will not be repeated in this embodiment. Figure 2 This is a flow chart of a method for querying payment information provided in the second embodiment. In this embodiment, the technical solution of this embodiment can be combined with one or more methods in the solutions of the above embodiments, such as Figure 2 As shown, the method provided in this embodiment may also include:
[0051] Step 210: Receive the current user identity information provided by the payment client.
[0052] In this embodiment, optionally, before receiving the current user identity information provided by the payment client, it also includes: receiving multiple historical user identity information sent by multiple payment clients; generating a historical user portrait identifier matching each historical user identity information based on each historical user identity information; and storing each historical user identity information and the matching historical user portrait identifier in a database.
[0053] Before receiving the current user identity information provided by the payment client, the server pre-receives a large amount of historical user identity information (such as mobile phone number or ID number, etc.) sent by different payment clients, and generates a unique matching historical user portrait identifier based on each historical user identity information. Optionally, assuming that the historical user identity information is a mobile phone number, the digits on the preset digits in the mobile phone number can be extracted as the historical user portrait identifier. Different users have different corresponding user portrait identifiers.
[0054] Among them, after generating a historical user portrait identifier matching each historical user identity information according to each historical user identity information, it also includes: when it is detected that the historical user identity information is updated, updating the historical user portrait identifier according to the updated historical user identity information.
[0055] In this embodiment, optionally, after receiving the historical user identity information, the server first compares the received historical user identity information with the historical identity information already stored in the database to determine whether the received historical user identity information includes the same information as the stored historical identity information. If so, it is determined that the received historical user identity information is obtained by updating the stored historical identity information, and then the historical user portrait identifier corresponding to the stored historical identity information is obtained, and the historical user portrait identifier is updated according to the received historical user identity information.
[0056] In a specific embodiment, assuming that the historical user identity information received by the server is "A+B", where "A" is the mobile phone number and "B" is the ID number, and a historical identity information stored in the database is "A", it is determined that "A+B" is obtained after "A" is updated, and then the historical portrait identifier corresponding to "A" is obtained, and the historical portrait identifier is updated according to "A+B". Optionally, a number with a preset number of digits can be extracted from "B" as a supplementary identifier, and the supplementary identifier is combined with the historical portrait identifier corresponding to "A" to obtain an updated historical user portrait identifier.
[0057] Step 220: Obtain a current user portrait identifier that matches the current user identity information.
[0058] In one implementation of an embodiment of the present invention, obtaining a current user portrait identifier that matches the current user identity information includes: determining whether there is historical user identity information that is identical to the current user identity information in the database; if so, obtaining a historical user portrait identifier that matches the historical user identity information, and using the historical user portrait identifier as the current user portrait identifier that matches the current user identity information; if not, generating a current user portrait identifier that matches the current user identity information based on the current user identity information.
[0059] Among them, if there is no historical user identity information that is the same as the current user identity information in the database, it can be determined that the current user is logging into the payment client for the first time, and a corresponding current user portrait identifier is established for the current user.
[0060] Step 230: Generate at least one payment item query instruction based on the current user portrait identifier and the payment items provided by the payment client.
[0061] In this step, optionally, a payment item query instruction can be generated according to the current user portrait identifier, the payment items provided by the payment client, and the preset separator. If the payment client can provide multiple payment items at the same time, multiple payment item query instructions corresponding to the multiple payment items can be generated.
[0062] Therefore, by obtaining the current user portrait identifier and generating a payment item query instruction based on the current user portrait identifier and the payment items, it is possible to represent the user identity information with a short user portrait identifier, facilitate the query of payment information, and improve the query efficiency of payment information.
[0063] Step 240: Send query instructions for each payment item to the payment platform, and obtain target payment information fed back by the payment platform.
[0064] In this step, optionally, the payment platform can extract the current user portrait identifier and the payment items provided by the payment client from the payment item query instruction according to a preset delimiter, and then filter out the target payment information corresponding to the current user from all payment information based on the current user portrait identifier and payment items.
[0065] Step 250: Feedback the target payment information to the payment client, so that the payment client displays the target payment information.
[0066] The technical solution of the embodiment of the present invention receives the current user identity information provided by the payment client, obtains the current user portrait identifier that matches the current user identity information, and then generates a payment item query instruction based on the current user portrait identifier and the payment items provided by the payment client, sends each payment item query instruction to the payment platform, and obtains the target payment information fed back by the payment platform, and feeds back the target payment information to the payment client, so that the payment client can display the target payment information. The technical solution of the embodiment of the present invention can provide a payment platform information sharing mechanism, create an output mode of payment platform information, enable users to know the payment information of payment items in a timely manner, reduce the complexity of the payment information query process, and improve the query efficiency of payment information and the overall experience of the payment industry.
[0067] Embodiment 3
[0068] This embodiment is a further refinement of the above embodiment. The explanation of terms that are the same or corresponding to those in the above embodiment will not be repeated in this embodiment. Figure 3 This is a flow chart of a method for querying payment information provided in the third embodiment. In this embodiment, the technical solution of this embodiment can be combined with one or more methods in the solutions of the above embodiments, such as Figure 3 As shown, the method provided in this embodiment may also include:
[0069] Step 310: Receive the current user identity information provided by the payment client.
[0070] Step 320: Obtain a current user portrait identifier that matches the current user identity information.
[0071] Step 330: Obtain an item identifier corresponding to the payment item provided by the payment client, and at least one query condition.
[0072] In this step, the query condition is a query element corresponding to the payment item, and the query condition may be a query condition preset by the server, or a query condition set by the user when logging into the payment client for the first time. For example, when the payment item is electricity bill, the query condition may be the home address corresponding to the user's personal electricity bill payment, or the unit address corresponding to the user's unit electricity bill payment.
[0073] Therefore, by obtaining the query conditions, the payment information that the user is interested in can be effectively queried, thereby improving the accuracy of the payment information.
[0074] Step 340: Generate at least one payment information code based on the current user portrait identifier, the project identifier, and the query condition.
[0075] In this step, optionally, a corresponding query identifier can be set according to the query conditions, and then the current user portrait identifier, project identifier, and query identifier are timestamped to form a unique current user portrait identifier, project identifier, and query identifier.
[0076] Among them, if the current user portrait identifier, project identifier, or query identifier is updated, the payment information code is updated according to the updated information.
[0077] Step 350: Generate at least one payment item query instruction according to the payment information code.
[0078] Step 360: Send a query instruction for each payment item to the payment platform, and obtain the target payment information fed back by the payment platform.
[0079] In this step, after receiving the payment item query instruction, the payment platform extracts the payment information code in the payment item query instruction, and selects the corresponding target payment information from all the payment information according to the payment information code.
[0080] Therefore, by using a brief payment information code to represent the current user portrait identifier, project identifier, and the query condition, the query efficiency of the payment information can be improved.
[0081] In one implementation of an embodiment of the present invention, after sending the payment item query instruction to the payment platform and obtaining the target payment information fed back by the payment platform, it also includes: adding random parameters to the payment item query instruction at each preset time interval to generate a new payment item query instruction; sending the new payment item query instruction to the payment platform and obtaining the new target payment information fed back by the payment platform; and sending the new target payment information to the payment client.
[0082] Among them, the random parameters added to the payment item query instruction in adjacent time intervals are different.
[0083] In this embodiment, after sending a payment item query instruction to the payment platform and obtaining the target payment information, a random parameter is added to the payment item query instruction at each preset time interval, with the purpose of generating a new payment item query instruction, and the payment information code in the new payment item query instruction is the same as the original payment information code. By sending a new payment item query instruction to the payment platform and obtaining new target payment information, the user can view the latest payment information in a timely manner, thereby improving the timeliness of the payment information.
[0084] Step 370: Feedback the target payment information to the payment client, so that the payment client displays the target payment information.
[0085] The technical solution of the embodiment of the present invention receives the current user identity information provided by the payment client, obtains the current user portrait identifier that matches the current user identity information, obtains the project identifier and query conditions corresponding to the payment items provided by the payment client, generates a payment information code according to the current user portrait identifier, project identifier, and query conditions, and then generates a payment item query instruction according to the payment information code, sends each payment item query instruction to the payment platform, and obtains the target payment information fed back by the payment platform, and feeds back the target payment information to the payment client, so that the payment client can display the target payment information. The technical solution of the embodiment of the present invention can provide a payment platform information sharing mechanism, create an output mode of payment platform information, enable users to know the payment information of payment items in a timely manner, improve the timeliness of payment information, reduce the complexity of the payment information query process, and improve the query efficiency of payment information and the overall experience of the payment industry.
[0086] Embodiment 4
[0087] Figure 4 This is a flow chart of a method for querying payment information provided in Embodiment 4 of the present invention. This embodiment is applicable to the case of automatically querying user payment information. The method can be executed by a payment information query device, which can be implemented by software and / or hardware and can generally be integrated in a payment client. Specifically, the method includes the following steps:
[0088] Step 410: When it is detected that a user logs into the payment client, the current user identity information is obtained.
[0089] In this step, the current user identity information may be the identity information of the user logging into the payment client, such as a mobile phone number or an ID card number.
[0090] Step 420: Send the current user identity information to the server.
[0091] Step 430: Receive the target payment information sent by the server, and display the target payment information.
[0092] Therefore, by sending the user identity information when the user logs into the payment client to the server, the user's payment information can be obtained and displayed. This allows the user to promptly know the payment information of the payment item without the user actively initiating a query, thereby reducing the complexity of the payment information query process and improving the user's payment experience.
[0093] In one implementation of an embodiment of the present invention, after receiving the target payment information sent by the server and displaying the target payment information, it also includes: when it is detected that the user triggers the payment function module, receiving new target payment information sent by the server; determining whether the new target payment information is the same as the previous target payment information; if so, discarding the new target payment information; if not, displaying the new target payment information.
[0094] In this embodiment, the payment function module is a function module corresponding to the payment program installed in the payment client. Specifically, the payment function module can be a module for querying payment information on behalf of others, or a module for querying paid information, etc. When it is detected that the user triggers the payment function module, the new target payment information sent by the server is received. If the new target payment information is the same as the previous target payment information, it means that the user's payment information has not changed, and the new target payment information is discarded to avoid the user from seeing invalid redundant information and resource consumption problems; if the new target payment information is the same as the previous target payment information, the new target payment information is displayed, so that the user can view the latest payment information in time, thereby improving the timeliness of the payment information.
[0095] The technical solution of the embodiment of the present invention obtains the current user identity information, sends the current user identity information to the server, then receives the target payment information sent by the server, and displays the target payment information. The technical solution of the embodiment of the present invention can provide a payment platform information sharing mechanism, create an output mode of payment platform information, enable users to know the payment information of payment items in a timely manner, reduce the complexity of the payment information query process, and improve the overall experience of the payment industry.
[0096] Embodiment 5
[0097] This embodiment is a further refinement of the above embodiment. The explanation of terms that are the same or corresponding to those in the above embodiment will not be repeated in this embodiment. Figure 5 This is a flowchart of a method for querying payment information provided in this fifth embodiment. In this embodiment, the technical solution of this embodiment can be combined with one or more methods in the solutions of the above embodiments, such as Figure 5 As shown, the method provided in this embodiment may also include:
[0098] Step 510: When it is detected that a user logs into the payment client, the current user identity information is obtained.
[0099] Step 520: Send the current user identity information to the server.
[0100] Step 530: Receive the target payment information sent by the server, obtain the associated time of each target payment information, and arrange each target payment information in reverse order according to the associated time.
[0101] In this step, the target payment information includes the arrears information of the payment item and the payment completion information. Optionally, when the target payment information is the arrears information, the associated time may be the arrears time of the payment item; when the target payment information is the payment completion information, the associated time may be the payment time.
[0102] In this embodiment, each target payment information is arranged in reverse order according to the associated time, so that the user can see the most recent payment information first, thereby ensuring the timeliness of the payment information.
[0103] Step 540: Display the arranged payment information of each target.
[0104] In one implementation of an embodiment of the present invention, each target payment information after arrangement is displayed, including: among each target payment information after arrangement, obtaining target payment information with a quantity equal to a preset display quantity as valid payment information; and displaying the valid payment information.
[0105] In this step, the preset display quantity may be a default display quantity of the payment client or a display quantity preset by the user. Optionally, after the payment client displays the effective payment information, a remaining target payment information viewing control may be set in the display page, and the user may view the remaining target payment information by triggering the remaining target payment information viewing control.
[0106] Therefore, by displaying some valid payment information among all target payment information, it is possible to avoid displaying invalid redundant information and reducing the user's reading experience.
[0107] The technical solution of the embodiment of the present invention obtains the current user identity information, sends the current user identity information to the server, then receives the target payment information sent by the server, obtains the association time of each target payment information, arranges each target payment information in reverse order according to the association time, and displays the arranged target payment information. The technical solution of the embodiment of the present invention can provide a payment platform information sharing mechanism, create an output mode of payment platform information, enable users to know the payment information of payment items in a timely manner, ensure the timeliness of payment information, reduce the complexity of the payment information query process, and improve the overall experience of the payment industry.
[0108] Embodiment 6
[0109] Figure 6This is a structural diagram of a payment information query device provided in Embodiment 6 of the present invention. The device is applied to a server and includes: a current user identity information receiving module 610, a target payment information acquisition module 620 and a target payment information feedback module 630.
[0110] Among them, the current user identity information receiving module 610 is used to receive the current user identity information provided by the payment client; the target payment information acquisition module 620 is used to obtain the target payment information matching the payment items provided by the payment client in the payment platform according to the current user identity information, and the payment platform includes the payment information of all payment items; the target payment information feedback module 630 is used to feed back the target payment information to the payment client so that the payment client can display the target payment information.
[0111] The technical solution of the embodiment of the present invention receives the current user identity information provided by the payment client, obtains the target payment information matching the payment items provided by the payment client in the payment platform according to the current user identity information, and then feeds back the target payment information to the payment client so that the payment client can display the target payment information. The technical solution of the embodiment of the present invention can provide a payment platform information sharing mechanism, create an output mode of payment platform information, enable users to know the payment information of payment items in a timely manner, reduce the complexity of the payment information query process, and improve the overall experience of the payment industry.
[0112] Based on the above embodiments, the target payment information acquisition module 620 may include:
[0113] A current user portrait identification acquisition unit, used to acquire a current user portrait identification that matches the current user identity information;
[0114] A query instruction generating unit, configured to generate at least one payment item query instruction according to the current user portrait identifier and the payment items provided by the payment client;
[0115] A query instruction sending unit, used to send query instructions for each payment item to the payment platform, and obtain target payment information fed back by the payment platform;
[0116] A historical user identity information receiving unit, used to receive multiple historical user identity information sent by multiple payment clients;
[0117] A historical user portrait identification generating unit, used to generate a historical user portrait identification matching each historical user identity information according to each of the historical user identity information;
[0118] A storage unit, used to store each of the historical user identity information and the matching historical user portrait identifier in a database;
[0119] A first determination unit, configured to determine whether there is historical user identity information identical to the current user identity information in the database;
[0120] A historical user portrait identification acquisition unit is used to acquire a historical user portrait identification that matches the historical user identity information when there is historical user identity information identical to the current user identity information in the database, and use the historical user portrait identification as the current user portrait identification that matches the current user identity information;
[0121] A current user portrait identification generating unit, configured to generate a current user portrait identification matching the current user identity information according to the current user identity information when there is no historical user identity information identical to the current user identity information in the database;
[0122] A historical user portrait identifier updating unit, configured to update the historical user portrait identifier according to the updated historical user identity information when it is detected that the historical user identity information is updated;
[0123] An item identification acquisition unit, used to acquire an item identification corresponding to the payment item and at least one query condition;
[0124] A payment information code generating unit, configured to generate at least one payment information code according to the current user portrait identifier, the project identifier, and the query condition;
[0125] A payment item query instruction generating unit, used to generate at least one payment item query instruction according to the payment information code;
[0126] A random parameter adding unit, used to add a random parameter to the payment item query instruction at each preset time interval to generate a new payment item query instruction;
[0127] A new payment item query instruction sending unit, used to send the new payment item query instruction to the payment platform, and obtain the new target payment information fed back by the payment platform;
[0128] A new target payment information sending unit is used to send the new target payment information to the payment client; wherein the random parameters added to the payment item query instruction in adjacent time intervals are different.
[0129] The payment information query device provided in the embodiment of the present invention can execute the payment information query method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0130] Embodiment 7
[0131] Figure 7 This is a structural diagram of a payment information query device provided in Embodiment 7 of the present invention. The device is applied to a payment client and includes: a current user identity information acquisition module 710, a current user identity information sending module 720 and a target payment information display module 730.
[0132] Among them, the current user identity information acquisition module 710 is used to obtain the current user identity information when it is detected that a user logs in to the payment client; the current user identity information sending module 720 is used to send the current user identity information to the server; the target payment information display module 730 is used to receive the target payment information sent by the server and display the target payment information.
[0133] The technical solution of the embodiment of the present invention obtains the current user identity information, sends the current user identity information to the server, then receives the target payment information sent by the server, and displays the target payment information. The technical solution of the embodiment of the present invention can provide a payment platform information sharing mechanism, create an output mode of payment platform information, enable users to know the payment information of payment items in a timely manner, reduce the complexity of the payment information query process, and improve the overall experience of the payment industry.
[0134] Based on the above embodiments, the target payment information display module 730 may include:
[0135] A correlation time acquisition unit, used to acquire the correlation time of each target payment information, and arrange each target payment information in reverse order according to the correlation time;
[0136] A display unit, used for displaying the arranged payment information of each target;
[0137] An effective payment information acquisition unit, used to acquire, from among the arranged target payment information, target payment information of the same quantity as the preset display quantity as effective payment information;
[0138] A valid payment information display unit, used to display the valid payment information;
[0139] A new target payment information receiving unit, used to receive new target payment information sent by the server when it is detected that the user triggers the payment function module;
[0140] A second judgment unit, used to judge whether the new target payment information is the same as the previous target payment information;
[0141] A discarding unit, configured to discard the new target payment information when the new target payment information is the same as the previous target payment information;
[0142] The new target payment information display unit is used to display the new target payment information when the new target payment information is different from the previous target payment information.
[0143] The payment information query device provided in the embodiment of the present invention can execute the payment information query method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0144] Embodiment 8
[0145] Figure 8 A schematic diagram of the structure of a computer device provided in Embodiment 8 of the present invention is shown in FIG. Figure 8 As shown, the computer device includes a processor 810, a memory 820, an input device 830, and an output device 840; the number of processors 810 in the computer device can be one or more. Figure 8 A processor 810 is taken as an example; the processor 810, memory 820, input device 830 and output device 840 in the computer device can be connected via a bus or other means. Figure 8 The example of connecting through bus is taken in the following.
[0146] The memory 820, as a computer-readable storage medium, can be used to store software programs, computer executable programs and modules, such as program instructions / modules corresponding to a payment information query method in an embodiment of the present invention (for example, a current user identity information receiving module 610, a target payment information acquisition module 620 and a target payment information feedback module 630 in a payment information query device). The processor 810 executes various functional applications and data processing of the computer device by running the software programs, instructions and modules stored in the memory 820, that is, implements the above-mentioned payment information query method. That is, when the program is executed by the processor, it implements:
[0147] Receive the current user identity information provided by the payment client;
[0148] According to the current user identity information, target payment information matching the payment items provided by the payment client is obtained in the payment platform, wherein the payment platform includes payment information of all payment items;
[0149] The target payment information is fed back to the payment client so that the payment client displays the target payment information.
[0150] As a computer-readable storage medium, the memory 820 can also be used to store program instructions / modules corresponding to a payment information query method in an embodiment of the present invention (for example, a current user identity information acquisition module 710, a current user identity information sending module 720, and a target payment information display module 730 in a payment information query device). The processor 810 executes various functional applications and data processing of the computer device by running the software programs, instructions, and modules stored in the memory 820, that is, to implement the above-mentioned payment information query method. That is, when the program is executed by the processor, it implements:
[0151] When it is detected that a user logs in to the payment client, the current user identity information is obtained;
[0152] Sending the current user identity information to the server;
[0153] Receive the target payment information sent by the server, and display the target payment information.
[0154] The memory 820 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system and at least one application required for a function; the data storage area may store data created according to the use of the terminal, etc. In addition, the memory 820 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some instances, the memory 820 may further include a memory remotely arranged relative to the processor 810, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0155] The input device 830 may be used to receive input digital or character information and generate key signal input related to user settings and function control of the computer device, and may include a keyboard and a mouse, etc. The output device 840 may include a display device such as a display screen.
[0156] Embodiment 9
[0157] Embodiment 9 of the present invention further provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the method described in any embodiment of the present invention is implemented. Of course, a computer-readable storage medium provided by an embodiment of the present invention can perform related operations in a method for querying payment information provided by any embodiment of the present invention. That is, when the program is executed by a processor, the following is implemented:
[0158] Receive the current user identity information provided by the payment client;
[0159] According to the current user identity information, target payment information matching the payment items provided by the payment client is obtained in the payment platform, wherein the payment platform includes payment information of all payment items;
[0160] The target payment information is fed back to the payment client so that the payment client displays the target payment information.
[0161] A computer-readable storage medium provided in an embodiment of the present invention can also perform related operations in the method for querying payment information provided in any embodiment of the present invention. That is, when the program is executed by a processor, the following is achieved:
[0162] When it is detected that a user logs in to the payment client, the current user identity information is obtained;
[0163] Sending the current user identity information to the server;
[0164] Receive the target payment information sent by the server, and display the target payment information.
[0165] Through the above description of the implementation methods, the technicians in the relevant field can clearly understand that the present invention can be implemented by means of software and necessary general hardware, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, read-only memory (ROM), random access memory (RAM), flash memory (FLASH), hard disk or optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, server, or network device, etc.) to execute the methods described in each embodiment of the present invention.
[0166] It is worth noting that in the embodiment of the above-mentioned payment information query device, the various units and modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention.
[0167] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims
1. A method for querying payment information, characterized in that: Applicable to servers, including: Receive the current user identity information provided by the payment client; According to the current user identity information, target payment information matching the payment items provided by the payment client is obtained in the payment platform, wherein the payment platform includes payment information of all payment items; Feeding back the target payment information to the payment client so that the payment client displays the target payment information; wherein the payment client is an application; Wherein, obtaining target payment information matching the payment items provided by the payment client in the payment platform according to the current user identity information includes: Obtaining a current user portrait identifier that matches the current user identity information; Generate at least one payment item query instruction according to the current user portrait identifier and the payment items provided by the payment client; Sending a query instruction for each payment item to the payment platform, and obtaining the target payment information fed back by the payment platform; wherein the target payment information is obtained by screening the payment items provided by the current user portrait identifier and the payment client from all payment information; Before obtaining the current user portrait identifier that matches the current user identity information, the method further includes: Receive multiple historical user identity information sent by multiple payment clients; Generate a historical user portrait identifier that matches each historical user identity information according to each historical user identity information; The historical user identity information and the matching historical user portrait identifier are stored in a database; After generating a historical user portrait identifier matching each historical user identity information according to each historical user identity information, the method further includes: When it is detected that the historical user identity information is updated, the historical user portrait identifier is updated according to the updated historical user identity information; Wherein, generating a historical user portrait identifier matching each historical user identity information according to each historical user identity information includes: If the historical user identity information is a mobile phone number, extract the digits of the preset digits in the mobile phone number as the historical user portrait identifier; Wherein, when it is detected that the historical user identity information is updated, the historical user portrait identifier is updated according to the updated historical user identity information, including: If the historical user identity information is a mobile phone number and an ID card number, and the historical identity information stored in the database is a mobile phone number, then it is determined that the historical user identity information has been updated; Obtain the historical portrait identifier corresponding to the mobile phone number, extract the numbers in the preset digits in the ID number as the supplementary identifier, combine the supplementary identifier with the historical portrait identifier corresponding to the mobile phone number, and obtain an updated historical user portrait identifier.
2. The method according to claim 1, characterized in that Obtaining a current user portrait identifier that matches the current user identity information includes: Determine whether there is historical user identity information identical to the current user identity information in the database; If so, obtaining a historical user portrait identifier that matches the historical user identity information, and using the historical user portrait identifier as a current user portrait identifier that matches the current user identity information; If not, a current user portrait identifier matching the current user identity information is generated based on the current user identity information.
3. The method according to claim 1, characterized in that At least one payment item query instruction is generated according to the current user portrait identifier and the payment items provided by the payment client, including: Obtaining an item identifier corresponding to the payment item and at least one query condition; Generate at least one payment information code according to the current user portrait identifier, the project identifier, and the query condition; At least one payment item query instruction is generated according to the payment information code.
4. The method according to claim 1, characterized in that After sending the payment item query instruction to the payment platform and obtaining the target payment information fed back by the payment platform, the method further includes: Adding a random parameter to the payment item query instruction at each preset time interval to generate a new payment item query instruction; Sending the new payment item query instruction to the payment platform, and obtaining the new target payment information fed back by the payment platform; Sending the new target payment information to the payment client; Among them, the random parameters added to the payment item query instruction in adjacent time intervals are different.
5. A method for querying payment information, characterized in that: Applied to payment clients, including: When it is detected that a user logs into a payment client, the current user identity information is obtained; wherein the payment client is an application; Sending the current user identity information to the server, so that the server obtains target payment information matching the payment items provided by the payment client in the payment platform according to the current user identity information; receiving the target payment information sent by the server, and displaying the target payment information; The displaying of the target payment information includes: Acquire the association time of each target payment information, and arrange each target payment information in reverse order according to the association time; From the arranged target payment information, target payment information having the same quantity as the preset display quantity is obtained as valid payment information; Displaying the valid payment information; and setting a control for viewing the remaining target payment information on the display page; The user can view the remaining target payment information by triggering the remaining target payment information viewing control; Wherein, the method of enabling the server to obtain the target payment information matching the payment items provided by the payment client in the payment platform according to the current user identity information includes: the server obtains the current user portrait identifier matching the current user identity information; generates at least one payment item query instruction according to the current user portrait identifier and the payment items provided by the payment client; sends each of the payment item query instructions to the payment platform, and obtains the target payment information fed back by the payment platform; wherein the target payment information is obtained by screening the current user portrait identifier and the payment items provided by the payment client from all the payment information; wherein, before the server obtains the current user portrait identifier matching the current user identity information, it also includes: receiving the historical user identity information sent by the payment client; generating the historical user portrait identifier matching the historical user identity information according to each of the historical user identity information; storing each of the historical user identity information and the matching historical user portrait identifier in a database; wherein, after generating the historical user portrait identifier matching the historical user identity information according to each of the historical user identity information, it also includes: when it is detected that the historical user identity information is updated, generating the historical user portrait identifier matching the historical user identity information according to the updated historical user identity information Information, update the historical user portrait identifier; wherein, according to each of the historical user identity information, generate a historical user portrait identifier matching each of the historical user identity information, including; if the historical user identity information is a mobile phone number, extract the digits of a preset number of digits in the mobile phone number as the historical user portrait identifier; wherein, when it is detected that the historical user identity information is updated, the historical user portrait identifier is updated according to the updated historical user identity information, including; if the historical user identity information is a mobile phone number and an ID card number, and the historical identity information stored in the database is a mobile phone number, it is determined that the historical user identity information is updated; obtain the historical portrait identifier corresponding to the mobile phone number, extract the digits of a preset number of digits in the ID card number as a supplementary identifier, and combine the supplementary identifier with the historical portrait identifier corresponding to the mobile phone number to obtain an updated historical user portrait identifier.
6. The method according to claim 5, characterized in that After receiving the target payment information sent by the server and displaying the target payment information, the method further includes: When it is detected that the user triggers the payment function module, receiving new target payment information sent by the server; Determining whether the new target payment information is the same as the previous target payment information; If yes, the new target payment information is discarded; If not, the new target payment information is displayed.
7. A payment information query device, characterized in that: Applicable to servers, including: The current user identity information receiving module is used to receive the current user identity information provided by the payment client; wherein the payment client is an application program; A target payment information acquisition module, used to acquire target payment information matching the payment items provided by the payment client in a payment platform according to the current user identity information, wherein the payment platform includes payment information of all payment items; A target payment information feedback module, used for feeding back the target payment information to the payment client, so that the payment client can display the target payment information; Wherein, the target payment information acquisition module includes: A current user portrait identification acquisition unit, used to acquire a current user portrait identification that matches the current user identity information; A query instruction generating unit, configured to generate at least one payment item query instruction according to the current user portrait identifier and the payment items provided by the payment client; A query instruction sending unit, used to send query instructions for each payment item to the payment platform, and obtain target payment information fed back by the payment platform; wherein the target payment information is obtained by screening the current user portrait identifier and the payment items provided by the payment client from all payment information; A historical user identity information receiving unit, used to receive multiple historical user identity information sent by multiple payment clients; A historical user portrait identification generating unit, used to generate a historical user portrait identification matching each historical user identity information according to each of the historical user identity information; A storage unit, used to store each of the historical user identity information and the matching historical user portrait identifier in a database; A historical user portrait identifier updating unit, configured to update the historical user portrait identifier according to the updated historical user identity information when it is detected that the historical user identity information is updated; Wherein, generating a historical user portrait identifier matching each historical user identity information according to each historical user identity information includes: If the historical user identity information is a mobile phone number, the digits in the preset digits of the mobile phone number are extracted as the historical user portrait identifier; Wherein, when it is detected that the historical user identity information is updated, the historical user portrait identifier is updated according to the updated historical user identity information, including: If the historical user identity information is a mobile phone number and an ID card number, and the historical identity information stored in the database is a mobile phone number, then it is determined that the historical user identity information has been updated; Obtain the historical portrait identifier corresponding to the mobile phone number, extract the numbers in the preset digits in the ID number as the supplementary identifier, combine the supplementary identifier with the historical portrait identifier corresponding to the mobile phone number, and obtain an updated historical user portrait identifier.
8. A payment information query device, characterized in that: Applied to payment clients, including: The current user identity information acquisition module is used to acquire the current user identity information when detecting that the user logs into the payment client; wherein the payment client is an application; the current user identity information sending module is used to send the current user identity information to the server, so that the server acquires the target payment information matching the payment items provided by the payment client in the payment platform according to the current user identity information; A target payment information display module is used to receive the target payment information sent by the server and display the target payment information; Wherein, the target payment information display module includes: A correlation time acquisition unit, used to acquire the correlation time of each target payment information, and arrange each target payment information in reverse order according to the correlation time; A display unit, used for displaying the arranged payment information of each target; An effective payment information acquisition unit, used to acquire, from among the arranged target payment information, target payment information of the same quantity as the preset display quantity as effective payment information; The effective payment information display unit is used to display the effective payment information; a remaining target payment information viewing control is set in the display page, and the user can view the remaining target payment information by triggering the remaining target payment information viewing control; Wherein, the method of enabling the server to obtain the target payment information matching the payment items provided by the payment client in the payment platform according to the current user identity information includes: the server obtains the current user portrait identifier matching the current user identity information; generates at least one payment item query instruction according to the current user portrait identifier and the payment items provided by the payment client; sends each of the payment item query instructions to the payment platform, and obtains the target payment information fed back by the payment platform; wherein the target payment information is obtained by screening the current user portrait identifier and the payment items provided by the payment client from all the payment information; wherein, before the server obtains the current user portrait identifier matching the current user identity information, it also includes: receiving the historical user identity information sent by the payment client; generating the historical user portrait identifier matching the historical user identity information according to each of the historical user identity information; storing each of the historical user identity information and the matching historical user portrait identifier in a database; wherein, after generating the historical user portrait identifier matching the historical user identity information according to each of the historical user identity information, it also includes: when it is detected that the historical user identity information is updated, generating the historical user portrait identifier matching the historical user identity information according to the updated historical user identity information Information, update the historical user portrait identifier; wherein, according to each of the historical user identity information, generate a historical user portrait identifier matching each of the historical user identity information, including; if the historical user identity information is a mobile phone number, extract the digits of a preset number of digits in the mobile phone number as the historical user portrait identifier; wherein, when it is detected that the historical user identity information is updated, the historical user portrait identifier is updated according to the updated historical user identity information, including; if the historical user identity information is a mobile phone number and an ID card number, and the historical identity information stored in the database is a mobile phone number, it is determined that the historical user identity information is updated; obtain the historical portrait identifier corresponding to the mobile phone number, extract the digits of a preset number of digits in the ID card number as a supplementary identifier, and combine the supplementary identifier with the historical portrait identifier corresponding to the mobile phone number to obtain an updated historical user portrait identifier.
9. A computer device comprising: one or more processors; A storage device for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the payment information query method as described in any one of claims 1-4, or the payment information query method as described in any one of claims 5-6 when executing the programs.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method for querying payment information as described in any one of claims 1-4, or the method for querying payment information as described in any one of claims 5-6 is implemented.
