CN114185949A - Information registration method, information registration apparatus, computer device, storage medium, and program product - Google Patents

Information registration method, information registration apparatus, computer device, storage medium, and program product Download PDF

Info

Publication number
CN114185949A
CN114185949A CN202111557169.3A CN202111557169A CN114185949A CN 114185949 A CN114185949 A CN 114185949A CN 202111557169 A CN202111557169 A CN 202111557169A CN 114185949 A CN114185949 A CN 114185949A
Authority
CN
China
Prior art keywords
target
necessary information
transaction
data table
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111557169.3A
Other languages
Chinese (zh)
Inventor
冯宇东
郑迪
马思雨
李伟仁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN202111557169.3A priority Critical patent/CN114185949A/en
Publication of CN114185949A publication Critical patent/CN114185949A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2282Tablespace storage structures; Management thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Abstract

The present application relates to an information registration method, apparatus, computer device, storage medium, and program product. The method comprises the following steps: after a target transaction request sent by a client is received, whether the target account identification corresponds to unregistered transaction necessary information or not is inquired in a locally stored target data table according to a target account identification carried by the target transaction request; if the target account identification is not inquired to correspond to the unregistered transaction necessary information, responding to the target transaction request; the content stored in the target data table is periodically updated by a target server, and the target server stores registered transaction necessary information corresponding to different account identifications. By adopting the method, the network delay and the performance pressure of the server can be reduced when a large amount of necessary information of the user is inquired.

Description

Information registration method, information registration apparatus, computer device, storage medium, and program product
Technical Field
The present application relates to the field of information security technologies, and in particular, to an information registration method, an information registration apparatus, a computer device, a storage medium, and a program product.
Background
With the continuous development of networks, application software with various application functions is produced; at present, necessary information of a user is needed for normal use of functions of many application software, and when most application software needs to log in after receiving a transaction request sent by the user, it needs to be confirmed whether the necessary information of the user is completely registered in a server storing the necessary information of the user, for example, application software of a traffic ticket purchase class, the necessary information of the user includes information such as a mobile phone number, a certificate type, a certificate number and the like of the user, and the user needs to register, update and perfect the necessary information to perform other business operations further so as to normally use each function of the application software.
In the conventional technology, when a transaction request sent by a user is received, whether the necessary information of the user is completely registered is inquired mainly by sending a network request to a server for storing the necessary information of the user.
However, if the application software has a wide audience and a large number of users, when receiving transaction requests sent by a large number of users at the same time, the application software needs to send a plurality of network requests to a server storing necessary information of the users at the same time to query whether the necessary information of the users is completely registered, which may cause problems of network delay and increased performance pressure of a database system, and therefore, a solution to the problem of reducing the network delay and the performance pressure of the server when querying a large amount of necessary information of the users is needed.
Disclosure of Invention
Based on this, it is necessary to provide an information registration method, apparatus, computer device, storage medium, and program product capable of reducing network delay when querying a large amount of user-necessary information, in view of the above technical problems.
In a first aspect, the present application provides an information registration method. The method comprises the following steps:
after a target transaction request sent by a client is received, whether the target account identification corresponds to unregistered transaction necessary information or not is inquired in a locally stored target data table according to a target account identification carried by the target transaction request; if the target account identification is not inquired to correspond to the unregistered transaction necessary information, responding to the target transaction request; the content stored in the target data table is periodically updated by a target server, and the target server stores registered transaction necessary information corresponding to different account identifications.
In one embodiment, the method further comprises:
if the target account identification is inquired to correspond to the unregistered transaction necessary information, sending an information registration instruction to the client so that the client performs registration processing on the unregistered transaction necessary information corresponding to the target account identification and returns a registration processing result; the target transaction request is responded to based on the registration processing result.
In one embodiment, sending an information registration instruction to the client includes: detecting whether the frequency of the target server for periodically updating the target data table is lower than a preset frequency threshold value; and if the frequency of the target server for periodically updating the target data table is not lower than the preset frequency threshold, sending the information registration instruction to the client based on the query result of the target data table.
In one embodiment, the method further comprises:
if the frequency of the target server for periodically updating the target data table is lower than the preset frequency threshold, sending a query request to the target server, wherein the query request carries the target account identifier, so that the target server queries whether the unregistered transaction necessary information corresponding to the target account identifier exists or not according to the target account identifier; and sending the information registration instruction to the client according to the query result of the target server.
In one embodiment, the responding to the target transaction request based on the enrollment processing result includes: judging whether the unregistered transaction necessary information corresponding to the target account identification is completely registered or not based on the registration processing result; and responding to the target transaction request if the unregistered transaction necessary information corresponding to the target account identification is completely registered.
In one embodiment, the method further comprises: if all the unregistered transaction-necessary information corresponding to the account identifier is registered, deleting the content corresponding to the target account identifier in the target data table.
In one embodiment, the method further comprises: and sending the transaction necessary information registered by the client to the target server based on the registration processing result.
In a second aspect, the present application further provides an information registration apparatus. The device includes:
the first query module is used for querying whether the target account identifier corresponds to the unregistered transaction necessary information in a locally stored target data table according to the target account identifier carried by the target transaction request after receiving the target transaction request sent by the client;
the first response module is used for responding to the target transaction request if the target account identification is not inquired to correspond to the unregistered transaction necessary information; the content stored in the target data table is periodically updated by a target server, and the target server stores registered transaction necessary information corresponding to different account identifications.
In one embodiment, the apparatus further comprises:
the first registration module is used for sending an information registration instruction to the client if the target account identifier is inquired to correspond to the unregistered transaction necessary information so that the client performs registration processing on the unregistered transaction necessary information corresponding to the target account identifier and returns a registration processing result;
and the second response module is used for responding the target transaction request based on the registration processing result.
In one embodiment, the first registration module is specifically configured to: detecting whether the frequency of the target server for periodically updating the target data table is lower than a preset frequency threshold value; and if the frequency of the target server for periodically updating the target data table is not lower than the preset frequency threshold, sending the information registration instruction to the client based on the query result of the target data table.
In one embodiment, the apparatus further comprises:
a second query module, configured to send a query request to the target server if the frequency of the target server periodically updating the target data table is lower than the preset frequency threshold, where the query request carries the target account identifier, so that the target server queries whether there is unregistered necessary transaction information corresponding to the target account identifier according to the target account identifier;
and the first sending module is used for sending the information registration instruction to the client according to the query result of the target server.
In one embodiment, the second response module is specifically configured to: judging whether the unregistered transaction necessary information corresponding to the target account identification is completely registered or not based on the registration processing result; and responding to the target transaction request if the unregistered transaction necessary information corresponding to the target account identification is completely registered.
In one embodiment, the apparatus further comprises:
and the deleting module is used for deleting the content corresponding to the target account identifier in the target data table if the unregistered transaction necessary information corresponding to the account identifier is completely registered.
In one embodiment, the apparatus further comprises:
and the second sending module is used for sending the transaction necessary information registered by the client to the target server based on the registration processing result.
In a third aspect, the present application further provides a computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the steps of the method according to any one of the first aspect when executing the computer program.
In a fourth aspect, the present application also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method of any of the first aspects described above.
In a fifth aspect, the present application also provides a computer program product comprising a computer program that, when executed by a processor, performs the steps of the method of any of the first aspects described above.
The information registration method, the device, the computer equipment, the storage medium and the program product are characterized in that according to the target account identification carried by the received target transaction request sent by the client, in a locally stored target data table, which is periodically updated by the target server, it is queried whether the target account identification corresponds to the unregistered transaction necessary information, and responds to the target transaction request without querying that the target account identification corresponds to unregistered transaction necessary information, whether information registration is required is judged by inquiring a target data table stored locally, without inquiring a target server storing registration information of different accounts, when a large number of users send transaction requests, network delay and pressure on a target server can be effectively avoided, the efficiency of transaction request response is further improved, and the time consumption of transaction request response is reduced.
Drawings
FIG. 1 is a diagram of an application environment of a method of information registration in one embodiment;
FIG. 2 is a flow diagram illustrating a method of information registration in one embodiment;
FIG. 3 is a flow diagram that illustrates the registration process, in one embodiment;
FIG. 4 is a schematic flow diagram illustrating a response to a target transaction request in one embodiment;
FIG. 5 is a flow diagram illustrating the transmission of an information registration instruction in one embodiment;
FIG. 6 is a flow diagram illustrating a login response in one embodiment;
FIG. 7 is a block diagram showing the configuration of an information registering apparatus according to an embodiment;
FIG. 8 is a block diagram showing the construction of a second information registering apparatus according to an embodiment;
FIG. 9 is a block diagram showing the construction of a third information registering apparatus according to an embodiment;
FIG. 10 is a block diagram showing a configuration of a fourth information registration apparatus according to an embodiment;
FIG. 11 is a diagram illustrating an internal structure of a computer device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
With the continuous development of networks, application software with various application functions is produced; at present, necessary information of a user is needed for normal use of functions of many application software, and when most application software needs to log in after receiving a transaction request sent by the user, it needs to be confirmed whether the necessary information of the user is completely registered in a server storing the necessary information of the user, for example, application software of a traffic ticket purchase class, the necessary information of the user includes information such as a mobile phone number, a certificate type, a certificate number and the like of the user, and the user needs to register, update and perfect the necessary information to perform other business operations further so as to normally use each function of the application software.
In the conventional technology, when a transaction request sent by a user is received, whether the necessary information of the user is completely registered is inquired mainly by sending a network request to a server for storing the necessary information of the user.
However, if the application software has a wide audience and a large number of users, when receiving transaction requests sent by a large number of users at the same time, the application software needs to send a plurality of network requests to a server storing necessary information of the users at the same time to query whether the necessary information of the users is completely registered, which may cause problems of network delay and increased performance pressure of a database system, and therefore, a solution to the problem of reducing the network delay and the performance pressure of the server when querying a large amount of necessary information of the users is needed.
The information registration method provided by the embodiment of the application can be applied to the application environment shown in fig. 1, and includes a terminal 101, a server 102 and a server 103; wherein, the server 103 periodically sends the content to the server 102 to update the target data table stored in the server 102; the server 102 receives a target transaction request from the terminal 101, inquires whether the target data table has the corresponding unregistered transaction necessary information according to the target account identifier carried by the target transaction request, and responds to the target transaction request when the target account identifier is not inquired to correspond to the unregistered transaction necessary information. The terminal 101 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, internet of things devices, and portable wearable devices, and the internet of things devices may be smart speakers, smart televisions, smart car-mounted devices, and the like. The portable wearable device can be an intelligent watch, an intelligent bracelet, a head-mounted device and the like; server 102 and server 103 may be implemented as separate servers or as a server cluster of multiple servers.
In one embodiment, as shown in fig. 2, an information registration method is provided, which is described by taking the method as an example applied to the server 102 in fig. 1, and includes the following steps:
step 201, after receiving a target transaction request sent by a client, according to a target account identifier carried in the target transaction request, querying whether the target account identifier corresponds to unregistered transaction necessary information in a locally stored target data table.
For the application software installed in the client, when the user needs to use the application software in the client, the input account information is a target account identifier, and the operation which the user needs to perform currently in the application software is a target transaction request, such as login and other operations; before allowing the user to perform the next operation in the client, the client sends the target transaction request carrying the target account identifier to the server 102, for example, when the user needs to use the function in the application software after logging in, the client sends a login request to the server 102; when the server 102 returns a target transaction request response, the user can perform the next operation; the server 102 stores a target data table, where the target data table includes identifiers of unregistered transaction necessary information corresponding to different account identifiers, for example, if the target account does not register a contact call, the identifier of the unregistered information is a contact call; the account is stored in a target data table corresponding to the identity of the unregistered transaction necessary information; it should be noted that, the necessary information of the transaction that the user needs to register in different application software is different, for example, the name, the contact phone number, the identification number, etc.; after receiving a target transaction request sent by a client, the server 102 queries whether the target account identifier corresponds to the unregistered transaction necessary information in a target data table stored locally according to the target account identifier carried by the target transaction request.
Step 202, if the target account identification is not inquired to correspond to the unregistered transaction necessary information, responding to the target transaction request; the content stored in the target data table is periodically updated by a target server, and the target server stores registered transaction necessary information corresponding to different account identifications.
When the target account identification is not inquired in the target data table and corresponds to the unregistered transaction necessary information, the necessary transaction information of the user corresponding to the target account is completely registered, the next operation can be directly carried out, the target transaction request is responded, and the user is allowed to carry out the next operation; the content stored in the target data table may be an account corresponding to each user registered by the application software and an identifier of the unregistered transaction necessary information, and the content in the target data table is periodically updated by a target server, which refers to a server for storing the transaction necessary information registered by different users of the application software, i.e. the server 103 in fig. 1; specifically, the target server stores account identifiers corresponding to the users and transaction necessary information registered by the users, and the target server determines unregistered transaction necessary information corresponding to different account identifiers by counting the registered transaction necessary information corresponding to the stored account identifiers, periodically transmits the account identifiers and the unregistered transaction necessary information to the server 102, covers or deletes previously stored contents in the target data table, stores the contents currently transmitted to the server 102 by the target server in the target data table, and updates the contents in the target data table.
In the information registration method, according to the target account identification carried by the received target transaction request sent by the client, in a locally stored target data table, which is periodically updated by the target server, it is queried whether the target account identification corresponds to the unregistered transaction necessary information, and responds to the target transaction request without querying that the target account identification corresponds to unregistered transaction necessary information, whether information registration is required is judged by inquiring a target data table stored locally, without inquiring a target server storing registration information of different accounts, when a large number of users send transaction requests, network delay and pressure on a target server can be effectively avoided, the speed and stability of information query are improved, the efficiency of transaction request response is further improved, and the time consumption of transaction request response is reduced.
In one embodiment, as shown in fig. 3, a flow diagram of a registration process provided in an embodiment of the present application is shown; the method further comprises the following steps:
step 301, if it is found that the target account id corresponds to the unregistered transaction necessary information, sending an information registration instruction to the client, so that the client performs registration processing on the unregistered transaction necessary information corresponding to the target account id, and returning a registration processing result.
After a target transaction request sent by a client is received, whether the target account identification corresponds to the unregistered transaction necessary information or not is inquired in a target data table according to the target account identification carried by the target transaction request, if the target account identification corresponds to the unregistered transaction necessary information, the target account needs to register the unregistered transaction necessary information to perfect the transaction necessary information, and then the next operation can be carried out in the application software; therefore, if the target account identification is inquired to correspond to the unregistered transaction necessary information, an information registration instruction is sent to the client, the information registration instruction can be used for guiding the user to which the target account belongs to perform registration processing on the client according to the identification of the unregistered transaction necessary information, and the registration processing result is returned after registration, and the registration processing result comprises each unregistered transaction necessary information which is additionally registered by the user to which the target account belongs.
Step 302, the target transaction request is responded to based on the registration processing result.
After the client returns the registration processing result, the server 102 determines whether to respond to the target transaction request based on the registration processing result.
Referring to fig. 4, a schematic flow chart of responding to a target transaction request according to an embodiment of the present application is shown; responding to the target transaction request based on the registration process result, including:
in step 401, it is determined whether or not the unregistered transaction necessary information corresponding to the target account id is all registered based on the registration processing result.
In step 402, if all the unregistered transaction-related information corresponding to the target account id is registered, the target transaction request is responded.
The server 102 determines whether the transaction necessary information corresponding to the target account has been completely registered according to the registration processing result returned by the client, and if the returned registration processing result includes the unregistered transaction necessary information supplemented by all clients corresponding to the target account, it indicates that all the transaction necessary information of the target account has been acquired, and the target account can be allowed to perform the next operation in the application software, and then the target transaction request is responded; if the server 102 determines that the transaction necessary information corresponding to the target account in the registration processing result returned by the client is not complete, the target transaction request cannot be responded.
When the target value account is inquired to correspond to the unregistered transaction necessary information, the unregistered transaction necessary information corresponding to the target account is registered through the guide client, so that the registration efficiency of the necessary transaction information is improved, the registration integrity of the user transaction necessary information is ensured, the timeliness of acquiring the target account data is ensured, and the user to which the target account belongs can conveniently perform the next operation in the application software.
In one embodiment, the method further comprises: if the unregistered transaction necessary information corresponding to the account identifier is completely registered, deleting the content corresponding to the target account identifier in the target data table; and transmits transaction necessary information registered by the client to the target server based on the registration processing result.
The target data table is used for storing different accounts and identifiers of the corresponding unregistered transaction necessary information, and if the unregistered transaction necessary information corresponding to the account identifier is completely registered, namely the unregistered transaction necessary information corresponding to the target account registered by the client is acquired, the identifiers of the unregistered transaction necessary information corresponding to the target account in the target data table are deleted; further, the target server is used for storing the registered transaction necessary information corresponding to different accounts, and when the registration processing result of the client is obtained, the transaction necessary information corresponding to the target account included in the registration processing result is sent to the target server for storage. Based on the registration processing result, by deleting the content corresponding to the target account in the target data table, the situation that when the transaction request of the target account is received next time, under the condition that the registered transaction necessary information is obtained, the fact that the target account corresponds to the unregistered transaction necessary information is counted again, the target account cannot receive the transaction request response, the user to which the target account belongs is influenced to normally perform the next operation at the client side, and the target data table is updated in time is avoided; further, the necessary transaction information corresponding to the registered target account returned by the client is sent to the target server for storage based on the registration processing result, accuracy and completeness of data of the target server are guaranteed under the condition that performance pressure is not brought to the target server due to query, timeliness of data stored by the target server is guaranteed, and interaction between the target server and other systems based on the stored data is facilitated.
In one embodiment, as shown in fig. 5, a schematic flow chart of sending an information registration instruction provided in an embodiment of the present application is shown; sending an information registration instruction to the client, including:
step 501, detecting whether the frequency of the target server periodically updating the target data table is lower than a preset frequency threshold.
The frequency of the target server for periodically updating the target data table may be set by an operation and maintenance person of the target server according to the user amount of the application software at different time periods, for example, at an initial stage of use of the application software, if the number of registered accounts is large, the frequency may be set to be updated once a day; after the application software is put into use for a long time, the number of users tends to be stable, and the number of accounts registered every day is small, so that the frequency can be set to be once every 5 days; the highest frequency may be set once a day and the lowest frequency may be set once a month; optionally, the operation and maintenance staff may update the target data table when the amount of the unregistered transaction necessary information counted by the target server exceeds one percent of the total transaction necessary information; the frequency threshold is preset, the updating frequency is synchronously recorded in the server 102, and after a target transaction request is received and the target account is inquired that the target account has corresponding unregistered transaction necessary information in the target data table, whether the frequency of the target server periodically updating the target data table recorded in the server 102 is lower than the preset frequency threshold is detected, so as to judge whether the content stored in the target data table is updated in time.
Step 502, if the frequency of the target server periodically updating the target data table is not lower than the preset frequency threshold, the information registration instruction is sent to the client based on the query result of the target data table.
If the frequency of the target server for periodically updating the target data table is detected to be not lower than the preset frequency threshold, the content in the target data table is judged to be updated in time, and further an information registration instruction is sent to the client based on the content inquired in the target data table to guide a user to register the unregistered transaction necessary information so as to perfect the transaction necessary information of the target account.
Step 503, if the frequency of the target server periodically updating the target data table is lower than the preset frequency threshold, sending a query request to the target server; the inquiry request carries the target account identification, so that the target server inquires whether the unregistered transaction necessary information corresponding to the target account identification exists according to the target account identification.
Step 504, according to the query result of the target server, sending the information registration instruction to the client.
If the frequency of periodically updating the target data table by the target server is lower than the preset frequency threshold value, the content in the target data table is judged to be possibly not updated in time, and a user acquires necessary unregistered transaction information which is supplemented by other channels and stores the necessary information in the target server; therefore, in order to determine which actual and accurate unregistered transaction necessary information of the target account at the current moment is, an inquiry request carrying the target account identifier is sent to the target server, and the inquiry request can be an http network request, for example; after receiving the query request, the target server queries whether the carried transaction necessary information corresponding to the target account is completely registered, if not, the query result is returned as the unregistered transaction necessary information corresponding to the queried target account, and the query result is more accurate compared with the content stored in the target data table, so that an information registration instruction can be sent to the client based on the query result, and the transaction necessary information registered by the client based on the information registration instruction is acquired; if the fact that the necessary transaction information of the target account is completely registered is inquired, the completely registered information is returned as an inquiry result, and the target account can directly log in based on the inquiry result; meanwhile, the target account stored in the target data table and the identifier of the unregistered transaction necessary information corresponding to the target account can be deleted based on the query result, so that the target station account can directly acquire a transaction request response next time.
The method and the system have the advantages that the updating frequency is set, the target server can timely and effectively update the content of the target data table, meanwhile, the query request is directly sent to the target server by setting the frequency threshold under the condition that the updating frequency is lower than the preset frequency threshold, the registration condition of the latest transaction necessary information of the target account stored by the target server is obtained, the accuracy of obtaining the transaction necessary information is guaranteed, network resources are saved, and the balance between the accuracy of confirming the transaction necessary information and the stable performance of the target server is achieved to the maximum extent.
In one embodiment, as shown in fig. 6, a schematic flow chart of a login response provided by an embodiment of the present application is shown; after receiving a login request of a target account, responding to the login request after confirming necessary information of the target account through the following steps; the method comprises the following steps:
step 601, after receiving a login request sent by a client, according to a target account identifier carried by the login request, querying whether the target account identifier corresponds to unregistered transaction necessary information in a target data table.
The content stored in the target data table can be an account corresponding to each user registered by the application software and an identifier of unregistered transaction necessary information, the target data table is locally stored, and the stored content is periodically updated by the target server; the target server stores registered necessary transaction information corresponding to different account identifications; the target server judges the unregistered transaction necessary information corresponding to different account identifications by counting the registered transaction necessary information corresponding to the stored account identifications, periodically sends the account identifications and the corresponding unregistered transaction necessary information to the server 102, covers or deletes the previously stored content in the target data table, stores the content currently sent to the server 102 by the target server in the target data table, and realizes the updating of the content in the target data table.
Step 602, if the target account id does not correspond to the unregistered transaction necessary information, responding to the login request.
When the target data table does not inquire that the target account identifier corresponds to the unregistered transaction necessary information, the necessary transaction information of the user corresponding to the target account is completely registered, the next operation can be directly performed, the target login request is responded, and the user is allowed to log in and perform other operations.
Step 603, if it is found that the target account id corresponds to the unregistered transaction necessary information, detecting whether the frequency of periodically updating the target data table by the target server is lower than a preset frequency threshold.
The frequency of the target server for periodically updating the target data table can be set by operation and maintenance personnel of the target server according to the user amount of the application software at different time periods, the highest frequency can be set once a day, and the lowest frequency can be set once a month; optionally, the operation and maintenance personnel may update the target data table when the amount of the unregistered transaction necessary information counted by the target server exceeds one percent of the total transaction necessary information.
Step 604, if the frequency of the target server for periodically updating the target data table is not lower than a preset frequency threshold, sending an information registration instruction to the client based on the query result of the target data table;
if the frequency of the target server for periodically updating the target data table is detected to be not lower than the preset frequency threshold, the content in the target data table is judged to be updated in time, and then an information registration instruction is sent to the client based on the content inquired in the target data table, so that the client registers the unregistered transaction necessary information corresponding to the target account identification, and a registration processing result is returned.
Step 605, if the frequency of the target server periodically updating the target data table is lower than the preset frequency threshold, sending a query request to the target server.
If the frequency of periodically updating the target data table by the target server is lower than the preset frequency threshold value, the content in the target data table is judged to be possibly not updated in time, and a user acquires necessary unregistered transaction information which is supplemented by other channels and stores the necessary information in the target server; therefore, in order to determine which of the actual and accurate unregistered transaction necessary information of the target account at the current moment, an inquiry request carrying the target account identifier is sent to the target server, so that the target server inquires whether the unregistered transaction necessary information corresponding to the target account identifier exists or not according to the target account identifier; and acquiring a query result of the target server, wherein the query result comprises an identifier of the unregistered transaction necessary information corresponding to the target account at the current moment.
Step 606, according to the query result of the target server, sending an information registration instruction to the client.
Step 607, obtaining the registration processing result returned by the client; the login request is responded to based on the registration processing result.
Judging whether the unregistered transaction necessary information corresponding to the target account identification is completely registered or not based on the registration processing result, and responding to the login request if the unregistered transaction necessary information corresponding to the target account identification is completely registered; if all the unregistered transaction-requiring information corresponding to the account identifier is registered, the content corresponding to the target account identifier in the target data table is deleted, and the transaction-requiring information registered by the client is transmitted to the target server based on the registration processing result.
It should be understood that, although the steps in the flowcharts related to the embodiments as described above are sequentially displayed as indicated by arrows, the steps are not necessarily performed sequentially as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a part of the steps in the flowcharts related to the embodiments described above may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the execution order of the steps or stages is not necessarily sequential, but may be rotated or alternated with other steps or at least a part of the steps or stages in other steps.
Based on the same inventive concept, the embodiment of the present application further provides an information registration apparatus for implementing the above-mentioned information registration method. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme described in the above method, so specific limitations in one or more embodiments of the information registration device provided below can be referred to the limitations in the above information registration method, and are not described herein again.
In one embodiment, as shown in fig. 7, there is provided an information registration apparatus including: a first query module 701 and a first response module 702, wherein:
a first query module 701, configured to, after receiving a target transaction request sent by a client, query, according to a target account identifier carried in the target transaction request, whether the target account identifier corresponds to unregistered transaction necessary information in a locally stored target data table;
a first response module 702, configured to respond to the target transaction request if the target account identifier does not correspond to the unregistered transaction necessary information; the content stored in the target data table is periodically updated by a target server, and the target server stores registered transaction necessary information corresponding to different account identifications.
In one embodiment, as shown in fig. 8, which shows a block diagram of a second information registration apparatus provided in an embodiment of the present application, the information registration apparatus 800 further includes:
a first registration module 703, configured to send an information registration instruction to the client if it is found that the target account identifier corresponds to the unregistered transaction necessary information, so that the client performs registration processing on the unregistered transaction necessary information corresponding to the target account identifier, and returns a registration processing result;
a second response module 704 for responding to the target transaction request based on the registration processing result.
In an embodiment, the first registration module 703 is specifically configured to: detecting whether the frequency of the target server for periodically updating the target data table is lower than a preset frequency threshold value; and if the frequency of the target server for periodically updating the target data table is not lower than the preset frequency threshold, sending the information registration instruction to the client based on the query result of the target data table.
In one embodiment, as shown in fig. 9, which shows a block diagram of a third information registration apparatus provided in the embodiment of the present application, the information registration apparatus 900 further includes:
a second query module 705, configured to send a query request to the target server if the frequency of the target server periodically updating the target data table is lower than the preset frequency threshold, where the query request carries the target account identifier, so that the target server queries whether there is unregistered necessary transaction information corresponding to the target account identifier according to the target account identifier;
a first sending module 706, configured to send the information registration instruction to the client according to the query result of the target server.
In an embodiment, the second responding module 704 is specifically configured to: judging whether the unregistered transaction necessary information corresponding to the target account identification is completely registered or not based on the registration processing result; and responding to the target transaction request if the unregistered transaction necessary information corresponding to the target account identification is completely registered.
In an embodiment, as shown in fig. 10, which shows a block diagram of a fourth information registration apparatus provided in the embodiment of the present application, the information registration apparatus 1000 further includes:
a deleting module 707, configured to delete the content corresponding to the target account id in the target data table if all the unregistered transaction necessary information corresponding to the account id is registered.
A second sending module 708, configured to send, to the target server, the transaction necessary information registered by the client based on the registration processing result.
The respective modules in the above-described information registering apparatus may be entirely or partially implemented by software, hardware, and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as shown in fig. 11. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing information registration data. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement an information registration method.
Those skilled in the art will appreciate that the architecture shown in fig. 11 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program:
after a target transaction request sent by a client is received, whether the target account identification corresponds to unregistered transaction necessary information or not is inquired in a locally stored target data table according to a target account identification carried by the target transaction request; if the target account identification is not inquired to correspond to the unregistered transaction necessary information, responding to the target transaction request; the content stored in the target data table is periodically updated by a target server, and the target server stores registered transaction necessary information corresponding to different account identifications.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
if the target account identification is inquired to correspond to the unregistered transaction necessary information, sending an information registration instruction to the client so that the client performs registration processing on the unregistered transaction necessary information corresponding to the target account identification and returns a registration processing result; the target transaction request is responded to based on the registration processing result.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
judging whether the unregistered transaction necessary information corresponding to the target account identification is completely registered or not based on the registration processing result; and responding to the target transaction request if the unregistered transaction necessary information corresponding to the target account identification is completely registered.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
if the unregistered transaction necessary information corresponding to the account identifier is completely registered, deleting the content corresponding to the target account identifier in the target data table; and transmits transaction necessary information registered by the client to the target server based on the registration processing result.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
detecting whether the frequency of the target server for periodically updating the target data table is lower than a preset frequency threshold value; if the frequency of the target server for periodically updating the target data table is not lower than the preset frequency threshold, sending the information registration instruction to the client based on the query result of the target data table; if the frequency of the target server for periodically updating the target data table is lower than the preset frequency threshold, sending a query request to the target server; the inquiry request carries the target account identification so that the target server inquires whether the unregistered transaction necessary information corresponding to the target account identification exists according to the target account identification; and sending the information registration instruction to the client according to the query result of the target server.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
after a target transaction request sent by a client is received, whether the target account identification corresponds to unregistered transaction necessary information or not is inquired in a locally stored target data table according to a target account identification carried by the target transaction request; if the target account identification is not inquired to correspond to the unregistered transaction necessary information, responding to the target transaction request; the content stored in the target data table is periodically updated by a target server, and the target server stores registered transaction necessary information corresponding to different account identifications.
In one embodiment, the computer program when executed by the processor further performs the steps of:
if the target account identification is inquired to correspond to the unregistered transaction necessary information, sending an information registration instruction to the client so that the client performs registration processing on the unregistered transaction necessary information corresponding to the target account identification and returns a registration processing result; the target transaction request is responded to based on the registration processing result.
In one embodiment, the computer program when executed by the processor further performs the steps of:
judging whether the unregistered transaction necessary information corresponding to the target account identification is completely registered or not based on the registration processing result; and responding to the target transaction request if the unregistered transaction necessary information corresponding to the target account identification is completely registered.
In one embodiment, the computer program when executed by the processor further performs the steps of:
if the unregistered transaction necessary information corresponding to the account identifier is completely registered, deleting the content corresponding to the target account identifier in the target data table; and transmits transaction necessary information registered by the client to the target server based on the registration processing result.
In one embodiment, the computer program when executed by the processor further performs the steps of:
detecting whether the frequency of the target server for periodically updating the target data table is lower than a preset frequency threshold value; if the frequency of the target server for periodically updating the target data table is not lower than the preset frequency threshold, sending the information registration instruction to the client based on the query result of the target data table; if the frequency of the target server for periodically updating the target data table is lower than the preset frequency threshold, sending a query request to the target server; the inquiry request carries the target account identification so that the target server inquires whether the unregistered transaction necessary information corresponding to the target account identification exists according to the target account identification; and sending the information registration instruction to the client according to the query result of the target server.
In one embodiment, a computer program product is provided, comprising a computer program which, when executed by a processor, performs the steps of:
after a target transaction request sent by a client is received, whether the target account identification corresponds to unregistered transaction necessary information or not is inquired in a locally stored target data table according to a target account identification carried by the target transaction request; if the target account identification is not inquired to correspond to the unregistered transaction necessary information, responding to the target transaction request; the content stored in the target data table is periodically updated by a target server, and the target server stores registered transaction necessary information corresponding to different account identifications.
In one embodiment, the computer program when executed by the processor further performs the steps of:
if the target account identification is inquired to correspond to the unregistered transaction necessary information, sending an information registration instruction to the client so that the client performs registration processing on the unregistered transaction necessary information corresponding to the target account identification and returns a registration processing result; the target transaction request is responded to based on the registration processing result.
In one embodiment, the computer program when executed by the processor further performs the steps of:
judging whether the unregistered transaction necessary information corresponding to the target account identification is completely registered or not based on the registration processing result; and responding to the target transaction request if the unregistered transaction necessary information corresponding to the target account identification is completely registered.
In one embodiment, the computer program when executed by the processor further performs the steps of:
if the unregistered transaction necessary information corresponding to the account identifier is completely registered, deleting the content corresponding to the target account identifier in the target data table; and transmits transaction necessary information registered by the client to the target server based on the registration processing result.
In one embodiment, the computer program when executed by the processor further performs the steps of:
detecting whether the frequency of the target server for periodically updating the target data table is lower than a preset frequency threshold value; if the frequency of the target server for periodically updating the target data table is not lower than the preset frequency threshold, sending the information registration instruction to the client based on the query result of the target data table; if the frequency of the target server for periodically updating the target data table is lower than the preset frequency threshold, sending a query request to the target server; the inquiry request carries the target account identification so that the target server inquires whether the unregistered transaction necessary information corresponding to the target account identification exists according to the target account identification; and sending the information registration instruction to the client according to the query result of the target server.
It should be noted that, the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, presented data, etc.) referred to in the present application are information and data authorized by the user or sufficiently authorized by each party.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, database, or other medium used in the embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high-density embedded nonvolatile Memory, resistive Random Access Memory (ReRAM), Magnetic Random Access Memory (MRAM), Ferroelectric Random Access Memory (FRAM), Phase Change Memory (PCM), graphene Memory, and the like. Volatile Memory can include Random Access Memory (RAM), external cache Memory, and the like. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others. The databases referred to in various embodiments provided herein may include at least one of relational and non-relational databases. The non-relational database may include, but is not limited to, a block chain based distributed database, and the like. The processors referred to in the embodiments provided herein may be general purpose processors, central processing units, graphics processors, digital signal processors, programmable logic devices, quantum computing based data processing logic devices, etc., without limitation.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present application shall be subject to the appended claims.

Claims (11)

1. An information registration method, characterized in that the method comprises:
after a target transaction request sent by a client is received, whether the target account identification corresponds to unregistered transaction necessary information or not is inquired in a locally stored target data table according to a target account identification carried by the target transaction request;
if the target account identification is not inquired to correspond to the unregistered transaction necessary information, responding to the target transaction request;
the content stored in the target data table is periodically updated by a target server, and the target server stores registered transaction necessary information corresponding to different account identifications.
2. The method of claim 1, further comprising:
if the target account identification is inquired to correspond to the unregistered transaction necessary information, sending an information registration instruction to the client so that the client performs registration processing on the unregistered transaction necessary information corresponding to the target account identification and returns a registration processing result;
responding to the target transaction request based on the registration processing result.
3. The method of claim 2, wherein sending information registration instructions to the client comprises:
detecting whether the frequency of the target server for periodically updating the target data table is lower than a preset frequency threshold value;
and if the frequency of the target server for periodically updating the target data table is not lower than the preset frequency threshold, sending the information registration instruction to the client based on the query result of the target data table.
4. The method of claim 3, further comprising:
if the frequency of the target server for periodically updating the target data table is lower than the preset frequency threshold, sending a query request to the target server, wherein the query request carries the target account identification, so that the target server queries whether the unregistered transaction necessary information corresponding to the target account identification exists or not according to the target account identification;
and sending the information registration instruction to the client according to the query result of the target server.
5. The method of claim 2, wherein said responding to the target transaction request based on the enrollment processing result comprises:
judging whether the unregistered transaction necessary information corresponding to the target account identification is completely registered or not based on the registration processing result;
and if the unregistered transaction necessary information corresponding to the target account identification is completely registered, responding to the target transaction request.
6. The method of claim 5, further comprising:
and if the unregistered transaction necessary information corresponding to the account identification is completely registered, deleting the content corresponding to the target account identification in the target data table.
7. The method of claim 5, further comprising:
and sending the transaction necessary information registered by the client to the target server based on the registration processing result.
8. An information registration apparatus, characterized in that the apparatus comprises:
the first query module is used for querying whether the target account identifier corresponds to the unregistered transaction necessary information in a locally stored target data table according to the target account identifier carried by the target transaction request after receiving the target transaction request sent by the client;
the first response module is used for responding to the target transaction request if the target account identification is not inquired to correspond to the unregistered transaction necessary information;
the content stored in the target data table is periodically updated by a target server, and the target server stores registered transaction necessary information corresponding to different account identifications.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
11. A computer program product comprising a computer program, characterized in that the computer program realizes the steps of the method of any one of claims 1 to 7 when executed by a processor.
CN202111557169.3A 2021-12-18 2021-12-18 Information registration method, information registration apparatus, computer device, storage medium, and program product Pending CN114185949A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111557169.3A CN114185949A (en) 2021-12-18 2021-12-18 Information registration method, information registration apparatus, computer device, storage medium, and program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111557169.3A CN114185949A (en) 2021-12-18 2021-12-18 Information registration method, information registration apparatus, computer device, storage medium, and program product

Publications (1)

Publication Number Publication Date
CN114185949A true CN114185949A (en) 2022-03-15

Family

ID=80544474

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111557169.3A Pending CN114185949A (en) 2021-12-18 2021-12-18 Information registration method, information registration apparatus, computer device, storage medium, and program product

Country Status (1)

Country Link
CN (1) CN114185949A (en)

Similar Documents

Publication Publication Date Title
US10560465B2 (en) Real time anomaly detection for data streams
US11711420B2 (en) Automated management of resource attributes across network-based services
US20140365523A1 (en) Push subscriptions
US20140122684A1 (en) Early access to user-specific data for behavior prediction
US10860604B1 (en) Scalable tracking for database udpates according to a secondary index
WO2017167121A1 (en) Method and device for determining and applying association relationship between application programs
CN111046237B (en) User behavior data processing method and device, electronic equipment and readable medium
US10182104B1 (en) Automatic propagation of resource attributes in a provider network according to propagation criteria
CN112860953A (en) Data importing method, device, equipment and storage medium of graph database
CN113645287B (en) Automobile message storage method and device and automobile message storage system
CN112491650B (en) Method for dynamically analyzing call loop condition between services and related equipment
US20190286671A1 (en) Algorithmic computation of entity information from ip address
CN116028696A (en) Resource information acquisition method and device, electronic equipment and storage medium
CN113420050B (en) Data query management method, device, computer equipment and readable storage medium
CN114185949A (en) Information registration method, information registration apparatus, computer device, storage medium, and program product
CN113824675B (en) Method and device for managing login state
CN114238585A (en) Query method and device based on 5G message, computer equipment and storage medium
CN114240060A (en) Risk control method, risk processing system, risk processing device, server, and storage medium
CN115604041B (en) Security agent method, system, apparatus, computer device, and storage medium
CN114844851A (en) Information display method, information display device, computer equipment and storage medium
CN117271463A (en) Method, apparatus, device and computer readable medium for screening users
CN115757463A (en) Data query method, device, equipment, medium and product
CN116228446A (en) Method, device, computer equipment and storage medium for processing offer business
CN114925087A (en) Data acquisition method and device, computer equipment and storage medium
CN116684458A (en) Site independent access amount determining method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination