CN113656772A - Information processing method, information processing device, electronic equipment and storage medium - Google Patents

Information processing method, information processing device, electronic equipment and storage medium Download PDF

Info

Publication number
CN113656772A
CN113656772A CN202110855077.7A CN202110855077A CN113656772A CN 113656772 A CN113656772 A CN 113656772A CN 202110855077 A CN202110855077 A CN 202110855077A CN 113656772 A CN113656772 A CN 113656772A
Authority
CN
China
Prior art keywords
identity information
cache
target
query request
information
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
CN202110855077.7A
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.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology Co Ltd
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 Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202110855077.7A priority Critical patent/CN113656772A/en
Publication of CN113656772A publication Critical patent/CN113656772A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication

Abstract

The present disclosure relates to an information processing method, an information processing apparatus, an electronic device, and a storage medium, wherein the method includes: receiving an identity information query request; matching the target identity information with cache identity information stored in a preset cache; and if the cached identity information comprises the identity information matched with the target identity information, generating prompt information for presetting that the server does not update the identity information. According to the method and the device, when the identity information query request is received, the query request is not directly sent to the preset server, and whether the target identity information in the preset server is updated or not is determined by querying whether the target identity information is contained in the cache identity information in the preset cache, so that the problems of overlarge pressure of the preset server and resource waste caused by the fact that a user continuously and repeatedly sends the identity information query request to the preset server through the terminal preset server can be avoided.

Description

Information processing method, information processing device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of information technologies, and in particular, to an information processing method and apparatus, an electronic device, and a storage medium.
Background
With the continuous development of technology, terminal devices represented by mobile phones are widely used, and mobile phones become indispensable products in life and work of people. The user can meet various requirements of the user through various application programs installed on the mobile phone.
When a user accesses data related to related security through a mobile phone, the user usually needs to acquire identity information of the user, and after the identity information passes authentication, related operations can be performed. If the user updates the identity information of the user, the user often needs to update the identity information synchronously through a third-party server, and the user can usually perform related operations through new identity information after the update. Because data updating has a certain delay, if a user continuously sends an identity authentication request to a third-party server during the period, waste of service resource fee is caused, and even the user cannot normally complete identity authentication finally because of frequent request sending.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides an information processing method, apparatus, electronic device, and storage medium.
According to a first aspect of the embodiments of the present disclosure, there is provided an information processing method including:
receiving an identity information query request, wherein the identity information query request carries target identity information;
matching the target identity information with cache identity information stored in a preset cache; the cached identity information is the identity information carried by the identity information query request when the identity information carried by the received identity information query request is not matched with the corresponding identity information in the preset server.
And if the cached identity information comprises identity information matched with the target identity information, generating prompt information for presetting that the server does not update the identity information.
Optionally, the method further includes:
if the cached identity information does not include identity information matched with the target identity information, sending an identity information query request to the preset server, wherein the identity query request carries the target identity information;
and when receiving feedback information of identity information query failure sent by the preset server, storing the target identity information into the preset cache, and generating prompt information of the preset server without updating the identity information.
Optionally, the method further includes:
if the identity information query request is received for the first time, target identity information carried by the identity information query request is not matched with corresponding identity information in the preset server, and if the identity information query request is not received for the first time, the cached identity information does not include the identity information matched with the target identity information, and prompt information of updated identity information of the preset server is generated;
and if the target identity information carried by the identity information query request is matched with the corresponding identity information in the preset server when the identity information query request is received for the first time, and the cached identity information does not comprise the identity information matched with the target identity information when the identity information query request is not received for the first time, executing the step of sending the identity information query request to the preset server.
Optionally, the method further includes:
and updating the cache identity information in response to a query result returned by the preset server to the cache identity information.
Optionally, the updating the cache identity information in response to the query result returned by the preset server to the cache identity information includes:
periodically sending a query request containing the cache identity information to the preset server;
and deleting the cached identity information when receiving feedback information which is sent by the preset server and indicates that the identity information query is successful.
Optionally, the target identity information includes a target user name and a target identity number; the matching the target identity information with the cache identity information stored in a preset cache includes:
matching the target identity identification number with a cache identity identification number stored in the preset cache;
and if the preset cache stores a cache identity number matched with the target identity number and the cache user name corresponding to the cache identity number is consistent with the target user name, determining that the cache identity information comprises identity information matched with the target identity information.
According to a second aspect of the embodiments of the present disclosure, there is provided an information processing apparatus including:
the request receiving module is configured to execute receiving of an identity information query request, wherein the identity information query request carries target identity information;
the information matching module is configured to perform matching of the target identity information and cache identity information stored in a preset cache; the cached identity information is the identity information carried by the identity information query request when the identity information carried by the received identity information query request is not matched with the corresponding identity information in the preset server.
And the information generation module is configured to execute the step of generating prompt information for presetting the server not to update the identity information if the cached identity information comprises the identity information matched with the target identity information.
Optionally, the apparatus further comprises:
a request sending module configured to execute sending an identity information query request to the preset server if the cached identity information does not include identity information matched with the target identity information, wherein the identity query request carries the target identity information;
and the information storage module is configured to store the target identity information into the preset cache and generate prompt information that the preset server does not update the identity information when receiving the feedback information that the identity information query sent by the preset server fails.
Alternatively to this, the first and second parts may,
the information generating module is further configured to generate prompt information of updated identity information of a preset server if the target identity information carried by the identity information query request is not matched with corresponding identity information in the preset server when the identity information query request is received for the first time, and the cached identity information does not include the identity information matched with the target identity information when the identity information query request is not received for the first time;
if the identity information query request is received for the first time, the target identity information carried by the identity information query request is matched with the corresponding identity information in the preset server, and if the identity information query request is not received for the first time, the cached identity information does not include the identity information matched with the target identity information, and the request sending module is triggered to execute the step of sending the identity information query request to the preset server.
Optionally, the apparatus further comprises:
and the information updating module is configured to update the cache identity information in response to a query result returned by the preset server to the cache identity information.
Optionally, the information updating module is specifically configured to perform:
periodically sending a query request containing the cache identity information to the preset server;
and deleting the cached identity information when receiving feedback information which is sent by the preset server and indicates that the identity information query is successful.
Optionally, the information matching module is specifically configured to perform:
matching the target identity identification number with a cache identity identification number stored in the preset cache;
and if the preset cache stores a cache identity number matched with the target identity number and the cache user name corresponding to the cache identity number is consistent with the target user name, determining that the cache identity information comprises identity information matched with the target identity information.
According to a third aspect of the embodiments of the present disclosure, there is provided an electronic apparatus including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform any of the information processing methods described above.
In a fourth aspect of the embodiments of the present disclosure, a non-transitory computer-readable storage medium is provided, in which instructions, when executed by a processor of a mobile terminal, enable the mobile terminal to perform one of the above-mentioned information processing methods.
According to a fifth aspect of embodiments of the present disclosure, there is provided an application program/computer program product which, when run on a computer, causes the computer to perform the steps of the information processing method described in any one of the above embodiments.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
according to the technical scheme provided by the embodiment of the disclosure, when an identity information query request containing target identity information is received, the target identity information is matched with cache identity information stored in a preset cache, and if the cache identity information comprises identity information matched with the target identity information, prompt information that the preset server does not update the identity information is generated. When the identity information query request is received, the identity information query request is not directly sent to the preset server, whether the cached identity information contains the identity information matched with the target identity information or not is queried in the preset cache, if the cached identity information contains the identity information matched with the target identity information, the preset server does not update the target identity information, at the moment, prompt information that the preset server does not update the identity information is generated, and the prompt information can be sent to the terminal, so that a user can be prevented from continuously and repeatedly sending the identity information query request to the preset server through the terminal, the pressure of the preset server is reduced, and resources can be saved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a flow diagram illustrating an information processing method according to an exemplary embodiment;
FIG. 2 is another flow diagram illustrating an information processing method in accordance with an exemplary embodiment;
FIG. 3 is a block diagram illustrating an information processing apparatus according to an example embodiment;
FIG. 4 is a block diagram illustrating an electronic device in accordance with an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Fig. 1 is a flowchart illustrating an information processing method according to an exemplary embodiment, which may be used in a terminal, as shown in fig. 1, and may include the steps of:
in step S110, an identity information query request is received.
Wherein, the identity information inquiry request carries the target identity information.
In embodiments provided by the present disclosure, the target identity information may include a target user name and a target identification number.
In practical application, if a user needs to modify his or her own related identity information, the user generally needs to go to a related entity to handle the identity information update items, or submit an identity information update application on the internet, and no matter what type of handling is adopted, a certain handling duration is generally needed, and after the handling is completed, the user can query and find the updated identity information through the query service. When a user transacts the identity information update completion period, if the user continuously sends an identity query request to the third-party server through the terminal to know whether the updated query result is completed, the third-party server bears a great deal of pressure, and the repeated query requests waste resources of the third-party server to a great extent, and particularly when a plurality of users initiate related query requests simultaneously, normal business transaction of other users is affected.
In step S120, the target identity information is matched with the cache identity information stored in the preset cache.
The cached identity information is the identity information carried by the cached identity information query request when the identity information carried by the received identity information query request is not matched with the corresponding identity information in the preset server.
Specifically, when an identity information query request is received for the first time, the identity information query request is sent to a third-party server, namely a preset server, the preset server judges whether identity information carried by the identity information query request matches with corresponding identity information in the preset server, if the identity information carried by the identity information query request does not match with the corresponding identity information in the preset server, it is indicated that the preset server has not updated the identity information carried by the identity information query request, and in order to avoid the user from continuously sending the identity information query request to the preset server in subsequent steps, the identity information carried in the identity information query request is stored in a preset cache as cached identity information.
And, in one embodiment, the method further comprises:
and updating the cache identity information in response to a query result returned by the preset server to the cache identity information.
Specifically, when the query result is that the identity information is not matched with the identity information corresponding to the preset server, it is indicated that the identity information is not updated, and therefore, the identity information is still retained in the preset cache, so that when the identity information query request carrying the identity information is received next time, prompt information that the identity information is not updated by the preset server can be directly generated, and the identity information query request is prevented from being continuously sent to the preset server. When the query result is that the identity information is matched with the identity information corresponding to the preset server, the identity information is updated, and therefore the identity information is deleted from the preset cache, so that the identity information query request containing the identity information can be directly sent to the preset server when the identity information query request is received next time, and the identity information is verified.
As can be seen from the above description, when receiving an identity information query request sent by a relevant user, the embodiment of the present disclosure may first match target identity information carried in the identity information query request with cache identity information stored in a preset cache, that is, first find whether there is cache identity information matching the target identity information in the preset cache, and if the cache identity information includes identity information matching the target identity information, it indicates that the preset server does not complete updating of the target identity information, so that a prompt message that the preset server does not update the identity information is generated. Therefore, the situation that a user continuously sends a large number of repeated identity information query requests to a preset server to cause large pressure and resource waste is avoided.
In an embodiment, updating the cache identity information in response to a query result returned by the preset server to the cache identity information may include the following steps:
periodically sending a query request containing cache identity information to a preset server;
and deleting the cached identity information when receiving the feedback information which is sent by the preset server and indicates that the identity information is successfully queried.
It should be noted that, in the embodiment of the present disclosure, the identity information query request including the cached identity information may be periodically sent to the preset server, and the identity information query request may also be sent to the preset server according to the general information update time of the preset server in the history. For example, the query request may be sent to the preset server every 5 hours, or the query request may be sent at a legal working time point, for example, 11 am, 3 pm and 6 pm each day.
If after sending an identity information query request including cache identity information to the preset server, and receiving a query result returned by the preset server that the query is successful, the preset server indicates that the cache identity information has been updated, and at this time, the cache identity information may be deleted from the preset cache. If after sending an identity information query request including cache identity information to the preset server, and receiving a query result of query failure returned by the preset server, it indicates that the preset server does not update the cache identity information, and at this time, the cache identity information may be retained in the preset cache.
Therefore, whether the preset server updates the cache identity information can be monitored by updating the cache identity information in the preset cache, and if one cache identity information is updated, the cache identity information in the preset cache can be deleted; if one cache identity information is not updated, the cache identity information is reserved in the preset cache, so that the situation that when the identity of the preset server is not updated, the terminal continuously sends an identity information query request to the preset server can be avoided, and the pressure of the preset server is reduced.
In step S130, if the cached identity information includes identity information matched with the target identity information, a prompt message indicating that the server is not updated is generated.
If the cached identity information comprises the identity information matched with the target identity information, the preset server does not finish the updating of the target identity information, therefore, prompt information of the preset server not updating the identity information can be generated, and the prompt information of the not updated identity information can be sent to the terminal.
In the information processing method provided by the embodiment of the present disclosure, when an identity information query request including target identity information is received, the target identity information is matched with cache identity information stored in a preset cache, and if the cache identity information includes identity information matched with the target identity information, a prompt message indicating that the preset server does not update the identity information is generated. When the identity information query request is received, the identity information query request is not directly sent to the preset server, whether the cached identity information contains the identity information matched with the target identity information or not is queried in the preset cache, if the cached identity information contains the identity information matched with the target identity information, the preset server does not update the target identity information, at the moment, prompt information that the preset server does not update the identity information is generated, and the prompt information can be sent to the terminal, so that a user can be prevented from continuously and repeatedly sending the identity information query request to the preset server through the terminal, the pressure of the preset server is reduced, and resources can be saved.
Based on the above embodiment, in another embodiment provided by the present disclosure, as shown in fig. 2, the method may further include the following steps:
in step S140, if the cached identity information does not include the identity information matching the target identity information, an identity information query request is sent to the preset server.
Wherein, the identity query request carries the target identity information.
In the embodiment provided by the present disclosure, if the cached identity information does not include the identity information matched with the target identity information, it indicates that the target identity information misses the cached identity information, at this time, the identity information query request may be directly sent to the preset server. In practical applications, two situations may be included, namely that an identity query request containing target identity information is received for the first time, and that an identity query request containing target identity information is not received for the first time. This is all reasonable.
In step S150, when receiving the feedback information of the failed identity information query sent by the preset server, the target identity information is stored in the preset cache, and a prompt message that the preset server does not update the identity information is generated.
If the cached identity information does not include the identity information matched with the target identity information and the feedback information of the failed identity information query sent by the preset server is received, it can be determined that the target identity information is not stored before the cached identity information and the preset server does not complete the update of the target identity information, namely, the identity information query request sent by the user for the first time, so that the target identity information is stored in the preset cache as the stored identity information, and the prompt information that the identity information is not updated by the preset server is generated.
It can be seen that, according to the technical scheme provided by this embodiment, when an identity information query request is received for the first time, if the preset server does not update the identity information carried by the identity information query request, the identity information carried by the identity information query request can be cached in the preset cache, so that a subsequent user can be prevented from continuously and repeatedly sending the identity information query request to the preset server through a terminal, and thus, the pressure of the preset server is reduced, and resources can be saved.
On the basis of the embodiment shown in fig. 2, in an implementation manner, if an identity information query request is received for the first time, target identity information carried by the identity information query request is not matched with corresponding identity information in a preset server, and the identity information query request is not received for the first time, identity information matched with the target identity information is not included in cached identity information, and prompt information of updated identity information of the preset server is generated;
if the identity information query request is received for the first time, the target identity information carried by the identity information query request is matched with the corresponding identity information in the preset server, and if the identity information query request is not received for the first time, the identity information matched with the target identity information is not included in the cached identity information, and the step of sending the identity information query request to the preset server is executed.
Specifically, if the target identity information carried by the identity information query request is not matched with the corresponding identity information in the preset server when the identity information query request is received for the first time, which indicates that the preset server does not complete the update of the target identity information when the identity information query request is received for the first time, moreover, when the identity information query request is not received for the first time, the cached identity information does not include the identity information matched with the target identity information, which means that the preset server completes the update of the target identity information when the identity information query request is not received for the first time, therefore, a prompt message may be generated that presets the server with updated identity information, and the prompt message may be sent to the terminal, therefore, the user can know that the preset server finishes updating the target identity information and can send an identity information query request through the terminal.
If the identity information query request is received for the first time, the target identity information carried by the identity information query request is matched with the corresponding identity information in the preset server, and if the identity information query request is not received for the first time, the cached identity information does not include the identity information matched with the target identity information, which indicates that the preset server completes the updating of the target identity information when the identity information query request is received for the first time, so that the identity information query request can be directly sent to the preset server.
As can be seen from the above description, according to the technical scheme provided in the embodiment of the present disclosure, after an identity information query request carrying target identity information is not received for the first time, whether the preset server completes updating of the target identity information for the first time or not and whether the target identity information exists in the cached identity information or not may be combined to determine whether to generate a prompt that the preset server has updated the identity information or to directly perform the step of sending the identity information query request to the preset server.
With reference to the foregoing embodiment, in another embodiment provided in the present disclosure, the target identity information may include a target user name and a target identity number, and the step S120 may further include the following steps:
in step S121, the target identification number in the target identification information is matched with the cache identification number stored in the preset cache.
In step S122, if the preset cache stores the cache identification number matched with the target identification number, and the cache user name corresponding to the cache identification number is consistent with the target user name, it is determined that the cache identification information includes the identification information matched with the target identification information.
The embodiment provided by the present disclosure, for example, in the embodiment, the target user name is equivalent to the name of the user, the target id number may be an identification number, and an application scenario thereof may be that the user generally goes to a local dispatch office when updating his own name, and may query whether the update is completed through a related website query system. In addition, in the embodiment, before receiving the identity information query request, the user may be verified first, for example, by means of face recognition, and after the verification is passed, the user can receive the identity query request sent by the user and generate a query result, so that the privacy of the user is prevented from being revealed.
Specifically, when the target identity information is matched with the cache identity information stored in the preset cache, the target identity number can be matched with the cache identity number in the cache identity information, the target user name can be matched with the cache user name in the cache identity information, and when the target user name and the cache user name are consistent, the cache identity information is determined to include the identity information matched with the target identity information, so that the determined identity information matched with the target identity information is more accurate.
Fig. 3 is a block diagram illustrating an information processing apparatus according to an example embodiment. Referring to FIG. 3, the apparatus includes
A request receiving module 310 configured to execute receiving an identity information query request, where the identity information query request carries target identity information;
an information matching module 320 configured to perform matching of the target identity information with cache identity information stored in a preset cache; the cached identity information is the identity information carried by the identity information query request when the identity information carried by the received identity information query request is not matched with the corresponding identity information in the preset server.
The information generating module 330 is configured to perform, if the cached identity information includes identity information matched with the target identity information, generating a prompt that the identity information is not updated by a preset server.
Optionally, the apparatus further comprises:
a request sending module configured to execute sending an identity information query request to the preset server if the cached identity information does not include identity information matched with the target identity information, wherein the identity query request carries the target identity information;
and the information storage module is configured to store the target identity information into the preset cache and generate prompt information that the preset server does not update the identity information when receiving the feedback information that the identity information query sent by the preset server fails.
Optionally, the information generating module is further configured to, if the identity information query request is received for the first time, target identity information carried by the identity information query request is not matched with corresponding identity information in the preset server, and if the identity information query request is not received for the first time, the cached identity information does not include identity information matched with the target identity information, and a prompt message indicating that the preset server has updated the identity information is generated;
if the identity information query request is received for the first time, the target identity information carried by the identity information query request is matched with the corresponding identity information in the preset server, and if the identity information query request is not received for the first time, the cached identity information does not include the identity information matched with the target identity information, and the request sending module is triggered to execute the step of sending the identity information query request to the preset server.
Optionally, the apparatus further comprises:
and the information updating module is configured to update the cache identity information in response to a query result returned by the preset server to the cache identity information.
Optionally, the information updating module is specifically configured to perform:
periodically sending a query request containing the cache identity information to the preset server;
and deleting the cached identity information when receiving feedback information which is sent by the preset server and indicates that the identity information query is successful.
Optionally, the information matching module is specifically configured to perform:
matching the target identity identification number with a cache identity identification number stored in the preset cache;
and if the preset cache stores a cache identity number matched with the target identity number and the cache user name corresponding to the cache identity number is consistent with the target user name, determining that the cache identity information comprises identity information matched with the target identity information.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
According to the technical scheme provided by the embodiment of the disclosure, when an identity information query request containing target identity information is received, the target identity information is matched with cache identity information stored in a preset cache, and if the cache identity information comprises identity information matched with the target identity information, prompt information that the preset server does not update the identity information is generated. When the identity information query request is received, the identity information query request is not directly sent to the preset server, whether the cached identity information contains the identity information matched with the target identity information or not is queried in the preset cache, if the cached identity information contains the identity information matched with the target identity information, the preset server does not update the target identity information, at the moment, prompt information that the preset server does not update the identity information is generated, and the prompt information can be sent to the terminal, so that a user can be prevented from continuously and repeatedly sending the identity information query request to the preset server through the terminal, the pressure of the preset server is reduced, and resources can be saved.
Fig. 4 is a block diagram illustrating an apparatus 400 for presenting a group, according to an example embodiment. For example, the apparatus 400 may be provided as a server. Referring to fig. 4, apparatus 400 includes a processing component 422, which further includes one or more processors, and memory resources, represented by memory 432, for storing instructions, such as applications, that are executable by processing component 422. The application programs stored in memory 432 may include one or more modules that each correspond to a set of instructions. Further, the processing component 422 is configured to execute the instructions to perform the authentication method of the first aspect.
The apparatus 400 may also include a power component 426 configured to perform power management of the apparatus 400, a wired or wireless network interface 450 configured to connect the apparatus 400 to a network, and an input output (I/O) interface 458. The apparatus 400 may operate based on an operating system stored in the memory 432, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, or the like.
According to the technical scheme provided by the embodiment of the disclosure, when an identity information query request containing target identity information is received, the target identity information is matched with cache identity information stored in a preset cache, and if the cache identity information comprises identity information matched with the target identity information, prompt information that the preset server does not update the identity information is generated. When the identity information query request is received, the identity information query request is not directly sent to the preset server, whether the cached identity information contains the identity information matched with the target identity information or not is queried in the preset cache, if the cached identity information contains the identity information matched with the target identity information, the preset server does not update the target identity information, at the moment, prompt information that the preset server does not update the identity information is generated, and the prompt information can be sent to the terminal, so that a user can be prevented from continuously and repeatedly sending the identity information query request to the preset server through the terminal, the pressure of the preset server is reduced, and resources can be saved.
The disclosed embodiments also provide a non-transitory computer-readable storage medium, where instructions in the storage medium, when executed by a processor of a mobile terminal, enable the mobile terminal to perform the above-mentioned information processing method.
According to the technical scheme provided by the embodiment of the disclosure, when an identity information query request containing target identity information is received, the target identity information is matched with cache identity information stored in a preset cache, and if the cache identity information comprises identity information matched with the target identity information, prompt information that the preset server does not update the identity information is generated. When the identity information query request is received, the identity information query request is not directly sent to the preset server, whether the cached identity information contains the identity information matched with the target identity information or not is queried in the preset cache, if the cached identity information contains the identity information matched with the target identity information, the preset server does not update the target identity information, at the moment, prompt information that the preset server does not update the identity information is generated, and the prompt information can be sent to the terminal, so that a user can be prevented from continuously and repeatedly sending the identity information query request to the preset server through the terminal, the pressure of the preset server is reduced, and resources can be saved.
There is also provided an application program/computer program product according to an embodiment of the present disclosure, and in yet another embodiment provided by the present disclosure, there is also provided a computer program product including instructions, which when run on a computer, cause the computer to perform the steps of the information processing method described in any one of the above embodiments.
According to the technical scheme provided by the embodiment of the disclosure, when an identity information query request containing target identity information is received, the target identity information is matched with cache identity information stored in a preset cache, and if the cache identity information comprises identity information matched with the target identity information, prompt information that the preset server does not update the identity information is generated. When the identity information query request is received, the identity information query request is not directly sent to the preset server, whether the cached identity information contains the identity information matched with the target identity information or not is queried in the preset cache, if the cached identity information contains the identity information matched with the target identity information, the preset server does not update the target identity information, at the moment, prompt information that the preset server does not update the identity information is generated, and the prompt information can be sent to the terminal, so that a user can be prevented from continuously and repeatedly sending the identity information query request to the preset server through the terminal, the pressure of the preset server is reduced, and resources can be saved.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. The procedures or functions described in accordance with the embodiments of the disclosure are, in whole or in part, generated when the computer program instructions are loaded and executed on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website, computer, server, or data center to another website, computer, server, or data center via wire (e.g., coaxial cable, fiber, DSL (Digital Subscriber Line)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., a floppy Disk, a hard Disk, a magnetic tape), an optical medium (e.g., a DVD (Digital Versatile Disk)), or a semiconductor medium (e.g., an SSD (Solid State Disk)), etc.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. An information processing method characterized by comprising:
receiving an identity information query request, wherein the identity information query request carries target identity information;
matching the target identity information with cache identity information stored in a preset cache; the cached identity information is the identity information carried by the identity information query request when the identity information carried by the received identity information query request is not matched with the corresponding identity information in the preset server.
And if the cached identity information comprises identity information matched with the target identity information, generating prompt information for presetting that the server does not update the identity information.
2. The method of claim 1, further comprising:
if the cached identity information does not include identity information matched with the target identity information, sending an identity information query request to the preset server, wherein the identity query request carries the target identity information;
and when receiving feedback information of identity information query failure sent by the preset server, storing the target identity information into the preset cache, and generating prompt information of the preset server without updating the identity information.
3. The method of claim 2, further comprising:
if the identity information query request is received for the first time, target identity information carried by the identity information query request is not matched with corresponding identity information in the preset server, and if the identity information query request is not received for the first time, the cached identity information does not include the identity information matched with the target identity information, and prompt information of updated identity information of the preset server is generated;
and if the target identity information carried by the identity information query request is matched with the corresponding identity information in the preset server when the identity information query request is received for the first time, and the cached identity information does not comprise the identity information matched with the target identity information when the identity information query request is not received for the first time, executing the step of sending the identity information query request to the preset server.
4. The method of claim 1, further comprising:
and updating the cache identity information in response to a query result returned by the preset server to the cache identity information.
5. The method according to claim 4, wherein the updating the cache identity information in response to the query result returned by the preset server to the cache identity information comprises:
periodically sending a query request containing the cache identity information to the preset server;
and deleting the cached identity information when receiving feedback information which is sent by the preset server and indicates that the identity information query is successful.
6. The method according to any one of claims 1 to 5, wherein the target identity information comprises a target user name and a target identity number; the matching the target identity information with the cache identity information stored in a preset cache includes:
matching the target identity identification number with a cache identity identification number stored in the preset cache;
and if the preset cache stores a cache identity number matched with the target identity number and the cache user name corresponding to the cache identity number is consistent with the target user name, determining that the cache identity information comprises identity information matched with the target identity information.
7. An information processing apparatus characterized by comprising:
the request receiving module is configured to execute receiving of an identity information query request, wherein the identity information query request carries target identity information;
the information matching module is configured to perform matching of the target identity information and cache identity information stored in a preset cache; the cached identity information is the identity information carried by the identity information query request when the identity information carried by the received identity information query request is not matched with the corresponding identity information in the preset server.
And the information generation module is configured to execute the step of generating prompt information for presetting the server not to update the identity information if the cached identity information comprises the identity information matched with the target identity information.
8. An electronic device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the information processing method of any one of claims 1 to 6.
9. A non-transitory computer-readable storage medium, wherein instructions in the storage medium, when executed by a processor of a mobile terminal, enable the mobile terminal to perform an information processing method, the method comprising the steps of the information processing method of any one of claims 1 to 6.
10. An application program/computer program product, characterized in that it causes a computer to carry out the steps of the information processing method according to any one of claims 1 to 6, when it is run on the computer.
CN202110855077.7A 2021-07-26 2021-07-26 Information processing method, information processing device, electronic equipment and storage medium Pending CN113656772A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110855077.7A CN113656772A (en) 2021-07-26 2021-07-26 Information processing method, information processing device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110855077.7A CN113656772A (en) 2021-07-26 2021-07-26 Information processing method, information processing device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113656772A true CN113656772A (en) 2021-11-16

Family

ID=78490720

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110855077.7A Pending CN113656772A (en) 2021-07-26 2021-07-26 Information processing method, information processing device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113656772A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016011883A1 (en) * 2014-07-24 2016-01-28 阿里巴巴集团控股有限公司 Data resource acquisition method, device and system
WO2018036233A1 (en) * 2016-08-22 2018-03-01 深圳市中兴微电子技术有限公司 Information processing method, device and computer storage medium
CN109815684A (en) * 2019-01-30 2019-05-28 广东工业大学 A kind of identity identifying method, system and server and storage medium
CN111831947A (en) * 2020-07-27 2020-10-27 中国工商银行股份有限公司 Application system, data processing method, computer system, and storage medium
CN112527835A (en) * 2020-12-04 2021-03-19 平安科技(深圳)有限公司 Authentication request processing method and device based on cache and related equipment
CN112651001A (en) * 2020-12-30 2021-04-13 中国平安财产保险股份有限公司 Access request authentication method, device, equipment and readable storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016011883A1 (en) * 2014-07-24 2016-01-28 阿里巴巴集团控股有限公司 Data resource acquisition method, device and system
WO2018036233A1 (en) * 2016-08-22 2018-03-01 深圳市中兴微电子技术有限公司 Information processing method, device and computer storage medium
CN109815684A (en) * 2019-01-30 2019-05-28 广东工业大学 A kind of identity identifying method, system and server and storage medium
CN111831947A (en) * 2020-07-27 2020-10-27 中国工商银行股份有限公司 Application system, data processing method, computer system, and storage medium
CN112527835A (en) * 2020-12-04 2021-03-19 平安科技(深圳)有限公司 Authentication request processing method and device based on cache and related equipment
CN112651001A (en) * 2020-12-30 2021-04-13 中国平安财产保险股份有限公司 Access request authentication method, device, equipment and readable storage medium

Similar Documents

Publication Publication Date Title
US20150127678A1 (en) Event triggered service for the lightweight directory access protocol
CN109104701B (en) Information sending method based on equipment identification code and server
CN113364853A (en) Business service system, business request method and gateway equipment
WO2023165226A1 (en) Application resource backup method and apparatus, electronic device, and storage medium
CN111125240B (en) Distributed transaction realization method and device, electronic equipment and storage medium
CN109600254B (en) Method for generating full-link log and related system
CN112131535B (en) Integrated small program authorization method for multi-deployment environment
CN108829495B (en) Verification method, device, equipment and storage medium for multi-database modification transaction
CN109391658B (en) Account data synchronization method and equipment, storage medium and terminal thereof
CN106817296B (en) Information recommendation test method and device and electronic equipment
CN113238815A (en) Interface access control method, device, equipment and storage medium
CN107918617B (en) Data query method and device
CN113656772A (en) Information processing method, information processing device, electronic equipment and storage medium
CN110597843A (en) Waybill query method and device, computer equipment and storage medium
CN113961600A (en) Data query method and device, computer equipment and storage medium
US10191992B2 (en) Unified profiles
CN113872994A (en) Organization architecture synchronization method, device, computer equipment and storage medium
JP2017045463A (en) Information change notification service provision method and system for executing the same
CN114500630A (en) Message pushing method, device, system, storage medium and electronic equipment
CN107704557B (en) Processing method and device for operating mutually exclusive data, computer equipment and storage medium
JP6504000B2 (en) Data delivery control program, data delivery control method and data delivery apparatus
CN110072200B (en) Short message sending control processing method and device and computer equipment
US9830207B2 (en) Message communication system and operation method thereof
US20210390594A1 (en) Electronic product and service fulfillment
CN112416400B (en) Program update control method, program update control device, computer device, 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