Information acquisition method, device, equipment, storage medium and program product

By encrypting the information identifiers between terminal devices and merging timestamps to generate encrypted strings, the problem of data leakage caused by the easy guessing of self-incrementing IDs is solved, and the security and legality of information query are guaranteed.

CN118250055BActive Publication Date: 2025-12-26CHINA CONSTRUCTION BANK +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410364614.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-03-28
Publication Date
2025-12-26
Estimated Expiration
2044-03-28

AI Technical Summary

Technical Problem

Among existing data query methods, auto-incrementing IDs are susceptible to brute-force guessing, leading to a high risk of data leakage.

Method used

By intercepting information identifiers between terminal devices, encrypting them, merging them with timestamps to generate an encrypted string, and then associating it with the information identifier before sending it, the legitimate terminal devices can query detailed information.

Benefits of technology

This effectively avoids the risk of data leakage, ensures that information retrieval comes only from legitimate channels, and improves information security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118250055B_ABST
    Figure CN118250055B_ABST
Patent Text Reader

Abstract

The application discloses an information acquisition method and device, equipment, a storage medium and a program product, and relates to the technical field of data security. The method comprises the following steps: when it is detected that there is first information identification sent by a first terminal device to a second terminal device, the first information identification is intercepted; the first information identification is subjected to encryption processing to obtain an encrypted string; the encrypted string and the first information identification are associated, and the associated encrypted string and the first information identification are sent to the second terminal device, so that the second terminal device queries detailed information corresponding to the first information identification from the first terminal device through the associated encrypted string and the first information identification. According to the embodiment of the application, the user can avoid the risk of data leakage in the data query process.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application belongs to the technical field of data security, and particularly relates to an information acquisition method and device, equipment, a storage medium and a program product. BACKGROUND

[0002] Nowadays, a self-increment ID (identifier) is often used to add an identifier to data. For example, a database system automatically allocates a self-increment ID to each inserted data, and the self-increment ID is automatically incremented when new data is inserted, so as to ensure that each record has a unique identifier. In this way, a user can query a certain item of data by using the ID corresponding to the data.

[0003] However, since there is a certain correlation between the self-increment IDs, there is a possibility of being guessed by force, and therefore, there is a risk of data leakage when using the self-increment ID to query data. SUMMARY

[0004] The embodiments of the present application provide an information acquisition method, device, equipment, storage medium and program product, which can solve the problem of the risk of data leakage in existing data query.

[0005] In a first aspect, the embodiments of the present application provide an information acquisition method, which comprises:

[0006] intercepting a first information identifier sent by a first terminal device to a second terminal device when it is detected that the first information identifier exists;

[0007] encrypting the first information identifier to obtain an encrypted string;

[0008] associating the encrypted string with the first information identifier, and sending the associated encrypted string and first information identifier to the second terminal device, so that the second terminal device queries detailed information corresponding to the first information identifier from the first terminal device by using the associated encrypted string and first information identifier.

[0009] In some embodiments, the encrypting the first information identifier to obtain an encrypted string comprises:

[0010] determining an interception time corresponding to the first information identifier, wherein the interception time is a time when the interception device intercepts the first information identifier;

[0011] generating a timestamp corresponding to the interception time;

[0012] encrypting the first information identifier and the timestamp to obtain the encrypted string.

[0013] In some embodiments, after the method of associating the encrypted string and the first information identifier, and sending the associated encrypted string and the first information identifier to the second terminal device, the method further comprises:

[0014] In the case of detecting that the second terminal device sends the first information identifier and the encrypted string with an association relationship to the first terminal device, intercepting the first information identifier and the encrypted string with the association relationship;

[0015] Decrypting the encrypted string to obtain a second information identifier;

[0016] In the case of matching the first information identifier and the second information identifier, sending the first information identifier to the first terminal device, so that the first terminal device sends detailed information corresponding to the first information identifier to the second terminal device.

[0017] In some embodiments, the method of decrypting the encrypted string to obtain a second information identifier comprises:

[0018] Decrypting the encrypted string to obtain the second information identifier and a timestamp;

[0019] The method of sending the first information identifier to the first terminal device in the case of matching the first information identifier and the second information identifier, so that the first terminal device sends detailed information corresponding to the first information identifier to the second terminal device, comprises:

[0020] In the case of matching the first information identifier and the second information identifier, and the interval time length between the interception time corresponding to the timestamp and the current time is less than the time length threshold, sending the first information identifier to the first terminal device, so that the first terminal device sends detailed information corresponding to the first information identifier to the second terminal device.

[0021] In a second aspect, the embodiments of the present application also provide an information acquisition method, which comprises:

[0022] In response to the first input of the user to the displayed first information identifier;

[0023] Sending the first information identifier and the encrypted string with an association relationship to the first terminal device;

[0024] In the case of matching the first information identifier and the second information identifier in the encrypted string, receiving the detailed information corresponding to the first information identifier sent by the first terminal device.

[0025] In some embodiments, the receiving the detailed information corresponding to the first information identifier sent by the first terminal device in the case that the first information identifier and the second information identifier in the encrypted string match, comprises:

[0026] In the case that the first information identifier and the second information identifier in the encrypted string match, and the interval time length between the time stamp and the current time is less than the time length threshold, the receiving the detailed information corresponding to the first information identifier sent by the first terminal device.

[0027] In some embodiments, before the responding to the first input of the user on the displayed first information identifier, the method further comprises:

[0028] In response to the second input of the user, generating an information query request;

[0029] Sending the information query request to the first terminal device;

[0030] Receiving a plurality of information identifiers and encrypted strings associated with each information identifier in the plurality of information identifiers generated by the first terminal device based on the information query request, the plurality of information identifiers comprising the first information identifier;

[0031] Displaying the plurality of information identifiers.

[0032] In a third aspect, the embodiments of the present application provide an information acquisition device, which comprises:

[0033] A first interception module, configured to intercept a first information identifier sent by a first terminal device to a second terminal device in the case that it is detected that the first information identifier exists;

[0034] An encryption module, configured to perform encryption processing on the first information identifier to obtain an encrypted string;

[0035] A sending module, configured to associate the encrypted string and the first information identifier, and send the associated encrypted string and the first information identifier to the second terminal device, so that the second terminal device queries detailed information corresponding to the first information identifier from the first terminal device by using the associated encrypted string and the first information identifier.

[0036] In a fourth aspect, the embodiments of the present application provide an information acquisition device, which comprises a processor and a memory storing computer program instructions;

[0037] The processor executes the computer program instructions to implement the above information acquisition method.

[0038] In a fifth aspect, an embodiment of the present application provides a computer storage medium, and the computer storage medium stores computer program instructions. The computer program instructions are executed by a processor to implement the information acquisition method described above.

[0039] In a sixth aspect, an embodiment of the present application provides a computer program product, and the computer program product includes computer program instructions. The computer program instructions are executed by a processor to implement the information acquisition method described above.

[0040] In the present application, when it is detected that the first terminal device sends the first information identifier to the second terminal device, the first information identifier can be intercepted, and the first information identifier is encrypted to obtain an encrypted string. Then, the encrypted string and the first information identifier are associated and sent to the second terminal device. Then, the second terminal device can query the detailed information corresponding to the first information identifier from the first terminal device through the associated encrypted string and the first information identifier. Compared with the information query through the first information identifier in the related art, the encrypted string after the encryption of the first information identifier is also used as the condition for the information query. Since the encrypted string is not easy to be guessed by an illegal user, the data query through the information identifier and the encrypted string can effectively avoid the risk of data leakage. BRIEF DESCRIPTION OF DRAWINGS

[0041] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the drawings needed to be used in the embodiments of the present application. Obviously, the drawings described below are only some embodiments of the present application, and other drawings can also be obtained by those skilled in the art without creative labor on the basis of these drawings.

[0042] Figure 1 FIG. 1 is a flowchart of an information acquisition method according to an embodiment of the present application;

[0043] Figure 2 FIG. 2 is a flowchart of an information acquisition method according to another embodiment of the present application;

[0044] Figure 3 FIG. 3 is a structural diagram of an information acquisition device according to an embodiment of the present application;

[0045] Figure 4 FIG. 4 is a hardware structure diagram of an information acquisition device according to an embodiment of the present application. DETAILED DESCRIPTION

[0046] The features and exemplary embodiments of various aspects of this application will be described in detail below. To make the objectives, technical solutions, and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain this application and not to limit it. For those skilled in the art, this application can be implemented without some of these specific details. The following description of the embodiments is merely to provide a better understanding of this application by illustrating examples of this application.

[0047] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising..." does not exclude the presence of additional identical elements in the process, method, article, or apparatus that includes the element.

[0048] It should be noted that, unless otherwise specified, the embodiments and features described in this application can be combined with each other. The embodiments will now be described in detail with reference to the accompanying drawings.

[0049] It should be noted that the acquisition, storage, use, and processing of data in the technical solution of this application all comply with the relevant provisions of national laws and regulations.

[0050] Specifically, in order to address the problems of the prior art, embodiments of this application provide a method, apparatus, device, storage medium, and program product for acquiring information. The method for acquiring information provided in the embodiments of this application will be described first below.

[0051] Figure 1 A flowchart illustrating an embodiment of an information acquisition method provided in this application is shown. The method includes the following steps:

[0052] S110, if a first information identifier is detected being sent from the first terminal device to the second terminal device, the first information identifier is intercepted.

[0053] In this embodiment, the first terminal device can be a backend server, the second terminal device can be a user terminal, and the interception device can perform data interception and other specific functions on the communication path between the first terminal device and the second terminal device.

[0054] Specifically, the user can select an account that the user wants to query on the second terminal device, and generate a first query request based on the account selected by the user, send the first query request to the first terminal device by the second terminal device, and the first terminal device obtains the information identifiers of all information corresponding to the account based on the first query request, and sends these information identifiers to the second terminal device. For example, the information identifier can be the UUID (Universally Unique Identifier, Universal Unique Identifier) or GUID (Globally Unique Identifier, Globally Unique Identifier) of the information

[0055] The interception device can set an interceptor on the communication path of the first terminal device and the second terminal device to intercept the information identifiers sent by the first terminal device to the second terminal device. After intercepting the information identifiers, these information identifiers will no longer be sent to the second terminal device.

[0056] S120, encrypting the first information identifier to obtain an encrypted string.

[0057] In this embodiment, the first information identifier is any one of the information identifiers sent by the first terminal device to the second terminal device and intercepted by the interception device. Taking the first information identifier as an example, the interception device can encrypt the first information identifier to convert the first information identifier into an encrypted string. For example, the first information identifier can be encrypted by using an encryption algorithm such as SM4 algorithm, DES (Data Encryption Standard) algorithm or RSA (Rivest-Shamir-Adleman) algorithm.

[0058] S130, associating the encrypted string and the first information identifier, and sending the associated encrypted string and the first information identifier to the second terminal device, so that the second terminal device queries the detailed information corresponding to the first information identifier from the first terminal device through the associated encrypted string and the first information identifier.

[0059] In this embodiment, since the first information identifier sent by the first terminal device to the second terminal device is intercepted by the interception device, the first information identifier will be obtained by the interception device and will not continue to be transmitted to the second terminal device. After the interception device intercepts the first information identifier, the first information identifier is encrypted to obtain an encrypted string, and the interception device can associate the encrypted string and the first information identifier, and send the associated encrypted string and the first information identifier to the second terminal device.

[0060] In this way, the second terminal device can receive the first information identifier sent by the intercepting device and the encryption string associated with the first information identifier. The second terminal device can display the received first information identifier on a display interface. The user can perform a first input on the first information identifier, and the first input means that the user wants to query detailed information corresponding to the first information identifier. Then, the second terminal device can send the first information identifier and the encryption string associated with the first information identifier to the second terminal device. In a case where the first information identifier and the encryption string pass consistency verification, the first terminal device will return detailed information corresponding to the first information identifier to the second terminal device.

[0061] In the embodiment of the application, after detecting that the first terminal device sends the first information identifier to the second terminal device, the first information identifier can be intercepted and encrypted to obtain an encryption string. Then, the encryption string and the first information identifier are associated and sent to the second terminal device. Then, the second terminal device can query detailed information corresponding to the first information identifier from the first terminal device by using the associated encryption string and the first information identifier. Compared with the related art in which information is queried only by using the first information identifier, the encryption string obtained by encrypting the first information identifier is also used as a condition for information query in the application. Since the encryption string is not easy to be guessed by an illegal user, data query by using the information identifier and the encryption string can effectively avoid the risk of data leakage.

[0062] As an optional embodiment, the encryption processing on the first information identifier to obtain the encryption string includes:

[0063] determining an intercepting time corresponding to the first information identifier, wherein the intercepting time is a time at which the intercepting device intercepts the first information identifier;

[0064] generating a time stamp corresponding to the intercepting time;

[0065] encrypting the first information identifier and the time stamp to obtain the encryption string.

[0066] In the embodiment, in the process in which the intercepting device intercepts the first information identifier, the time at which the intercepting device intercepts the first information identifier is determined as the intercepting time. Then, a time stamp corresponding to the intercepting time is generated, and the time stamp and the first information identifier are encrypted to obtain an encryption string. The encryption string records information of the first information identifier and information of the intercepting time, and therefore the encryption string is unique.

[0067] For example, the timestamp and the first information identifier can be combined and then encrypted to obtain an encrypted string; or the timestamp and the first information identifier can be encrypted respectively to obtain two sub-strings, and the two encrypted sub-strings can be combined to obtain the encrypted string.

[0068] In this way, the interception moment can be encrypted together with the first information identifier in the form of a timestamp, so that the encrypted string is unique and cannot be guessed, thereby improving the security of the encrypted string.

[0069] As an optional embodiment, after the encrypted string and the first information identifier are associated and the associated encrypted string and the first information identifier are sent to the second terminal device, the method further comprises:

[0070] intercepting the first information identifier and the encrypted string with the association relationship when it is detected that the second terminal device sends the first information identifier and the encrypted string with the association relationship to the first terminal device;

[0071] decrypting the encrypted string to obtain a second information identifier;

[0072] when the first information identifier and the second information identifier match, sending the first information identifier to the first terminal device, so that the first terminal device sends detailed information corresponding to the first information identifier to the second terminal device.

[0073] In this embodiment, the second terminal device is a user terminal, and the first terminal device can be a background server. When the second terminal device sends the first information identifier and the encrypted string with the association relationship to the first terminal device, it means that the second terminal device wants to query detailed information corresponding to the first information identifier from the first terminal device.

[0074] The interception device is arranged on the transmission path between the first terminal device and the second terminal device, so the interception device can not only set an interceptor to intercept the first information identifier sent by the first terminal device to the second terminal device, but also set another interceptor to intercept the first information identifier and the encrypted string with the association relationship sent by the second terminal device to the first terminal device.

[0075] After intercepting the first information identifier and the encrypted string having the correlation relationship, the intercepting device can perform decryption processing on the encrypted string to obtain the second information identifier in the encrypted string. If the first information identifier and the second information identifier are consistent, it is considered that the first information identifier and the encrypted string having the correlation relationship come from the user terminal, and the first terminal device can provide the detailed information corresponding to the first information identifier to the second terminal device. Therefore, the intercepting device can send the first information identifier to the first terminal device. After the first terminal device receives the first information identifier, the first terminal device queries the detailed information corresponding to the first information identifier in the database and feeds back the detailed information corresponding to the first information identifier to the second terminal device.

[0076] In the embodiment, the intercepting device can intercept the information identifier and the encrypted string having the correlation relationship, and verify the intercepted information identifier and the encrypted string. Only when the information identifier passes the verification, the background server is allowed to transmit the corresponding detailed information to the user terminal. In this way, it can be ensured that the information query comes from a legal channel, and the security of the information is ensured.

[0077] As an optional embodiment, the decryption processing on the encrypted string to obtain the second information identifier includes:

[0078] The decryption processing on the encrypted string to obtain the second information identifier and a time stamp;

[0079] The sending of the first information identifier to the first terminal device in the case where the first information identifier and the second information identifier match, so that the first terminal device sends the detailed information corresponding to the first information identifier to the second terminal device includes:

[0080] The sending of the first information identifier to the first terminal device in the case where the first information identifier and the second information identifier match, and the interval time length between the interception time corresponding to the time stamp and the current time is less than a time length threshold, so that the first terminal device sends the detailed information corresponding to the first information identifier to the second terminal device.

[0081] In the embodiment, after the intercepting device intercepts the first information identifier and the encrypted string having the correlation relationship, the intercepting device can perform decryption processing on the encrypted string to obtain not only the second information identifier in the encrypted string but also the time stamp corresponding to the interception time of the first information identifier.

[0082] So after obtaining the second information identifier and the time stamp, if the first information identifier matches the second information identifier and the interval between the interception time corresponding to the time stamp and the current time is less than the time threshold, it not only indicates that the information identifier of the query information comes from a legal channel, but also indicates that the process from obtaining the information identifier to querying the corresponding detailed information using the information identifier is within a short time interval and is a coherent operation. Therefore, the interception device can send the first information identifier to the first terminal device. After the first terminal device receives the first information identifier, the first terminal device queries the detailed information corresponding to the first information identifier in the database and feeds back the detailed information corresponding to the first information identifier to the second terminal device.

[0083] If the first information identifier does not match the second information identifier or the interval between the interception time corresponding to the time stamp and the current time is greater than or equal to the time threshold, the interception device can consider that the first information identifier comes from an illegal channel, and therefore does not send the first information identifier to the first terminal device, thereby blocking the information query. In this way, the interception device can intercept query requests from illegal channels, thereby improving the security of the information.

[0084] Figure 2 A flowchart of an information acquisition method provided by an embodiment of the present application is shown. The method is applied to a second terminal device and includes the following steps:

[0085] S210, in response to a first input of a user to the displayed first information identifier;

[0086] S220, sending the first information identifier and an encrypted string having an association relationship with the first information identifier to a first terminal device;

[0087] S230, in a case where the first information identifier matches a second information identifier in the encrypted string, receiving detailed information corresponding to the first information identifier sent by the first terminal device.

[0088] In this embodiment, the second terminal device can obtain at least one information identifier of information that the user wants to query from the first terminal device, and then display the at least one information identifier on a display interface. The user can select a first information identifier in the at least one information identifier for a first input. The second terminal device obtains an encrypted string having an association relationship with the first information identifier in response to the first input, and then sends the first information identifier and the encrypted string having the association relationship with the first information identifier to the second terminal device. Only when the first information identifier matches the second information identifier in the encrypted string, the first terminal device sends the detailed information corresponding to the first information identifier to the second terminal device.

[0089] After the second terminal device receives the first information identifier, the detailed information corresponding to the first information identifier can be displayed for the user to view.

[0090] In this way, the background server is allowed to transmit the detailed information corresponding to the first information identifier to the user terminal only when the information identifier is verified, which can ensure that the information query comes from a legal channel and guarantee the security of the information.

[0091] As an optional embodiment, the receiving, in a case where the first information identifier and the second information identifier in the encrypted string match, of the detailed information corresponding to the first information identifier sent by the first terminal device comprises:

[0092] The receiving, in a case where the first information identifier and the second information identifier in the encrypted string match and the interval between the time stamp and the current time is less than the time length threshold, of the detailed information corresponding to the first information identifier sent by the first terminal device.

[0093] As an optional embodiment, before the responding to the first input of the user on the displayed first information identifier, the method further comprises:

[0094] In response to a second input of the user, generating an information query request;

[0095] Sending the information query request to the first terminal device;

[0096] Receiving a plurality of information identifiers and encrypted strings associated with each information identifier in the plurality of information identifiers generated by the first terminal device based on the information query request, the plurality of information identifiers comprising the first information identifier;

[0097] Displaying the plurality of information identifiers.

[0098] Based on the information acquisition method provided in the above embodiments, the application also provides a specific implementation of an information acquisition device. Please refer to the following embodiments.

[0099] First, referring to Figure 3 The information acquisition device 300 provided by the embodiments of the application comprises the following modules:

[0100] A first interception module 301, configured to intercept a first information identifier sent by a first terminal device to a second terminal device in a case where it is detected that the first information identifier exists;

[0101] An encryption module 302, configured to perform encryption processing on the first information identifier to obtain an encrypted string;

[0102] The sending module 303 is configured to associate the encrypted string and the first information identifier, and send the associated encrypted string and the first information identifier to the second terminal device, so that the second terminal device queries detailed information corresponding to the first information identifier from the first terminal device by using the associated encrypted string and the first information identifier.

[0103] The device can intercept the first information identifier after detecting that the first terminal device sends the first information identifier to the second terminal device, encrypt the first information identifier to obtain an encrypted string, and then send the encrypted string and the first information identifier to the second terminal device after association. Then, the second terminal device can query detailed information corresponding to the first information identifier from the first terminal device by using the associated encrypted string and the first information identifier. Compared with the related art in which information is queried by using only the first information identifier, the encrypted string obtained by encrypting the first information identifier is also used as a condition for information query in the present application. Since the encrypted string is not easy to be guessed by an illegal user, data query by using the information identifier and the encrypted string can effectively avoid the risk of data leakage.

[0104] As an implementation manner of the present application, the encryption module 302 can further include:

[0105] A determination unit is configured to determine an interception time corresponding to the first information identifier, where the interception time is a time when the interception device intercepts the first information identifier.

[0106] A generation unit is configured to generate a timestamp corresponding to the interception time.

[0107] An encryption unit is configured to encrypt the first information identifier and the timestamp to obtain the encrypted string.

[0108] As an implementation manner of the present application, the information acquisition apparatus 300 can further include:

[0109] A second interception module is configured to intercept the first information identifier and the encrypted string in a case where it is detected that the second terminal device sends the first information identifier and the encrypted string having an association relationship to the first terminal device.

[0110] A decryption module is configured to decrypt the encrypted string to obtain a second information identifier.

[0111] An authentication module is configured to send the first information identifier to the first terminal device in a case where the first information identifier and the second information identifier match, so that the first terminal device sends detailed information corresponding to the first information identifier to the second terminal device.

[0112] As an implementation manner of the present application, the decryption module can further include:

[0113] a decryption unit, configured to perform decryption processing on the encrypted string to obtain the second information identifier and the timestamp;

[0114] The authentication module can further include:

[0115] an authentication unit, configured to, in a case where the first information identifier and the second information identifier match and an interval time length between the interception moment corresponding to the timestamp and a current moment is less than a time length threshold, send the first information identifier to the first terminal device, so that the first terminal device sends detailed information corresponding to the first information identifier to the second terminal device.

[0116] As an implementation manner of the present application, the information acquisition apparatus 300 can be further configured to:

[0117] in response to a first input of a user on the displayed first information identifier;

[0118] send the first information identifier and an encrypted string having an association relationship with the first information identifier to the first terminal device;

[0119] in a case where the first information identifier and a second information identifier in the encrypted string match, receive detailed information corresponding to the first information identifier sent by the first terminal device.

[0120] As an implementation manner of the present application, the information acquisition apparatus 300 can be further configured to:

[0121] in a case where the first information identifier and a second information identifier in the encrypted string match and an interval time length between the timestamp and a current moment is less than a time length threshold, receive detailed information corresponding to the first information identifier sent by the first terminal device.

[0122] As an implementation manner of the present application, the information acquisition apparatus 300 can be further configured to:

[0123] generate an information query request in response to a second input of a user;

[0124] send the information query request to the first terminal device;

[0125] receive a plurality of information identifiers and encrypted strings associated with each information identifier in the plurality of information identifiers generated by the first terminal device based on the information query request, the plurality of information identifiers including the first information identifier;

[0126] displaying the plurality of information identifiers.

[0127] The information acquisition apparatus provided by the embodiments of the present application can implement each step of the method embodiments described above, and thus will not be described again here to avoid repetition.

[0128] Figure 4 A hardware structure schematic diagram of the information acquisition apparatus provided by the embodiments of the present application is shown.

[0129] The information acquisition apparatus can include a processor 1001 and a memory 1002 storing computer program instructions.

[0130] Specifically, the processor 1001 can include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application.

[0131] The memory 1002 can include a mass storage for data or instructions. By way of example and not limitation, the memory 1002 can include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. Where appropriate, the memory 1002 can include removable or non-removable (or fixed) media. Where appropriate, the memory 1002 can be internal or external to the integrated gateway disaster recovery device. In a particular embodiment, the memory 1002 is non-volatile solid-state memory.

[0132] The memory can include read-only memory (ROM), random access memory (RAM), a magnetic disk storage medium device, an optical storage medium device, a flash memory device, an electrical, optical, or other physical / tangible memory storage device. Thus, in general, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., a memory device) encoded with software that, when executed (by one or more processors), is operable to perform operations described with reference to the methods according to an aspect of the present disclosure.

[0133] The processor 1001 implements any one of the information acquisition methods in the embodiments described above by reading and executing the computer program instructions stored in the memory 1002.

[0134] In one example, the information acquisition apparatus can further include a communication interface 1003 and a bus 1010. Wherein, as shown in FIG. 1, the bus 1010 can be a peripheral component interconnect (PCI) bus, a serial advanced technology attachment (SATA) bus, a universal serial bus (USB), etc. Figure 4As shown, the processor 1001, the memory 1002, and the communication interface 1003 are connected by the bus 1010 and complete communication with each other.

[0135] The communication interface 1003 is mainly used to realize the communication between various modules, devices, units and / or equipment in the embodiments of the application.

[0136] The bus 1010 includes hardware, software or both to couple the components of the information acquisition device to each other. By way of example, and not limitation, the bus can include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a HyperTransport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an InfiniBand interconnect, a Low Pin Count (LPC) bus, a memory bus, a Micro Channel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association local (VLB) bus, or another suitable bus or combination of two or more of these. Where appropriate, the bus 1010 can include one or more buses. Although the embodiments of the application describe and show a particular bus, the application contemplates any suitable bus or interconnect.

[0137] The information acquisition device can be based on the above-mentioned embodiments, thereby realizing the information acquisition method and device as described above.

[0138] In addition, in combination with the information acquisition method in the above-mentioned embodiments, the embodiments of the application can provide a computer storage medium to realize. The computer storage medium has computer program instructions stored thereon; the computer program instructions are executed by the processor to realize any one of the information acquisition methods in the above-mentioned embodiments, and can achieve the same technical effect, to avoid repetition, which will not be described here. Among them, the above-mentioned computer readable storage medium can include non-transitory computer readable storage medium, such as Read-Only Memory (ROM), Random Access Memory (RAM), magnetic disk or optical disk, etc., which is not limited here.

[0139] In addition, the embodiments of the application also provide a computer program product, including computer program instructions, which can realize the steps and corresponding contents of the above-mentioned method embodiments when executed by the processor.

[0140] It is to be understood that the application is not limited to particular configurations and processes described herein and shown in the drawings. The detailed description is not to be taken in a limiting sense, and the scope of the present application is defined by the appended claims. In the above embodiments, several specific steps are described and illustrated in order to provide a thorough understanding of the present application. However, the process of the present application can be carried out in some orders of the steps, under some conditions, and using some alternatives, all without departing from the spirit and scope of the application.

[0141] The functional blocks shown in the structural block diagrams above can be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, they can be, for example, electronic circuits, application specific integrated circuits (ASICs), appropriate firmware, plug-ins, function cards, and the like. When implemented in software, the elements of the present application are program or code segments that are used to perform the required tasks. The program or code segments can be stored in a machine-readable medium, or transmitted through a data signal carried in a carrier wave over a transmission medium or communication link. A "machine-readable medium" includes any medium that can store or transfer information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, and the like. The code segments can be downloaded via a computer network, such as the Internet, an intranet, and the like.

[0142] It is also to be understood that the example embodiments described in this application are based on a series of steps or apparatuses to describe some methods or systems. However, the present application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiments, or in an order different from the embodiments, or several steps can be performed simultaneously.

[0143] The computer program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other processing devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other processing devices to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions / acts specified in the flowchart and / or block diagram block or blocks. These computer program instructions can also be stored in a computer readable medium that can direct a computer, other programmable data processing apparatus, or other processing devices to operate in a particular manner, such that the instructions stored in the computer readable medium produce an article of manufacture including instructions which implement the function / act specified in the flowchart and / or block diagram block or blocks.

[0144] The above is merely specific implementation of the present application, and those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the foregoing method embodiments, which will not be described herein again. It should be understood that the protection scope of the present application is not limited to this, and any person skilled in the art can easily think of various equivalent modifications or replacements within the technical range disclosed in the present application, and these modifications or replacements should be covered within the protection scope of the present application.

Claims

1. An information acquisition method characterized by comprising: The method is applied to an intercepting device, and the method comprises: intercepting a first information identifier sent by a first terminal device to a second terminal device in a case where it is detected that the first information identifier exists; performing encryption processing on the first information identifier to obtain an encrypted string; associating the encrypted string with the first information identifier, and sending the associated encrypted string and first information identifier to the second terminal device, so that the second terminal device queries detailed information corresponding to the first information identifier from the first terminal device through the associated encrypted string and first information identifier; the encryption processing on the first information identifier to obtain an encrypted string comprises: determining an intercepting time corresponding to the first information identifier, wherein the intercepting time is a time at which the intercepting device intercepts the first information identifier; generating a timestamp corresponding to the intercepting time; performing encryption processing on the first information identifier and the timestamp to obtain the encrypted string; after the association of the encrypted string with the first information identifier, and the sending of the associated encrypted string and first information identifier to the second terminal device, the method further comprises: intercepting the first information identifier and the encrypted string having an association relationship sent by a second terminal device to a first terminal device in a case where it is detected that the first information identifier and the encrypted string having an association relationship exist; performing decryption processing on the encrypted string to obtain a second information identifier; in a case where the first information identifier and the second information identifier match, sending the first information identifier to the first terminal device, so that the first terminal device sends detailed information corresponding to the first information identifier to the second terminal device.

2. The information acquisition method according to claim 1, wherein the decryption processing on the encrypted string to obtain a second information identifier comprises: performing decryption processing on the encrypted string to obtain the second information identifier and a timestamp; in a case where the first information identifier and the second information identifier match, sending the first information identifier to the first terminal device, so that the first terminal device sends detailed information corresponding to the first information identifier to the second terminal device, comprises: in a case where the first information identifier and the second information identifier match, and an interval time length between an intercepting time corresponding to the timestamp and a current time is less than a time length threshold, sending the first information identifier to the first terminal device, so that the first terminal device sends detailed information corresponding to the first information identifier to the second terminal device.

3. An information acquisition method characterized by comprising: The method is applied to a second terminal device, the second terminal device communicates with an intercepting device, the intercepting device performs the method of claim 1, and the method comprises: in response to a first input of a user on a displayed first information identifier; sending the first information identifier and an encrypted string having an association relationship with the first information identifier to a first terminal device; In a case where the first information identifier and the second information identifier in the encrypted string match, the method further includes:

4. The information acquisition method according to claim 3, wherein In a case where the first information identifier and the second information identifier in the encrypted string match, and an interval between the time stamp and a current time is less than a time threshold, the method further includes: Before the first input of the user to the displayed first information identifier, the method further includes:

5. The information acquisition method according to claim 3, wherein In response to a second input of the user, generating an information query request; sending the information query request to the first terminal device; receiving a plurality of information identifiers and encrypted strings associated with the information identifiers, the plurality of information identifiers including the first information identifier, the encrypted strings being generated by the first terminal device based on the information query request; displaying the plurality of information identifiers. The apparatus is applied to an intercepting device, and the apparatus includes:

6. An information acquisition apparatus characterized by comprising: a first intercepting module configured to intercept a first information identifier in a case where it is detected that the first information identifier is sent by a first terminal device to a second terminal device; an encrypting module configured to perform encryption processing on the first information identifier to obtain an encrypted string; a sending module configured to associate the encrypted string and the first information identifier, and send the associated encrypted string and first information identifier to the second terminal device, so that the second terminal device queries detailed information corresponding to the first information identifier from the first terminal device by using the associated encrypted string and first information identifier; the encrypting module includes: a determining unit configured to determine an intercepting time corresponding to the first information identifier, the intercepting time being a time at which the intercepting device intercepts the first information identifier; a generating unit configured to generate a time stamp corresponding to the intercepting time; an encrypting unit configured to perform encryption processing on the first information identifier and the time stamp to obtain the encrypted string; the apparatus further includes: a second intercepting module configured to intercept the first information identifier and the encrypted string in a case where it is detected that the first information identifier and the encrypted string are sent by the second terminal device to the first terminal device; a decrypting module configured to perform decryption processing on the encrypted string to obtain a second information identifier; an authenticating module configured to send the first information identifier to the first terminal device in a case where the first information identifier and the second information identifier match, so that the first terminal device sends detailed information corresponding to the first information identifier to the second terminal device. ​ 7. An information acquisition apparatus characterized by comprising: The information acquisition device comprises a processor and a memory storing computer program instructions; The processor executes the computer program instructions to implement the information acquisition method in any one of claims 1-5.

8. A computer storage medium, characterized in that The computer storage medium stores computer program instructions, and the computer program instructions are executed by the processor to implement the information acquisition method in any one of claims 1-5.

9. A computer program product, characterised in that, The computer program product comprises computer program instructions, and the computer program instructions are executed by the processor to implement the information acquisition method in any one of claims 1-5.

Citation Information

Patent Citations

  • Encrypting and decrypting method, device and server

    CN104243149A

  • Login authentication method and device

    CN114257387A