A method and related device for tracing the origin of an object

By assigning virtual IP addresses and obtaining object description information in the VPN system, and generating object identification information, the problem that the VPN system cannot recognize the real identity of the target object is solved, and identity tracking and security management of online and offline target objects is realized, which improves the Security of internal systems of the enterprise.

CN114401120BActive Publication Date: 2024-11-29CHINA TELECOM CORP LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111615757.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-27
Publication Date
2024-11-29
Estimated Expiration
2041-12-27

AI Technical Summary

Technical Problem

The existing VPN system cannot identify and locate the real identity of online and offline target objects, which poses security risks.

Method used

By assigning virtual IP addresses to the client and obtaining object description information, generating object identification information, and sending it to the target server, the identity identification and tracking of target objects is achieved, ensuring balanced resource allocation and secure management of virtual IP addresses.

Benefits of technology

Effectively identify and record the real identity of the target object, improve the security of the internal system of the enterprise, prevent illegal logins and information leakage, and enhance the identity management of operators.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114401120B_ABST
    Figure CN114401120B_ABST
Patent Text Reader

Abstract

The present application relates to the field of computer technology, and in particular to a method and related device for object tracing, which are used to accurately identify the real identity of an object. The method includes: after the client allocates a virtual IP address of a VPN system to a target object, it generates corresponding object identification information in combination with the object description information of the target object, and sends the object identification information to a target server, and the target server can determine the real identity of the target object accessing the target internal system based on the object description information recorded in the object identification information. In this way, when each object accesses the target internal system, the real identity of the corresponding object will be associated with each type of operation performed on each object. Then, the target internal system can determine the executor of each type of operation by retrieving various operation records, thereby better avoiding external objects from logging into the target internal system to steal information and eliminating the hidden dangers posed by external objects illegally logging into the target internal system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a method and related device for object tracing. Background Art

[0002] A Virtual Private Network (VPN) is a temporary and secure connection established through a public Internet. It is a tunnel that passes through the public network. Using this tunnel, data can be encrypted multiple times, thereby achieving the purpose of safe use of the Internet.

[0003] The VPN system is a system that provides remote access for corporate office objects to securely access the internal system of the enterprise through the Secure Sockets Layer (SSL) proxy technology. The VPN system allocates a virtual Internet Protocol (IP) address. The internal system of the enterprise responds to the login operation of the target object based on the virtual IP address, generates a corresponding system log, and identifies the identity of the target object based on the virtual IP address corresponding to the target object in the system log.

[0004] However, in the related art, the above method has the following defects:

[0005] 1. The enterprise’s internal system cannot identify the real identity of the online target object;

[0006] The system log records the virtual IP address of the online target object, which does not contain the real identity information of the target object. The internal enterprise system cannot extract the real identity information of the target object based on the virtual IP address, and thus cannot locate the actual operator of the internal enterprise system, posing a security risk.

[0007] 2. The enterprise’s internal system cannot identify the true identity of the offline target object.

[0008] After the target object goes offline, the previously used virtual IP address will be released, and the VPN system will reallocate the virtual IP address. Therefore, the system log will show that one virtual IP address corresponds to multiple target objects. In this way, the internal enterprise system cannot confirm the real identity information of the offline target object based on the virtual IP address, and thus cannot locate the actual operator of the internal enterprise system, posing a security risk. Summary of the invention

[0009] The embodiments of the present application provide a method and related equipment for object tracing to accurately identify the real identity information of a target object.

[0010] The specific technical solutions provided by the embodiments of this application are as follows:

[0011] In a first aspect, a method for object tracing is provided, comprising:

[0012] A client running a virtual private network VPN system allocates a virtual Internet protocol IP address to the target object through the VPN system in response to a first login request triggered by the target object; wherein the first login request is used to request access to the target internal system;

[0013] The client obtains object description information associated with the target object; the object description information is used to uniquely distinguish the target object in the operating environment of the client;

[0014] The client generates object identification information of the target object based on the virtual IP address and the object description information;

[0015] The client sends a second login request to the target server, wherein the second login request carries the object identification information, so that the target server connects the target object to the target internal system and identifies the target object based on the object identification information.

[0016] In a second aspect, a method for object tracing is provided, comprising:

[0017] The target server receives a second login request sent by a client based on a first login request triggered by a target object, wherein the first login request is used to request access to a target internal system, the second login request carries object identification information of the target object, and the object identification information is obtained by the client in the following manner: a virtual Internet Protocol IP address is allocated to the target object by a running virtual private network VPN system, object description information associated with the target object is obtained, and the object identification information is generated based on the virtual IP address and the object description information;

[0018] The target server connects the target object to the target internal system based on the second login request, and identifies the target object based on the object identification information.

[0019] In a third aspect, a device for tracing an object is provided, comprising:

[0020] A first acquisition module, configured to allocate a virtual Internet protocol IP address to the target object through a locally running VPN system in response to a first login request triggered by the target object; wherein the first login request is used to request access to a target internal system;

[0021] A second acquisition module is used to acquire object description information associated with the target object; the object description information is used to uniquely distinguish the target object in a local operating environment;

[0022] A generating module, used for generating object identification information of the target object based on the virtual IP address and the object description information;

[0023] The sending monitoring module is used to send a second login request to the target server, wherein the second login request carries the object identification information, so that the target server connects the target object to the target internal system and identifies the target object based on the object identification information.

[0024] Optionally, before responding to the first login request triggered by the target object, the first acquisition module is further used to:

[0025] In response to a click operation triggered by the target object on a system icon corresponding to the target internal system in the operation interface, it is determined that the first login request has been received.

[0026] Optionally, in response to a first login request triggered by a target object, when a virtual IP address is allocated to the target object by a locally running VPN system, the first acquisition module is further used to:

[0027] In response to the first login request, a virtual IP address is selected from a preset virtual IP address pool based on the cumulative number of times each virtual IP address is selected;

[0028] The selected virtual IP address is assigned to the target object.

[0029] Optionally, when acquiring the object description information associated with the target object, the second acquisition module is further used to:

[0030] Acquire a locally associated real IP address, and use the real IP address as object description information associated with the target object; wherein the real IP address is allocated by the network side when accessing the Internet network in response to an operation triggered by the target object;

[0031] Acquire a real identity ID associated with the target object, and use the real ID as object description information associated with the target object; wherein the real ID is obtained through an identity verification process when the target object first accesses the VPN system.

[0032] Optionally, when sending the second login request to the target server, the generating module is further used to:

[0033] Object identification information of the target object is generated based on the virtual IP address and the object description information.

[0034] Optionally, when sending the second login request to the target server, the sending monitoring module is specifically used to:

[0035] Performing character length detection and character composition detection on the object description information included in the object identification information to obtain a detection result;

[0036] If it is determined based on the detection result that the object description information passes the detection, the object identification information is carried in the second login request and sent to the target server;

[0037] If it is determined based on the detection result that the object description information fails the detection, new object description information is re-acquired, and the object identification information is updated based on the new object description information, and the updated object identification information is carried in the second login request and sent to the target server.

[0038] Optionally, after sending the second login request to the target server, the sending monitoring module is further specifically configured to:

[0039] Perform periodic monitoring on the online status of the target object in the VPN system;

[0040] Determining that the target object continues to maintain an online state, saving the object identification information;

[0041] If it is determined that the target object is in an offline state, the object description information recorded in the object identification information is stored, the virtual IP address in the target object identification information is released, and the released virtual IP address is re-added to the virtual IP address pool.

[0042] In a fourth aspect, a device for tracing an object is provided, comprising:

[0043] A receiving module, configured to receive a second login request sent by a client based on a first login request triggered by a target object, wherein the first login request is used to request access to a target internal system, the second login request carries object identification information of the target object, and the object identification information is obtained by the client in the following manner: allocating a virtual Internet Protocol IP address to the target object through a running virtual private network VPN system, obtaining object description information associated with the target object, and generating the object identification information based on the virtual IP address and the object description information;

[0044] An identification module is used to connect the target object to the target internal system based on the second login request, and to identify the target object based on the object identification information.

[0045] Optionally, when the target object is connected to the target internal system based on the second login request and the target object is identified based on the object identification information, the identification module is specifically configured to:

[0046] Connecting the target object to the target internal system, and generating a login log corresponding to the second login request;

[0047] If it is determined that the target object is logging into the target internal system for the first time, then based on the object description information included in the object identification information, the real IP address associated with the target object on the client is obtained, and based on the real IP address, the real identity data corresponding to the target object is obtained and recorded in the Internet historical operation record triggered by the client;

[0048] If it is determined that the target object is not logging into the target internal system for the first time, the real ID associated with the target object on the client is obtained based on the object description information contained in the object identification information, and the real identity data corresponding to the target object is extracted from the historical operation records saved in the target internal system.

[0049] In a fifth aspect, an electronic device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the computer program is executed by the processor, the processor executes any one of the object tracing methods described in the first aspect or the second aspect.

[0050] In a sixth aspect, a computer-readable storage medium is provided, wherein a computer program is stored in the computer-readable storage medium. When the computer program is executed by a processor, the object tracing method of any one of the first aspect or the second aspect is implemented.

[0051] In the embodiment of the present application, when the target object triggers the login to the target internal system, the client allocates the virtual IP address of the VPN system to the target object, generates the corresponding object identification information in combination with the object description information of the target object, and sends the object identification information to the target server, and the target server can determine the real identity of the target object accessing the target internal system based on the object description information recorded in the object identification information. In this way, when each object accesses the target internal system, the real identity of the corresponding object will be associated with each type of operation performed on each object. Then, the target internal system can determine the executor of each type of operation by retrieving various operation records, thereby better preventing external objects from logging into the target internal system to steal information, improving the security of the target internal system, and eliminating the hidden dangers posed by illegal login of external objects into the target internal system. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0053] Figure 1A An application scenario 1 of the object tracing method provided in the embodiment of the present application;

[0054] Figure 1B A second application scenario of the object tracing method provided in the embodiment of the present application;

[0055] Figure 2 A flowchart of a method for object tracing provided in an embodiment of the present application;

[0056] Figure 3 This is a schematic diagram of the interface of the operation page in the embodiment of the present application;

[0057] Figure 4 A schematic diagram of a process for object tracing provided in an embodiment of the present application Figure 2 ;

[0058] Figure 5 A schematic diagram of a principle of the object tracing method provided in an embodiment of the present application;

[0059] Figure 6 This is a schematic diagram of the interface of the identity verification page in the embodiment of the present application;

[0060] Figure 7 A schematic diagram of the principle of the object tracing method provided in the embodiment of the present application Figure 2 ;

[0061] Figure 8 A schematic diagram of the principle of the object tracing method provided in the embodiment of the present application Figure 3 ;

[0062] Fig. 9 A schematic diagram of a process for object tracing provided in an embodiment of the present application Figure 3 ;

[0063] Fig.10 A schematic diagram of the principle of the object tracing method provided in the embodiment of the present application Figure 4 ;

[0064] Fig.11 A schematic diagram of the principle of the object tracing method provided in the embodiment of the present application Figure 5 ;

[0065] Fig.12 A schematic diagram of the principle of the object tracing method provided in the embodiment of the present application Figure 6 ;

[0066] Fig.13 A schematic diagram of the principle of the object tracing method provided in the embodiment of the present application Figure 7 ;

[0067] Fig.14A A schematic diagram of a process for object tracing provided in an embodiment of the present application Figure 4 ;

[0068] Fig. 14B A schematic diagram of the principle of the object tracing method provided in the embodiment of the present application Figure 8 ;

[0069] Fig.15 A schematic diagram of the principle of the object tracing method provided in the embodiment of the present application Figure 9 ;

[0070] Fig.16 A schematic diagram of a process for object tracing provided in an embodiment of the present application Figure 5 ;

[0071] Fig.17 A schematic diagram of a process for object tracing provided in an embodiment of the present application Figure 6 ;

[0072] Fig.18 A schematic diagram of the principle of the object tracing method provided in the embodiment of the present application Figure 10 ;

[0073] Fig.19 A schematic diagram of the principle of the object tracing method provided in the embodiment of the present application Figure 10 one;

[0074] Fig. 20Schematic diagram 1 of the composition structure of an object tracing device in an embodiment of the present application;

[0075] Fig.21 A schematic diagram of the structure of an object tracing device in an embodiment of the present application Figure 2 ;

[0076] Fig. 22 A schematic diagram of the composition structure of an electronic device for object tracing in an embodiment of the present application. DETAILED DESCRIPTION

[0077] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the technical solution of the present application, rather than all of the embodiments. Based on the embodiments recorded in the application documents, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the technical solution of the present application.

[0078] The following is an introduction to some concepts involved in the embodiments of the present application.

[0079] Hypertext Transfer Protocol (HTTP) server, generally refers to a website server, which is a program residing on a certain type of computer on the Internet. It can process requests from web clients such as browsers and return corresponding responses. It can also place website files for target objects to browse; it can place data files for target objects to download.

[0080] See also Figure 1A As shown, in the embodiment of the present application, the system for object traceability includes a client 11 and a server 12; wherein,

[0081] Client 11. In the embodiment of the present application, the target object can access the target internal system (such as the company's internal website, etc.) in the server 12 through the client 11; in actual applications, the client 11 includes but is not limited to mobile phones, computers, smart wearable devices, smart transportation equipment, smart appliances, etc.

[0082] The server 12, in the embodiment of the present application, is used to connect the client 11 to the target internal system and provide the client with various services of the target internal system.

[0083] See also Figure 1B As shown, further, in the related art, a VPN system is running on the client 11, such as Figure 1BAs shown, the Proxy Internet Explorer (ProxyIE) is a proxy control for running a VPN system. ProxyIE intercepts a connection request 1 based on Socket1 triggered by the target object through an application, directly sends Socket1 to connect to the Apache port of the intermediate server in the server 12, and connects to the target server carrying the target internal system through the Proxy port of the intermediate server, wherein the Proxy port is used to forward the request information sent by the client.

[0084] However, in the above manner, the intermediate server can only forward the connection request 1 intercepted from the ProxyIE, and the connection request 1 contains only the virtual IP address, so the intermediate server can only forward the virtual IP address;

[0085] In the embodiment of the present application, after ProxyIE intercepts the connection request 1 based on Socket1, it can add object description information for uniquely distinguishing the target object in the connection request 1, and then connect to the Apache port of the intermediate server in the server 12 through Socket2, and connect to the target server carrying the target internal system through the Proxy port of the intermediate server 121, thereby transmitting the object description information to the target internal system.

[0086] Therefore, in this way, the intermediate server can forward the connection request 1 intercepted by the ProxyIE and the object description information added to uniquely distinguish the target object, so that the embodiment of the present application can transmit the virtual IP address and object description information.

[0087] The preferred embodiments of the present application are described below in conjunction with the drawings in the specification. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present application, and are not used to limit the present application. In addition, the embodiments and features in the embodiments of the present application may be combined with each other if there is no conflict.

[0088] See also Figure 2 As shown, in the embodiment of the present application, when object tracing is performed, the detailed process on the client side is as follows:

[0089] Step 21: A client running a VPN system allocates a virtual IP address to the target object through the VPN system in response to a first login request triggered by the target object; wherein the first login request is used to request access to the target internal system.

[0090] In an embodiment of the present application, a VPN system is running on the client. Whenever the target object requests to log in to the target internal system through the client, the client will allocate a virtual IP address that can be used in the target internal system to the target object through the VPN system. The virtual IP address will be released after use and reallocated the next time it is used.

[0091] For details, see Figure 3 As shown, before executing step 21, the client determines that a first login request is received in response to a click operation triggered by the target object on the system icon corresponding to the target internal system in the operation interface; then, when executing step 21, the client responds to the first login request and allocates a virtual IP address to the target object through the VPN system, see Figure 4 As shown, the allocation process is as follows:

[0092] Step 211: In response to the first login request, the client selects a virtual IP address from a preset virtual IP address pool based on the cumulative number of times each virtual IP address has been selected.

[0093] Specifically, in the embodiment of the present application, a dedicated virtual IP address pool is preset, and the virtual IP address pool can be run on the client or on a designated database server. Then, when executing step 211, the client can sort the virtual IP addresses recorded in the preset virtual IP address pool according to the cumulative number of times each virtual IP address has been selected, and then select a virtual IP address according to the sorting result and assign it to the target object; wherein the selection criteria may include but are not limited to the following:

[0094] 1. Select a virtual IP address with the least cumulative number of selections.

[0095] In this way, it can be ensured that the number of times the virtual IP address that is selected the least is increased, so that the resource allocation of the virtual IP addresses is more balanced.

[0096] 2. Select a virtual IP address whose cumulative number of selections is the median.

[0097] In this way, it can be ensured that not only the virtual IP addresses with the most and least cumulative selection times are selected, but also the virtual IP address with the median cumulative selection times can be selected, ensuring a more balanced resource allocation of virtual IP addresses.

[0098] 3. Select a virtual IP address that has been selected the second least or the second most times.

[0099] In this way, repeated selection can be avoided, the virtual IP addresses with the least or most selection times can be accumulated, and the selected virtual IP addresses can be prevented from being too popular, thereby ensuring a more balanced resource allocation of virtual IP addresses.

[0100] The above three selection methods are only examples. In actual applications, it is also possible to use a random selection method without referring to the cumulative number of selections to select a virtual IP address and assign it to the target object. The above process is only an example.

[0101] For example, suppose that there are five virtual IP addresses in the preset virtual IP address pool, and the cumulative number of times each of the five virtual IP addresses is selected is shown in Table 1:

[0102] Table 1

[0103]

[0104]

[0105] Assume that a virtual IP address with the least cumulative number of selections is selected as an example, then the virtual IP address finally selected is 2.2.2.2.

[0106] Step 212: The client assigns a selected virtual IP address to the target object.

[0107] In this embodiment of the present application, it is assumed that a virtual IP address assigned to the target object is: 2.2.2.2.

[0108] Step 22: The client obtains the object description information associated with the target object; the object description information is used to uniquely distinguish the target object in the client's operating environment.

[0109] For details, see Figure 5 As shown, when executing step 22, the process of the client obtaining the object description information includes but is not limited to the following two operations:

[0110] 1. The client obtains the real IP address associated locally and uses the real IP address as the object description information associated with the target object; wherein the real IP address is allocated by the network side when the client accesses the Internet network in response to the operation triggered by the target object.

[0111] In the embodiment of the present application, when the target object accesses the Internet, the network side will assign a real IP address to the target object, and the client obtains the real IP address associated locally. The target object will access the Internet application system under the real IP address, and the real identity data of the target object will be included in the historical operation record, so the real IP address can be used as the description information associated with the target object.

[0112] For example: Assume that when the target object accesses the browser through the Internet, the network side will assign a real IP address to the target object, where the assigned real IP address is: 2.3.3.3. The target object accesses the payment software under the real IP address 2.3.3.3. The historical payment records will include the target object's real identity data, such as real name or ID number.

[0113] 2. The client obtains the real identity document (ID) associated with the target object and uses the real ID as the object description information associated with the target object; wherein the real ID is obtained by the client through the identity authentication process when the target object first accesses the VPN system.

[0114] For example, if the target object accesses the VPN system for the first time, the client will authenticate the target object. Figure 6 As shown, an authentication page is presented, and the client obtains the login name "Zhang San" entered by the target object on the page, obtains the real ID "23451269" through the login name, and stores it.

[0115] Step 23: The client generates object identification information of the target object based on the virtual IP address and the object description information.

[0116] In an embodiment of the present application, the client uses the real IP address associated locally or the real ID associated with the target object as the object description information associated with the target object, and then combines the object description information with the virtual IP address selected from the virtual IP address pool to generate object identification information that can be used to identify the target object.

[0117] For example: See Figure 7 As shown, it is assumed that the client 11 adds the real ID "23451269" to the virtual IP address "2.2.2.2" to generate object identification information;

[0118] For example, see Figure 8 As shown, it is assumed that the client 11 adds the real IP address "2.3.3.3" to the virtual IP address "2.2.2.2" to generate object identification information.

[0119] Step 24: The client sends a second login request to the target server. The second login request carries object identification information, so that the target server connects the target object to the target internal system and identifies the target object based on the object identification information.

[0120] In an embodiment of the present application, the target server is an HTTP server, and the client generates a second login request in response to the first login request triggered by the target object. The second login request can be an HTTP request message, and the header information of the HTTP request message can carry the virtual IP address assigned to the target object by the VPN system.

[0121] For example, suppose the header information of the HTTP request message is:

[0122] 1 GET http: / / 2.2.2.2 / / path / to / file.js HTTP / 1.1\r\n

[0123] 2 Refer:http: / / 2.2.2.2\r\n

[0124] 3 Host:2.2.2.2\r\n\r\n; it carries the virtual IP address assigned by the VPN system to the target object: 2.2.2.2;

[0125] In the embodiment of the present application, it is assumed that the object description information of the target object generated by the client 11 is a real IP address, and the real IP address is 2.3.3.3. The client 11 can enclose the real IP address in the header information of the HTTP request message. The header information of the updated HTTP request message information is specifically:

[0126] 1 GET http: / / 2.2.2.2 / / path / to / file.js HTTP / 1.1\r\n

[0127] 2 Refer:http: / / 2.2.2.2\r\n

[0128] 3 Host:2.2.2.2\r\n\r\n

[0129] 4UsrIP:2.3.3.3\r\n\r\n;

[0130] The object identification information carried is:

[0131] 3 Host:2.2.2.2\r\n\r\n

[0132] 4UsrIP:2.3.3.3\r\n\r\n.

[0133] For details, see Fig. 9 As shown, when executing step 24, the following steps are specifically performed:

[0134] Step 241: The client performs a character length detection and a character composition detection on the object description information included in the object identification information to obtain a detection result.

[0135] Specifically, the client performs character length detection and character composition detection on the real IP address or real ID. The real IP address consists only of numbers and is divided into 4 parts. The number in each part is not greater than 255. The real ID also consists only of numbers, does not contain English letters, and is 8 bits in length. Based on the above detection method, the corresponding detection result is obtained.

[0136] In the embodiment of the present application, the object description information may include but is not limited to the following:

[0137] Method 1: Contains only numbers, that is, the real IP address contains only four groups of numbers not greater than 255.

[0138] For example, see Fig.10 As shown, assuming that the real IP address 2.3.3.3 obtained by the client 11, the detection result of the real IP address is obtained: it is composed of numbers only and is divided into four parts, and the numbers in each part are less than 255.

[0139] Method 2: Contains numbers and letters, that is, the real ID obtained contains numbers and letters.

[0140] For example, see Fig.11 As shown, assuming that the real ID obtained by the client 11 is "mmnn12456", the detection result of the real ID is obtained: it is composed of numbers and letters, and the length is greater than 8.

[0141] Step 242: Based on the detection result, the client determines whether the object description information passes the detection. If so, execute step 243; otherwise, execute step 244.

[0142] In the embodiment of the present application, still taking the above-mentioned method 1 and method 2 as an example, when executing step 242, the following operations are included but not limited to:

[0143] For method 1, see Fig.10 As shown, it is assumed that the four groups of numbers in the real IP address are not greater than 255, that is, through detection, it is assumed that the four groups of numbers in the real IP address are greater than 255, which is inappropriate.

[0144] For method 2, see Fig.11 As shown, assuming that the real ID is all numbers and the number of numbers is 8, it passes the test. If the real ID contains letters or the number is not equal to 8, it fails the test.

[0145] Step 243: The client carries the object identification information in a second login request and sends it to the target server.

[0146] In the embodiment of the present application, taking the second login request message being an HTTP request message as an example, after determining that the object description information passes the detection, the client 11 will carry the object identification information in the header information of the HTT request message. The specific carrying method has been introduced in the relevant description of step 24 and will not be repeated here.

[0147] Step 244: the client reacquires new object description information, and based on the new object description information, updates the object identification information, and carries the updated object identification information in a second login request, and sends it to the target server.

[0148] Specifically, when it is determined that the object description information fails the detection, the client needs to obtain new object description information from the VPN system and update the existing object identification information in the same manner.

[0149] For example, see Fig.12 As shown, assuming that the original object identification information is "real ID: mmnn12456 virtual IP address: 2.2.2.2", where "real ID: mmnn12456" is wrong, the client obtains a new real ID "12345678" from the authentication page of the VPN system, and based on the new real ID "12345678", updates the original real ID "mmnn12456" in the object identification information, thereby obtaining the updated object identification information "real ID: 12345678 virtual IP address: 2.2.2.2", and then encapsulates the object identification information in the header information of the HTTP request message and sends it to the HTTP server.

[0150] After receiving the second login request, the target server will connect the target object to the target internal system and perform identity recognition on the target object based on the object identification information.

[0151] For example: See Fig.13 As shown, in an embodiment of the present application, after receiving an HTTP request message, the HTTP server connects the target object to the target internal system based on the header information of the HTTP request message, and identifies the target object based on the object identification information carried in the header information of the HTTP request message.

[0152] For details, see Fig.14A and Fig. 14B After executing step 24, the following steps are specifically performed:

[0153] Step 25: The client periodically monitors the online status of the target object in the VPN system and obtains monitoring results.

[0154] In actual applications, the target object is online when using the VPN system and is offline when exiting the VPN system. Therefore, in order to save resources of the VPN system, after the client sends the second login request to the target server and determines that the target object starts to use the target internal system online, it is necessary to periodically check whether the target object remains online. Once the target object is found to be offline, the virtual IP address needs to be released in time.

[0155] Step 26: Based on the obtained monitoring results, the client determines whether the target object continues to maintain an online state in the VPN system; if so, execute step 253; otherwise, execute step 254.

[0156] Step 27: The client retains the object identification information.

[0157] When the client generates the object identification information in step 23, the generated object identification information is cached locally, and each time the client determines that the target object is online, the recorded object identification information continues to be retained.

[0158] For example, each time the client determines that the target object is online, it continues to retain the recorded object identification information:

[0159] 3 Host:2.2.2.2\r\n\r\n

[0160] 4UsrIP:2.3.3.3\r\n\r\n.

[0161] Step 28: The client retains the object description information recorded in the object identification information for storage, releases the virtual IP address in the target object identification information, and re-adds the released virtual IP address to the virtual IP address pool.

[0162] With respect to step 27, each time the client determines that the target object is in an offline state, only the object description information in the object identification information is retained, and the virtual IP address is released to ensure the reuse of the virtual IP address resources.

[0163] For example: See Fig.15 As shown, assuming that the client 11 determines that the target object is offline, it retains the real ID "12345678" in the HTTP request message, releases the virtual IP address "2.2.2.2" in the target object identification information, and releases the virtual IP address "2.2.2.2" to rejoin the virtual IP address pool so as to reallocate the virtual IP address for the target object again.

[0164] Corresponding to the above embodiment, see Fig.16As shown, in the embodiment of the present application, when performing object tracing, the detailed process on the target server side is as follows:

[0165] Step 161: the target server receives a first login request triggered by a target object and sends a second login request, wherein the first login request is used to request access to a target internal system and the second login request carries object identification information of the target object.

[0166] Specifically, the object identification information received by the target server is obtained by the client in the following manner: allocating an IP address to the target object through the running VPN system, obtaining object description information associated with the target object, and generating object identification information based on the virtual IP address and the object description information.

[0167] The process of the client generating object identification information has been described in detail in step 23 and will not be repeated here.

[0168] Step 162: The target server connects the target object to the target internal system based on the second login request, and performs identity recognition on the target object based on the object identification information.

[0169] Corresponding to step 24, in an embodiment of the present application, assuming that the target server is an HTTP server and the second login request is an HTTP request message, the HTTP server extracts the object identification information based on the header information of the HTTP request message and identifies the target object based on the message.

[0170] For example: Assume that the HTTP server is based on the header information of the HTTP request message

[0171] 1 GET http: / / 2.2.2.2 / / path / to / file.js HTTP / 1.1\r\n

[0172] 2 Refer:http: / / 2.2.2.2\r\n

[0173] 3 Host:2.2.2.2\r\n\r\n

[0174] 4UsrIP:2.3.3.3\r\n\r\n;

[0175] Extract object identification information:

[0176] 3 Host:2.2.2.2\r\n\r\n

[0177] 4UsrIP:2.3.3.3\r\n\r\n, and obtain the real identity of the target object "Zhang San" based on the real IP address 2.3.3.3.

[0178] Further, see Fig.17 As shown, when executing step 162, the following steps are specifically performed:

[0179] Step 162-1: After receiving the second login request, the target server connects the target object to the target internal system and generates a login log corresponding to the second login request.

[0180] Step 162-2: If it is determined that the target object is logging into the target internal system for the first time, the target server obtains the real IP address associated with the target object on the client based on the object description information contained in the object identification information, and based on the real IP address, obtains and records the real identity data corresponding to the target object in the Internet historical operation record triggered by the client.

[0181] For example: See Fig.18 As shown, in an embodiment of the present application, when it is determined that the target object is logging into the target internal system for the first time, the HTTP server connects to the internal system of the enterprise, and based on the object description information in the header information of the HTTP request message, obtains a message containing the real IP address: UsrIP:2.3.3.3\r\n\r\n, and based on the target object accessing the payment software under the real IP address "2.3.3.3", extracts the real name "Li Si" or ID number "12450319800425272X" associated with the real IP address "2.3.3.3" in the historical payment records triggered by the client, obtains and records the real identity data "Zhang San" corresponding to the target object in the login log corresponding to the second login request.

[0182] Step 162-3: If it is determined that the target object is not logging into the target internal system for the first time, the target server obtains the real ID associated with the target object on the client based on the object description information contained in the object identification information, and extracts the real identity data corresponding to the target object from the historical operation records saved in the target internal system.

[0183] For example, see Fig.19 As shown, in an embodiment of the present application, when it is determined that the target object is not logging into the target internal system for the first time, the HTTP server connects to the internal system of the enterprise, and based on the object description information in the header information of the HTTP request message, obtains a message containing a real ID: UsrID:12345678, and based on the historical operation record of the target object accessing the target internal system under the real ID "12345678", obtains the real IP address "2.3.4.5" corresponding to the real ID, and based on the real IP address "2.3.4.5", extracts the real identity data "Li Si" of the target object corresponding to the real IP address "2.3.4.5" in the above login log.

[0184] Based on the same technical concept, the embodiment of the present application also provides an object tracing device (eg, a client), which can implement the above method flow of the embodiment of the present application.

[0185] Fig. 20 The following is a schematic diagram showing the structure of an object tracing device provided in an embodiment of the present application. Fig. 20 As shown, the object tracing device includes: a first acquisition module 2001, a second acquisition module 2002, a generation module 2003, and a sending monitoring module 2004, wherein:

[0186] A first acquisition module 2001 is used to allocate a virtual Internet protocol IP address to the target object through a locally running VPN system in response to a first login request triggered by the target object; wherein the first login request is used to request access to the target internal system;

[0187] The second acquisition module 2002 acquires object description information associated with the target object; the object description information is used to uniquely distinguish the target object in the local operating environment;

[0188] A generating module 2003, used to generate object identification information of a target object based on the virtual IP address and the object description information;

[0189] The sending monitoring module 2004 is used to send a second login request to the target server, the second login request carries object identification information, so that the target server connects the target object to the target internal system and identifies the target object based on the object identification information.

[0190] Optionally, before responding to the first login request triggered by the target object, the first acquisition module 2001 is further used to:

[0191] In response to a click operation triggered by the target object on a system icon corresponding to the target internal system in the operation interface, it is determined that the first login request has been received.

[0192] Optionally, in response to a first login request triggered by a target object, when a virtual IP address is allocated to the target object by a locally running VPN system, the first acquisition module 2001 is further used to:

[0193] In response to the first login request, a virtual IP address is selected from a preset virtual IP address pool based on the accumulated number of times each virtual IP address is selected;

[0194] Assign a selected virtual IP address to the target object.

[0195] Optionally, when acquiring object description information associated with the target object, the second acquisition module 2002 is further used to:

[0196] Obtaining a real IP address associated locally, and using the real IP address as object description information associated with the target object; wherein the real IP address is allocated by the network side when accessing the Internet network in response to an operation triggered by the target object;

[0197] The real identity ID associated with the target object is obtained, and the real ID is used as the object description information associated with the target object; wherein the real ID is obtained through the identity authentication process when the target object first accesses the VPN system.

[0198] Optionally, when sending the second login request to the target server, the generating module 2003 is further used to:

[0199] Based on the virtual IP address and the object description information, object identification information of the target object is generated.

[0200] Optionally, when sending the second login request to the target server, the sending monitoring module 2004 is specifically used for:

[0201] Perform character length detection and character composition detection on the object description information included in the object identification information to obtain a detection result;

[0202] If it is determined based on the detection result that the object description information passes the detection, the object identification information is carried in the second login request and sent to the target server;

[0203] If it is determined based on the detection result that the object description information fails the detection, new object description information is re-acquired, and the object identification information is updated based on the new object description information, and the updated object identification information is carried in the second login request and sent to the target server.

[0204] Optionally, after sending the second login request to the target server, the sending monitoring module 2004 is further specifically used for:

[0205] Perform periodic monitoring of the online status of the target object in the VPN system;

[0206] If it is determined that the target object continues to be online, the object identification information is saved;

[0207] If it is determined that the target object is in an offline state, the object description information recorded in the object identification information is stored, the virtual IP address in the target object identification information is released, and the released virtual IP address is re-added to the virtual IP address pool.

[0208] The embodiment of the present application also provides an object tracing device (eg, a target server side), which can implement the above method flow of the embodiment of the present application.

[0209] Fig.21 The following is a schematic diagram of an object traceability structure provided by an embodiment of the present application. Fig.11 As shown, the object tracing device includes: a receiving module 2101 and an identification module 2102, wherein the receiving module 2101 is used to receive a first login request triggered by a client based on a target object and a second login request sent, wherein the first login request is used to request access to a target internal system, and the second login request carries object identification information of the target object, and the object identification information is obtained by the client in the following manner: a virtual Internet protocol IP address is allocated to the target object through a running virtual private network VPN system, object description information associated with the target object is obtained, and object identification information is generated based on the virtual IP address and the object description information;

[0210] Identification module 2102: used to connect the target object to the target internal system based on the second login request, and identify the target object based on the object identification information.

[0211] Optionally, when the target object is connected to the target internal system based on the second login request and the target object is identified based on the object identification information, the identification module 2102 is specifically configured to:

[0212] Connecting the target object to the target internal system and generating a login log corresponding to the second login request;

[0213] If it is determined that the target object is logging into the target internal system for the first time, then based on the object description information contained in the object identification information, the real IP address associated with the target object on the client is obtained, and based on the real IP address, the real identity data corresponding to the target object is obtained and recorded in the Internet historical operation record triggered by the client;

[0214] If it is determined that the target object is not logging into the target internal system for the first time, the real ID associated with the target object on the client is obtained based on the object description information contained in the object identification information, and the real identity data corresponding to the target object is extracted from the historical operation records saved in the target internal system.

[0215] Based on the same inventive concept as the above method embodiment, an electronic device is also provided in the embodiment of the present application, referring to Fig. 22 As shown, it is a schematic diagram of a hardware structure of an electronic device using an embodiment of the present application, including:

[0216] At least one processor 2201, and a memory 2202 connected to the at least one processor 2201. The specific connection medium between the processor 2201 and the memory 2202 is not limited in the embodiment of the present application. Fig. 22In the example, the processor 2201 and the memory 2202 are connected via the bus 2200. The bus 2200 is Fig. 22 The connections between other components are shown in bold lines, and are not intended to be limiting. The bus 2200 can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig. 22 Only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus. Alternatively, the processor 2201 can also be called a controller, and there is no limitation on the name.

[0217] In the embodiment of the present application, the memory 2202 stores instructions that can be executed by at least one processor 2201. The at least one processor 2201 can execute a storage automation deployment method discussed above by executing the instructions stored in the memory 2202. The processor 2201 can implement Fig.18 The functions of each module in the device shown.

[0218] Among them, processor 2201 is the control center of the device, which can use various interfaces and lines to connect various parts of the entire control device, and monitor the device as a whole by running or executing instructions stored in memory 2202 and calling data stored in memory 2202, various functions of the device and processing data.

[0219] In one possible design, the processor 2201 may include one or more processing units, and the processor 2201 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the modem processor may not be integrated into the processor 2201. In some embodiments, the processor 2201 and the memory 2202 may be implemented on the same chip, and in some embodiments, they may also be implemented separately on separate chips.

[0220] Processor 2201 may be a general-purpose processor, such as a CPU (CPU), a digital signal processor, an application-specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, and may implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of the present application. A general-purpose processor may be a microprocessor or any conventional processor, etc. The steps of a storage automation deployment method disclosed in the embodiments of the present application may be directly embodied as being executed by a hardware processor, or may be executed by a combination of hardware and software modules in the processor.

[0221] The memory 2202 is a non-volatile computer-readable storage medium that can be used to store non-volatile software programs, non-volatile computer executable programs and modules. The memory 2202 may include at least one type of storage medium, such as a flash memory, a hard disk, a multimedia card, a card-type memory, a random access memory (Random Access Memory, RAM), a static random access memory (Static Random Access Memory, SRAM), a programmable read-only memory (Programmable Read Only Memory, PROM), a read-only memory (Read Only Memory, ROM), an electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), a magnetic memory, a disk, an optical disk, etc. The memory 2202 is any other medium that can be used to carry or store a desired program code in the form of an instruction or data structure and can be accessed by a computer, but is not limited thereto. The memory 2202 in the embodiment of the present application can also be a circuit or any other device that can realize a storage function, for storing program instructions and / or data.

[0222] By programming the processor 2201, the code corresponding to the service guidance handling method described in the above embodiment can be fixed into the chip, so that the chip can execute the code when running. Figure 2 The steps of a service guidance handling method in the embodiment shown are as follows: How to design and program the processor 2201 is a technology well known to those skilled in the art and will not be described in detail here.

[0223] Based on the same inventive concept, an embodiment of the present application further provides a storage medium, which stores computer instructions. When the computer instructions are executed on a computer, the computer executes a business guidance processing method discussed above.

[0224] In some possible implementations, various aspects of a distributed system deployment method provided by the present application may also be implemented in the form of a program product, which includes a program code. When the program product is run on an apparatus, the program code is used to enable the control device to execute the steps of a distributed system deployment method according to various exemplary implementations of the present application described above in this specification.

[0225] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0226] The present application is described with reference to the flowchart and / or block diagram of the method, device (system) and computer program product according to the embodiment of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, and the combination of the process and / or box in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to generate a server, so that the instructions executed by the processor of the computer or other programmable data processing device generate a device for implementing the function specified in one process or multiple processes in the flowchart and / or one box or multiple boxes in the block diagram.

[0227] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device that implements the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.

[0228] These computer program instructions may also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, whereby the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.

[0229] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. A method for object tracing, characterized in that: The method comprises: A client running a virtual private network VPN system allocates a virtual Internet protocol IP address to the target object through the VPN system in response to a first login request triggered by the target object; wherein the first login request is used to request access to the target internal system; The client obtains object description information associated with the target object; the object description information is used to uniquely distinguish the target object in the operating environment of the client, the object description information includes a local associated real IP address and a real identity ID associated with the target object, the real ID is obtained by the client through an identity authentication process when the target object first accesses the VPN system; The client generates object identification information of the target object based on the virtual IP address and the object description information; The client sends a second login request to the target server, the target server is an HTTP server, the second login request is an HTTP message, and the HTTP message header information includes the object identification information, so that the target server connects the target object to the target internal system, and when it is determined that the target object is accessed for the first time, based on the object description information in the object identification information, determines the real identity data of the target object contained in the Internet historical operation record triggered by the client and stores it, or when it is determined that the target object is not accessed for the first time, extracts the real identity data corresponding to the target object from the historical operation record saved in the target internal system.

2. The method according to claim 1, characterized in that The client running the VPN system, before responding to the first login request triggered by the target object, includes: The client determines that the first login request is received in response to a click operation triggered by the target object on a system icon corresponding to the target internal system in the operation interface.

3. The method according to claim 1, characterized in that The client running the VPN system allocates a virtual IP address to the target object through the VPN system in response to a first login request triggered by the target object, including: The client selects a virtual IP address from a preset virtual IP address pool based on the accumulated number of times each virtual IP address is selected in response to the first login request; The client assigns the selected virtual IP address to the target object.

4. The method according to claim 1, 2 or 3, characterized in that: The client sends a second login request to the target server, including: The client performs a character length detection and a character composition detection on the object description information included in the object identification information to obtain a detection result; If it is determined based on the detection result that the object description information passes the detection, the object identification information is carried in the second login request and sent to the target server; If it is determined based on the detection result that the object description information fails the detection, new object description information is re-acquired, and the object identification information is updated based on the new object description information, and the updated object identification information is carried in the second login request and sent to the target server.

5. The method according to claim 4, characterized in that After the client sends the second login request to the target server, the method further includes: The client periodically monitors the online status of the target object in the VPN system; If the client determines that the target object continues to maintain an online state, retaining the object identification information; If the client determines that the target object is offline, the object description information recorded in the object identification information is retained, the virtual IP address in the target object identification information is released, and the released virtual IP address is re-added to the virtual IP address pool.

6. A method for object tracing, characterized in that: The method comprises: The target server receives a second login request sent by a client based on a first login request triggered by a target object, wherein the first login request is used to request access to a target internal system, and the second login request is an HTTP message, wherein the HTTP message header information includes object identification information, and the object identification information is obtained by the client in the following manner: a virtual Internet Protocol IP address is allocated to the target object through a running virtual private network VPN system, object description information associated with the target object is obtained, and object identification information is generated based on the virtual IP address and the object description information, wherein the object description information includes a real IP address associated locally with the target object and a real identity ID associated with the target object, and the real ID is obtained by the client through an identity authentication process when the target object first accesses the VPN system; The target server connects the target object to the target internal system based on the second login request, and when it is determined that the target object is accessing for the first time, determines the real identity data of the target object contained in the Internet historical operation record triggered by the client based on the object description information in the object identification information, and stores the data, or when it is determined that the target object is not accessing for the first time, extracts the real identity data corresponding to the target object from the historical operation record saved in the target internal system.

7. A device for tracing the origin of an object, characterized in that: include: A first acquisition module, configured to allocate a virtual Internet protocol IP address to the target object through a VPN system in response to a first login request triggered by the target object; wherein the first login request is used to request access to a target internal system; A second acquisition module is configured to acquire object description information associated with the target object; the object description information is used to uniquely distinguish the target object in the operating environment of the client, and the object description information includes a local associated real IP address and a real identity ID associated with the target object, and the real ID is obtained by the client through an identity authentication process when the target object first accesses the VPN system; A generating module, used for generating object identification information of the target object based on the virtual IP address and the object description information; A sending monitoring module is used to send a second login request to a target server, wherein the target server is an HTTP server, and the second login request is an HTTP message. The HTTP message header information includes the object identification information, so that the target server connects the target object to the target internal system, and when it is determined that the target object is accessed for the first time, based on the object description information in the object identification information, determines the real identity data of the target object contained in the Internet historical operation record triggered by the client, and stores it, or when it is determined that the target object is not accessed for the first time, extracts the real identity data corresponding to the target object from the historical operation record saved in the target internal system.

8. A device for tracing the origin of an object, characterized in that: include: A receiving module, used for receiving a second login request sent by a client based on a first login request triggered by a target object, wherein the first login request is used to request access to a target internal system, the second login request is an HTTP message, the header information of the HTTP message includes object identification information, and the object identification information is obtained by the client in the following manner: a virtual Internet protocol IP address is allocated to the target object by a running virtual private network VPN system, object description information associated with the target object is obtained, and object identification information is generated based on the virtual IP address and the object description information, wherein the object description information includes a real IP address associated with the target object locally or a real identity ID associated with the target object, and the real ID is obtained by the client through an identity authentication process when the target object first accesses the VPN system; An identification module is used to connect the target object to the target internal system based on the second login request, and when it is determined that the target object is accessing for the first time, determine the real identity data of the target object contained in the Internet historical operation record triggered by the client based on the object description information in the object identification information, and store it, or when it is determined that the target object is not accessing for the first time, extract the real identity data corresponding to the target object from the historical operation record saved in the target internal system.

9. An electronic device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the object tracing method according to any one of claims 1 to 6 is implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Method, device and system for forwarding packet

    CN102624935A

  • Virtual private network implementation method and client device

    CN105337831A